[Lovelace UI] kafelek Airly

wrzuć sobie zmodyfikowany flow gdzie wyciągam trochę więcej danych - łącznie z limitem

flows.json (18,7 KB)

image

oczywiście trzeba dodać zmienną limit i wtedy będziesz wiedział ile zostało - sam dashboard wg tego co wyżej.


mqtt:
  sensor:
    - name: "Airly limit"
      state_class: measurement
      unit_of_measurement: "/100"
      state_topic: "node-red/Airly/limit/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly NO2"
      device_class: nitrogen_monoxide
      state_class: measurement
      unit_of_measurement: "µg/m³"
      state_topic: "node-red/Airly/NO2/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly NO2_2"
      device_class: nitrogen_monoxide
      state_class: measurement
      unit_of_measurement: "%"
      state_topic: "node-red/Airly/NO2/limit-percent"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly O3"
      device_class: ozone
      state_class: measurement
      unit_of_measurement: "µg/m³"
      state_topic: "node-red/Airly/O3/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly O3_2"
      device_class: ozone
      state_class: measurement
      unit_of_measurement: "%"
      state_topic: "node-red/Airly/O3/limit-percent"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly PM1"
      device_class: pm1
      state_class: measurement
      unit_of_measurement: "µg/m³"
      state_topic: "node-red/Airly/PM1/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly PM2.5"
      device_class: pm25
      state_class: measurement
      unit_of_measurement: "µg/m³"
      state_topic: "node-red/Airly/PM25/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly PM2_5_2"
      device_class: pm25
      state_class: measurement
      unit_of_measurement: "%"
      state_topic: "node-red/Airly/PM25/limit-percent"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly PM10"
      device_class: pm10
      state_class: measurement
      unit_of_measurement: "µg/m³"
      state_topic: "node-red/Airly/PM10/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly PM10_2"
      device_class: pm10
      state_class: measurement
      unit_of_measurement: "%"
      state_topic: "node-red/Airly/PM10/limit-percent"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly pressure"
      device_class: pressure
      state_class: measurement
      unit_of_measurement: "hPa"
      state_topic: "node-red/Airly/climate/pressure"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly humidity"
      device_class: humidity
      state_class: measurement
      unit_of_measurement: "%"
      state_topic: "node-red/Airly/climate/humidity"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly temperature"
      device_class: temperature
      state_class: measurement
      unit_of_measurement: "°C"
      state_topic: "node-red/Airly/climate/temperature"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly CAQI"
      device_class: aqi
      state_class: measurement
      icon: mdi:air-filter
      unit_of_measurement: "CAQI"
      state_topic: "node-red/Airly/CAQI/value"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly level"
      state_topic: "node-red/Airly/CAQI/level"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly color"
      state_topic: "node-red/Airly/CAQI/color"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly description"
      state_topic: "node-red/Airly/CAQI/description"
      payload_available: "online"
      payload_not_available: "offline"

    - name: "Airly advice"
      state_topic: "node-red/Airly/CAQI/advice"
      payload_available: "online"
      payload_not_available: "offline"