I'm using the sketch for the binaryswitchsensor and it connects to the ESP8266 gateway and shows up as a switch but shows "Closed" and never seens to change its status. Watching the serial monitor I see the arduino picking up that im moving the magnet next to and away from the sensor, but the controller doesn't seem to "see" those changes!?
Here is what I see on the serial monitor (0=sensor touching, 1=sensor "open" not touching):
sensor started, id=3, parent=0, distance=1
send: 3-3-0-0 s=3,c=0,t=0,pt=0,l=0,sg=0,st=ok:
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:0
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=fail:1
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:0
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:1
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:0
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:1
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:0
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:1
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:0
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:1
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:0
send: 3-3-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,st=ok:1
It seems to default to Type as "Lighting 2" and Subtype "AC" in the devices section of Domoticz and I thought changing that might help but it doesn't seem to be possible to edit those values (I can't find them anywhere). I'll add 3 photos showing what I'm seeing in the various screens on Domoticz:
Any suggestions or help would be awesome!!
Bp