Questions tagged [esphome]

13 questions
1
vote
1 answer

Configuration problem with LD2410C in esphome

I am trying to configure the LD2410C presence sensor with esphome and the configuration is running smoothly but the operation is not as expected. The presence sensor is always ON and the "Moving Targer" and "Still Target" sensors do not stop…
estonolose
  • 23
  • 5
1
vote
1 answer

Multiple definitions error in custom ESPHome component

I'm trying to make a WiFi enabled egg-cooker. I have a working Arduino sketch and am now trying to port it to ESPHome so that it can interface with Home Assistant. ESPHome uses a yaml file (eggcooker.yaml) to generate a main.cpp file, and I can add…
Amanoo
  • 43
  • 1
  • 6
1
vote
1 answer

ESP home using Arduino library

I am about to write a custom ESPHome component. I don't have much experience with C language and I am facing some troubles using external library. For demonstration, I prepared a simple component class.. class Test: public Component { public: …
Ondrej Havlicek
  • 170
  • 5
  • 12
0
votes
1 answer

undefined reference in ESPHome custom component

I'm trying to make a WiFi enabled egg-cooker. I have a working Arduino sketch and am now trying to port it to ESPHome so that it can interface with Home Assistant. Here's a link to the code:…
Amanoo
  • 43
  • 1
  • 6
0
votes
0 answers

Error collect2: error: ld returned 1 exit status in ESPhome on RP pico w

I'm having an issue with configuring the BME280 sensor. It keeps giving me the following error: collect2: error: ld returned 1 exit status. I really don't know what's wrong with it. esphome: name: raspberry-pi-pico-w--2 friendly_name: Raspberry…
0
votes
0 answers

ESPHome Cover lambda-function

I'm trying to control my cover with 2 buttons in ESP-Home. When i click on it short, it should either stop or start (close/open) the cover. But inside of the lambda, it always jumps into the stop-function. Even if the cover is not moving. What am I…
Toby_Stoe
  • 216
  • 1
  • 11
0
votes
1 answer

Two BLE scans on ESP32

Reposting my Reddit sub - not much of help there :) I have two different DIY projects, based on ESP32 BLE stack: https://github.com/formatBCE/ESP32_BLE_presense - presence tracker https://github.com/formatBCE/Airbnk-MQTTOpenGateway - smart lock…
formatBCE
  • 159
  • 1
  • 12
0
votes
0 answers

esphome adding timestamp data to my mqtt broker

My goal is move my C++ scripts to yaml and use esphome. I´ve started with something easy, esp8266+dht22+mqtt, really easy, but if i want to add also the timestamp in addition to temperature and humidity. I guess to use lambda?, text_sensor?. Any…
0
votes
1 answer

Any way to build up a dictionary / json object of sensor values in esphome?

I am trying to build up a dictionary / json object of sensor values in esphome. I have a sensor that sends me key / value pairs (e.g. one sensor reading could be { “temperature“: 25.1 }, another one could be { “speed“: 50.1 } and so forth) in very…
0
votes
0 answers

Reading CAN Bus bitmask

I have a netgain hyper9 motor and controller. Controller is hooked up to CAN bus. I am using an esp32 with mcp2515 to read the data. The format is as in the image here. I can read a byte ok and get a number but can not correctly read the word…
Dennis
  • 1
  • 2
0
votes
1 answer

How to read-modify-write value of a setting in esphome?

For example, to increase/decrease a thermostat temperature using 2 buttons, I have to read the current value, add (or subtract) 0.1°, then update the setting. The question is how to do it with and (if possible) without Esphome's lambdas.
fdb
  • 1,998
  • 1
  • 19
  • 20
-1
votes
1 answer

ESPHOME not working for MHz19 with Lolin D1 mini

I connected the MHz19 sensor to the D1 mini and want to flash it via ESP-Home. I followed the following guide: https://esphome.io/components/sensor/mhz19.html I used the code esphome: name: co2-sensor esp8266: board: esp01_1m # Enable…
user1908460
  • 193
  • 1
  • 1
  • 9
-1
votes
1 answer

EspHome custom component

i have a probleme with custom code in esphome.. There is the error : src/screen.h:23:59: error: cannot convert 'MyCustomComponent::MyCustomComponent(esphome::template_::TemplateNumber*&, esphome::template_::TemplateNumber*&,…