Shelly Plus Add-On to read HC-SR04 (ultrasonic proximity sensor) measurement

  • Hello,
    I am trying to connect an HC-SR04 sensor to a Shelly Plus Add-on. My goal is to track a soft water tank's status by logging distance measurements by putting the sensor above it and pointing it down.
    I dug into the documentation and could not find relevant help. I also looked into scripting without no luck.

    Did anybody manage to do it? Will it be supported natively at some point?

  • Welcome to the forum!

    To your issue: The HC-SR04 sensor needs some time measurement (“flight time” of ultrasonic signal). Thus, you’ll need an Arduino or Raspberry to do the job.

    „Habt Geduld. Alle Dinge sind schwierig, bevor sie einfach werden!“ (aus Frankreich)

    „Nothing in life is to be feared, it is only to be understood.“ (Marie Curie, 1867-1934)

    „Es reicht nicht“, rief Schiller, „Gedankenfreiheit zu fordern, man muß auch denken können, sonst fordert man Gedankenlosigkeitsfreiheit und die ist die Freiheit zur Dummheit, welche wiederum die schlimmste Unfreiheit überhaupt ist!“
    (Aus „Besuch aus Weimar“ von Gert Heidenreich, Schriftsteller, *1944 in Eberswalde)

  • Hi all,

    Can anybody confirm that this information is still correct. I had ordered a series of add-on devices, because this knowledge page shows "Ultrasonic proximity sensors" in the list of supported sensors. Therefore I thought that the hc-sr04 would be supported. So it would be real bummer if it would not be supported after all...

    Thanks!!

    Bart

  • This facebook discussion mentions that the URM09 distance sensor is supported by the add-on. That sensor has a shared trigger and echo pin, unlike the hc-sr04 sensors ;(

    It would have been useful if the documentation had mentioned this...

    Looking at the pinout of the add-on, I assume proximity sensors like hc-sr04 will/can never be supported?

  • Now I am confused. Some Shelly related sites (like e.g. this one) sell hc-sr04 sensors "for addon plus". From that I would expect it should be working together?

    I would appreciate a lot if somebody could illuminate me.

    Because I received yesterday a series of Add-on hats as a father's day present, so it would be awful if I cannot use them...

  • Dieses Thema enthält 8 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registrieren Sie sich oder melden Sie sich an um diese lesen zu können.