last one is wifi, so ZHA or Deconz are useless.
Second and third last one, depends whether you bought the Wifi version or Zigbee version, but if Wifi version ZHA or Deconz are useless.
Why can’t localtuya work? I use it. It’s not hard. you do need to know how to follow instructions explicitly. but it’s relatively easy. especially if you use the cloud account to provision it (it won’t use the cloud to operate, it’ll just use it to grab the local key for you.
Wow … so WiFi is never Zigbee !? (but they also have BT to initialize …)
So, what are they ? (and how to use them in HA without cloud !)
As I said :
neither are impossible to find. as I said, you just have to be good at following instructions.
I literally just set a new device up yesterday. so I know it’s not impossible.
@Goood please do a little research and reading before asking in this forum and before continuing. Suggest start by reading ZHA introduction then do the same for Matter and Thread integration (+ maybe read the matching articles on Wikipedia as they have good summerizes too howver more generic):
Zigbee has nothing to do with WiFi, and Matter devices do not use Zigbee wireless protocol. If a device says WiFi then it will never use Zigbee. If a device says Zigbee then it will never use WiFi.
If they have the ”Matter” logo then they can either use ”Thread” (but then they will as well have the ”Thread” logo too) or they can use WiFi and Ethernet. Matter devices will alaways have at least the Matter logo.
Thread is kind like a low-power wireless mesh network that uses IPv6. So kind of like a WiFi network for battery powered devices, but it needs its own Thread router(s) that are dedicated for each Thread network.
Regardless, Matter is never Zigbee either. Matter is a connectivity standard that relies on other transport medium that support IPv6 and not a physical medium or radio protocol. So it can today use Thread, WiFi or Ethernet. Matter devices that use Thread also always use Bluetooth for initial commisioning however stops using Bluetooth once commisioning is done.
Recommend stay away from Matter devices for now as they are not mature. Instead recommend install the ZHA integration and only buy Zigbee devices for now as that technology is mature.
Also check out community guides about Zigbee and more linked in this cookbook collection:
Ok ! So, please, explain how to obtain today Tuya User ID or Tuya localKey
I repeat and repeat again that I’m unable to find them !
I did ! But all is so confuse for me that I ask you ! (forum not for that ?)
I’m not alone lost, because nobody here was able to tell me to no buy the ConBee 3 …
I made 2 errors :
_ I thought that with all years, all Tuya sensors was Matter compliant.
_ Just, I was persuaded that I bought Zigbee sensors … (because Tuya sensors)
All time, seller offer Tuya sensors WiFi or BT, never talk about “Zigbee”
At 1th post, I wrote : (and also in the title !!!)
nobody before you noticed this …
If those sensor are not Zigbee, what are they ?
And by the way, I also thought that Matter wasn’t yet necessary Thread.
Sure ?
I thought, to solve my problem, to buy a hub Matter / Tuya
Wrong idea ?
Here again I’m lost …
All hub that I look for seem to need Tuya app …
Have you got some advises ? Some hubs to buy ?
Wi-Fi .
Really ! WiFi is WiFi ?
I’m not asking about lower layer (OSI 1,2,3), but upper layer (OSI 4,5,6,7) …
As BT is not necessary Zigbee …
Zigbee is based on the Institute of Electrical and Electronics Engineers (IEEE) Standards Association’s 802.15 specification. Zigbee is built for control and sensor networks on the IEEE 802.15.4 wireless standard for wireless personal area networks (WPANs).
Wi-Fi technology is based on the IEEE 802.11™ series of wireless connectivity standards
Bluetooth is managed by the Bluetooth Special Interest Group (SIG), The IEEE standardized Bluetooth as IEEE 802.15.1 but no longer maintains the standard.
As Franccis has pointed it out already:
Although Zigbee and WiFi are both working on the same 2.4GHz band don’t get confused: They are using different protocols (Zigbee vs. WiFi).
Hence they can not communicate with each other and there is no interoperability between those two protocols.
As for the Zigbee protocol you have to use a Zigbee hub/Coordinator (like the Conbee) and for the WiFi based devices you obviously need a WiFi network. Don’t compare apples and oranges, they are different things.
As Hedda has already pointed it out further up you really should dig deeper into the different protocols used by all sorts of IoT devices you plan to implement until you get at least some basic grip on each of them.
Otherwise it will bring you only frustration (besides it gets hard for the helping community here to support you if you don’t even understand the very basics of those different protocols). HA is still a DIY project after all and expects the user to have some basic knowledge of the latter.
No … don’t work …
As I said :
I have a WiFi network, I know all them IPv4
My HA is on the same network.
Then, I thought to use them directly (without cloud)
I never had answer to my title : “Best way to configure WiFi Tuya sensors ?”
I toke time because I had to learn how to use Python …
Great !
I finally have Local KeyS (I thought only 1 by home)
But Local Tuya seem unable to integrate my sensors
Sensor :
IP = 192.168.1.57
Device ID = bfbe90ad2493d662bb3diy
Local Key = Hnui>I(=W6u)ECQg
ERROR (MainThread) [homeassistant.helpers.dispatcher] Exception in async_discover_device when dispatching ‘tuya_discovery_new’: ([‘bfbe90ad2493d662bb3diy’],)
…
KeyError: ‘bfbe90ad2493d662bb3diy’
Every MilliSeconds :
ERROR (MainThread) [homeassistant.components.sensor] Platform tuya does not generate unique IDs. ID tuya.bfbe90ad2493d662bb3diyva_temperature already exists - ignoring sensor.temperature_and_humidity_sensor_n07_temperature
ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception: [Errno 113] Connect call failed (‘192.168.1.57’, 6668)
OSError: [Errno 113] Connect call failed (‘192.168.1.57’, 6668)
If a WiFi based product does not use the Matter standard then they use their own propriatory protocol (or implement a propriatory protocol from someone else like example Espressif), and that works basically the way for practically all commercial hubs/gateways/bridges. Home Assistent does not know what protocol they use to communicate with its devices as they all abstract that away and instead present their own custom API that third-party applications can integrate with.
Tuya is so large that their WiFi-based products use their Tuya’s own propriatory protocol(s) for communication between their devices and their hubs, then their hub offer an open API which third-party applications like Home Assistent’s Tuya integration can use without having to know what protocols the Tuya hub uses to control its devices.
That means; unless the product clearly state that it is using a standard protocol like Zigbee, Z-Wave, or Matter, then there is no native integration for Home Assistant and you will therefore more than likely need to use the manufacturs own hub/bridge/gateway.
Not sure what you mean. Bluetooth is never Zigbee, and Zigbee is never Bluetooth. Again, you should really research this a little more.
By the way, I asked a forum moderator to move this away from the Zigbee forum because your main question was about Tuya WiFi sensors. You posting in the wrong forum and not separating post for each separate product might also be why you not getting better answers. Suggest you post new separate threads for each different type of products.
Ok, thank you.
Right, now I understand that’s not a Zigbee question.
Just a Tuya question.
I made the amalgamation between Zigbee and Tuya.
(P.S. : I don’t see Tuya forum … because it’s an addon ?)
There is not a dedicated Tuya forum because it is not a standard. There is however a generic ”Configuration” forum (where this has now been moved to), and it is when you need a propriatory hub, like Tuya’s hubs. FYI, is also a forum for ”Third-party integrations” for when there is no integration yet in Home Assistant Core.
Anyway, if need help with the native Zigbee Home Automation (ZHA) integation or connecting Zigbee device to the ZHA integation then recommend post a new separate topic in that forum for each Zigbee product
PS: Note that the Zigbee Home Automation (ZHA) integation is among the most popular integrations for good reasons, but also note that Tuya integration is popular because Tuya sell a lot of hubs and devices: