I’m pretty sure i’m missing something but it seems I have to add a command topic/device and a corresponding state/device topic. I just learned how to ttl the CB3S module in my TUYA power strip (Geeni GN-SW008-101) it’s just been collecting dust since I ditched all TUYA (until I started flashing) devices. I have it up and running with espHOME web server had to use ltchiptools to flash the UART initially. Sometimes I think there is little to NO information of how the MQTT Import/Export can be used so again, I assume I’m missing something.
I also made a project with a ESP32WROOM dev kit that scans NFC and RFID for hubitat automations. Unfortunately I gave up on trying the MQTT stuff and settled with HTTP. It was my gateway to flashing and now I want to make other things to improve WAF.
Any help/input will definitely be appreciated. TIA!
I am not a sw engineer and my comment is not a real help. Recently I built a complex DIY Device using MQTT protocol with multiple attributes (relays, contacts, temp sensors). Homeassistant had no problem to pick it up correctly. Hubitat also picked up right everything but I was not able to map anything at all. It happens to be Hubitat does not support MQTT Devices with multiple attributes. So, I ended up with custom driver. Your device also has multiple attributes and this is a problem with current Hubitat MQTT mapping implementation. But I could be wrong.
The ONE device now has an on/off and the state updates.
Here is a video of it showing it working.
This is my first time doing this MQTT stuff and I have ZERO interest in using HA. This may have been the solution but I assume I still cannot do multiple attributes.
After a lengthy time of trial and error I was able to get things setup for the device i made. The Geeni being the easiest to do. As @vitaliy_kh has mentioned, each topic cannot have the SAME attribute. I have found that using thermostat can get the text field stuff that I was needing in the end.
So with that being said, can we get the option to assign multiple identical attributes to topic and also can we have a text field (the option to add more than one) attribute and for it to work in RM without a workaround like I had to do?