Comments (6)
Not in the libraries currently available for python, which Home Assistant integrations use. Currently only the nodejs library and tuyacli app connect to iot.tuya.com
from tuya-local.
There does appear to be provision for this in tinytuya, but currently it is implemented as a command-line wizard, and I think will require refactoring of the library itself to make work entirely within HA.
from tuya-local.
localtuya manages to do this, somehow?
from tuya-local.
localtuya maintains its own fork of pytuya. I don't have the bandwidth to do that, so I rely on tinytuya, which is the most maintained fork of pytuya. tinytuya does support discovery now, but as they do not support asyncio, it is a bit more complex to integrate than I would like, probably it is below #682 on the priority list for major changes.
from tuya-local.
Also, if this integration does discovery, it will make it mutually exclusive with localtuya - currently it is possible to use some devices with this, and some with localtuya, provided you do not try to use auto IP address detection. For standard discovery protocols, Home Assistant works around this mutual exclusivity by making the discovery an HA provided service, but since tuya does not use standard protocols, we have to implement it at the integration level which will block all other integrations trying to use the same discovery ports.
from tuya-local.
Also, if this integration does discovery, it will make it mutually exclusive with localtuya - currently it is possible to use some devices with this, and some with localtuya, provided you do not try to use auto IP address detection. For standard discovery protocols, Home Assistant works around this mutual exclusivity by making the discovery an HA provided service, but since tuya does not use standard protocols, we have to implement it at the integration level which will block all other integrations trying to use the same discovery ports.
Isn't more simple to bind MAC address of devices from ARP table.
Each device have unique MAC address in difference of IP.
If router restart start to give random IP's if not set to bind them to specific one.
from tuya-local.
Related Issues (20)
- No climate entity created for Hombli TRV HOT 3
- Request support for NX-4964 Smart Lockbox HOT 2
- Request support for Zemismart Electric Curtain Motor (Wifi), model BCM500DS-TYW
- Request support for Kolanky 3.6kW EV charger HOT 2
- Detected that custom integration 'tuya_local' sets "minor_version" directly to update a config entry. HOT 6
- geyserwise_water_heater - None in not a valid temperature unit.
- All my switch entity names have None appended to name. HOT 1
- Universal RX Multi WIFI Garage Door Remote Control Receiver 2CH
- Version 2024.4 log warning message HOT 1
- Issue Adding ph W218-Device matches None with quality of 0%
- Cover window no status (status window= unkown) HOT 9
- Request support for KY35W-10 WIFI shutter motor/controller
- Request support for Remote Control ZBRC10WT HOT 2
- Request support for Tuya Wifi Temperature Humidity Sensor Alarm HOT 2
- After each HA reboot all devices start offline HOT 2
- Request support for Fisher Air to Water heat pump
- Last update don't solve my problem with HA 2024.5.0 stops the integration HOT 34
- All devices unavailable after updating HA core to 2024.5.0 HOT 6
- Lubluelu SL60D not matching HOT 2
- Error after upgrading Homeassistant Operating System to 12.2, Entity None (<class 'custom_components.tuya_local.climate.TuyaLocalClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method HOT 1
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 tuya-local.