ZwaveJS2mqtt is deprecated? Or the node-red package?
Ah ok, itâs just a naming issue! I didnât know. https://hub.docker.com/r/zwavejs/zwave-js-ui
@Romuald_Pochet youâll need to remember to choose the right image in the Zwavejs2mqtt integration â also, shouldnât we rename the integration itself? ![]()
Hello,
OK Iâll make the change to the Docker image ASAP.
Regarding the renaming, how to put it, itâs not the first time so I have the expertise
What would we go with; zwavejs, zwave-js-ui, zwavejsui ?
zwave-js-ui seems fine to me ![]()
Hello,
Letâs go with zwave-js-ui⊠renaming tonight
Hello @_Will_71, first of all thank you for sharing.
By the way, I would like to do like you and use Node-RED to control my radiators. However, the information sent by my radiators (the temperature sent every 5 minutes by Tasmota) and the thermostat value from Gladys are asynchronous. Do you have the same problem at the input of your function? And if so, how did you resolve it? I feel itâs related to using the context but Iâm going in circles.
Thanks in advance.
Hi @laguiche,
No, I donât have any particular problem.
After all my inputs, I store the state in a file and I use the value saved in that file to do my calculations or actions.
I use this file because, for example, my temperature sensor doesnât send its temperature periodically, especially if there is no change, so this file is useful to me in case of a power cut or Node-RED restart. Node-RED can then read this file to get the last temperature and not wait for the next value to be sent.
Is that a function you write yourself in Node-RED?
Good catch about saving to a file; I hadnât necessarily noticed that in your screenshots. I was hoping there might be an internal mechanism in Node-RED for data persistence to allow me to synchronize the different inputs without work
That part isnât visible in my screenshots because I wrote that in the thermostat function.
If you ever need it I could give you the function I used to save to a file.
Gladly
although for now Iâll try using the built-in Node-RED nodes. ![]()
Okay, Iâll explain it to you tonight when Iâm home.
I had never paid attention to that part of your message.
I did a test with an Aqara sensor vacuum-sealed and submerged in my pool water: the problem is that the water prevents communication with my Zigbee coordinator.
Iâm not great at soldering, but I got the gear to perform this hack:
A friend will help me with the small soldering. As soon as itâs done Iâll keep you posted!
[quote=« _Will_71, post:32, topic:7002, full:true »]
Ok, Iâll explain it to you tonight
Thanks @guim31, I had found that tutorial too but Iâm not equipped to solder something that small. My soldering iron is a bit bigđ„.
Keep me posted and if it works well Iâll get the equipment to do it.
Ok, keep me posted if it works well. Itâs the same principle I applied, but directly in JavaScript in the function node.
FYI, I have a PR open since May to do this directly via Gladys. But after my latest fixes I havenât had any news. Maybe @pierre-gilles could pick it up: https://github.com/GladysAssistant/Gladys/pull/1496
The feature request is here, but no votes ^^ :
Ajout d'une requĂȘte APIRest Gladys permettant de rĂ©cupĂ©rer les Ă©tats des features sur une plage
Hi @Terdious,
That could indeed be nice to be able to do it in Gladys, but since I use Node-RED for my various calculations/actions I donât mind saving a variable.
What Iâm interested in, though, is only knowing the latest value of a sensor, so is it more sensible to make an API request or to save my sensorâs last state to a file?
Itâs working like a charm, thanks!
Now I need to test it over time. ![]()
In your case save the last value somewhere (file/or I donât know if there is a key/value data storage provided by Node-RED)
I didnât know there had been fixes from you! Given the very low demand for this feature, and the time it took, I ended up prioritizing other topics ![]()
Iâm not sure Iâll get into that in the short term; my priority right now is really the Enedis API, which is in high demand and will have a real business impact!
