I successfully created a DIY Device which has:
- Configurable number of Relays (Switches) with configurable Auto-OFF Timers (Individual Timer per Relay);
- Configurable number of Contact Sensors;
- Configurable number of DS18B20 Temperature Sensors;
- Will add a Configurable Number of ADCs (Analog Sensors);
- One multi-level Liquid Sensor;
https://www.amazon.com/dp/B0D5XMGCLM?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1
The Device has buit-in Web UI Control/Status interface.
So far everything is working OK and as expected.
For the integration with HE I am planning to use built-in MQTT Import (previous DIY Controllers used Hubduino). Current MQTT Broker is Mosquetto on Home Assistant.
With MQTT Explorer I can see all States for every Sensor and Relay and can control Relay On/Off and set Auto-Off timeout.
However attempt to import all that sensors/controls into HE via MQTT Import integration so far is not working. HE can see all Topics but this is about it. For instance, here is a page for mapping Switches (Relays):
switch radio button is red and not clicable. And here is a Next page:
Nothing is imported and therefore there is nothing to map.
I am sure, payload I am sending to the HE is simply incorrect. Current Commands are switcch1 on or swutch1 off. Contact sensors reporting contac1 open or conact1 closed.
Any ideas about what I am doing wrong?
Any help and suggestions are very welcome.
PS.
If anybody interested in I can share the project details (i.e. Arduino sketch, etc.).
UPDATE
I found HE (supposed to be) compatible payload format.
Now in the MQTT Explorer it looks like this:
HE MQTT Import can see all these topics, but I still cannot map anything.


