Giter Club home page Giter Club logo

Comments (10)

seblucas avatar seblucas commented on September 26, 2024

I'm currently switching from getthermostatsdata (deprecated) to homesdata API call.

I was not going to use homestatus mainly because I never got a clear answer from Netatmo about when the data is updated (I tried through the forum and with a mail without any answer in both case). Does each call of homestatus directly contact my thermostat at home to get latest information ? Is there some kind of cache involved, in that case what is the refresh rate ? Is there a status somewhere in case my Internet connection is down or Netatmo servers have a problem ?

Did you test this API call and can confirm it's real time (that it connect directly to your device at home) ?

For now I take everything coming from Netatmo with a grain of salt especially if it's not documented properly and prefer to use getmeasure (at least it's clear it does use not any kind of cache, data come from netatmo servers, ...).

from netatmo2mqtt.

lboue avatar lboue commented on September 26, 2024

Hello,

Yes. I can confirm that boiler_status is True from homesdata API call when the boiler is on. I checked that many times.
To check that I am using this script: PyAtmo.

Regards,

from netatmo2mqtt.

lboue avatar lboue commented on September 26, 2024

It take 1 minute to report the new boiler_status to False when boiler is going down. Same when it goes up.

from netatmo2mqtt.

seblucas avatar seblucas commented on September 26, 2024

Thanks for the test, that mean it's possible to have almost live data from Netatmo (because I guess the temperature therm_measured_temperature is also updated within 1 minute).

I'll test that and if it works I'll drop getmeasure (it complicates things a lot) and use homestatus. That way I will include many more data in the mqtt payload (battery state and level, rf strength for all modules, wifi strength, and of course boiler status).

I'll create a branch tomorrow and will keep you updated.

from netatmo2mqtt.

lboue avatar lboue commented on September 26, 2024

Hello,

Did you take the time to give a try?

Regards,

from netatmo2mqtt.

lboue avatar lboue commented on September 26, 2024

Check PR #7

from netatmo2mqtt.

seblucas avatar seblucas commented on September 26, 2024

I was away for work all past week, I just had time to code it but I never tested it. will do this week.

Thanks for the PR, I'll check that after testing.

from netatmo2mqtt.

seblucas avatar seblucas commented on September 26, 2024

I tested it for 2 days and it really seems to provide live data .... cool. At least it's comparable to what getmeasure gives.

I'll merge my branch at the end of the week to be fully sure.

from netatmo2mqtt.

lboue avatar lboue commented on September 26, 2024

Thanks. that's great news. I look forward to that.

from netatmo2mqtt.

lboue avatar lboue commented on September 26, 2024

J'ai remarqué un nouveau commit ici: 16b9108
Le fait d'utiliser comme séparateur un point-virgule va poser problème sous Linux.

help='The information to send and the MQTT topic on which to publish the message (if it was a success) separated by a ;. Can be call many time')

En effet, cela indique au shell d’exécuter une 2ème commande qui se trouve après ce point-virgule. De fait le script Python ne passera pas la fin de l'argument.

from netatmo2mqtt.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.