This is a beta version of a custom integration for Sonic smart water shutoff valve, more features are still to be added. Additionally I am exploring local access to the sonic device to remove the need to communicate with the cloud API.
It utilises the herolabsapi python library that I have written to interact with Sonic devices using the official Hero Labs API (cloud based).
Ideally this will be adopted as an inbuilt integration, however while development and testing are ongoing the recommended way to install Sonic
is through HACS.
- Open
HACS
withinHome Assistant
- Click the
Integrations
section, thenExplore and Download Repositories
button. - Search for
Sonic
then click on thedownload
button - Select the latest version (or latest beta version) and download
- Then
restart Home Assistant
- Go to
Settings
/Devices & Services (Integrations Tab)
/Add Integration
and search forSonic (Hero Labs)
then follow the configuration steps below
- Log into the integration with your Hero Labs account details (Email & Password).
- Any sonic devices on your account should be discovered, an additional device will be setup for each property registered to your account (e.g. if you have 2 properties with a sonic device at each property you will have 4 devices setup).
- You can assign each device to an area within your home.
As development happens there will be updates to the integration, so it will be good to periodically update,
- Click on Integrations,
- Scroll down and find the "Sonic"
- Click the 3 dots on the lower right corner and click "Redownload"
Please file issues within the github repository for anything that you think could be broken, is broken, could be improved or is a requested feature.