-
Notifications
You must be signed in to change notification settings - Fork 0
/
mqtt.yaml
39 lines (39 loc) · 1.75 KB
/
mqtt.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# See https://cumuluswiki.org/a/Webtags for valid tags that can be put into config in cumulus
# - platform: mqtt
# name: 'Weather: Wind direction'
# state_topic: 'CumulusMX/DataUpdate'
# unit_of_measurement: '°'
# value_template: '{{ value_json[''winddir''] }}'
# - platform: mqtt
# name: 'Weather: Beaufort Name'
# state_topic: 'CumulusMX/DataUpdate'
# value_template: '{{ value_json[''beaufort.name''] }}'
# - platform: mqtt
# name: 'Weather: Windrose data'
# state_topic: 'CumulusMX/Interval'
# value_template: '{{ value_json[''WindRoseData''] }}'
# - platform: mqtt
# name: 'Weather: Average wind direction'
# state_topic: 'CumulusMX/Interval'
# unit_of_measurement: '°'
# value_template: '{{ value_json[''wind.direction.avg''] }}'
# - platform: mqtt
# name: 'Weather: Temperature outside'
# state_topic: 'CumulusMX/Interval'
# unit_of_measurement: '°C'
# value_template: '{{ value_json[''temperature.outside''] }}'
- name: 'Weather: Latest interval data update'
state_topic: 'CumulusMX/Interval'
value_template: '{{ value_json[''time''] }}'
json_attributes_topic: 'CumulusMX/Interval'
json_attributes_template: '{{ value_json[''Weather''] | tojson }}'
- name: 'Weather: Latest current data update'
state_topic: 'CumulusMX/DataUpdate'
value_template: '{{ value_json[''time''] }}'
json_attributes_topic: 'CumulusMX/DataUpdate'
json_attributes_template: '{{ value_json | tojson }}'
- name: 'Weather: GramatusServer system info'
state_topic: 'CumulusMX/Interval'
value_template: 'version {{ value_json[''System''][''version''] }}, build {{ value_json[''System''][''build''] }}'
json_attributes_topic: 'CumulusMX/Interval'
json_attributes_template: '{{ value_json[''System''] | tojson }}'