tvecera / node-red-contrib-netatmo-energy Goto Github PK
View Code? Open in Web Editor NEWNode-RED nodes to talk to the Netatmo thermostat
License: Apache License 2.0
Node-RED nodes to talk to the Netatmo thermostat
License: Apache License 2.0
Hello,
I suspect this node to induce an error (not catchable) on my node red container when the internet connection is down. Is it possible to correct that ?
19 Oct 21:48:17 - [error] - [-1] - Authenticate refresh error: No response
19 Oct 21:48:17 - [red] Uncaught Exception:
19 Oct 21:48:17 - [error] TypeError: Cannot read properties of undefined (reading 'statusCode')
at Netatmo.handleRequestError (/data/node_modules/node-red-contrib-netatmo-energy/src/netatmo-energy-api.js:180:22)
at Netatmo. (/data/node_modules/node-red-contrib-netatmo-energy/src/netatmo-energy-api.js:120:29)
at self.callback (/data/node_modules/request/request.js:185:22)
at Request.emit (node:events:527:28)
at Request.onRequestError (/data/node_modules/request/request.js:877:8)
at ClientRequest.emit (node:events:527:28)
at TLSSocket.socketErrorListener (node:_http_client:454:9)
at TLSSocket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
how is it possible to insert a payload to change the temperature at Node SETTHERMMODE?
Have you see the announcement from Netatmo for the API use? Is this node already use this method?
Dear Netatmo developer,
To improve the security of our products, we inform you that the Client Credentials grant type method will be completely removed. It will no longer be possible to authenticate with the username and password of the user. The effective date of this update is October 2022.
From this date, the OAuth2 authorization code flow must be followed for authentication.
You can find details on this method on our website:
https://dev.netatmo.com/apidocumentation/oauth#authorization-code
I'm really sorry for putting this here but I wasn't sure how to get help with this..and have searched everywhere.
Where can I find the Home and Room id's - I just can't seem to locate them!
Thanks so much for the work you've put into this and any help would be great!!
Updated from the version before 0.9.1 to 0.9.2 and have an issue with the firmware revision. This is continuously updating to different values. The values of 190 and 25 are not correct. However, no idea how it relates to this update. But as it is in the object it should be related to the Node. Strange enough this will (luckily) not happen with all my thermostats.
John
Is there a possibility when using SETTHERMMODE and choose Schedule that we can also choose which schedule ?
According to the API this should be possible by adding a SCHEDULE_ID parameter.
Or adding support for the SWITCHHOMESCHEDULE API would suit the same purpose.
Describe the bug
in netatmo-energy-api.js the refresh_token doesn't persist between restarts. If the original configured refresh_token is expired and node-red restarts, the current updated refresh_token is lost and the netatmo nodes in nodered will not work anymore unless to update manually the refresh token
To Reproduce
Steps to reproduce the behavior:
Expected behavior
every time a new refresh_token is generated, it must be saved in a persistent way and used the last generated refresh_token against the netatmo api
Screenshots
NONE
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
N/A
Hallo to everybody and thanks for your great job.
I would like to share with you what I found using this nodes.
In the setthermmode
module the field Endtime
should be optional, as per Netatmo API and also as described in the guide of module.
Unfortunately if the field Endtime
will be left blank, the module will raise an error and the field becomes red.
The error is highlighted also when done button is pressed, adding a red triangle in the flow.
During the upload of sketch Nodered popup with the following warning is raised, anyway confirming the deploy the module setthermmode
works without any issue.
My Nodered instance is hosted on Raspberry pi 3 and I'm using Safari 14.0 on my Mac to manage it.
It is not a very big issue but if it is possible to fix it I will very appreciate.
Hope that this could be help.
Thank you for your time
Hello
I have a red node stream with a single Homestatus node.
It seems that after a while this node tries to connect tens of thousands of times per minute to https://api.netatmo.net/
Does anyone have the same problem?
François
Hi @tvecera,
Is it possible to recover the "hvac_action" information ?
I'd like to know when my stole is on (or off).
I've no idea how to do this.
Regards.
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.