Hi, thanks for your answer…
Sorry, but I don’t see why I should reveal my personal data and configuration publicly… Everyone in the world can read what we write here, the internet doesn’t forget… Only users are allowed to write, everyone is allowed to read and copy … This is not a “share your projects” page…
but troubleshooting…
As far as relays are concerned, I sent… There isn’t more of it in my yaml…
Your solution doesn’t work…
But I also read about the same problem on other sites… but ESP8266
here:
“ESP8266 Relay (active low): how to prevent triggering on boot or reset (SOLVED) - #4 by wutr”
I don’t know if I should also search for this file…
I have many relays myself, but none installed with ESPHome, but Arduino, Tasmota, EasyESP… But they are all the same in one thing:
there are different relays, “high/low” devices, so it has to be defined…
But that doesn’t work in ESPHome…
There are also different settings in Tasmota, I also have different relays, the 8-fold relays can also be connected differently, like the “single relays”… and the function (high/low) is also different…
But I still don’t quite understand why ESPHome is important for Home Assistant, all devices can be found via MQTT, even in Smartthings, which finds Sonoff devices (like Alexa and Google) very quickly, and Home Assistant without Smartthings is quite difficult does, with Sonoff, Ewelink, Tuya and Smarthome cloud devices… (there are few tricks, mostly with HACS)
Arduino also has a platform, “Cloud”, which apparently many don’t like, want to have “own cloud”, but it works…
Even, like Smarttings, is also free…
However, Home Assistant costs 5 EURO per month (Nabu Casa) and it only works partially…
I’m already considering not taking out a subscription to Nabu Casa for the next year, because if something only partially works, it’s of no value… Alexa also turns on the heating on the go, Amazon has almost everything is available and possible…
In Home Assistant I can’t even connect the relay, neither for the flower pump nor for the heating valve…
I bought a pi4 instead of a MiniPC, which would have been even cheaper…
what still annoys me:
at Amazon I pay almost the same for Prime, but I get support in my language and I can always be reached immediately…
I don’t pay anything with Google, but there is also great support in my language via chat immediately…
I don’t pay anything at Smartthings either, you’ve already paid enough for Samsung devices, but the support is also great…
The Arduino IDE is also free, and the support is also very good.
IOBrocker, I got support for NODERed last year, also in my language…
Home Assistant could be a good system, but not in this way…
----------------------------////----------------
that’s missing:
digitalWrite(Relay, HIGH);
pinMode(Relay, OUTPUT);
there are relays that work in reverse…
ON=LOW
OFF=HIGH
or the C+++ “language” as cmd…
on=1
off=0