berfenger / esphome_components Goto Github PK
View Code? Open in Web Editor NEWMy personal collection of ESPHome components to add support for unsupported devices on mainline ESPHome
License: Other
My personal collection of ESPHome components to add support for unsupported devices on mainline ESPHome
License: Other
Many I2CComponent methods were removed by this change esphome/esphome#2303. This cases compilation issues like below.
BTW, Seems like your mcp4728 code has the same issue.
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Dependency Graph
|-- 1.2.2
|-- 1.0
|-- 1.0
|-- 1.0
|-- 2.0.0
| |-- 1.2.2
|-- 1.1.0
|-- 1.0
|-- 1.0.1
|-- 5.13.3
|-- 1.0
....
Compiling /data/esp32/.pioenvs/esp32/src/esphome/components/max44009/max44009.cpp.o
src/esphome/components/max44009/max44009.cpp: In member function 'virtual void esphome::max44009::MAX44009Sensor::setup()':
src/esphome/components/max44009/max44009.cpp:32:9: error: 'class esphome::max44009::MAX44009Sensor' has no member named 'raw_begin_transmission'
this->raw_begin_transmission();
^
src/esphome/components/max44009/max44009.cpp:33:14: error: 'class esphome::max44009::MAX44009Sensor' has no member named 'raw_end_transmission'
if (!this->raw_end_transmission()) {
^
*** [/data/esp32/.pioenvs/esp32/src/esphome/components/max44009/max44009.cpp.o] Error 1
Hi,
I have noticed that #include "esphome/core/hal.h" is missing in si1145.cpp causing esphome not to compile.
I have added a pull request. Note: it is my first one so sorry if I haven't done it correctly.
Regards,
Markus
Not sure when this stopped working, but when I try to include the SI1145 external component, I get this compilation error:
src/esphome/components/si1145/si1145.cpp: In member function 'virtual void esphome::si1145::SI1145Component::update()':
src/esphome/components/si1145/si1145.cpp:108:11: error: 'delay' was not declared
in this scope
delay(20);
^
src/esphome/components/si1145/si1145.cpp: In member function 'void esphome::si1145::SI1145Component::reset_()':
src/esphome/components/si1145/si1145.cpp:320:11: error: 'delay' was not declared in this scope
delay(10);
^
Adding an #import "Arduino.h"
to si1145.cpp
fixes the problem.
Hello there;
Module fails after ESP Home 2021.10.0 update. :(
Error Detail:
`HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
PACKAGES:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.