Migration guide for Broadlink binding from OH4.2 bindung to 4.3.1 binding

Hello all, happy new year to you.

I have had now time to migrate my old working broadlink binding 4.2 to the newst 4.3.1
for my climacontrol IR system which works since a couple of years with am RM 4 mini

First of all: IT WORKS!!! and a BIG THANKS to Anton !!!

The important information from him was, before I go and discribe (for others) how I made it, is that the items can be “re-used” for the new offical binding.

All happend on my DEV-system. The system runs under OH 4.3.1-1 on a RPI. The production and the copy of it will follow later today :slight_smile:

  1. I made a backup from the active configuration and saved it twice also on a external storage
  2. I deleted the thing (broadlink RM4 mini) on the OH system.
  3. Then stopped the OH with (sudo /bin/systemctl stop openhab.service)
  4. Stoped ZRAM (sudo zram-config stop)
  5. Cleaned to OH instance (sudo openhab-cli clean-cache)
  6. Renamned the existing Broadlink .jav binding, that it will be not more used under (/usr/share/openhab/addons)
  7. Start the ZRAM (sudo zram-config start)
  8. Start OH (sudo /bin/systemctl start openhab.service)
  9. Wait for the system comes up, and all things are online again. The Broadlink thing was not more there and also the binding was also not more installed. So a clean system. :slight_smile:
  10. Installed the new binding from the “add an store”. I took, the broadlink binding, which supports all the different things, NOT the binding, which supports the thermostat.
  11. Created a new thing Broadlink RM4 Mini, with the same old information, like the IP-Address, MAC-Adress, etc.
  12. Then I added to the new thing my existing two IF-commands. Here I was able to re-use the existing two channels/IF-Commands which were listed as items. (KlimaAN, KlimaAUS). This I made for the Command channel and the Remote learning channel.
  13. I tested the new configuration and it was working.

So an great, big applause for you Anton. Really a great job.

My target was to use in future only bindings, which are supported in future :slight_smile:
So I need to make now to the same for the Test-system and also the PROD-system and all will be fine :slight_smile:

THANKS again
BR
Jochen

1 Like