I have just published a binding that connects to the “local API” of an AirZone HVAC WebSever.
This is usually used with ducted air conditioning systems that allows control of individual zones.
It supports openHAB 3.4 and later and its source code is hosted at GitHub
Three things are supported:
Bridge to represent the actual connection to the webserver. The IP address is the only required configuration parameter, others have appropriate default values.
System to represent a system connected to the AirZone device. Usually there is only one system which is the outdoor/indoor air conditioning unit.
Zone to represent a zone controlled by the AirZone device. Usually these are rooms like bedroom, office, living room…
It offers channels or properties for all HVAC values described in the latest PDF documentation that I could find, plus two channels that match values returned by my system despite not being documented.
Note that I have not implemented domestic hot water (DHW) related channels as I don’t have such a device, nor am I sure how this should be represented.
Systems and zones are automatically discovered and placed in the inbox.
I have not implemented discovery for the bridge itself as it would need DHCP sniffing which is not reliable and error prone as the possible MAC address prefixes are quite numerous.
I have the following left to do:
French translation
Code abstractions to allow for unit testing
The current version is 0.1.0 and while it works just fine with my current setup, I’d be happy to have feedback and reviews from other users, either on the functionality or on the source code.
Did you try adding a new Bridge thing by hitting the big blue plus button in the Things menu section. Don‘t know about this Binding, but not all support autodiscovery…
Yes, adding and configuring a bridge manually is required because there is no clean and easy way to detect it on the network.
After it has been connected, the Zone things are automatically discovered.
Now - I am fighting on “Operating Mode” on SiteMap.
I just want to add 3 MODES: Heating, Cooling, Dry.
Selection icon=fan item=AirZone__All_zones_system_1_Operation_mode label=“Modalità S1”
This line works great but it shows me all the operation modes which are not interesting to me.
Selection item=AirZone__All_zones_system_1_Operation_mode label=“Modalità S1 TEST” mappings=[2=“Cooling”, 5=Dry, 3=Heating]
This line is not working (it doesnt change the operation mode).
That’s because it is not marked as compatible with openHAB 4.2.0 that just got out.
I’ll have to check it’s working and will update it as soon as I can