Bonaire MyClimate - Creating a custom integration

Hey guys, is anyone able to share their automations around climate? I’ve been doing lots of research around other peoples automations but it’s clear that most of them tend to only need to worry about heating and not cooling. Wondering if anyone has something they can share for adding smarts to their climate system?

My default position is just replicating what I’ve previously used the program for, but I’m mindful I’ve only been in the house for a winter and as we move towards summer I’m going to need to be a bit smarter - not to mention being home 24/7!

I don’t have any amazing automations, and I have only been through a winter with this (Melbourne winter), so I’m sure more automations will come to mind through summer. I mostly use it just as manually controlled, but here is what I do have:

  • Turn the heater off if both adults have gone to work, and we forgot to turn it off.
  • Turn the heater on in the morning, triggered by a motion sensor.
  • Turn the heater off if any one of my temperature sensors is getting too hot. One time I went out, left my heater running upstairs, but the navigator remote was downstairs. It got to 32 degrees upstairs and it was the middle of winter.

Nice one - definitely some useful ideas there. With our lockdown I’ve so rarely been outside for any extended period of time that it’s all been a moot point to date.
For now I’ve replicated my program with control via HA - will need to next look into using presence to turn off, and then factoring in outside temperature so that as we come into some warmer weather, it won’t be turning on…

Ok, I’ve finally got around to firing up my evap cooler and looking at the MyClimate logs.

There are two main modes of operation: “Thermo” and “Fan”. I’ve extracted example MyClimate messages below.

For fan mode: (there are fan speeds 1-8)

 <myclimate><post>postzoneinfo</post><system>off</system><type>evap</type><zoneList>Common</zoneList><mode>fan</mode><fanSpeed>8</fanSpeed><roomTemp id="1">24</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="3">24</roomTemp><roomTemp id="4">24</roomTemp><roomTemp id="Common">24</roomTemp></myclimate>

For thermo mode:

<myclimate><post>postzoneinfo</post><system>on</system><type>evap</type><zoneList>Common</zoneList><mode>thermo</mode><setPoint>3</setPoint><roomTemp id="Common">24</roomTemp></myclimate>

In the thermo mode the set-point represents fan speed (1-8), rather than temperature.

Perhaps the easiest way to integrate the evaporative cooler is to treat it the same as an air conditioner (with cool and fan modes), but use the temperature variable to set the fan speed under cool mode.

What do you think?

I have released a beta version, 0.5b, for evap systems. It would be great if you could test it for me.

This is READ ONLY for evap mode, do not attempt to change settings through home assistant, just observe the affect on the front end.
Notes:

  • Evap will be represented as ‘cool’
  • Only ‘thermo’ evap mode will be supported. Not ‘manual’, or ‘boost’. ‘thermo’ just seems to be a combination of manual + boost.
  • Evap fan speed will be represented as the ‘target temperature’, min = 1, max = 8.
1 Like

Great, thank you! I will test this in the next couple of days. We’ve had a cold snap in our area and my wife will kill me if I try to run the evap right now :grin:

Sorry it took a while to respond. We had some really cool weather come through.

I finally tested the beta version. Excellent progress!

The ‘cool’ mode works correctly and shows the correct fan speed. However, on fan mode, while the integration shows that it is set to “fan”, it does not show the fan speed - no matter what fan speed I set.

I’ve finally decided to order in the wifi kit + navigator controller. I’ve been using the RF navigator until now.

Does the wifi controller use the thermostat from the hardwired navigator ? Trying to figure out where I should place the navigator controller.
I’m planning to use few thermostats around the house to automate it using HA, so want to make sure the wifi controller is not going to use the navigator thermostat and cut off the heater.
How has everyone set it up?

Does the wifi controller use the thermostat from the hardwired navigator ?

The wifi controller doesn’t make decisions on it’s own, it will only do what you tell it. If the wired navigator though is set to 20 and it gets to 20, it will turn off. You would want to use the wifi controller to set it to 21/22/etc if you wanted it hotter.

Has anyone experienced their wifi adaptor no longer responding to discovery?
I don’t have a timeline for when it first occurred because I haven’t attempted to run heating/cooling for a while, so hadn’t been looking at it.

I noticed that I was getting no response to discovery via the component, and tried updating to latest versions etc, but can’t imagine that’s relevant given it previously worked.
For context, the dongle was showing as being contected to my wifi at all times, so the issue isn’t the connectivity, it’s the lack of response to the discovery message.

I have since also tried to start from scratch, by following the instructions that come with it, but same thing… I can get it to the point of resetting it’s wifi connection to MyClimate or whatever, and I can join that… but when I use the mobile app and it sends the discovery message, again no response.

Anyone experienced similar? Any thoughts?

I am actually having this same issue now, except the app does not work either. It won’t respond to discovery. This happened to me in the past, and I power cycle the wifi unit and it fixed the problem, but now it is not working at all even after a reset. I haven’t had a chance to investigate further unfortunately. I recently changed routers and have also updated my Unifi WAPs so thought it might have been that blocking the UDP broadcast packet.

Update: I have just discovered the “Ubiquiti Discovery Protocol” is UDP 10001, which happens to be the same port that Bonaire use for their discovery message, could be related.

Interesting. I will power cycle my unit (hopefully tonight) and see if that makes a difference - obviously I would’ve already done if it was easier!

I don’t think anything in my set up has changed… Maybe I’m wrong!
Let us know how you get on if you find ubiquiti is your cause

Just thinking further Brendan… you mention it also not working via the app (which is the same for me) - that should presumably not be impacted by your WAPs, as you have a direct connection between phone and myclimate at that point…
Not certain that helps any, but just seems logical to me :smiley:

Part of me thinks that maintaining a connection to these things 24/7 is not helping these things. I’ve considered rewriting a component that is only on demand, i.e. only when you want to adjust the settings, like a blind remote

Yea you’re probably right - less interaction wouldn’t be a bad thing.
That said there’s definitely some downsides to having less communication…
Tough one.

For what it’s worth, I got up in the roof, and a power cycle resolved it. Weirdly, I think, after connecting via the app and entering my wifi details it was at least 5 minutes before it actually joined my network… But other than that, all good.

I’ve now discovered I’m getting this in my log every 4-5 minutes.

2020-12-16 08:27:01 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server connection lost

2020-12-16 08:27:03 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery

2020-12-16 08:27:07 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module

Hey Joseph, is it always every 4-5 minutes without fail? Also, is it always two seconds between the first and second message?

Just had another look then.

And it goes on and on…

2020-12-16 08:23:11 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server connection lost

2020-12-16 08:23:13 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery

2020-12-16 08:23:17 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module

and

2020-12-16 08:27:01 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server connection lost

2020-12-16 08:27:03 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery

2020-12-16 08:27:07 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module

and

2020-12-16 08:30:51 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server connection lost

2020-12-16 08:30:53 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery

2020-12-16 08:30:57 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module

Any updates on these errors? They’re still showing up.

Also, can anyone else still access their app when using the integration?

Thanks.

Sorry no update, I’m actually having serious problems with mine, I’ve had to disable it. Whenever I enable the integration, my physical remote totally stops working. I think I may be rolling back to an older version.