MaxCube loosing configuration

guys,

Alas i found out today that my settings disappeared on the 31st Mar 2018. it appeared to work fine for 1.5months… :frowning:

I have two systems querying the radiators, one was 10mins seconds and the other one 6mins

I’ll increase HA to 30mins and the boiler control to 15mins… lets see how long that takes… :frowning:

Update for all…

All was working fine, HA polling every 30mins and my Raspberry PI every 15mins and all looked ok. but then oneday I was updating/tweaking HA and after the 10th restart of HA I noticed the MaxCube reset itself again… Im now convinced this is a synchronization issue and we should only have ONE device polling…

For now Ive disabled the HA Polling and are leaving my RaspberryPi Heating controller do the polling every 15mins.

I also found this project by Dimitry (http://www.dmitry-kazakov.de/ada/max_home_automation.htm). Speaking to him via email he has NEVER had an issue… Im investigating to see whats different…

Options now

  • I could go to pure HA, and let HA determine if the boiler needs to be turned on/off (send message via MQTT). The issue here is if you make changes to another part of HA the reboot will cause excessive queries to Max
  • I will extend my PiHeating to provide a REST API which delivers all the data to HA. The benefit here is the PiHeating will only query the cube at most every 15mins (or at reboot) and therefore wont matter if you constatly restart HA…
  • The Max Binding in HA could be modified so that it never queries the valves more than once every 15mins (configurable) , regardless of restarts…

What does everyone else ??

My other approach is to sell up the max stuff and move to Tado…they now have an api which looks nice

I’ve 5 max cubes in different houses. Working fine with the android app. I’ve tryied multiple times to set them on Home Assistant but i’ve always had (with different delay) the Cube reset!
So, also reading these posts, i think that the Max Cube component for Home Assistant should be removed waiting for a strong fix (and some angel working on it).
Now it’s not usable. I’ve found some PHP scripts to read all values from valves (also the valve offset which is not given trought Hassio component).

1 Like

I disagree with removing the component but it can be improved for sure. there are some key values are missing from thermostats. Any developers can pay attention to it?

Reading through all problems with max cube in different smart home solutions, I am almost sure that the basic problem is the connection management in the cube. Using a permanent connection to the cube seems to be the solution. (Setting a higher polling interval just lowers the probability of loosing its configuration.)

The ha maxcube component has at least one another problem: it can’t display temperatures over some value correctly (I don’t remember now, 25.6 °C or something).

Certainly seems to be the case… I can +1 this issue, found my cube reset itself today, which sucks as we are just starting to enter the cold season!

Would be great to find a solution for this that still allows the thermostat targets to be set & viewed in HA.

I think @cs42 is right about the connection issue. I think remmber openhab had the option to keep the connection open. Since April i have had one reset on the Max Cube.
The current library the Max Cube component in HA is using to connect to the Max Cube does not support keeping the connection open. It does not look like @hackercowboy (the author), is maintaining the library anymore, because he has not answered questions for a long time.
I currently don’t have the time to look at this (making a new library and HA component), but I think that is what is needed to solved the reset issue.

1 Like

guys,

I agree the connection mgmt is the issue.

For my project (https://github.com/asantaga/PiHeating), I now poll every 15mins and all is good and I’ve removed the Max! component in HA. Before I had HA Max component AND my PiHeating project running at the same time and Id loose config every couple of weeks…

However I dont have the data in HA, or in InfluxDb/Grafana, which was nice…

I’m currently seeing how this goes, if all goes well (ie no resets) I will expand my PiHeating project so that it exposes the data via a REST call, and/or AutoDiscovery MQTT. I was considering building a HA Max! component for my project but not sure its needed (ie is someone else going to use it?)…

Anyway, waiting to see how this goes before spending more time on it…

Also I DON’T like keeping the connection permanently open as this means you wont be able to use the Native Max! apps… The wife likes the ability to raise/lower temperatures using the nice max apps, the only issue is the boiler controller wont see the change for up to 15/20mins… I have a “check heat” button on the app which she can press immediately but its not usually an issue (yet)

1 Like

Max Cube folks - you might be interested in Homematic and Eq3 Max! Cube

I managed to get everything up and going this weekend and it seems to work nicely.
I’ll be posting a bit of a setup guide when I get time, but the big plus is there should be no more issues with forgotten cube config!

2 Likes

Hi, do any of you using max cube on Hassio and it wokrking fine?
I am trying now for several months but problem is that after a while cube lose configuration.

Same to me, have to reconfigure it with 10 actuators (thermostats) in 8 rooms. But went well for a few month. Now (after several month) back again with the Cube empty… No news about this (ore somebody that has solved the problem?

DIdi it work well in the end? Can you point us in the right direction of what to do best?

To “solve” this problem, the maxcube interface needs to keep the communication open! Polling will trigger configuration loss, for some cubes sooner, for others later. Increasing the polling interval will trigger the problem just a bit later (if your’re lucky). If you’re in bad luck, it won’t help. I’m using http://www.dmitry-kazakov.de/ada/max_home_automation.htm now for a year or so and as it keeps open the connection, I do not have any problem anymore. Before when using FHEM or HA I head a configuration loss quite often (every few months)…

Is this a firmware? Does it integrate with HASS?

Hi. I’m using default cube max integration and my cube lost all settings. Is there any way to prevent it please?

As long as the integration isn’t modified to keep the connection open forever (read: as long as possible): no, there’s no way to prevent that.

See here, been running it for a few years now and it’s still working smoothly.

There seems to be hope :slight_smile: just wanted to start converting it to cul/cun like many did I stumbled across this:

Really looking forward to the release now. I love it when I can keep the official firmware :slight_smile:

Was this included in the official package? My cube just lost settings (again after 1,5y), and I’m thinking of a way how to solve it permanently…

it was merged according to github and I didn’t have a problem since then