AirTouch4 Binding - OH3 and OH4

Hi @ninjaltd

I’m starting a new thread to announce the availability of the latest version of the binding.

This release has versions of the plugin working with Airtouch4 tested against OH 3.4.0 and OH 4.1.3

The underlying library (airtouch-utils) does support Airtouch5 as well, so if there is demand I can look at adding support for Airtouch5 to this binding.

What about openHAB 4.2 ?
Actual developments should be at this version…

Oh thanks! I’ll look at building against that version and update the post when I get it built.

Many thanks mate, tested and working on my 4.1.3 install.

Great. Thanks for the confirmation.

Hey @netwolfuk I’m sure many of us are looking to move to v5 soon. Are you still maintaining this and able to provide a build for v5?

I’ll have a look tonight. It feels familiar, but maybe I am getting airtouch5 and openhab5 confused.

If I do have a build for oh5, it will be quite old and will need some love. I won’t get to look at it until at least next month.

Sorry. The latest build I have is against OH4.2

I’m still running 4.3.2 on my OH server.

Is there a guide somewhere outlining what devs need to do to upgrade their add-ons to OH5?

I’m still on 4.3.5 too and using your 4.1 build without too much issue. I’m sure it’s possible it may just work. I guess I’ll be the guinea pig and find out tonight … :slight_smile:

I spent an hour on it tonight and managed to:

  • Checkout OH from origin/5.0.x
  • Cherry pick all the commits from my 4.2.x branch onto it
  • Fix a few references to the wrong dependency versions
  • Upgrade my dev workstation to java 21
  • Build the add-on
  • Create a new docker container running OH5
  • Manually install the add-on
  • Configure the IP of the airtouch4 and discover the items

Auto discovery didn’t work because my docker instance is not on the iot vlan where the airtouch4 is.

I don’t have CI working on the new branch, so can’t do a release, and there looks to be some changes I should do to support yaml configuration.

Also some items have poor defaults now that oh5 seems to have lots more dimensions for values.

I don’t think I’ll get back to this until next week at least though sorry.

That’s impressive work for only an hour. Sounds like it’s mostly functional.

@netwolfuk Let us know if you make any progress on a release for v5.

Not much testing, but you can try this jar

I’ve not looked at what I need to do to support YAML or anything. This is simply the same code as last time but compiled against OH 5, and Java 21.