父节点
当前提交
414d557a72

+ 0
- 0
README.md 查看文件


+ 15
- 1
config/automations.yaml 查看文件

1
-- alias: "Welcome Home"
1
+- alias: "Welcome Josh if he gets home"
2
   condition: []
2
   condition: []
3
   trigger:
3
   trigger:
4
   - entity_id: device_tracker.josh
4
   - entity_id: device_tracker.josh
12
       data:
12
       data:
13
         subtitle: "What can I do for you?"
13
         subtitle: "What can I do for you?"
14
 
14
 
15
+- alias: "Send notification if Margit gets home"
16
+  condition: []
17
+  trigger:
18
+  - entity_id: device_tracker.margit
19
+    from: not_home
20
+    platform: state
21
+    to: home
22
+  action:
23
+    service: notify.ios_jphone
24
+    data:
25
+      message: "Margit arrived at home."
26
+      data:
27
+        subtitle: "No problem!"
28
+
15
 - alias: "Hass Startup Notification"
29
 - alias: "Hass Startup Notification"
16
   trigger:
30
   trigger:
17
     - platform: homeassistant
31
     - platform: homeassistant

+ 11
- 1
config/configuration.yaml 查看文件

93
   password: Mindabew1
93
   password: Mindabew1
94
 
94
 
95
 sensor:
95
 sensor:
96
-  - platform: cpuspeed
96
+  - platform: netdata
97
+    host: 5.45.105.15
98
+    resources:
99
+      load:
100
+        data_group: system.load
101
+        element: load15
102
+      cpu:
103
+        data_group: system.cpu
104
+        element: system
97
   - platform: dht
105
   - platform: dht
98
     sensor: DHT22
106
     sensor: DHT22
99
     pin: 18
107
     pin: 18
161
     devices:
169
     devices:
162
       192.168.1.185:
170
       192.168.1.185:
163
         name: Led Strip
171
         name: Led Strip
172
+      192.168.1.131:
173
+        name: Led Strip Bed
164
   - platform: template
174
   - platform: template
165
     lights:
175
     lights:
166
       hdmi:
176
       hdmi:

+ 0
- 0
config/customize.yaml 查看文件


+ 0
- 0
config/groups.yaml 查看文件


+ 12
- 4
config/known_devices.yaml 查看文件

1
-
2
 josh:
1
 josh:
3
   hide_if_away: false
2
   hide_if_away: false
4
   icon:
3
   icon:
5
   mac: F0:98:9D:7B:2B:4A
4
   mac: F0:98:9D:7B:2B:4A
6
   name: Joshua
5
   name: Joshua
6
+  gravatar: joshua@rutschmann.tech
7
   picture:
7
   picture:
8
   track: true
8
   track: true
9
 
9
 
12
   icon:
12
   icon:
13
   mac: 18:65:90:91:22:CF
13
   mac: 18:65:90:91:22:CF
14
   name: David
14
   name: David
15
-  picture:
15
+  picture: /local/david.jpg
16
   track: true
16
   track: true
17
   
17
   
18
 meinrad:
18
 meinrad:
20
   icon:
20
   icon:
21
   mac: 38:53:9C:B8:AC:4C
21
   mac: 38:53:9C:B8:AC:4C
22
   name: Meinrad
22
   name: Meinrad
23
-  picture:
23
+  picture: /local/meinrad.jpg
24
   track: true
24
   track: true
25
 
25
 
26
 margit:
26
 margit:
28
   icon:
28
   icon:
29
   mac: 38:CA:DA:53:D6:56
29
   mac: 38:CA:DA:53:D6:56
30
   name: Margit
30
   name: Margit
31
-  picture:
31
+  picture: /local/margit.jpg
32
   track: true
32
   track: true
33
 
33
 
34
 007147f55e0a:
34
 007147f55e0a:
358
   name: d0a637864f63
358
   name: d0a637864f63
359
   picture:
359
   picture:
360
   track: false
360
   track: false
361
+
362
+600194b39ebb:
363
+  hide_if_away: false
364
+  icon:
365
+  mac: 60:01:94:B3:9E:BB
366
+  name: 600194b39ebb
367
+  picture:
368
+  track: false

+ 0
- 0
config/midnight.yaml 查看文件


+ 0
- 0
config/scripts.yaml 查看文件


+ 0
- 0
config/secrets.yaml 查看文件


+ 56
- 36
config/ui-lovelace.yaml 查看文件

1
 title: Tannenhof
1
 title: Tannenhof
2
 
2
 
3
+resources:
4
+  - url: /local/circle-sensor-card.js?v=0
5
+    type: module
6
+  - url: /local/surveillance-card.js?v=0
7
+    type: module
8
+
3
 views:
9
 views:
4
     # View tab title.
10
     # View tab title.
5
   - title: Home
11
   - title: Home
27
         # The markdown card will render markdown text.
33
         # The markdown card will render markdown text.
28
       - type: horizontal-stack
34
       - type: horizontal-stack
29
         cards:
35
         cards:
30
-          - type: conditional
31
-            conditions:
32
-              - entity: device_tracker.david
33
-                state: "home"
34
-            card:
35
-                type: entity-button
36
-                entity: device_tracker.david
37
-          - type: conditional
38
-            conditions:
39
-              - entity: device_tracker.josh
40
-                state: "home"
41
-            card:
42
-                type: entity-button
43
-                entity: device_tracker.josh
44
-          - type: conditional
45
-            conditions:
46
-              - entity: device_tracker.margit
47
-                state: "home"
48
-            card:
49
-                type: entity-button
50
-                entity: device_tracker.margit
51
-          - type: conditional
52
-            conditions:
53
-              - entity: device_tracker.meinrad
54
-                state: "home"
55
-            card:
56
-                type: entity-button
57
-                entity: device_tracker.meinrad
36
+          - type: history-graph
37
+            title: 'My Graph'
38
+            entities:
39
+              - device_tracker.josh
40
+              - device_tracker.david
41
+              - device_tracker.margit
42
+              - device_tracker.meinrad
43
+          - type: entity-filter
44
+            entities:
45
+              - device_tracker.josh
46
+              - device_tracker.david
47
+              - device_tracker.margit
48
+              - device_tracker.meinrad
49
+            state_filter:
50
+              - "home"
58
       - type: horizontal-stack
51
       - type: horizontal-stack
59
         cards:
52
         cards:
60
         - type: light
53
         - type: light
66
         name: Temperature
59
         name: Temperature
67
         height: 75
60
         height: 75
68
         line_color: "#3498db"
61
         line_color: "#3498db"
62
+      - type: horizontal-stack
63
+        cards:
64
+          - type: sensor
65
+            entity: sensor.netdata_cpu
66
+            name: Server CPU
67
+            height: 75
68
+            line_color: "#B90000"
69
+          - type: gauge
70
+            title: Server CPU
71
+            entity: sensor.netdata_cpu
69
       - type: conditional
72
       - type: conditional
70
         conditions:
73
         conditions:
71
           - entity: light.bed_light
74
           - entity: light.bed_light
94
     # Each view can have a different theme applied. Theme should be defined in the frontend.
97
     # Each view can have a different theme applied. Theme should be defined in the frontend.
95
     theme: dark-mode
98
     theme: dark-mode
96
     cards:
99
     cards:
97
-      - type: horizontal-stack
98
-        cards:
99
-          - type: iframe
100
-            url: https://www.rainviewer.com/map.html?loc=47.6739,9.1983,10&oFa=0&oC=1&oU=0&oCS=1&oF=0&oAP=0&rmt=4&c=1&o=70&lm=1&th=1
101
-            aspect_ratio: 100%
102
-          - type: iframe
103
-            url: https://earth.nullschool.net/#current/wind/surface/level/equirectangular=-354.86,46.31,1647/loc=9.198,47.673
104
-            aspect_ratio: 100%
100
+      - type: iframe
101
+        url: https://www.rainviewer.com/map.html?loc=47.6739,9.1983,10&oFa=0&oC=1&oU=0&oCS=1&oF=0&oAP=0&rmt=4&c=1&o=70&lm=1&th=1
102
+        aspect_ratio: 100%
103
+      - type: iframe
104
+        url: https://earth.nullschool.net/#current/wind/surface/level/equirectangular=-354.86,46.31,1647/loc=9.198,47.673
105
+
106
+  - title: Automations
107
+    id: automations
108
+    # Optional background (overwrites the global background).
109
+    background: radial-gradient(crimson, skyblue)
110
+    # Each view can have a different theme applied. Theme should be defined in the frontend.
111
+    theme: dark-mode
112
+    cards:  
113
+      - type: entities
114
+        title: Automations
115
+        entities:
116
+          - automation.enable_subwoofer_if_desktop_plays_music_from_spotify
117
+          - automation.hass_startup_notification
118
+          - automation.notify_about_phone_state
119
+          - automation.send_notification_if_margit_gets_home
120
+          - automation.turn_off_light_10_minutes_after_last_movement
121
+          - automation.turn_off_subwoofer_when_pc_is_off
122
+          - automation.turn_on_light_when_there_is_movement
123
+          - automation.update_available_notifications
124
+          - automation.welcome_josh_if_he_gets_home
105
 
125
 
106
 
126
 

+ 0
- 0
docker-compose.yml 查看文件


正在加载...
取消
保存