Tank Water Level Sensor Part 2 and Shelly Uni review

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 68

  • @lifewithjohnny9724
    @lifewithjohnny9724 4 месяца назад

    Hi Simon, sorry for the silly question. But do you have a link to the type of power source you’re using? Also do you use a weatherproof enclosure for the Shelly uni so it doesn’t get damaged out in the elements? Thank you

    • @simonsayshomeassistant
      @simonsayshomeassistant  4 месяца назад

      Hi Johnny, there are no silly questions. Here is a link to a project box you could use: s.click.aliexpress.com/e/_DDSwtmJ and here is the power supply: s.click.aliexpress.com/e/_DdxCgwl .Thank you for watching my video!

  • @derrickh95676
    @derrickh95676 2 месяца назад

    Hi Simon thanks for the video! I'm doing this exact project I was wondering did you use the outputs on the shelly to power the sensor? I can't find how many amps the sensor uses anywhere so im not sure if its under 300mA

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 месяца назад

      Hi Derrick, yes the shelly uni supplies the power to the sensor. I'm so glad you found it useful!

  • @mikewaters6980
    @mikewaters6980 Год назад

    Hi Simon, although you have explained this well, I think I still managed to get it wrong. I bought a pressure sensor but it only has two wires. The wiring diagram you've posted on facebook shows 3 wires. So I take it I bought the wrong sensor and need to buy another one with the 3 wires?

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад +1

      Hi Mike, thank you for your comments. I think that you have the amp sensor instead of the volt sensor. I have read somewhere that you may be able to use this type of sensor using a resistor but have not tried it yet.

  • @fredrikeneskjold8970
    @fredrikeneskjold8970 2 года назад

    Thank you alot Simon. Very usefull video. Excpacially on the home automation config. Thats where i have my headackes. Looking forward for Part3.

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад +1

      Hi Fredrik thank you for your kind words sir! Yes, I am working on the pump sensor and have been trying the small and big sound sensors in the 37 in one pack. The problem is that they are not very sensitive so I need to find another option, maybe a vibration sensor or power sensor. Also I am trying to fund a way to display the tank in a more appealing way.

  • @danwarner7594
    @danwarner7594 Месяц назад

    While this is an old video thread I hope you can steer me to a way to work through my error in trying to use this to monitor a 2m deep water tank. I am supplying power to a Uni from a 12V brick and also jump from the same power transformer to the pressure sensor. White - 3rd Uni wire to the blue on the 0-10Volt pressure sensor. My problem is the sensor seem to show 7.5 V - 8.3 V or so. Any suggestions on where I am going wrong or how to diagnose my problem (Simon & Lars have about 2.0V ) . Will remove the pressure sensor tomorrow & test output in a small bucket?

    • @simonsayshomeassistant
      @simonsayshomeassistant  Месяц назад

      Hi Dan, does the voltage change if you pull the sensor up higher in the water? Also just check that you have the sensor that uses voltage and not milliamps? Hope this helps

  • @onlyvid1171
    @onlyvid1171 2 года назад +1

    Hi
    Thanks for the very useful video it's exactly what i was looking for. Is there a way in-home assistant to change from the gage to a tank shape with vesual water level? And is there a way to map the voltage to a percentage of water in the tank? Thank you

    • @onlyvid1171
      @onlyvid1171 2 года назад

      If you google “tank water level png” you will understand what I mean by a visual representation of water level in the tank, is there a way to do the same in home assistant? Thank you

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Hi Only Vid, that is a great idea! I will do some research and let you know.

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      I can't seem to find a way to create a tank icon, can anyone else help?

  • @ubeaut
    @ubeaut 9 месяцев назад

    Hi Simon. I have bought a shelly uni and have set it up with mqtt and I am getting readings. The readings are coming in a lot is there a way to limit the voltage readings so they com in every 5 minutes for example?
    If I flash the shelly uni with tasmota can I still get the water level voltages? At least with tasmota I can set the telemetry settings. It is a water tank and even it I take voltage readings once a day would be fine. Have you done it with tasmota? Can it be done? Thanks

    • @simonsayshomeassistant
      @simonsayshomeassistant  9 месяцев назад

      Hi ubeaut, I have not tried that yet. Are you using MQTT because it is on another network?

    • @ubeaut
      @ubeaut 9 месяцев назад

      @@simonsayshomeassistant No. I use MQTT pretty much for all devices and 99% are running Tasmota. It is very good. I use a mosquito broker. At the moment I have one network. I don't have many devices that broadcast it that is why you are asking. Do you have any Tasmota devices?

    • @simonsayshomeassistant
      @simonsayshomeassistant  9 месяцев назад

      @@ubeaut I have tried tasmota and yes I do really like it as a platform however I have moved most esp's over to esphome. I have never tried flashing a uni, it may be difficult as i cannot see exposed header pins

  • @directhouses838
    @directhouses838 Год назад

    Hello Simon, Frank from France. Just a short question ...... with a short answer i hope ..... i followed your instructions eand everything works! Thanks for that. But now on my Dashbord i see Volts and i wants Litres ....... What do i have to do. Many thanks. Frank

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад

      Hi Frank, yes mine also shows volts, I will do some research for you and see if I can find a solution.

    • @directhouses838
      @directhouses838 Год назад

      @@simonsayshomeassistant Ok thanks so far. I am looking further .... If i have an answer i come back! Thanks again. Frank

  • @sachinfilinto
    @sachinfilinto 10 месяцев назад

    very usefull video. is there a way to access the shelly uni over the internet ? my HA is at a different location and there is no direct connectivity with the sensor. both locations have internet connection.

    • @simonsayshomeassistant
      @simonsayshomeassistant  10 месяцев назад +1

      Thank you, yes you can access the shelly uni by using the shelly web interface. this is accessed via the url on the shelly if you are on the same network

    • @sachinfilinto
      @sachinfilinto 10 месяцев назад

      @@simonsayshomeassistant thanks. i would have to expose the uni to the internet by publishing the url which i would not be confortable with besides the ddns configuration as the IP dynamic. The approach i was thinking (if possible) was for the HA server to talk to the shelly cloud. i dont know if shelly exposes APIs for this.

  • @chiribogas
    @chiribogas 2 года назад

    Hello Simon. Great video. I seem to have a problem with my sensor. Unfortunately it came with different color wires. Mine has a white, black and blue. I can not seem to be able to identify +, - and data. Do you happen to know how to identify them?

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Hi Francisco, thanks for your kind comments! The best thing is to ask the supplier to confirm which colour cables are for positive, negative and sensor.

  • @CoenCritcho
    @CoenCritcho Год назад

    Hey Simon
    What would i need to do in order to output from HA to an Irrigation Controller (OpenSprinkler) using physical wires?
    Any advice would be appreciated

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад

      Hi Coen
      I would use an ESP 32 running ESPHome with a relay. The other option is to use a Shelly 1

  • @sylvaish
    @sylvaish 2 года назад +2

    I have this pressure sensor G1/4 Pressure Transducer Sensor, Input 5V Output 0.5-4.5V / 0-5V Pressure Transmitter for Water Gas Oil(0-10PSI) attached to the bottom of my tank
    I managed to connect both devices and add it to Home Assistant .... The Volts keep changing every seconds from 0 - 2 v .... Is there a way to keep this to update static based on the level of water that is in my tank ??

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      That's odd, I haven't tried that type of sensor yet. Did you approach the supplier?

  • @peakerone4037
    @peakerone4037 2 года назад +1

    Hi Simon, a very helpful video! Meanwhile I managed to reproduce your setup, it works very well. But I have one problem: The voltage signal from my shelly uni sometimes changes very often, about one time per second. This results in a fast growth of my home assistant database. Did you face this problem and if yes, how did you solve it?

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Hi Elder One, thanks for your kind comments! I have not noticed this on my setup however I do see this happening on the plant moisture sensor that I created. As far as I know the HA database purges all data after 2 weeks so this should not cause a big problem.

    • @gustonator
      @gustonator Год назад

      Hi, I have the same problem.
      I connected the sensor to Shelly uni, after 2 hours I finally got to update the firmware on the uni to 20230503-102354.
      I get somehow inconsistent readings. I have the 0-10V sensor, and put it into a bucket of water for dry-run testings. On the woltmeter, I get consistent 0,29V, on the shelly and in the HA i get between 0.09-0.23V jumping.
      Did you find out what could be the problem? or maybe @simonsayshomeassistant ?

    • @gustonator
      @gustonator Год назад

      I think I got it :)
      I connected also the green wire from SHelly (GND_SENSOR) to neutral, and now the readings are better. Now my voltmeter shows 0,78V, and the shelly voltage jumps from 0,85 - 0,93V which is OK for me. Also... the voltmeter has bigger resistance, therefore it could meter 0,2 lower voltage.

    • @simonsayshomeassistant
      @simonsayshomeassistant  11 месяцев назад

      Hi, yes this can be a problem with some sensors. I would recommend using an SSD as your storage system so it will not be a problem. HA only stores data for 10 days.

  • @markfullerton663
    @markfullerton663 11 месяцев назад

    Hi Simon, I am setting up the same water tank sensor and are at the same spot. I would love to be able to change the voltage to liters. I have seen other people do it but not sure how.

    • @simonsayshomeassistant
      @simonsayshomeassistant  11 месяцев назад

      Hi Mark, here is a link to explain how others have achieved this. I will see what I can get working: community.home-assistant.io/t/convert-voltage-to-litres/543737

    • @markfullerton663
      @markfullerton663 11 месяцев назад

      @@simonsayshomeassistant Thanks for that. Just very new to HA, like this week. Still not sure about the YAML setup and exactly where and how to enter it. Can I just copy and past the posted YAML code and change the names to suit my setup?

    • @simonsayshomeassistant
      @simonsayshomeassistant  11 месяцев назад

      Yes, you can just copy and paste it in basically anywhere in your config.yaml file and change your entity names to match. HA will tell you if there is an issue when you try to restart.@@markfullerton663

  • @paulnel9994
    @paulnel9994 Год назад

    Hallo Simon. Nice video! I have this same setup on a remote location, using the Uni and Probe to give a level of a dam, I have the UNI conncted to a 3g wirelss modem(pocket modem). I want to integrate this remote device into my Home Assistant. Any advice? I dont think Shelly cloud has the option. (from SA, St Francis Bay)

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад

      Thanks for the feedback Paul, how did you connect the uni to a cellular modem ?

    • @paulnel9994
      @paulnel9994 Год назад

      @@simonsayshomeassistant the modem generates a WIFI signal which the UNI is connected to

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад

      @@paulnel9994 oh great easy as that

  • @gabeo5799
    @gabeo5799 Год назад

    Hey Simon, love the videos! Do you happen to know how to decrease the granularity as shown in HA? On my Shelly app, it shows the sensor as having two decimal places, but on HA there are no decimal places. I have a 0-10v sensor, but the range I need is 4-7

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад

      Hi Gabeo, thanks for your comments :) My voltage is showing on my HA dashboard with the 2 decimal places when I diplay it as a guage

    • @gabeo5799
      @gabeo5799 Год назад

      @@simonsayshomeassistant interesting, mine shows none. You didn't have to modify any settings for that?

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад

      @@gabeo5799 No mine just displays it like that ADC
      0.88 V

  • @Muscleduck
    @Muscleduck 2 года назад

    Can the voltages be translated to liters in HA? Say I drain my entire tank, then fill it with 1000 liters, 2000, ... until it's full. Or just fill to the brim and then tell HA how much liter that is.

  • @CrazyAngelfire
    @CrazyAngelfire 2 года назад

    hi simon, hope to see more videos, as i have a spare shelly uni now. i received two instead of the one i ordered! (good result)
    i hope you can help with question... i have followed the steps as best as i can, i'm really not great with wiring tbh.
    the sensor i received is the 10v version but has 3 wires. can you explain a greater detail on exactly how to connect the wires please

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Hi Darren, thanks for your comments :) Yes lots more videos coming :) Here is a diagram to help with the wiring. facebook.com/photo/?fbid=10160496755809744&set=gm.634812614518053

  • @darryldeklerk3435
    @darryldeklerk3435 2 года назад

    Thanks for this Simon , can you share how you convert the reading to Liters ?

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Hi Darryl, I have not converted my one to liters yet I just use a gauge to see how full it is.

    • @glen.m
      @glen.m Год назад +4

      I realise this is an old question, but in case anyone else has a similar desire to convert the voltage to liters in home assistant. Using a template sensor worked for me.
      At one location I have 4 25k L water tanks connected and my sensor is the 10v model. Lowering the sensor to the bottom of a full tank gave me a max reading of 8.07v, out of interest if I raised it to the surface the reading was 0.8v (has no relevance to this exercise. Just thought i'd get the reading while I had a full tank...)
      Anyway, knowing the max volume of my four tanks was 100,000 L and knowing that the sensor reads 8.07v when the tank is full then we can work out that 8.07 x 12391.57 = 100,000.
      The template sensor can then be created (if you copy and paste, beware the spacing!):
      # Shed water tanks
      - platform: template
      sensors:
      tank_litres:
      value_template: >
      {% set voltage = states('sensor.shellyuni_98cdac251207_adc') | float(0) %}
      {{ ((voltage) * 12391.57) | round(0) }}
      unit_of_measurement: l
      friendly_name: Shed Volume
      You can use the same principal to show as a percentage. The 'friendly name' will then be available in home assistant. This may not be the best way to do this, i'm far from an expert but it seems to be working for me so far!

    • @simonsayshomeassistant
      @simonsayshomeassistant  Год назад +1

      I found this video which explains how to convert the voltage to liters : ruclips.net/video/llExIOD0gpk/видео.html

  • @AgeOfDawn
    @AgeOfDawn 2 года назад

    Can you update the cheaper sensor link please? It's broken

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Sure thing just updated it. Bear in mind that you need to setup another type of micro controller for this sensor running on ESP Home

  • @unionse7en
    @unionse7en 3 месяца назад

    part 3 : use templates or Compensation to scale the voltage to gallons (or some other volume)

  • @ubeaut
    @ubeaut 9 месяцев назад +1

    Third time lucky in adding a comment....agghh
    I have similar hardware as but I flashed Tasmota onto the shelly UNI over the air. Why? Because I am familiar with it and I could slow down the number of times the data was being sent as the shelly didn't do that. Anyway the Tasmota does the calculation for the litres on the device and I send that via MQTT. Seems to work. Look for a video ubeaut productions as I cannot add any links to the comments...agghh

    • @simonsayshomeassistant
      @simonsayshomeassistant  9 месяцев назад

      Oh wow I didn't realise that you could flash the uni over the air. Yes I am a fan of Tasmota too. I will definately check out your video!

    • @ubeaut
      @ubeaut 9 месяцев назад

      Yes it is called mongoose to tasmota. It worked first go. Digiblur has a video of it as well. Super easy. If you want to swap back maybe no so easy.

    • @ubeaut
      @ubeaut 9 месяцев назад

      ​@@simonsayshomeassistant hey let me know if you try this out... Thanks

    • @simonsayshomeassistant
      @simonsayshomeassistant  9 месяцев назад

      Thank you I will let you know if I get it working, digiblur is great! How did you calculate the litres? @@ubeaut

    • @ubeaut
      @ubeaut 9 месяцев назад

      @@simonsayshomeassistant it's in the video I did. I had the sensor out that was zero/empty then put it in the full tank. That is the high and low voltage readings and the adcparam command does it all . adcparam 6,12,262,0,50000. Which means 6 is the moisture setting, 12 is low voltage, 262 is high voltage, 0 is the low scale and 50000 is the high scale. At the end of the video I pull the sensor out and you can see the lidtres change. I had the tele period set at 10 seconds so you could see it change. I set it to 5 minutes but can be whatever you want.

  • @MohammadAlshahrani
    @MohammadAlshahrani 2 года назад

    thanks, who do it on arduino

    • @simonsayshomeassistant
      @simonsayshomeassistant  2 года назад

      Sorry I am not much good with Arduino sketches but it must be quite easy