-
Notifications
You must be signed in to change notification settings - Fork 1
/
Zabbix-Hubitat.yaml
1085 lines (1085 loc) · 35.3 KB
/
Zabbix-Hubitat.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
zabbix_export:
version: '6.4'
template_groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
-
uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
-
uuid: 7678b029251443cc9ce0a50d6afd4ac1
template: Hubitat
name: Hubitat
groups:
-
name: Templates
-
name: Templates/Applications
items:
-
uuid: 743a136011164c299d0d1d8ebfae8d8d
name: 'Devices Count'
type: DEPENDENT
key: hubitat.devices.count
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.length()
master_item:
key: hubitat.discovery.data
-
uuid: 2a4229fe9e6f4e20b5d5740cc54107a2
name: hubitat.discovery.data
type: HTTP_AGENT
key: hubitat.discovery.data
history: 1h
trends: '0'
value_type: TEXT
url: 'http://{HOST.CONN}/apps/api/{$HUBITAT_APP_ID}/devices'
query_fields:
-
name: access_token
value: '{$HUBITAT_ACCESS_TOKEN}'
-
uuid: 03ed973b7c884e1b9362e380a7ca60f4
name: 'Hubitat Alert - Database Size'
type: DEPENDENT
key: hubitat.hub.alerts.databaseSize
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.databaseSize
master_item:
key: hubitat.hub.data
-
uuid: 57f62a764dca429d81ffbdf4c060b165
name: 'Hubitat Alert - Header Message'
type: DEPENDENT
key: hubitat.hub.alerts.headerMessages
delay: '0'
history: 1h
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.headerMessages
master_item:
key: hubitat.hub.data
-
uuid: 174098855208424791f87532aff19a29
name: 'Hubitat Alert - Load High'
type: DEPENDENT
key: hubitat.hub.alerts.hubHighLoad
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubHighLoad
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: ed8ebcd221104be8adf4e78fb72fc2e2
expression: last(/Hubitat/hubitat.hub.alerts.hubHighLoad)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.hubHighLoad)=0
name: 'Hubitat Alert - Load High'
event_name: 'Hubitat Alert - Load High'
priority: WARNING
-
uuid: 4edaf9bfe24942279b8f06803d9942ab
name: 'Hubitat Alert - Huge Database'
type: DEPENDENT
key: hubitat.hub.alerts.hubHugeDatabase
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubHugeDatabase
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
-
uuid: b2d661fbe17340c7ae6e76142349507d
name: 'Hubitat Alert - Large Database'
type: DEPENDENT
key: hubitat.hub.alerts.hubLargeDatabase
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubLargeDatabase
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
-
uuid: f18ad9d346bc45a398b3a04dede763ac
name: 'Hubitat Alert - Largeish Database'
type: DEPENDENT
key: hubitat.hub.alerts.hubLargeishDatabase
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubLargeishDatabase
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
-
uuid: 3aa7ba00e8e742d7b4841797499be828
name: 'Hubitat Alert - Load Elevated'
type: DEPENDENT
key: hubitat.hub.alerts.hubLoadElevated
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubLoadElevated
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: 18273d861fea4b0c930eb97419d0d234
expression: last(/Hubitat/hubitat.hub.alerts.hubLoadElevated)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.hubLoadElevated)=0
name: 'Hubitat Alert - Load Elevated'
event_name: 'Hubitat Alert - Load Elevated'
priority: WARNING
-
uuid: 2c69a6db8bdf44aa8b24625214d53ff5
name: 'Hubitat Alert - Load Severe'
type: DEPENDENT
key: hubitat.hub.alerts.hubLoadSevere
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubLoadSevere
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: 54a68d35a800424590648b579ab348e9
expression: last(/Hubitat/hubitat.hub.alerts.hubLoadSevere)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.hubLoadSevere)=0
name: 'Hubitat Alert - Load Severe'
event_name: 'Hubitat Alert - Load Severe'
priority: HIGH
-
uuid: 00a1974f4f6441f49035d0945bf935e6
name: 'Hubitat Alert - Low Memory'
type: DEPENDENT
key: hubitat.hub.alerts.hubLowMemory
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubLowMemory
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: 7f795f654b1d4c45983030a661c4cbd0
expression: last(/Hubitat/hubitat.hub.alerts.hubLowMemory)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.hubLowMemory)=0
name: 'Hubitat Alert - Low Memory'
event_name: 'Hubitat Alert - Low Memory'
priority: WARNING
-
uuid: f641a5e1a66c400b9b861630a7d9d5fc
name: 'Hubitat Alert - Zwave Crashed'
type: DEPENDENT
key: hubitat.hub.alerts.hubZwaveCrashed
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.hubZwaveCrashed
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: ddb8e8f343cc46d28988647aa63b162d
expression: last(/Hubitat/hubitat.hub.alerts.hubZwaveCrashed)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.hubZwaveCrashed)=0
name: 'Hubitat Alert - ZWave Crashed'
event_name: 'Hubitat Alert - ZWave Crashed'
priority: WARNING
-
uuid: 0f37259461b74091b2cbe2f93ca82464
name: 'Hubitat Alert - Udpate Available'
type: DEPENDENT
key: hubitat.hub.alerts.platformUpdateAvailable
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.platformUpdateAvailable
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: 07d7ab2f5506418fba606e6de2ffb178
expression: last(/Hubitat/hubitat.hub.alerts.platformUpdateAvailable)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.platformUpdateAvailable)=0
name: 'Hubitat Update Available'
event_name: 'Hubitat Update Available'
priority: INFO
-
uuid: d8aab2b645b2419aa02299329168552d
name: 'Hubitat Alert - Run Alerts'
type: DEPENDENT
key: hubitat.hub.alerts.runAlerts
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.runAlerts
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
-
uuid: 3a0a3217df784b15b82cda15f13c30c1
name: 'Hubitat Alert - Run Alerts Counter'
type: DEPENDENT
key: hubitat.hub.alerts.runAlertsCounter
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.runAlertsCounter
master_item:
key: hubitat.hub.data
-
uuid: e10eb30eb6754c5a9481b0eb493ee03a
name: 'Hubitat Alert - Spammy Devices'
type: DEPENDENT
key: hubitat.hub.alerts.spammyDevices
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.spammyDevices
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
-
uuid: 08d378eea0d841909c19f203ffa81e29
name: 'Hubitat Alert - Zigbee Offline'
type: DEPENDENT
key: hubitat.hub.alerts.zigbeeOffline
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.zigbeeOffline
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: 01efa7fce2d84154af3a6a01c75aa83b
expression: last(/Hubitat/hubitat.hub.alerts.zigbeeOffline)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.zigbeeOffline)=0
name: 'Hubitat Alert - Zigbee Offline'
event_name: 'Hubitat Alert - Zigbee Offline'
priority: WARNING
-
uuid: 8e19e64c65f24c6eac4c1235318bc199
name: 'Hubitat Alert - ZWave Offline'
type: DEPENDENT
key: hubitat.hub.alerts.zwaveOffline
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.alerts.zwaveOffline
-
type: BOOL_TO_DECIMAL
parameters:
- ''
master_item:
key: hubitat.hub.data
triggers:
-
uuid: df55a761949843469de6d1247357b680
expression: last(/Hubitat/hubitat.hub.alerts.zwaveOffline)=1
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: last(/Hubitat/hubitat.hub.alerts.zwaveOffline)=0
name: 'Hubitat Alert - ZWave Offline'
event_name: 'Hubitat Alert - ZWave Offline'
priority: WARNING
-
uuid: 2d29cb1bf34040d6ab02f7e7c3f564af
name: hubitat.hub.data
type: HTTP_AGENT
key: hubitat.hub.data
history: 1h
trends: '0'
value_type: TEXT
url: 'http://{HOST.CONN}/hub2/hubData'
query_fields:
-
name: access_token
value: '{$HUBITAT_ACCESS_TOKEN}'
-
uuid: a18298a692ce4dbe9527faaa307432ea
name: 'Hubitat Hub Device Version'
type: DEPENDENT
key: hubitat.hub.hubVersion
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.hubVersion
master_item:
key: hubitat.hub.data
-
uuid: bb18c9c177974a6183b8471a42138d05
name: 'Hubitat Hub ID'
type: DEPENDENT
key: hubitat.hub.id
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.hubId
master_item:
key: hubitat.hub.data
-
uuid: fa1ccfbf7aff4b4bb853113caf684a67
name: 'Hubitat Name'
type: DEPENDENT
key: hubitat.hub.name
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.name
master_item:
key: hubitat.hub.data
-
uuid: 9e0942f713a046d4937079b21cbee0b9
name: 'Hubitat Version'
type: DEPENDENT
key: hubitat.hub.version
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.version
master_item:
key: hubitat.hub.data
-
uuid: 06cbf1aea2424c14a0c4e49015901453
name: 'Hubitat HTTP'
type: SIMPLE
key: 'net.tcp.service.perf[http,,80]'
value_type: FLOAT
-
uuid: 36d79c2dac51431dac0172283257c2ee
name: 'Hubitat HTTP'
type: SIMPLE
key: 'net.tcp.service.perf[http,,443]'
value_type: FLOAT
discovery_rules:
-
uuid: 74c2bd2f99904398902be2d0c6a8a2d4
name: 'Hubitat Devices'
type: DEPENDENT
key: hubitat.devices.data
delay: '0'
item_prototypes:
-
uuid: 858339f456f54b83bbdf3a3673da0e94
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Battery'
type: DEPENDENT
key: 'hubitat.devices.data.atr.battery.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "battery")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: cbcd3e154e714a23a7eb400f0f39344f
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Contact'
type: DEPENDENT
key: 'hubitat.devices.data.atr.contact.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "contact")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: c3e61f30eb2d402dbc8d41514d2da9d8
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Cooling Set Point'
type: DEPENDENT
key: 'hubitat.devices.data.atr.coolingSetpoint.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "coolingSetpoint")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 1202749e3cb748489d3aeea02ae13a81
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Double Tapped'
type: DEPENDENT
key: 'hubitat.devices.data.atr.doubletapped.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "doubleTapped")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 66eca45da5d0478c9490421ec7f42c30
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Heating Set Point'
type: DEPENDENT
key: 'hubitat.devices.data.atr.heatingsetpoint.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "heatingSetpoint")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 5ee5134e91534649b36599e22d83476c
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Held'
type: DEPENDENT
key: 'hubitat.devices.data.atr.held.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "held")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 5dc583d413864dfb833b96500f970324
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Humidity'
type: DEPENDENT
key: 'hubitat.devices.data.atr.humidity.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "humidity")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 7d2b7eaa3ef149c3bacbe4e16fab7b0a
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Level'
type: DEPENDENT
key: 'hubitat.devices.data.atr.level.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "level")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 2836bd28b2924c118842ed3d1bd34a12
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Pushed'
type: DEPENDENT
key: 'hubitat.devices.data.atr.pushed.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "pushed")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 3e93937b214f4d4b941e7456fb5de790
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Released'
type: DEPENDENT
key: 'hubitat.devices.data.atr.released.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "released")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 83b6cba7a05942ddbe2b51632efc6233
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Switch'
type: DEPENDENT
key: 'hubitat.devices.data.atr.switch.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "switch")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: ec633f9da3bd4196bf3a844e3af30106
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Tamper'
type: DEPENDENT
key: 'hubitat.devices.data.atr.tamper.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "tamper")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 099fd140d2454356be9081cfcaa3305e
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Temperature'
type: DEPENDENT
key: 'hubitat.devices.data.atr.temperature.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "temperature")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 743c4428d6ab4583a75528c947eda9cb
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Thermostat Fan Mode'
type: DEPENDENT
key: 'hubitat.devices.data.atr.thermostatFanMode.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "thermostatFanMode")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 556361ad08e0476898b131683ae19b11
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Thermostat Mode'
type: DEPENDENT
key: 'hubitat.devices.data.atr.thermostatMode.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "thermostatMode")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: cea6faed3fc84cb5b61792f3212bda77
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Thermostat Operating State'
type: DEPENDENT
key: 'hubitat.devices.data.atr.thermostatOperatingState.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "thermostatOperatingState")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 1ebfceb073e6451a9151844c6f583070
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Thermostat Set Point'
type: DEPENDENT
key: 'hubitat.devices.data.atr.thermostatSetpoint.[{#DEVICE_ID}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.attributes
-
type: JSONPATH
parameters:
- '$..[?(@.name == "thermostatSetpoint")].currentValue.first()'
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 62afbc710fc64b96a5b5aefcc267cf38
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Capabilities'
type: DEPENDENT
key: 'hubitat.devices.data.capabilities.data.[{#DEVICE_ID}]'
delay: '0'
history: 1h
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.capabilities
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 19844778c84746d9ba7ce4d11a6be75b
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Commands'
type: DEPENDENT
key: 'hubitat.devices.data.commands.data.[{#DEVICE_ID}]'
delay: '0'
history: 1d
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.commands
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: d3758db114da453f98dc4bfe0bcebcce
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Name'
type: DEPENDENT
key: 'hubitat.devices.data.name.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.name
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 383cb3458e7e41678f97340ad8f126cc
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Room'
type: DEPENDENT
key: 'hubitat.devices.data.room.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.room
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 9008088aa9a24d1ca618d3ce616a0d8d
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Type'
type: DEPENDENT
key: 'hubitat.devices.data.type.[{#DEVICE_ID}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.type
master_item:
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
-
uuid: 919131d08ded40a3b234b1cad96e1a88
name: 'hubitat.devices.data.[{#DEVICE_ID}]'
type: HTTP_AGENT
key: 'hubitat.devices.data.[{#DEVICE_ID}]'
trends: '0'
value_type: TEXT
url: 'http://{HOST.CONN}/apps/api/{$HUBITAT_APP_ID}/devices/{#DEVICE_ID}'
query_fields:
-
name: access_token
value: '{$HUBITAT_ACCESS_TOKEN}'
graph_prototypes:
-
uuid: 8d9271f7694c4d2d931c10ffd3fab891
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Battery'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
color: 199C0D
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.battery.[{#DEVICE_ID}]'
-
uuid: 95313aa324b7496a9f1ec880a1b593bd
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Temperature & Humidity'
graph_items:
-
color: 199C0D
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.temperature.[{#DEVICE_ID}]'
-
sortorder: '1'
color: F63100
yaxisside: RIGHT
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.humidity.[{#DEVICE_ID}]'
-
uuid: 11d81f5f3e91448c874bb29e9d1db572
name: 'Device [{#DEVICE_ID}]-{#DEVICE_LABEL}: Thermostat'
graph_items:
-
color: 199C0D
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.temperature.[{#DEVICE_ID}]'
-
sortorder: '1'
color: F63100
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.coolingSetpoint.[{#DEVICE_ID}]'
-
sortorder: '2'
color: 2774A4
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.heatingsetpoint.[{#DEVICE_ID}]'
-
sortorder: '3'
color: F7941D
calc_fnc: ALL
item:
host: Hubitat
key: 'hubitat.devices.data.atr.thermostatSetpoint.[{#DEVICE_ID}]'
master_item:
key: hubitat.discovery.data
preprocessing:
-
type: STR_REPLACE
parameters:
- '"name"'
- '"{#DEVICE_NAME}"'
-
type: STR_REPLACE
parameters:
- '"id"'
- '"{#DEVICE_ID}"'
-
type: STR_REPLACE
parameters:
- '"label"'
- '"{#DEVICE_LABEL}"'
tags:
-
tag: Application
value: Hubitat
macros:
-
macro: '{$HUBITAT_ACCESS_TOKEN}'
value: xxxxxxx
description: 'Access token from Maker API'
-
macro: '{$HUBITAT_APP_ID}'
value: xxxxx
description: 'Numeric Maker API App ID (From Maker API URL) - Example: http://hubitat/apps/api/1332/ The App ID = 1332'
graphs:
-
uuid: f35a91899d2b4dff93672a32fc94c083
name: 'Hubitat Alerts'
yaxismax: '1'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
color: 199C0D
calc_fnc: ALL
item:
host: Hubitat
key: hubitat.hub.alerts.hubHugeDatabase
-
sortorder: '1'
color: F63100
calc_fnc: ALL
item:
host: Hubitat
key: hubitat.hub.alerts.hubLargeDatabase
-
sortorder: '2'
color: 2774A4
calc_fnc: ALL
item:
host: Hubitat
key: hubitat.hub.alerts.hubLargeishDatabase
-
sortorder: '3'
color: F7941D
calc_fnc: ALL
item:
host: Hubitat
key: hubitat.hub.alerts.hubLoadElevated
-
sortorder: '4'
color: FC6EA3
calc_fnc: ALL
item:
host: Hubitat
key: hubitat.hub.alerts.hubHighLoad
-