I’ve been working hard on integrating MaxSmart power stations and power plugs into Home Assistant. I’m about there. There is still work to do. Currently, switches are configured and working.
Potential compatible devices:
Max Hauri MaxSmart (v1.x)
Revogi Smart Power Strip
Extel Soky
MCL DOM-PPS06I
Next step is to setup entry updates, and then to add sensors and to add documentation.
The component can be downloaded there for now. When it will be fully developped, I will post it on HACS.
The maxsmart module has been made possible by the reverse engineering and documentation work done by GitHub user @altery. They have provided valuable insights into the communication protocol of MaxSmart PowerStrips. You can find their documentation here: GitHub - mh-maxsmart-powerstation
Entry update works fine. And I have added sensors for realtime power consumption (watts).
So now the integration adds one switch entity per port + one master port entity, and one sensor (watts) per port. Sensors are updated every 5 sec.
I own multiple power stations and one power plug, and all work like a charm.
A good usage of the sensor is for example to determine if a device is turn on or off. As an example, my A/V Amplifier is not smart. I use a broadlink remote to turn it on or off, but it’s stateless. So I have no clue if it has been turn off or on manually and therefore I never can be sure of it’s state. Checking the power sensor for the outlet it’s plugged in allow me to check if it draws power (hence is turned on) or not
Maxsmart is a northern european brand I think. The product I bought is Revogi but they are the same devices except the firmware.
Your product version is 93e3925.
New log error after update :
2023-08-11 15:09:22.094 ERROR (SyncWorker_3) [homeassistant.loader] The custom integration ‘maxsmart’ does not have a valid version key (2023.7-beta1) in the manifest file and was blocked from loading. See Custom integration changes | Home Assistant Developer Docs for more details
The “-beta” in the version tag inside the manifest file violated the HA version name scheme. I’ve remove the -beta postfix and restartet HA to get this issue resolved. I will report this as issue in the github project of the component owner.
I’ll need you to provide me the output of command 511. Because some devices returns milliwatt instead of watts. I need you to show me what your is returning. Note that it will always write WATT in the response, even if it returns millwatts (poor programming).