This is a custom component for Home Assistant that integrates Max Hauri's MaxSmart Power Devices, including Smart Plug and Power Station. It communicates with the devices over your local network, providing controls for each port on the device.
For details about the supported hardware and fw version, please see the Maxsmart module documentation here: https://github.com/Superkikim/maxsmart
This component is not included in the default Home Assistant installation. Therefore, it needs to be installed manually:
config
directory of your Home Assistant installation.custom_components
directory inside the config
directory, create it.custom_components
directory, create another directory named maxsmart
.__init__.py
, manifest.json
, config_flow.py
, switch.py
) and place them inside the maxsmart
directory.After you have installed the component, you need to restart Home Assistant.
After installing the component, you need to add it to your configuration:
MaxSmart (Revogi)
and select it.Each discovered device will create a set of entities. There is one master switch entity and a separate switch entity for each individual port. The entity IDs will be generated based on the device's serial number and port number in the format switch.maxsmart_<devicenumber>_<portnumber>_<portname>
.
maxsmart
and requests
Python libraries, which will be automatically installed.If you encounter issues with this custom component, please report them at the issue tracker on GitHub.
This component is under active development. Contributions, ideas, and suggestions are welcomed! Please reach out to the codeowners for collaboration.
Remember to refer to the latest Home Assistant developer documentation for up-to-date information when contributing to this project.
Disclaimer: This is a third-party integration and not officially supported by Home Assistant or Max Hauri. Use it at your own risk.