seblucas / netatmo2mqtt Goto Github PK
View Code? Open in Web Editor NEWGet the measures from your NetAtmo thermostat and send it to your MQTT broker
License: GNU General Public License v3.0
Get the measures from your NetAtmo thermostat and send it to your MQTT broker
License: GNU General Public License v3.0
Hello,
Could you add the boiler_status status to the netatmo2MQTT.py script:?
I would be able to be notified when boiler is turning on.
Here is my getHomeStatus json result
{ 'body': { 'home': { 'id': '**************************',
'modules': [ { 'firmware_revision': 197,
'id': '70:ee:50:xx:xx:xx',
'rf_strength': 107,
'type': 'NAPlug',
'wifi_strength': 26},
{ 'anticipating': False,
'battery_level': 3753,
'battery_state': 'high',
'boiler_status': False,
'boiler_valve_comfort_boost': False,
'bridge': '70:ee:50:ab:cd:ef',
'firmware_revision': 71,
'id': '04:00:00:xx:xx:xx',
'reachable': True,
'rf_strength': 39,
'type': 'NATherm1'},
{ 'battery_level': 3213,
'battery_state': 'full',
'bridge': '70:ee:50:ab:cd:aa',
'firmware_revision': 73,
'id': '09:00:00:xx:xx:xx',
'reachable': True,
'rf_strength': 82,
'type': 'NRV'},
{ 'battery_level': 3081,
'battery_state': 'full',
'bridge': '70:ee:50:ab:cd:bb',
'firmware_revision': 73,
'id': '09:00:00:xx:xx:xx',
'reachable': True,
'rf_strength': 55,
'type': 'NRV'}],
Regards,
Hi, my compliments for the work that has been done, however, I have a problem. The figures posted to the broker mqtt are incorrect. If I look at the thermostat, I read on the 27º display but the system generates 22º... where am I wrong?
Bonjour,
Je passe en français, c'est plus simple. J'ai fait quelques tests sur la branche 'liveupdate' ici :
Testing NetAtmoValves with getNetAtmoValves() : cedf15e
J'ai crée une fonction: getNetAtmoValves qui va lire la 2e entrée du tableau homeData:
homeData['body']['home']['rooms'][1]
Success with message (for current temperature) <Mon, 04 Feb 2019 22:14:40 CET ; temp=18.5>
Success with message (for setpoint temperature) <Mon, 04 Feb 2019 22:14:40 CET ; temp=18.5>
Success with message (for Power Request) <Mon, 04 Feb 2019 22:14:40 CET ; request=0 ; id=3350550937>
Ça fonctionne bien. Par contre cela n'est pas dynamique car dans mon cas j'ai 3 modules présents. Il faudrait donc adapter le code pour renvoyer une liste de module je pense:
[ { 'anticipating': False,
'id': '521888878',
'open_window': False,
'reachable': True,
'therm_measured_temperature': 21.2,
'therm_setpoint_end_time': 0,
'therm_setpoint_mode': 'schedule',
'therm_setpoint_start_time': 0,
'therm_setpoint_temperature': 20},
{ 'anticipating': False,
'heating_power_request': 0,
'id': '3350550937',
'open_window': False,
'reachable': True,
'therm_measured_temperature': 18.5,
'therm_setpoint_end_time': 0,
'therm_setpoint_mode': 'schedule',
'therm_setpoint_start_time': 0,
'therm_setpoint_temperature': 18.5},
{ 'anticipating': False,
'heating_power_request': 35,
'id': '3636941712',
'open_window': False,
'reachable': True,
'therm_measured_temperature': 18.5,
'therm_setpoint_end_time': 0,
'therm_setpoint_mode': 'schedule',
'therm_setpoint_start_time': 0,
'therm_setpoint_temperature': 18.5}]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.