Search the Community
Showing results for tags 'esp8266'.
Found 3 results
ianbren posted a topic in Tutorials and GuidesHi, I've had a few questions on how to use Fibaro HC2 to talk to ESP8266 devices. If you're interested, the simple example over at https://github.com/ianbren/Fibaro_Esp8266_101 can help. there are two assumptions - that you can create a Virtual Device in Fibaro and have used LUA before - that you've got the Arduino environment to build and ESP8266 (of whatever flavour you want). Basically, the solution has a Virtual Device with one button - press the button in Debug mode and the ESP8266 is called and returns with some JSON. If there's interest, I'll expand the examples to include one for ESPEASY and a DHT11 - where you can build wifi-enabled temperture devices. Cheers Ian
Hi there, I'm building a Nextion touchscreen with a arduino ESP8266 chip. I already can start scene's from the display. I'm now struggeling with a way to communicate back. Is there someone who can tell me how to send value's from a variable in Fibaro HC2 to the arduino ESPchip? I created a webserver running on the arduino and can make different actions on it i.e. /ledon runs a led on script on the arduino. But this way i need to make a different script for every single action/value of a variable. undoable when I want to send temp or lux to the arduino. Is there a way, so yes how, to send the value of a global variable in fibaro HC2 to a global variable in the arduino. Cheers, Damien
ianbren posted a question in Home Center 2Hi there, I've been working on getting Google Home (GH) to work with my HC2. It requires a few components - IFTTT, AWS (for the web action) and an ESP8266 to poll AWS for actions. - ESP8266 - I use a WEMOS D1 Mini to use the built-in USB for power - configured to use Arduino code - AWS - I use API, Lambda and DynamoDB as a simple message process. - IFTTT - using the Assistant modules to call AWS and post data to the database I then use a Virtual Device to poll the ESP8266 to see if there are any messages on the database, pull them down and pass them back to HC2 as JSON. The ESP8266 then clears out the database record so the last command isn't used again. At the HC2, the JSON is used in an LUA script. It's a bit clunky, but the IFTTT integration is very fast to AWS, so any delay is really the second or two that it takes HC2 to poll a VC; about a second longer than the verbal response from IFTTT. If there's any interest - say 10 people - I'll rough up the components and post them over to Github.