Giter Club home page Giter Club logo

esphome-mlx90614-i2c_ir_temp_sensor's People

Contributors

3gyptian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esphome-mlx90614-i2c_ir_temp_sensor's Issues

fatal error: Adafruit_I2CDevice.h: No such file or directory

Hi,
I tried to follow your instructions, but something wrong happened. it shows "Adafruit_I2CDevice.h: No such file or directory" It has been a long since I have been stuck in. Can you help to tackle it? I'm running the ESPHome version(2021.12.4)
image

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.