homebridge-dmideprecated

Simple Homebridge Plugin that fetches the current weather from DMI.dk.

Usage no npm install needed!

<script type="module">
  import homebridgeDmi from 'https://cdn.skypack.dev/homebridge-dmi';
</script>

README

Homebridge DMI

This plugin for Homebridge adds meteorological observation: temperature and humidity data data from DMI owned stations located in Denmark and Greenland and exposes them in Homekit. This plugin is not affiliated with DMI and is made for testing-purposes only.

Requirements:

API-key for DMI metObs - Instructions

Stationid(s): See list of stations here (NB: Swap INSERTAPIKEY with your own API-key): https://dmigw.govcloud.dk/metObs/v1/station?type=Synop&api-key=INSERTAPIKEYHERE

Configuration

Example config with one station:

{
"platforms": [
  {
      "platform" : "DmiPlatform",
      "apikey" : "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx",
      "stations": [
        {
          "stationid": "06186",
          "stationname": "Landbohøjskolen"
        }
      ]
    }
]
}