DFRobot Oxygen Sensor SEN0322

I’m trying to get the SEN0322 working with ESP Home.

It’s currently connected to an ESP8266 and works well through the Arduino IDE, using the:

When trying to create the .yaml for this component I just get hit with preparation errors.
I’m not looking for any debugging, I have several different versions of code and each have their own issue. What I’m asking is, has anyone every got this working and how did they get it working through ESP Home?

There is a youtube vid showing someone “apparently” getting it working through Arduino IDE, but you don’t see it working, just them typing.
yt- v=u6Mp43mA7BI&t=386s

1 Like

Hey, I’m also looking for a solution. I came across this:

Someone knowledgeable needs to create a repository on GitHub —
then it will work with ESPHome. Unfortunately, I don’t have the skills to do it myself.
I tried with the help of AI, but it’s not working out.
Maybe someone will finally help.

Hi

I created a custom library for sen0322 under esphome.

If you want to try to see how it works in esp home (I assure you that it works), below I provide a library for this sensor.