tuyapi
tuya-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower
tuyapi | tuya-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower | |
---|---|---|
8 | 1 | |
2,017 | 1 | |
- | - | |
1.6 | 0.0 | |
2 days ago | almost 3 years ago | |
JavaScript | C | |
MIT License | 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-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower
-
Prototype a Robotic Lawn Mower
Step 3: Firmware development Before the application development, you need to port the MCU SDK to your project. Then, flash the general firmware and Tuya’s license to the network module. This way, the mower can communicate with the cloud. The demo routine also includes FreeRTOS to facilitate your development. After the above preparation is completed, you can proceed with the application development. Download the sample code: tuya-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower Drivers for motor, servo, and ESC Have four motors connected to each wheel for movement. Two servos are used to control the ESC as well as the position of the blade connected to the ESC. The ESC controls and regulates the speed of the blade rotation. Write the initialization procedure for the above components, which are implemented in servo_motor.c .
What are some alternatives?
Meross - Investigating the Meross/Refoss MSS310 Smart Plug and getting these devices to communicate with our private MQTT brokers
tuya-iotos-embeded-sdk-wifi-ble-bk7231n - Tuya IoTOS Embeded SDK WiFi & BLE for BK7231N
homebridge-tado-platform - Homebridge plugin for controlling Tado devices
tuya-connect-kit-for-mqtt-embedded-c - Provide core capabilities like device connection, uplink and downlink communication and OTA across platforms and operating systems.
localtuya - local handling 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
assistant-relay - A Node.js server that allows for sending commands to Google Home/Assistant from endpoints
cli - 🔧 A CLI for Tuya devices
dotenv-flow - Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
Gladys - A privacy-first, open-source home assistant
tuya-connector-nodejs - nodejs sdk