Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Domoticz
  4. Water tank instant volume

Water tank instant volume

Scheduled Pinned Locked Moved Domoticz
14 Posts 5 Posters 8.1k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brix7be
    wrote on last edited by
    #5

    Tank you @pjr and @Boots33 for your ideas and support. I'll try it as soon as I can :-). I'ill keep you informed.

    B 1 Reply Last reply
    0
    • B brix7be

      Tank you @pjr and @Boots33 for your ideas and support. I'll try it as soon as I can :-). I'ill keep you informed.

      B Offline
      B Offline
      brix7be
      wrote on last edited by
      #6

      @pjr, I've tested with S_DUST and V_LEVEL and it works :-). Tanks.
      The UI edit button is included to the domoticz frontend or it is in backend(to change the icon and the axis label)?

      You're right, it could be wonderful if someone better than me on mysensors could add it or tell us how to add a V_LEVEL attribute to the S_WATER element.

      Have a nice afternoon :-).

      F 1 Reply Last reply
      1
      • P Offline
        P Offline
        pjr
        wrote on last edited by
        #7

        From domoticz web ui you can do that:
        0_1477638199242_domo_ui_change_axis.png

        1 Reply Last reply
        0
        • B brix7be

          @pjr, I've tested with S_DUST and V_LEVEL and it works :-). Tanks.
          The UI edit button is included to the domoticz frontend or it is in backend(to change the icon and the axis label)?

          You're right, it could be wonderful if someone better than me on mysensors could add it or tell us how to add a V_LEVEL attribute to the S_WATER element.

          Have a nice afternoon :-).

          F Offline
          F Offline
          flopp
          wrote on last edited by
          #8

          @brix7be said:

          The UI edit button is included to the domoticz frontend or it is in backend(to change the icon and the axis label)?

          Here you can read how to add custom icons in Domoticz
          http://www.domoticz.com/wiki/Custom_icons_for_webinterface

          1 Reply Last reply
          1
          • F Offline
            F Offline
            flopp
            wrote on last edited by
            #9

            It would be nice to see how you solved the location of the sensor and the electronics.
            I may have a project at work to build exactly like this.

            1 Reply Last reply
            0
            • Suresh MaliS Offline
              Suresh MaliS Offline
              Suresh Mali
              wrote on last edited by
              #10

              Hi,
              I had a similar setup, the Ultrasonic sensor did not last long. I used to measure the water level in overhead tank. Within a month the transducers were all rusted and the ultrasonic sensor died. I had to take everything out. I am looking for some waterproof sensors like the ones used in car park assist.

              In case you have a better solution, please do share.

              Boots33B 1 Reply Last reply
              0
              • Suresh MaliS Suresh Mali

                Hi,
                I had a similar setup, the Ultrasonic sensor did not last long. I used to measure the water level in overhead tank. Within a month the transducers were all rusted and the ultrasonic sensor died. I had to take everything out. I am looking for some waterproof sensors like the ones used in car park assist.

                In case you have a better solution, please do share.

                Boots33B Offline
                Boots33B Offline
                Boots33
                Hero Member
                wrote on last edited by
                #11

                @Suresh-Mali The one I have used is waterproof, although so far it has only been in place for testing purposes I think it will last ok. If you do a search on ebay for "waterproof ultrasonic sensor" you should get some to look at. the one I have used is similar to this

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  brix7be
                  wrote on last edited by
                  #12

                  Hello everyone,

                  Sorry for my delayed answer, i'm a bit busy at work for the moment, and my baby is sick this week.

                  @pjr : Thanks for you screenshot. In my version of domoticz(the last one running on w7 and soon on ubuntu server) , when i click on edit i'm only able to change the name and not the axis label like your's. An idea(something to activate) ?

                  @flopp : I've placed the ultrasonic sensor with an arduino uno and an ethernet stack under the tank cover (in a little electrical box). I'm going to connect it with a utp cable, for the length possibility(2pairs for the ethernet and 2wires for the power supply). For the connection schematics you'll find all you need on the distance sensor node and ethernet gateway on the site. Ask us for info.
                  @Boots33 : thanks for the your waterproof sensor link. I'll certainly change for it.

                  Thank you all again for your support.
                  Have a nice evenning.

                  1 Reply Last reply
                  0
                  • P pjr

                    I think V_LEVEL works in domoticz the way you want. You can change the axis label and icon from UI edit button afterwards.
                    You can use are S_DUST are S_VIBRATION as sensor type.. not the most describing ones for water but both are creating a "custom counter" that can be used to present the "current/instant level".

                    More info can be found from the source code of domoticz :)
                    https://github.com/domoticz/domoticz/blob/master/hardware/MySensorsBase.cpp#L861

                    Perhaps someone could add handling for pair S_WATER and V_LEVEL to MySensorsBase.cpp. Should be easy ;)

                    Boots33B Offline
                    Boots33B Offline
                    Boots33
                    Hero Member
                    wrote on last edited by
                    #13

                    @pjr Have just tried the S_DUST/V_LEVEL solution and it works perfectly. In fact I think that combination will be good for a few of my other sensors like my lightning detector as well . Thank you for your input.

                    Screen shot , you can now see that tank level both in litres and also in percentage are displayed as desired. :)

                    0_1479013844073_water.jpg

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      brix7be
                      wrote on last edited by
                      #14

                      @pjr Tanks a lot for your advice regarding our tank level Axis label and Icon in Domoticz.
                      Since I'm using the linux version of domoticz I can change these parameters!
                      Thanks again for your support.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      15

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular