Skip to content

rob0101/homebridge-amber-price

 
 

Repository files navigation

Homebridge-Amber-Price

Homebridge-Amber-Price is a project forked from anon1y4012/homebridge-energy-price. This version has been modified to talk to the API of Amber Electric in Australia

Installation

The easiest installation method is to use Homebridge-Config-UI-X and search for this plugin.

If you want to install manually, you can run the following commands:

sudo npm install -g homebridge
sudo npm install -g homebridge-amber-price

Note: If you install homebridge using the following command:

sudo npm install -g --unsafe-perm homebridge

All subsequent installations must follow the same format, like this:

sudo npm install -g --unsafe-perm homebridge-amber-price

Configuration

You will need to add the following example accessory configuration to your homebridge config.json:

"accessories": [
    {
         "name": "Amber Price",
            "manufacturer": "Amber",
            "model": "Amber Price Monitor",
            "apiKey": "=== your API Key here ====",
            "apiId": "=== Your API ID here ====",
            "refreshInterval": 5,
            "accessory": "Energy Price"
    }
]

Configuration Explanation

Field Description
accessory (required) Must always be "Energy Price".
name (required) The name you want to use for the power level widget.
manufacturer (optional) This shows up in the HomeKit accessory characteristics.
model (optional) This shows up in the HomeKit accessory characteristics.
refreshInterval (required) The refresh interval in minutes for polling Amber.
apiID (required) Your Amber API site ID
apiKey (required) Your Amber API Key starts with psk_

About

Homebridge plugin for Amber Electric (Australia) current 30m price

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%