kakopappa / arduino-esp8266-alexa-wemo-switch

Amazon Alexa + WeMos switch made with Arduino D1 Mini
https://sinric.pro
MIT License
281 stars 249 forks source link

Home Assistant Integration #12

Open Banana5kin opened 7 years ago

Banana5kin commented 7 years ago

Hi,

Great job by the way, got this working with the minimum of fuss with the device added to the Amazon Echo and switching the relay on demand.

Is there any way to control the state of the pins via Home Assistant - Web? I'd ideally like to be able to control a relay by the Echo and Home Assistant, I'm assuming the http_post is doing the work of the switching?

Thanks

aneisch commented 7 years ago

I have made https://github.com/aneisch/Sonoff-Wemo-Home-Assistant/blob/master/sonoff_wemo_homeassistant.ino

This code is compatible with Home Assistant autodiscovery and allows control of Sonoff through emulated hue.

bjhutchins commented 5 years ago

@Banana5kin Did you manage to integrate Alexa into the code at all? im having trouble

brutus6506 commented 7 months ago

Hi everyone, sorry but I have a question. I made and modified the .INO code and got 10 SW that Alexa identifies perfectly. However, I have a problem with the HA integration. I have installed the WEMO integration and the device is recognized, but it contains a single entity. What am I doing wrong, which file should I modify?