Source code for creating firmware for an ESP8266 chip (d1 mini in my case) to use an AMG8833 sensor with Thermal Vision via. ESPHome.
Prefer to use PlatformIO? See TheRealWaldo/esp8266-amg8833.
AMG8833 - I used one on a breakout board for quick prototyping from AliExpress.
D1 Mini - There is quite a few variants of this, but I had some laying around from Banggood.
This project uses ESPHome. You'll need to provide your own secrets.yaml
in the root directory, providing ssid
, password
, and domain
if you wish to use the amg8833.yaml example configuration.
pip3 install esphome
esphome amg8833.yaml run
The Thermal Vision camera can be configured by providing the AMG8833CameraComponent's resulting sensor in HASS to the configuration option pixel_sensor
instead of host
.
- platform: thermal_vision
name: Prototype Thermal Camera
overlay: true
pixel_sensor: sensor.sensor_pixels
auto_range: true
It's important to note that only the Camera sensor will work in this manner. The other sensors are provided natively via. ESPHome and amg8833.h.
Also important to note; the pixel sensor is very, very noisy! You will probably want to exclude it from your HA history.
history:
exclude:
entities:
- sensor.sensor_pixels