For those not aware the ESP8266 is a small, quite powerful Wifi microcontroller. It is now able to be programmed via Arduino and has replaced Arduinos in most of my projects (even ones not requiring Wifi).
There are alot of impressive features:
One very easy way to use with (with no plugins!) is the ESPEasy project. It's a sketch you program on to the ESP8266, and the configure via web browser.
It supports lots of expansion without any extra coding currently.
http://www.esp8266.nu/index.php/Main_Page
http://www.esp8266.nu/index.php/ESPEasy
There are two options for integrating with HS: MQTT (using MQTT plugin) and HTTP (JSON inteface).
To setup the JSON interface with HS Do the following:
Go to the config menu of the ESPEasy web config and set:
Protocol: Generic HTTP
Controller IP: YourHSIP
Controller IP: YourHSPort (default: 80)
Then goto Tools-> System Advanced
Publish Template: JSON?request=controldevicebyvalue&ref=%id%&value=%value%
Create a virtual device in homeseer, and note the device ref #. Enter this number as the "idx" number when you create a new sensor in the ESPEasy menu. Keep in mind it is the value that will be updated.
There's alot of different ESP8266 products out there, but for something Arduino like I'd suggest the NodeMCU dev kit (V1.0) or the WeMos D1 mini.
If there is alot of interest I may look at a more detailed guide at some point or it could be possible to modify ESPEasy to support HS more directly.
There are alot of impressive features:
- Wifi!
- Cheap! ~$5US for dev kit
- Possible to reload firmware wirelessly.
- 4M Flash memory
- Can run a webserver/MQTT/etc.
- 1 Analog In (poor)
- PWM support on all pins.
- I2C, OneWire, 2 UART, SPI
- 12 GPIO on NodeMCU Dev kit.
One very easy way to use with (with no plugins!) is the ESPEasy project. It's a sketch you program on to the ESP8266, and the configure via web browser.
It supports lots of expansion without any extra coding currently.
http://www.esp8266.nu/index.php/Main_Page
http://www.esp8266.nu/index.php/ESPEasy
There are two options for integrating with HS: MQTT (using MQTT plugin) and HTTP (JSON inteface).
To setup the JSON interface with HS Do the following:
Go to the config menu of the ESPEasy web config and set:
Protocol: Generic HTTP
Controller IP: YourHSIP
Controller IP: YourHSPort (default: 80)
Then goto Tools-> System Advanced
Publish Template: JSON?request=controldevicebyvalue&ref=%id%&value=%value%
Create a virtual device in homeseer, and note the device ref #. Enter this number as the "idx" number when you create a new sensor in the ESPEasy menu. Keep in mind it is the value that will be updated.
There's alot of different ESP8266 products out there, but for something Arduino like I'd suggest the NodeMCU dev kit (V1.0) or the WeMos D1 mini.
If there is alot of interest I may look at a more detailed guide at some point or it could be possible to modify ESPEasy to support HS more directly.
Comment