easy esp domoticz switch no working

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

easy esp domoticz switch no working

#1 Post by riker1 » 29 Dec 2017, 09:32

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

stupsi99
New user
Posts: 4
Joined: 03 Mar 2017, 14:53

Re: easy esp domoticz switch no working

#2 Post by stupsi99 » 13 Jan 2018, 09:35

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: easy esp domoticz switch no working

#3 Post by grovkillen » 13 Jan 2018, 09:48

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.
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 :idea: :idea: :idea:

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: easy esp domoticz switch no working

#4 Post by TD-er » 13 Jan 2018, 14:36

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.

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: easy esp domoticz switch no working

#5 Post by vader » 14 Jan 2018, 12:22

You have to use the plug-in P029 for a proper function. Then you don't need the http command. ;)

stupsi99
New user
Posts: 4
Joined: 03 Mar 2017, 14:53

Re: easy esp domoticz switch no working

#6 Post by stupsi99 » 15 Jan 2018, 10:13

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

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: easy esp domoticz switch no working

#7 Post by vader » 15 Jan 2018, 11:49

Then you have somewhere a wrong config. I have Domoticz and ESPeasy in use without problems and no http entry in Domoticz!

wim16
Normal user
Posts: 88
Joined: 01 May 2017, 20:35

Re: easy esp domoticz switch no working

#8 Post by wim16 » 15 Jan 2018, 15:12

You need, of course, an mqtt broker active.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 91 guests