esphome-mlx90614-i2c_ir_temp_sensor's People
esphome-mlx90614-i2c_ir_temp_sensor's Issues
fatal error: Adafruit_I2CDevice.h: No such file or directory
should there be an 'includes' with the custom/mlx90614.h file?
First: THANK YOU for an excellent YAML example and the work you did to get this working in ESPHome!
I found that I needed to add an 'includes' statement and point to the custom/mlx90614.h file in order to get the code to compile in ESPHome using your latest YAML example. You had this 'includes' statement in the original YAML file, but it was missing from the updated example. Once I added it in, everything worked! Woohoo!
FYI: I used an ESP32 in the D1 Mini format, and it's working great! Nice job!
I think I Figured Out the Adafruit-MLX90614-Library Issue
I think the reason why you were getting the error about the adafruit library is because of the hyphens in between the words in your include.
This didn't work for me:
libraries:
- adafruit/Adafruit-MLX90614-Library
But this did:
libraries:
- adafruit/Adafruit MLX90614 Library
Maybe because there are no hyphens here
SPI needed?
ESPHOME on HomeAssistnt.
During compile kept getting issues about SPI not being found.
needed to add
#include <SPI.h>
tot he top of the .h file you provided. After that good to go!
I am getting the following error when trying to compile your example. And clues? :-)
/config/esphome/tssensor-new.yaml: In lambda function: /config/esphome/tssensor-new.yaml:39:22: error: expected type-specifier before 'MLX90614' auto mlx = new MLX90614(5000); ^ /config/esphome/tssensor-new.yaml:41:78: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::vector<esphome::sensor::Sensor*>' return {mlx->ambient_temperature_sensor, mlx->object_temperature_sensor}; ^ Compiling /data/tssensor-new/.pioenvs/tssensor-new/lib64d/WiFi/WiFiSTA.cpp.o Compiling /data/tssensor-new/.pioenvs/tssensor-new/lib64d/WiFi/WiFiScan.cpp.o Compiling /data/tssensor-new/.pioenvs/tssensor-new/lib64d/WiFi/WiFiServer.cpp.o *** [/data/tssensor-new/.pioenvs/tssensor-new/src/main.cpp.o] Error 1 ========================= [FAILED] Took 35.34 seconds =========================
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.