tuyapi
tuya-connector-nodejs
tuyapi | tuya-connector-nodejs | |
---|---|---|
8 | 1 | |
2,017 | 35 | |
- | - | |
1.6 | 0.0 | |
2 days ago | about 2 years ago | |
JavaScript | TypeScript | |
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.
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
tuya-connector-nodejs
-
Develop with Node.js SDK
This step is based on the Tuya-connector-Nodejs SDK. Tuya-connector helps you efficiently create cloud development projects regarding the OpenAPI or message subscription capabilities. You can put all the focus on business logic without taking care of server-side programming nor relational databases. Perform the following steps:
What are some alternatives?
Meross - Investigating the Meross/Refoss MSS310 Smart Plug and getting these devices to communicate with our private MQTT brokers
localtuya - local handling for Tuya devices
homebridge-tado-platform - Homebridge plugin for controlling Tado devices
tuya-convert - A collection of scripts to flash Tuya IoT devices to alternative firmwares
homebridge-tuya-web - Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
assistant-relay - A Node.js server that allows for sending commands to Google Home/Assistant from endpoints
Sonoff-Tasmota - Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at [Moved to: https://github.com/arendst/Tasmota]
cli - 🔧 A CLI for Tuya devices
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
dotenv-flow - Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions