Browse Source

Initial plant monitor bring up

master
KemoNine 3 years ago
parent
commit
8bef3a4121
  1. 6
      configuration.yaml
  2. 30
      sensors/plant_monitor.yaml

6
configuration.yaml

@ -53,7 +53,6 @@ mqtt:
topic: 'hass/status'
payload: 'offline'
# ZWave integration
# https://home-assistant.io/docs/z-wave/adding/
# https://home-assistant.io/docs/z-wave/
@ -223,5 +222,10 @@ remote: !secret remotes
# APC UPSs
apcupsd:
host: 172.30.0.1
# Binary Sensors
binary_sensor:
- platform: apcupsd
- platform: mqtt
state_topic: "plant_monitor/binary_sensor/status/state"

30
sensors/plant_monitor.yaml

@ -0,0 +1,30 @@
- platform: mqtt
name: plant_monitor_status
state_topic: plant_monitor/binary_sensor/status/state
- platform: mqtt
name: plant_monitor_wifi
state_topic: "plant_monitor/sensor/wifi_signal/state"
unit_of_measurement: dB
- platform: mqtt
name: plant_monitor_temperature_c
state_topic: "plant_monitor/sensor/temperature_c/state"
unit_of_measurement: C
- platform: mqtt
name: plant_monitor_battery_voltage
state_topic: "plant_monitor/sensor/battery_voltage/state"
unit_of_measurement: V
- platform: mqtt
name: plant_monitor_temperature_f
state_topic: "plant_monitor/sensor/temperature_f/state"
unit_of_measurement: F
- platform: mqtt
name: plant_monitor_battery_level
state_topic: "plant_monitor/sensor/battery_level/state"
unit_of_measurement: "%"
- platform: mqtt
name: plant_monitor_humidity
state_topic: "plant_monitor/sensor/humidity/state"
unit_of_measurement: "%"
- platform: mqtt
name: plant_monitor_battery_alert
state_topic: "plant_monitor/sensor/battery_alert/state"
Loading…
Cancel
Save