I would find it very helpful to switch outputs by name rather than by the /gpio/x syntax. Eg, /device/power/relay which is set up in devices as such.
Is this possible and am I just missing something?
Thanks
Domoticz Output by name not gpio?
Moderators: grovkillen, Stuntteam, TD-er
Re: Domoticz Output by name not gpio?
You can create an event on the ESP (rules) that is then triggered by calling the event. Just create an event
Code: Select all
on switch_lamp_on do
gpio 14,1
Endon
On switch_lamp_off do
gpio 14,0
Endon
Code: Select all
event,switch_lamp_on
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Domoticz Output by name not gpio?
God idea. Thanks!
I've been hacking around with the plugin to try and get it working.
I've been hacking around with the plugin to try and get it working.
Who is online
Users browsing this forum: No registered users and 8 guests