Push variable from domoticz to node?
-
I'm new to Domoticz and MySensors.
I've built a motion/door sensor node that turns on lights in the garage. At first I coded it so the Arduino node in the garage had logic to turn on the lights and maintain the countdown timer. Then later I moved the logic over to Domoticz Event script. Both work but I was thinking if the Domoticz Controller node was offline then my garage lights would fail to work. So I'd like to do a hybrid where Domoticz can send some parameter variables that get stored in the eprom of the arduino. e.g. Light On Countdown time.
Are variables pushed using V_VAR1-5?
https://www.mysensors.org/download/serial_api_20Thanks.
-
You could also use like a dimmer control where you can adjust the value of the timer
-
@dmonty MySensors nodes can talk to one another by sending commands to a specific node, so you could move the countdown timer back to the motion sensor node and have that node talk directly to the light switch node to turn on/off the light.
-
@gohan Thanks, dimmer works well.
Suggested Topics
-
Vera Gateway Versions
Troubleshooting • 29 Mar 2014, 19:59 • karenbobiv 30 Mar 2014, 07:20 -
Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?
Domoticz • 15 Nov 2021, 23:07 • Bren 21 Nov 2021, 18:09 -
Trying to automate in Domoticz
Domoticz • 25 Feb 2022, 23:13 • Feliw05 28 Feb 2022, 03:39 -
eventsystem: problem writing file
Domoticz • 27 Feb 2022, 00:11 • Feliw05 27 Feb 2022, 17:50 -
Calculate Delta T of two temperature sensors with lua
Domoticz • 5 Oct 2022, 10:06 • Mela 5 Oct 2022, 10:06 -
Node update on value from Domoticz
Domoticz • 30 Jul 2023, 19:19 • zboblamont 7 Aug 2023, 14:33