Hi
followed the tutorial and implemented an virtual sensor as switch in domoticz.
in esp vonfig there is a switch defined with gpiox
I mapped the idx from domotic to the device.
but switching is not woring.
did I miss anything?
Thanks
running v200-normal12
easy esp domoticz switch no working
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 4
- Joined: 03 Mar 2017, 14:53
Re: easy esp domoticz switch no working
You need to set
http://192.168.1.21/control?cmd=GPIO,14,1
And
http://192.168.1.21/control?cmd=GPIO,14,0
For action on and off at domoticz webpage.
Your ip adress/control?cmd=GPIO, your Pin on espeasy, state
If you update your espeasy to the latest build be shure that the device is on switch and not jumped to dimmer like mine....
Br stupsi99
http://192.168.1.21/control?cmd=GPIO,14,1
And
http://192.168.1.21/control?cmd=GPIO,14,0
For action on and off at domoticz webpage.
Your ip adress/control?cmd=GPIO, your Pin on espeasy, state
If you update your espeasy to the latest build be shure that the device is on switch and not jumped to dimmer like mine....
Br stupsi99
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: easy esp domoticz switch no working
Yes, this is a general thing with the switch plugin, it sets it to dimmer with the update to latest FW.
I have just now reported it on GitHub.
I have just now reported it on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Core team member
- Posts: 9905
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: easy esp domoticz switch no working
In one of the latest builds I changed the way the switch definition is stored.
Problem was that the default settings were not working.
Only drawback is the settings can change (only once) when updating.
After re-setting the switch config, it is working like it should.
Problem was that the default settings were not working.
Only drawback is the settings can change (only once) when updating.
After re-setting the switch config, it is working like it should.
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: easy esp domoticz switch no working
You have to use the plug-in P029 for a proper function. Then you don't need the http command. 

-
- New user
- Posts: 4
- Joined: 03 Mar 2017, 14:53
Re: easy esp domoticz switch no working
I try p029 without http string and it wont work for me?!?!? I use the idx and delete the http lines at domoticz...
with switch and idx and http string it works (last mega release)
br stupsi99
with switch and idx and http string it works (last mega release)
br stupsi99
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: easy esp domoticz switch no working
Then you have somewhere a wrong config. I have Domoticz and ESPeasy in use without problems and no http entry in Domoticz!
-
- Normal user
- Posts: 88
- Joined: 01 May 2017, 20:35
Re: easy esp domoticz switch no working
You need, of course, an mqtt broker active.
Who is online
Users browsing this forum: Anthropic Claude Bot [bot], opensiteexplorer.org/dotbot [bot] and 19 guests