Transfer switch from IOBroker to Home Assistant via MQTT

Hello everyone,
My production system runs on an IOBroker. To test Home Assistant, I’d like to transfer some Tasmota plugs to Home Assistant. But as a beginner, I’m completely lost. I hope you can help me. I’ve watched pretty much every German-language YouTube video I could find. However, I just can’t get any further.

The MQTT broker on HA receives the following data.

{
    "val": false,
    "ack": false,
    "ts": 1749751834082,
    "q": 0,
    "from": "system.adapter.admin.0",
    "user": "system.user.admin",
    "lc": 1749751834082
}
QoS: 0 - Retain: true

Can you please tell me, or better yet, explain, what I need to enter in the Configuration.yaml so that I can have the value in the HA and also activate it?

I’ve already read the page MQTT binary sensor - Home Assistant, but honestly, I don’t understand anything. :frowning:

I’ve tasmotized many 8266 devices. I have the HA tasmota integration which requires the MQTT integration which requires an MQTT broker.

First, install a broker. This can be the HA add-on (not integration) or mosquitto installed on (one of?) your always on-line computer(s). Once installed, determine the IP address of the broker.

Next install the MQTT integration. It will require the IP address of the broker

Next install the Tasmota integration which I believe will find the broker through the MQTT integration.

I suspect that your device has a custom tasmota binary that works specifically with IOBroker. If this is the case, I’d advise flashing your device with the version of Tasmota recommended for it, usually the default on.

It may be possible to do this OTA (over the air). Knowing the IP address of your device, open its web page with http://. There you will see [Firmware Upgrade]. Assuming that you’re connected to internet, the OTA Url dialog box will be pointing to the default. You can see all the possibilities on the Tasmota OTA Release page.

If you don’t have that option, it’s a custom binary. In this case I’d recommend tasmotizer and a serial programmer. Tasmotizer allows you to back up the existing binary so that you can go back to it.

This gets very tricky. If your device is a Sonoff you should be able to find a tutorial on how to do it. briefly: 1 completely disconnect from all devices, 2 solder a header to GND TX RX VCC and GPIO0 3 connect to serial programmer (GND-GND, RX-TX, TX-RX, VCC-3V3) 4 connect GPIO0 to GND 5 plug into your PC running tasmotizer. 6)a check back up )b check erase c) start back up 7) after the flashing is complete, disconnect GPIO0 from GND and reboot your device (eg, remove 3V3 and replace) At this point, Tasmotizer can configure your WiFi and MQTT broker.

Other ESP devices will require research on your part.

If you didn’t configure with Tasmotizer you’ll have to connect to the devices SSID and log into the device’s Tasmota web page (192.168.0.4)

Once configured, your device will send information to your MQTT broker and HA will automatically set up a device for it.

There are a whole lot of places where things can go afoul. As long as you don’t don’t connect to anything 5V, you try again.

Good luck with it. Let us know how it went.