-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use with ESPHome? #3
Comments
https://esphome.io/components/tuya.html All you need to do initially is to configure the serial port to talk to the Tuya MCU, then ESPHome will interrogate it to identify the datapoints that it supports. Then it becomes a question of figuring out what each datapoint represents and creating suitable ESPHome entities for each datapoint. This should make it a lot easier than poring through hex dumps for traffic that is only infrequently sent. |
Here is my ESPHome working code and Home Assistant Dashboard if you are interested. This was mostly ported from the excellent work that @jackkitley did here in this repo. |
Nice work! Ignore me, I see that it doesn't come with the ESP8266 by default on review of the repo. FWIW, the LibreTiny project might be able to run ESPHome natively on the original Tuya module, saving the desoldering process entirely. |
Hi,
Just wondering if you tried using it with ESPHome? ESPHome does most of the hard work for you, including supporting OTA updates, MQTT, WiFi settings, etc, and even includes support for talking to a remote Tuya MCU over the serial port.
Nice work reversing it this far!
The text was updated successfully, but these errors were encountered: