HOWTO: Reflash MAX!Cube to CUL/CUNx and use with homegar and homematic binding

Hi @hmerk,

thank you for the tutorial!
Am I understanding it correctly that I don’t need a MAX! cube for controlling the MAX! actuators?
I was thinking about switching to MAX! and I already have a CUL from my fhem days, so this would be interesting if I could just buy the actuators and skip the cube…

That is not what the tutorial is about, but yes, You can use a CUL for controlling MAX! actuators.
In homegear’s max.cfg you just need to edit the CUL part, not the CUN like described above.

Hi Hans,

Sorry to bug again. So ive been reading through these threads and thinking of converting my Max!Cube to a CUL device…Why?Well I want to control the boiler and the max! cube suffers from memory loss, which means it doesnt really work…

So ive understood about putting the new firmware on the Cube
Understood I can use Homegear to integrate with the max! devices
but what about “wife” friendly stuff like

Setting schedules, mobile phone integration etc? Is this all DIY via openhab/home assistant, node red etc?

Indeed, using the homematic Binding, homegear will be found as a Bridge and everything else can be done via openHAB.

Hi all,

is someone experiencing the same issue?
I paired my window sensors with homegear running on an openhabian system (rpi3) with a cul. the status changes are visible in my system like a charm.

but the curious thing is:
the window sensors blink 3x after i have e.g. opened the window, but not 1x as expected. but the status changes are correct transfered to my openhab system.

anyone got an idea?

This is normal, seems that some ACK packets are not send to the sensors, so they do a resend twice.

Hi hmerk,

I’m having the same problem with my eco switch. (flashed MAX Cube to CUN)
Is homegear responsible for sending the ACK packets? As it works with the heating thermostat (assuming it works the same way) it does not sound unsolvable. Any hints on were to look for this?

I try to use the switch in a rule but it behaves very strangely because of this issue.

I have no clue, guess it is the same for the heating thermostats, there is just no LED indicating.

The press is shown multiple times in the events in homegear, the messages from the heating thermostat aren’t. That makes me believe it is a homegear issue, I’ll try ask over there and report back if I find out anything.

It is definitely a homegear issue, as homegear should send ACK to the device.

Hi all.

After asking in the homegear forums my solution was to connect the flashed Cube via USB to the Pi and configure it as [CUL] in Homegear’s max.conf instead of CUNX. More details in the post.

@anon71383850 If you’re already having an USB-Connection this unfortunately won’t help you.

Hello,

am thinking also on reflashiung of cube.
How it works on Homegear and OH? Everythinh good, found not visible problems, better then normal Cube? What would you say after some time of using it.

Thanks a lot!

I see no issues after reflashing, aüart from ECO Switches. You just jave to get used to homegear for configuration of devices.

Thanks!
And can you configure there also as in cube

  1. Weekprogramm
  2. Add windowsensors
  3. And one more important question - about cube polling. In OH2.4 Max biding it can be set uo to 1 sec refresh rate. Can it be also made in homegear?

Thanks!

Hi @thisisIO .

To clarify this:
If you flash the Cube none of the functionality the cube offered out of the box (Heating Schedule, Set Heating to “window open” automatically when the windows contact changes, Vacation Mode and so on) via the MAX Software will be available anymore because the MAX Software gets deleted by flashing. (and, most important, there is no way back after flashing once)

If you go that way, you would have to implement all those features by yourself using Items and Rules in Openhab. If you’re fine with the given functionality or aren’t willing to learn a lot of new stuff and fiddle around with a texteditor in rule and item-files you should not do it.

1 Like

You can set weekly schedules in homegear and create assosiations between devices.
Did not see anything about refresh intervall or pulling, so I think homegear informs oh about state changes immediately.

1 Like

Thanks a lot!

And if i unserstand right, with CUL FW Max will never loose its setting like with original FW?

Most of these functions can be configured in homegear, so no need for rules in openhab.
I created associations between Window Contacts and Thermostats, and it is working like with original MAX! software. Also have my week schedules defined in homegear.
And not to forget, the schedules can be set in openhab through thing properties/config. It is just not as comfortable as using original software.

1 Like

Did not see those failures since flashing.