This is an integration for HomeAssistant using the data provided by the Creos StroumMonitor API. This API shows peaks and grid load and could be used to change energy use through automations. For instance, charging your electric car or enabling washing machines in off-peak periods.
The API is polled every 5 minutes.
This repository is based on https://github.com/ludeeus/integration_blueprint.
| Platform | Entity | Description |
|---|---|---|
sensor |
StroumMonitorStatusSensor |
Shows the numerical state of the current period. |
sensor |
StroumMonitorStatusTextSensor |
Shows the text state of the current period. |
sensor |
StroumMonitorTomorrowWorstSensor |
Shows the worst state of tomorrow. |
sensor |
StroumMonitorNextPeakStartSensor |
Indicates the time of the next peak start. |
sensor |
StroumMonitorNextPeakEndSensor |
Indicates the time of the next peak end. |
sensor |
StroumMonitorNextRedSlotSensor |
Indicates when the next red slot happens. |
binary_sensor |
StroumMonitorPeakBinarySensor |
Indicates if we are in a peak hour. |
- Go to your HomeAssistant interface and navigate to HACS (either in your sidebar or in Settings > Devices & Services > HACS).
- In the top right corner of the HACS page, click on the three dots and select Custom Repositories.
- Add the repository URL to the Custom Repository field and set the type to Integration:
https://github.com/DireDireCrocs/StroumMonitor - Now in HACS, you can use the search bar to find the integration and install it.
- Go to Settings > Devices & Services, click Add integration in the bottom right corner and add StroumMonitor.
Since this is a normal HomeAssistant integration, you can follow any guide. Open your new repository in Visual Studio Code devcontainer (Preferably with the "Dev Containers: Clone Repository in Named Container Volume..." option). To test your changes, run the scripts/develop to start HA and then add the integration to the instance via the default installation procedure.