Page 2 of 2

Re: SEN0193 + ESP32

Posted: Fri Nov 06, 2020 6:35 pm
by dirkdiggler147
@LEDG I could be mistaken but I don't think I needed the MQTT stuff at all. I just had a lambda function in the filters section and the values showed up in the sensor from HA, I didn't need to publish anything to MQTT

Re: SEN0193 + ESP32

Posted: Fri Nov 20, 2020 9:58 am
by dirkdiggler147
@LEDG

Yeah I think I got a bit confused and thought ESP32 needed MQTT to talk with HA.

I also missed the bit about using arduino IDE to put the pub/sub code on the ESP to enable the MQTT comms.

So I guess all that is needed now is when to use each method. Maybe using filters and ESPHome for simple tasks and MQTT for more complicated things (e.g. applying logic before sending msgs)?

Re: SEN0193 + ESP32

Posted: Fri Nov 20, 2020 2:48 pm
by LEDG
@dirkdiggler147

Yeah that’s pretty much the rule I apply to it. I go ESPhome whenever possible for the simple stuff and just write the code in Arduino if I need to manipulate things or if it’s more complex.

Now that I have a little bit of experience writing Arduino code, I’m really enjoying it.

Re: SEN0193 + ESP32

Posted: Sun Jan 03, 2021 10:00 pm
by Baylos
Hi,

I like sensors where the electronics are encapsulated. I remember to this here
https://pino-tech.eu/product/soilwatch-10/

It is expensive, but looks reliable.


Greetings