Send a message to MySensors on event
-
Hi,
I've been using MySensors with VERA for some time now and no complaints so far.
I recently wanted to explore Domoticz, so I built a network gateway for Domoticz to test with some new nodes.On VERA I used to send messages to my nodes using Lua like this:
luup.call_action("urn:upnp-arduino-cc:serviceId:arduino1", "SendCommand", {radioId="6;100", variableId="DIMMER", value="0,300"}, 130)
But I don't know how to make the same with Domoticz.
I made some non standard nodes and I need to send messages to them when an event happens for example.Any help or pointers would be much appreciated.
-
Hi @ferpando!
There is a great LUA wiki for Domoticz.You use it like this:
commandArray = {} commandArray['NodeName']='On' return commandArray
-
@sundberg84 said:
wiki
Thank you.
I still have much to learn about how to get things done in Domoticz.
I'll take a look at the wiki.
-
You can also use json to control your nodes... have a look the wiki there as well.
1 out of 4
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 -
Roller shutter(s_cover) on Domoticz
Domoticz • 5 Aug 2019, 08:43 • Tmaster 21 Jun 2022, 20:48 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30 -
domoticz tables and mysensors
Domoticz • 7 Feb 2023, 20:55 • ebioz 7 Feb 2023, 20:55 -
Node update on value from Domoticz
Domoticz • 30 Jul 2023, 19:19 • zboblamont 7 Aug 2023, 14:33