MQTT Understanding

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
harrykausl
Posts: 184
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

MQTT Understanding

Post by harrykausl »

Hello,
I hope, I'm in the correct subforum. I have mqtt and mqtt autodiscovery installed. It works. Now I want to integrate evcc-wallbox software (has mqtt functionality). Autodiscover is for this not working. Where is the information and the rules of the devices found by autodiscovery stored, so I could manually add devices? Thanks.
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: MQTT Understanding

Post by waltervl »

There is no such information yet, you need to redesign. Current implementation is based on ZwaveJS and Zigbee2mqtt so you could also look there.
Alternatively you can look at the MQTT mapper plugin: viewtopic.php?t=39279 and https://github.com/FlyingDomotic/domoti ... per-plugin

Also you can take a look at the shelly discovery teacher script that converts shelly MQTT into AD MQTT
https://github.com/enesbcs/shellyteacher4domo
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
harrykausl
Posts: 184
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: MQTT Understanding

Post by harrykausl »

Thanks, I'll try it.
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: MQTT Understanding

Post by waltervl »

There is also a wallbox plugin available https://github.com/lokonli/domoticz-wallbox Do not know if this is compatible with your device.
No need to go MQTT
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
harrykausl
Posts: 184
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: MQTT Understanding

Post by harrykausl »

I have already included it with http communication and json. But it would be easier to use mqtt. I'll check it, thanks.
FlyingDomotic
Posts: 360
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MQTT Understanding

Post by FlyingDomotic »

You may also try using MqttMapper at https://github.com/FlyingDomotic/domoti ... per-plugin

It works with anything speaking MQTT, with a configuration file instead of Home Assistant discovery mechanism.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest