danieljtribe / homebridge-agile-octopus

BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Agile Octopus Homebridge Plugin

Just a simple plugin to publish switches to Homebridge, which toggle on during the cheapest 30 minute, 1-hours, 1.5-hour... up to 4-hour time periods during the day. Using automations, these can be tied to devices to switch them on during the cheapest times of the day.

Config

Add the following to the 'platforms' section to the Homebridge config.json, set the region letter from your tariff eg the last letter ('L') of: "E-1R-AGILE-18-02-21-L"

  [
    {
      "platform" : "AgileOctopusRates",
      "name" : "Agile Octopus Rates",
      "region": "L",
      "lowPriceThreshold": 10.0
    }
  ]

Custom devices

From version 1.2.0 Custom Device support has been added. To configure a custom device which doesn't fit within the standard set of outputs from this plugin, either using the config UI or within your config.json add a customDevices block within the plugin configuration:

        {
            "name": "Cheapest Afternoon Hour",
            "hours": "1.0",
            "startTime": "15:00",
            "endTime": "16:00",
            "combineSlots": true
        }
    ]