Comments (8)
I wasn't planning of having it as part of the main branch since the main intention of this project is to use MQTT with a smarthub and you can just connect Alexa/GoogleHome to your smarthub to control the devices that way
...but I added a separate branch for Alexa if you want to test it out. I just quickly wrote this and would need someone to test since I don't own alexa/echos. I have google homes which don't have a similar integration
You will need to add the FauxmoESP library and also manually add the AsyncTCP library using the zip https://github.com/me-no-dev/AsyncTCP/archive/master.zip
The code currently still requires that you have MQTT setup and working, but you should be able to make the calls directly from Alexa for bots and curtain (ON,OFF). Position isn't setup to work through alexa yet
The standard code heavily expects MQTT to be connected, so I would need to remove those checks in order to not use MQTT
Again, I coded this with zero Alexa testing since I don't own one, so good luck
from switchbot-mqtt-ble-esp32.
Hi, at home i own an Alexa Echo dot so i will test soon...according docs should be easy to implement percent position.
Maybe i will try to issue some voice commands to alexa and try to write some code.
I'll let you know :)
from switchbot-mqtt-ble-esp32.
I can do the percentage part so u dont need to worry about that, the code now is just a preliminary test to see that it works for on/off. I might switch to espalexa... not sure yet
If it works I"ll make changes so you can disable the need for mqtt
from switchbot-mqtt-ble-esp32.
okok, anyway i'll use both alexa (voice) and mqtt with my hub.
If you need some logs and prints about input parameters provided by alexa...let me know.
Did you find some improvements to use espalexa over Fauxmoesp? Maybe light bulb colors?
from switchbot-mqtt-ble-esp32.
Without an alexa/echo to test with it is difficult to tell if one is better than the other (fauxmoesp or espalexa). I know aircoookies WLED work and espalexa is slightly easier to install (no zip to download). espalexa didnt look like it was setup for dynamic device names though
from switchbot-mqtt-ble-esp32.
According to my experiments they are pretty mush the same, maybe the espalexa is more oriented to colors and brightness...as well as percentage but fauxmoesp also support boolean state and percent but colors are in a separate branch. The developer says he is not very happy with implementation.
Anyways both solutions seem to work good
from switchbot-mqtt-ble-esp32.
@fabiosoft have u have the chance to test? if it works I'll look at removing the mqtt requirement
from switchbot-mqtt-ble-esp32.
Closing this for now. Can be reopened later if needed
from switchbot-mqtt-ble-esp32.
Related Issues (20)
- sensor.esp32_linkquality (WiFi signal level) show as "rssi" instead of "dBm"
- No device HOT 8
- Create Unlimited timers HOT 1
- No Wifi connection HOT 5
- Opening one side of the curtain HOT 2
- No bug. A Question... Sleeping a Bot
- Fingerprint keypad HOT 1
- New Curtain user at firmware 6.0 - can't control but receives illuminance, battery, etc.
- Curtain firmware v6.3 safe to update? HOT 2
- Question: Is the SwitchBot Remote One Touch Button supported?
- SwitchBot Blind tilt HOT 5
- Issue with adding SwitchBot meter: Outdoor Hygrometer Thermometer HOT 13
- Warnings when using with Home Assistant 2023.8.0 HOT 22
- Fingerbot Bot support HOT 2
- Hardware Test - ESP32-S3 HOT 1
- Esp32 module regularly unavailable in HA HOT 1
- status code 7 HOT 1
- Error when compiling: 'class CRC32' has no member named 'update' HOT 1
- Cannot get motion sensor state HOT 1
- ESP Devices stop working after a view hours to days HOT 4
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 switchbot-mqtt-ble-esp32.