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

Home Assistant
#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

Brandys/L Weather
Reply


Messages In This Thread
Home Assistant - by mikeyk - 28-04-2023, 13:25
RE: Home Assistant - by hornychz - 28-04-2023, 21:46
RE: Home Assistant - by werk_ag - 29-04-2023, 05:26
RE: Home Assistant - by hornychz - 29-04-2023, 22:54
RE: Home Assistant - by dormani - 03-01-2024, 02:04
RE: Home Assistant - by hornychz - 04-01-2024, 18:17
RE: Home Assistant - by uncle_bob - 07-01-2024, 10:01
RE: Home Assistant - by uncle_bob - 07-01-2024, 10:21
RE: Home Assistant - by hornychz - 07-06-2024, 10:23
RE: Home Assistant - by uncle_bob - 07-01-2024, 10:37
RE: Home Assistant - by werk_ag - 08-01-2024, 01:21
RE: Home Assistant - by uncle_bob - 10-01-2024, 00:54
RE: Home Assistant - by hornychz - 22-11-2024, 00:36
RE: Home Assistant - by uncle_bob - 25-12-2024, 10:38



Users browsing this thread: 1 Guest(s)