-
Notifications
You must be signed in to change notification settings - Fork 5
/
amg8833.yaml
76 lines (62 loc) · 1.72 KB
/
amg8833.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
esphome:
name: amg8833
platform: ESP8266
board: d1_mini
includes:
- amg8833.h
- amg8833_camera.h
- amg8833_person_detected.h
libraries:
- "Wire"
- "SparkFun GridEYE AMG88 Library"
wifi:
ssid: !secret ssid
password: !secret password
domain: !secret domain
logger:
api:
ota:
text_sensor:
- platform: custom
lambda: |-
auto amg8833 = new AMG8833CameraComponent();
App.register_component(amg8833);
return {amg8833};
text_sensors:
- name: "Sensor Pixels"
binary_sensor:
- platform: custom
lambda: |-
auto amg8833 = new AMG8833PersonDetectedComponent();
App.register_component(amg8833);
return {amg8833};
binary_sensors:
name: "Person Detected"
device_class: occupancy
sensor:
- platform: custom
lambda: |-
auto amg8833 = new AMG8833Component();
App.register_component(amg8833);
return {amg8833->sensor_temperature, amg8833->max_temperature, amg8833->min_temperature, amg8833->avg_temperature, amg8833->min_index, amg8833->max_index};
sensors:
- name: "Thermal Sensor Temperature"
unit_of_measurement: °C
device_class: temperature
accuracy_decimals: 2
- name: "Thermal Sensor Max"
unit_of_measurement: °C
device_class: temperature
accuracy_decimals: 2
- name: "Thermal Sensor Min"
unit_of_measurement: °C
device_class: temperature
accuracy_decimals: 2
- name: "Thermal Sensor Avg"
unit_of_measurement: °C
device_class: temperature
accuracy_decimals: 2
- name: "Thermal Sensor Min Index"
accuracy_decimals: 0
- name: "Thermal Sensor Max Index"
accuracy_decimals: 0