Comments (4)
I recently created a device integration module for the home automation system Home assistant (https://www.home-assistant.io/) to integrate the lamp with it. I used the existing websocket interface of the lamp to connect them which worked pretty good.
My initial thought was to solve this via MQTT, which would have been easier to integrate with Home assistant. However, I discarded this, because an additional external API would increase the complexity of the lamp firmware, just to cover a rather special case.
I'm not sure if the direct Alexa support is really that helpful. Maybe an intermediate step via a home automation solution is better?
from super-simple-rgb-wifi-lamp.
I love home assistant. I use in in conjunction with node red to hook everything of mine in the house together since everything comes with a different API's these days. Its amazing what you can do with it, but the short fall for most people is that you need to run a server 24/7 either on a spare PC or a pi.
What I liked about the library FauxMo was that it connects to Alexa without another hub. It opens up another http API on the esp which can be used by Alexa to control the device. I really liked this as many people are buying into home hubs these days , particularly alexa and google, and it would be nice to offer this out of the box for those who don't have the ability to set up something like home assistant.
Case in point is I own a lot of LIFX bulbs. I've hooked them into node red and home assistant for automation, but I always find myself just asking google to turn them on and off when required. Its just a more convenient way than opening a web page on your phone and doing the same thing.
But your right, I think opening up the ability for this repo to talk more protocols would be important. I like the idea of MQTT (which I use a lot also) to do this as it seems to be the go to protocol when people are playing with home automation. It's also supported out of the box by node red and home assistant which is helpful.
Which library do you use for mqtt?
from super-simple-rgb-wifi-lamp.
Wow, never used node red before. Looks pretty interesting.
You're probably right. Because of its widespread use, Alexa integration will be quite interesting. Personally, I am not a fan of the system, even though it is technically interesting. It would be great to have a similar powerful system without having a public cloud connected microphone in the living room ;-).
I have not yet implemented an arduino device with MQTT.
from super-simple-rgb-wifi-lamp.
Wow, never used node red before. Looks pretty interesting.
It's amazing. I used it heavily in debugging the original source of this repo as it has websockets built in. Highly recommend it for HA and IoT.
Personally, I am not a fan of the system, even though it is technically interesting.
Agreed, but this is where regular consumers are at, so bringing it onboard will hopefully entice new users of this repo.
I have not yet implemented an arduino device with MQTT.
I'll shortcut you some time. Ignore PubSubCLient, it uses blocking IO. Use async-mqtt-client or my fork of it . Its an amazing library, does all you need, easy to setup, super stable.
from super-simple-rgb-wifi-lamp.
Related Issues (19)
- Super-Simple-RGB-WiFi-Lamp (Clock, Night rider and Bell curve error) HOT 3
- Unable to compile the sketch HOT 3
- Question: Web page implementation HOT 2
- Error in compiling HOT 3
- Feature Request: Create global brightness slider in UI HOT 7
- No web interface HOT 7
- Feature Request: Encapsulate settings / config in extra file HOT 4
- Fadetoblack gives one extra full light glimp HOT 12
- Flickering LEDs + Possible solution HOT 10
- Library Development Discussion
- Switching between config pages allways turns on the Lamp HOT 3
- Webpage not loading format or responding to light strip interaction HOT 4
- Miss spelling in web page HOT 1
- SaturationFade error HOT 1
- Problem: SSID and Password is not permanent HOT 1
- OTA HOT 3
- OTA not working most of the time HOT 6
- Suggestion HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-simple-rgb-wifi-lamp.