Page 1 of 1
ESP8266 native support
Posted: Sunday 29 May 2016 15:50
by alexsh1
Hi all,
I wonder if Domoticz is going to support ESP8266 natively and not just via JSON?
Thanks
Alex
Re: ESP8266 native support
Posted: Sunday 29 May 2016 15:57
by woody4165
With which firmware?
ESPEasy, Nodemcu,...
Re: ESP8266 native support
Posted: Monday 30 May 2016 7:20
by deennoo
With ESPEasy FW mqtt works great !
Re: ESP8266 native support
Posted: Monday 30 May 2016 9:22
by woody4165
AFAIK you don't need Json to control ESP8266 with ESPEasy FW.
What I', missing is to receive the state of a GPIO after I've sent a command to the ESP8266.
But reading the ESPEasy Wiki I found this
http://www.esp8266.nu/index.php/Tutorial_Rules and probably it's going to be implemented via Rules, if you have a release higher than 100 (you need to download via Github and compile with Arduino SW).
It's interesting with rules to define timers and send command using it.
In my case, I use it with an irrigation system, and I'm always worried that when I send a command from Domoticz to ESP it's going to be missed for any reason.
If I send a command with a timer, if the Off command is missing, and I've defined a timer, i'm pretty sure that is going to be Off by itself.
When there will be the possibility to have the ESP send something via MQTT or HTTP so that Domoticz can be updated on the status it will be very nice and complete.
Re: ESP8266 native support
Posted: Friday 03 June 2016 17:45
by alexsh1
I meant via the Hardware section (like MySensors for example)
Re: ESP8266 native support
Posted: Friday 03 June 2016 18:55
by Derik
deennoo wrote:With ESPEasy FW mqtt works great !
Mmmm please will you tell me what are the great options with mqtt.....
What can i do whit this protocol..
Perhaps some pictures...
Thanks
Re: ESP8266 native support
Posted: Tuesday 04 October 2016 12:44
by bobdvb
I think it would be really nice if you could go to the Hardware section of Dz, select to add a device type of ESPeasy and enter the IP address.
From there, somewhat like RFXcomm, I would hope the ESPeasy devices could automatically appear in the Devices section of Dz as "unused". Dz could automatically inject the IDX values in the ESPeasy with ease and quickly provision an ESPeasy in Dz after the devices have been set up on the ESP itself.
I'm a terrible coder but I imagine this isn't a big job? It would make integration amazingly simple, especially with devices like the Sonoff and other ESP based devices which have been modded with ESPeasy. I am really impressed with ESPeasy and this would make it a delight to use.
Re: RE: Re: ESP8266 native support
Posted: Tuesday 04 October 2016 15:17
by deennoo
Derik wrote:deennoo wrote:With ESPEasy FW mqtt works great !
Mmmm please will you tell me what are the great options with mqtt.....
What can i do whit this protocol..
Perhaps some pictures...
Thanks
On Easyesp select domoticz mqtt. And put your mqtt server adresse and port
Act as usual for device page.
Off course you have to connect your domoticz to a mqtt broker (mosquitto), using hardware page.
Re: ESP8266 native support
Posted: Tuesday 04 October 2016 18:27
by Derik
Off course you have to connect your domoticz to a mqtt broker (mosquitto), using hardware page
This is the part i do not understand...
Some examples.?
Re: ESP8266 native support
Posted: Thursday 06 October 2016 0:11
by deennoo
You have to run a mqtt server, something where your domoticz and esp can meet each other.
Mosquitto is the one.
Domoticz sd card use to get it already set and running on port 1883.
https://www.domoticz.com/wiki/Domoticz_ ... i_SD_Image
Have a look at mqtt broker
All your answer are on the wiki
On my side i try to use it to connect my Domoticz to another HA app who got plugin for some hardware i got.