Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Home Assistant
#11

Thanks Werk.
No problem.
As a side note, I'm using Json to get AQM II data into PRTG.
Hope you're New Year is off to a nice start.

Cheers,
UB
Reply
#12

(07-01-2024, 10:21)uncle_bob Wrote:  Here's the data I'm using so far.
[Image: Screenshot%202024-01-07%20200729.png]

Since the image is not visible, I decided to supplement this solution with an even more detailed guide:

1) definition in CumulusMX software

   

2) definitions, for example, in the file /homeassistant/mqtt.yaml (here it is in Czech language)
 
Code:
# MQTT - CumulusMX
sensor:
  - name: "Teplota vzduchu"
    state_topic: "CumulusMX/Interval"
    suggested_display_precision: 1
    unit_of_measurement: "°C"
    value_template: "{{ value_json.temp }}"
  - name: "Vlhkost"
    state_topic: "CumulusMX/Interval"
    suggested_display_precision: 1
    unit_of_measurement: "%RH"
    value_template: "{{ value_json.humidity }}"
  - name: "Rychlost větru"
    state_topic: "CumulusMX/DataUpdate"
    suggested_display_precision: 1
    unit_of_measurement: "m/s"
    value_template: "{{ value_json.windspeed }}"
  - name: "Směr větru"
    state_topic: "CumulusMX/DataUpdate"
    unit_of_measurement: "°"
    value_template: "{{ value_json.winddir }}"
  - name: "Nárazy"
    state_topic: "CumulusMX/Interval"
    suggested_display_precision: 1
    unit_of_measurement: "m/s"
    value_template: "{{ value_json.wgust }}"
  - name: "Sluneční radiace"
    state_topic: "CumulusMX/Interval"
    unit_of_measurement: "W/m2"
    value_template: "{{ value_json.SolarRad }}"
  - name: "UVI"
    state_topic: "CumulusMX/Interval"
    suggested_display_precision: 1
    unit_of_measurement: ""
    value_template: "{{ value_json.UVI }}"
  - name: "Srážky"
    state_topic: "CumulusMX/Interval"
    unit_of_measurement: "mm"
    suggested_display_precision: 1
    value_template: "{{ value_json.rfall }}"
  - name: "Intenzita srážek"  
    state_topic: "CumulusMX/Interval"
    unit_of_measurement: "mm/h"
    value_template: "{{ value_json.rrate }}"

3) result "text"

   

and definition of Entity card
 
Code:
type: entities
entities:
  - entity: sensor.teplota_vzduchu
    icon: mdi:thermometer
    secondary_info: last-updated
  - entity: sensor.vlhkost
    secondary_info: last-updated
    icon: mdi:water-percent
  - entity: sensor.rychlost_vetru
    secondary_info: last-updated
    icon: mdi:weather-windy
  - entity: sensor.smer_vetru
    secondary_info: last-updated
    icon: mdi:directions-fork
  - entity: sensor.narazy
    secondary_info: last-updated
    icon: mdi:windsock
  - entity: sensor.uvi
    secondary_info: last-updated
    icon: mdi:sun-wireless
  - entity: sensor.slunecni_radiace
    secondary_info: last-updated
    icon: mdi:sun-angle
  - entity: sensor.srazky
    secondary_info: last-updated
    icon: mdi:weather-rainy
  - entity: sensor.intenzita_srazek
    secondary_info: last-updated
    icon: mdi:weather-rainy
theme: Animated Weather Card
state_color: true
title: Údaje meteo stanice
show_header_toggle: false

4) example of graphic processing

   

and its definition
 
Code:
type: history-graph
entities:
  - entity: sensor.teplota_vzduchu
  - entity: sensor.uvi
  - entity: sensor.slunecni_radiace
title: Meteo stanice
hours_to_show: 12

5) finally, a preview of the functionality of my MQTT server using MQTT Eplorer

   

Best Regards
Zdenek

[Image: banner.php]
My outdoor AQM-I: here
Reply
#13

I'll add: this is what my weather data page in HA looks like as of today...
   

Best Regards
Zdenek

[Image: banner.php]
My outdoor AQM-I: here
Reply




Users browsing this thread: 1 Guest(s)