本帖最后由 dizherui 于 2018-7-14 18:13 编辑
昨天升级系统,升级完说传感器配置错误。
但原有的配置里有一部分传感器还在,只是一部分不显示了。
求助帮忙找下什么原因呢?
binary_sensor:
- platform: ping
name: Esp125
host: 192.168.1.125
scan_interval: 10
count: 5
- platform: ping
name: Esp126
host: 192.168.1.126
scan_interval: 10
count: 5
- platform: ping
name: Esp127
host: 192.168.1.127
scan_interval: 10
count: 5
- platform: ping
name: Esp128
host: 192.168.1.128
scan_interval: 10
count: 5
- platform: ping
name: Getway
host: 192.168.1.1
scan_interval: 10
count: 5
#sensor 2:
# platform: mqtt
# name: "温度D1"
# state_topic: "/esp01/DHT11/Temperature"
# qos: 0
# unit_of_measurement: "T_DHT11"
#sensor 3:
# platform: mqtt
# name: "湿度D1"
# state_topic: "/esp01/DHT11/Humidity"
# qos: 0
# unit_of_measurement: "H_DHT11"
sensor 3:
platform: mqtt
name: "Ren"
state_topic: "/ESP125/Ren/Ren"
qos: 0
device_class: motion
unit_of_measurement: "GE"
sensor 4:
platform: mqtt
name: "TemperatureD2"
state_topic: "/ESP125/DHT22/Temperature"
qos: 0
unit_of_measurement: "T_DHT22"
sensor 5:
platform: mqtt
name: "HumidityD2"
state_topic: "/ESP125/DHT22/Humidity"
qos: 0
unit_of_measurement: "H_DHT22"
sensor 16:
platform: mqtt
name: "Lux-126"
state_topic: "/ESP126/BH1750/Lux"
qos: 0
unit_of_measurement: "Lux-126"
sensor 17:
platform: mqtt
name: "Lux-125"
state_topic: "/ESP125/BH1750/Lux"
qos: 0
unit_of_measurement: "Lux-125"
sensor 18:
platform: mqtt
name: "SY"
state_topic: "/ESP126/SY/SY"
qos: 0
device_class: motion
unit_of_measurement: "GE"
sensor 19:
platform: mqtt
name: "pm1.0"
state_topic: "/ESP126/PMS5003/pm1.0"
qos: 0
device_class: motion
unit_of_measurement: "μM"
sensor 20:
platform: mqtt
name: "pm2.5"
state_topic: "/ESP126/PMS5003/pm2.5"
qos: 0
device_class: motion
unit_of_measurement: "μM"
sensor 21:
platform: mqtt
name: "pm10"
state_topic: "/ESP126/PMS5003/pm10"
qos: 0
device_class: motion
unit_of_measurement: "μM"
###############################################################
sensor 24:
platform: mqtt
name: "Load.125"
state_topic: "/ESP125/load/load"
qos: 0
device_class: motion
unit_of_measurement: "%"
sensor 22:
platform: mqtt
name: "Load.126"
state_topic: "/ESP126/load/load"
qos: 0
device_class: motion
unit_of_measurement: "%"
sensor 23:
platform: mqtt
name: "Load.127"
state_topic: "/ESP125/load/load"
qos: 0
device_class: motion
unit_of_measurement: "%"
sensor 25:
platform: mqtt
name: "Load.128"
state_topic: "/ESP128/load/load"
qos: 0
device_class: motion
unit_of_measurement: "%"
sensor 51:
platform: mqtt
name: "hw1"
state_topic: "/ESP127/HW1/Switch"
qos: 0
device_class: motion
unit_of_measurement: "GE"
sensor 52:
platform: mqtt
name: "hw2"
state_topic: "/ESP127/HW2/Switch"
qos: 0
device_class: motion
unit_of_measurement: "GE"
sensor 53:
platform: mqtt
name: "hw3"
state_topic: "/ESP127/HW3/Switch"
qos: 0
device_class: motion
unit_of_measurement: "GE"
|