diff options
author | makefu <github@syntax-fehler.de> | 2020-02-04 18:26:59 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-02-04 18:26:59 +0100 |
commit | 89032b3ac2aff2373377ef442804e90db9694c91 (patch) | |
tree | 5a61ce51777f260b9a03236b6b57bffd7c15636f /makefu/2configs/homeautomation/sensor | |
parent | e38f61c7ff54031d5f48e57b96eff0062feb99b2 (diff) |
ma homeautomation: init with zigbee
Diffstat (limited to 'makefu/2configs/homeautomation/sensor')
-rw-r--r-- | makefu/2configs/homeautomation/sensor/outside.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/makefu/2configs/homeautomation/sensor/outside.nix b/makefu/2configs/homeautomation/sensor/outside.nix new file mode 100644 index 000000000..8436b8de2 --- /dev/null +++ b/makefu/2configs/homeautomation/sensor/outside.nix @@ -0,0 +1,26 @@ +{lib,...}: [ + { platform = "darksky"; + api_key = lib.removeSuffix "\n" + (builtins.readFile <secrets/hass/darksky.apikey>); + language = "de"; + monitored_conditions = [ + "summary" "icon" + "nearest_storm_distance" "precip_probability" + "precip_intensity" + "temperature" # "temperature_high" "temperature_low" + "apparent_temperature" + "hourly_summary" # next 24 hours text + "humidity" + "pressure" + "uv_index" + ]; + units = "si" ; + scan_interval = "00:30:00"; + } + { platform = "luftdaten"; + name = "Muehlhausen"; + show_on_map = true; + sensor_id = "679"; + sensors.monitored_conditions = [ "P1" "P2" ]; + } + ] |