Door contact doesn't work on domoticz with espeasy?

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
tsleon
Posts: 3
Joined: Thursday 07 January 2016 13:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Door contact doesn't work on domoticz with espeasy?

Post by tsleon »

Esp8266 programmed with Espeasy software(tested on r48 and r63 versions). Magnetic door contact connected to esp gpio.
Esp sees contact and updates state. Dummy contact on domoticz doesn't see state changes.

Does anybody else have this problem? Esp is configured with right idx-number.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by dannybloe »

Have you tried to set the switch in domoticz using an http call in the browser directly? For all I know, EspEasy does just that..
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
tozzke
Posts: 135
Joined: Friday 02 January 2015 9:22
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by tozzke »

Is the switch in Domoticz protected?
if so... Read this and you'll have to edit the espeasy firmware
tsleon
Posts: 3
Joined: Thursday 07 January 2016 13:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by tsleon »

Problem solved!

If i use dummy switch on domoticz, status updates ok. If i use dummy door contact, json call is different and status doesn't update. Espeasy doesn't have door contact-device, only switch type. So json call on esp is wrong for domoticz contact.
javier77
Posts: 1
Joined: Monday 07 November 2016 19:02
Target OS: -
Domoticz version:
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by javier77 »

Hi Tsleon how did you wired the magnetic sensor to the esp? I have a magnetic sensor one is supposed to be on the door the other part has 2 wires i guess one of then goes to the esp pin an the other to ground is this correct? I am using nodemcu d1 mini wich uses esp8266 too but how did you configured it on esp easy like? Thanks in advance
tsleon
Posts: 3
Joined: Thursday 07 January 2016 13:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by tsleon »

javier77 wrote:Hi Tsleon how did you wired the magnetic sensor to the esp? I have a magnetic sensor one is supposed to be on the door the other part has 2 wires i guess one of then goes to the esp pin an the other to ground is this correct? I am using nodemcu d1 mini wich uses esp8266 too but how did you configured it on esp easy like? Thanks in advance
Hi!

Yes, sensor wires goes to ground and esp pin. Pin is configured as switch on EspEasys software.
ruudjeeee
Posts: 2
Joined: Sunday 06 May 2018 16:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by ruudjeeee »

can you tell me how you conected the wires. and can you tell me how to setupp easy esp and domoticz
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Door contact doesn't work on domoticz with espeasy?

Post by jvdz »

Déjà vu
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest