peh
github.com/joeshaw/powerley-energybridge-homecontrol
go get github.com/joeshaw/powerley-energybridge-homecontrol
peh

github.com/joeshaw/powerley-energybridge-homecontrol

HomeKit support and Prometheus exporter for the Powerley Energy Bridge (aka AEP Energy Bridge or DTE Energy Bridge)

go get github.com/joeshaw/powerley-energybridge-homecontrol
Readme

powerley-energybridge-homekit

HomeKit support and Prometheus exporter for Powerley Energy Bridge devices.

These devices are typically provided by power utility companies under their brand names. For instance, AEP Energy Bridge or DTE Energy Bridge.

This service creates a "sensor" HomeKit accessory and reports energy usage with characteristics that should be compatible with the Elgato Eve app. However, this functionality isn't quite working at the moment. (I suspect the Eve app will only work if the accessory is a "switch" rather than a "sensor".)

A Prometheus exporter is run (on port 9525 by default) which exports the current demand in watts under the metric powerley_energybridge_instantaneous_demand_watts.

Installing

The tool can be installed with:

go get -u github.com/joeshaw/powerley-energybridge-homekit

Then you can run the service:

powerley-energybridge-homekit -ip <energybridge ip>

The service will receive messages from the energy bridge every 5 seconds.

The Prometheus exporter runs on port 9525 by default. This can be changed with the -addr flag.

To pair with HomeKit, open up your Home iOS app, click the + icon, choose "Add Accessory" and then tap "Don't have a Code or Can't Scan?" You should see the energy bridge under "Nearby Accessories." Tap that and enter the PIN 00102003.

Contributing

Issues and pull requests are welcome. When filing a PR, please make sure the code has been run through gofmt.

License

Copyright 2018-2019 Joe Shaw

powerley-energybridge-homekit is licensed under the MIT License. See the LICENSE file for details.

GitHub Stars

12

LAST COMMIT

1yr ago

MAINTAINERS

0

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.0-20210103165428-01847d8f2c17
1yr ago
v0.0.0-20200923143210-43b7b2cac878
2yrs ago
No alternatives found
No tutorials found
Add a tutorial