Best esp8266 firmware for usage with domoticz

Everything about esp8266 and more.

Moderator: leecollings

Post Reply

Best esp8266 firmware for usage with domoticz

ESP_Easy
54
92%
Nodemcu
1
2%
Any other
4
7%
 
Total votes: 59

superczar
Posts: 65
Joined: Wednesday 14 January 2015 12:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: India
Contact:

Best esp8266 firmware for usage with domoticz

Post by superczar »

I have around 12 ESP8266 doing duty around the house as sensors or actuator relays.
I am currently using ESP_Easy on all just because that was the site through which I discovered the ESP8266 and am really familar with it.

By and large I am happy with the esp_easy firmware except a few minor quibbles (minor instability issues at times, returns to an off state after a power outage and not the old state)

I understand that quite a few people use NodeMCU as well and perhaps other firmwares too.
Would be great to hear other folks experience with either NodeMCU (or any other firmware) and what their experience has been in production
franzelare
Posts: 141
Joined: Thursday 19 February 2015 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by franzelare »

I run mysensor nodes on my ESP units as direct gateway.

I use them for temperature sensors (where I used to use z-wave)
In my garden shed to sense temperature, humidity, doors
As IR remote to control my AV set
For RGB control of LED strips

Next up is curtain control with some old motors I have and ESP units to control them

Very happy with the mysensor nodes, since I can see when they are connected and use a heartbeat to keep them alive (heartbeat will hard reboot the ESP unit if the connection is lost for >5minutes and reconnect from domoticz)
trixwood

Re: Best esp8266 firmware for usage with domoticz

Post by trixwood »

And how to you save/read the previous state, in case of power failure?
franzelare
Posts: 141
Joined: Thursday 19 February 2015 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by franzelare »

At power up I read all states from the inputs and for the outputs, I don't have key items that need to be set at power up, so all settings are low normally, only on my RGB lestrip I pull the settings from domoticz at power up.
send(msg.set(DOMOTICZ_IDX))
that will return the status of that IDX, what you can caputre in the reply and set the output

Secondly I send the data from all in puts every 30 minutes to be sure the status is correct plus I have a heartbeat script every minute since I did not get the mysensor heartbeat working properly under domoticz. the script in domoticz sends an on signal on mysensor id 100 to the ESP unit, that replies by sending back an off sinal for that ID. if domoticz doesn't see the heartbeat return for 5 minutes it resets the connection, and if the ESP unit did not see the heartbeat for 5 minutes it reboots (ESP has a software function for this, on normal arduino units I do this with a Do pulling the reset pin for a hard reboot)
davidlightsa
Posts: 5
Joined: Tuesday 20 December 2016 10:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by davidlightsa »

franzelare wrote: send(msg.set(DOMOTICZ_IDX))
that will return the status of that IDX, what you can caputre in the reply and set the output

Secondly I send the data from all in puts every 30 minutes to be sure the status is correct
Please may you elaborate step by step how you did this on both the ESP and Domoticz. I am having the exact same issue, whereby my sensors are in a different state as Domoticz reports after a power failure.
franzelare
Posts: 141
Joined: Thursday 19 February 2015 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by franzelare »

when you use a mysensor node and you use the message
send(msg.set(DOMOTICZ_IDX))
domoticz will send the status of the IDX out to the mysensor node as if is was just toggled
gajotnt
Posts: 70
Joined: Monday 06 February 2017 12:48
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Azores
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by gajotnt »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest