how to get data from controller?
-
Hi,
is it possible that my sensor can call a value from the controller?
Scenario:
Flow Sensor sends the total liter to the controller, after rebooting the sensor total liters will be 0 again. So the idea is to get the last value from the controller at startup.
I haven´t find anything like this. Is there a function? -
Hi,
is it possible that my sensor can call a value from the controller?
Scenario:
Flow Sensor sends the total liter to the controller, after rebooting the sensor total liters will be 0 again. So the idea is to get the last value from the controller at startup.
I haven´t find anything like this. Is there a function?@vga You can with the gw.request function. Many of the controllers seem to have in not implemented (eg. Domoticz). For your scenario it would be a good solution to store the values in EEPROM (gw.saveState() (be aware that it only takes byte values
-
@vga You can with the gw.request function. Many of the controllers seem to have in not implemented (eg. Domoticz). For your scenario it would be a good solution to store the values in EEPROM (gw.saveState() (be aware that it only takes byte values
@AWI Are you sure about Domoticz? I am sure that a pulse meter node is requesting value from Domoticz every time it powers up and it is working.
// Fetch last known pulse count value from gw gw.request(CHILD_ID, V_VAR1); attachInterrupt(INTERRUPT, onPulse, RISING); lastSend=lastPulse=millis(); -
@AWI Are you sure about Domoticz? I am sure that a pulse meter node is requesting value from Domoticz every time it powers up and it is working.
// Fetch last known pulse count value from gw gw.request(CHILD_ID, V_VAR1); attachInterrupt(INTERRUPT, onPulse, RISING); lastSend=lastPulse=millis(); -
@alexsh1 you can use special variables to store and retrieve values. These are not available in the Domoticz interface.
As far as I know only switches, text and a very domoticz specific custom value can be retrieved. You can find some discussion on the Domoticz forum. -
@alexsh1 you can use special variables to store and retrieve values. These are not available in the Domoticz interface.
As far as I know only switches, text and a very domoticz specific custom value can be retrieved. You can find some discussion on the Domoticz forum.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login