localtuya
tuyapi
Our great sponsors
localtuya | tuyapi | |
---|---|---|
40 | 8 | |
2,596 | 2,011 | |
- | - | |
5.5 | 2.0 | |
3 days ago | about 1 month ago | |
Python | JavaScript | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
localtuya
- How to read the power consumption of a Smart Plug using Tuya API?
-
Looking for a few products and ideas Lighting/Plugs mostly.
Tuya devices, and the Tuya-based Monster, Greeni, etc stuff can be connected to HA using the Tuya Integration, or converted to local-only using Tuya Cloudcutter and connected to HA using Local Tuya, or even flashed with Tasmota, ESPHome/Libre Tiny, or OpenBeken.
- Are there people that are interested in reverse engineering the Tuya Smart app?
-
My first tuya fail. How to distinct tuya only from normal devices?
It's still on my list of things to try so I don't have personal experience, but I think https://github.com/rospogrigio/localtuya can help you. Maybe start with reading the readme to see what limitations exist for Tuya devices.
-
Turn on/off Tuya smart plug with ESP32
localtuya
-
Cloud Sh!t
You can control them locally with this integration for Home Assistant: https://github.com/rospogrigio/localtuya
- Die Lampe.
-
Smart light bulbs
We got some cheap Tuya bulbs from Kogan. Unfortunately they were too new to flash with tuya-convert, but they can still be controlled locally through Home Assistant with localtuya.
-
Fed up with Tuya strip lights. Never works properly. Is there any other way to add them to homekit. Tuya homebridge plugins are not great.
There is the [Local Tuya](https://github.com/rospogrigio/localtuya) integration for Home Assistant. This will eliminate the cloud dependency of the Tuya devices you have. Once you have them in Home Assistant you can expose them to HomeKit just like HomeBridge does.
-
Alexa routines accessible in home assistant?
Don't the Treatlife devices just use the Tuya backend? If so, you can add them directly to HA using the cloud based official Tuya Integration, or the local-only Local Tuya via HACS.
tuyapi
-
Starting a smart home app
If I want to buy switches or sensors from Ali/Tuya can I pair them to any hub or do I need to use the tuya api: https://github.com/codetheweb/tuyapi?
-
WiFi enabled plugs need 2.4GHz to setup - Wifi presents both channels as one
If you prefer Zigbee in general - cool. But saying Zigbee is better than Wi-Fi because there's this one sucky application Smart Life that forces your phone connected to 2.4 to let you setup doesn't make sense. Just use a different application to set it up. Or you can block Tuya IPs for fully local operation. https://github.com/codetheweb/tuyapi/
-
I made chat commands that change the color of the lights in my room
My LED lights are by a company called Smart Life, and their service is provided by Tuya (don't know if they're the same) But I essentially looked into this code repository and followed the guidelines https://github.com/codetheweb/tuyapi then all I had to do was connect it to a twitch bot running on my computer and converting the color into numbers that the lights understood :)
-
Energy usage monitoring for individual appliances.
You can link your account to their developer tools, and use tuyapi (https://github.com/codetheweb/tuyapi ) to get them set up, and use BN-Link devices that are $25 for a 4-pack
-
Trigger alarm on smartlife when notification recieved.
It doesn't seem like Smartlife has any public/open API. There's an unofficial hack but it seem to communicate over TCP/IP which Automate currently doesn't support: https://github.com/codetheweb/tuyapi
-
any new ways to extract tuya local keys? None of the old ways seem to work
Try these steps https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md
-
Alexa Or Google Voice As Bridge
By the way, those Minoston outdoor outlet switches use the Smart Life app which seems to be also used by Tuya devices, and there is some talk of controlling Tuya stuff in C4 with an MQTT driver. There is some Tuya code on the web (https://github.com/codetheweb/tuyapi) so you could probably control that with a little bit of work in C4.
- Feit Smart Bulb Often Offline
What are some alternatives?
tuya-home-assistant - Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
Meross - Investigating the Meross/Refoss MSS310 Smart Plug and getting these devices to communicate with our private MQTT brokers
tuya-connector-nodejs - nodejs sdk
homebridge-tado-platform - Homebridge plugin for controlling Tado devices
tuya-convert - A collection of scripts to flash Tuya IoT devices to alternative firmwares
assistant-relay - A Node.js server that allows for sending commands to Google Home/Assistant from endpoints
tuya-home-android-sdk - Tuya Smart Life App SDK is designed to promote the development of apps with multiple smart device features, such as device pairing, device control, firmware updates, scheduled tasks, and smart scenes.
cli - 🔧 A CLI for Tuya devices
tuyagateway - Local Python Gateway for Tuya devices
dotenv-flow - Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
ha_tuya_custom - Tuya Custom Component for testing
tuya-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower - A smart lawn mower demo based on Tuya Smart Cloud Platform, Tuya Smart App, IoTOS Embeded MCU SDK, using Tuya WiFi/WiFi+BLE series modules and GD32F4 series MCUs.