Best esp8266 firmware for usage with domoticz

Everything about esp8266 and more.
Post Reply

Best esp8266 firmware for usage with domoticz

ESP_Easy
53
91%
Nodemcu
1
2%
Any other
4
7%
 
Total votes: 58

superczar
Posts: 90
Joined: Wednesday 14 January 2015 13:08
Target OS: Raspberry Pi
Domoticz version:
Location: India
Contact:

Best esp8266 firmware for usage with domoticz

Post by superczar » Saturday 23 July 2016 15:14

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: 145
Joined: Thursday 19 February 2015 22:48
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by franzelare » Friday 19 August 2016 9:31

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
Posts: 510
Joined: Friday 18 March 2016 8:20
Target OS: -
Domoticz version: Offline
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by trixwood » Friday 19 August 2016 9:44

And how to you save/read the previous state, in case of power failure?

franzelare
Posts: 145
Joined: Thursday 19 February 2015 22:48
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by franzelare » Monday 22 August 2016 12:38

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 11:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by davidlightsa » Tuesday 11 April 2017 20:48

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: 145
Joined: Thursday 19 February 2015 22:48
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by franzelare » Saturday 15 April 2017 11:30

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: 50
Joined: Monday 06 February 2017 13:48
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: Azores
Contact:

Re: Best esp8266 firmware for usage with domoticz

Post by gajotnt » Sunday 29 October 2017 18:10


Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests