both binary_sensor.rainfall_trend gradient and sensor.regensensor_flips_zero_reset are 0 at this moment (as Development/States show me)
TemplateEditor shows me the correct result = 0 for the following expression…
it stays always at 0
when i set it manually, it changes back to 0 after a couple of seconds, what might be correct, when no rain had fallen in the last 10 minutes and binary_sensor.regensensor_contact_invert hadn´t changed yet…
but when i manually set binary_sensor.regensensor_contact_invert to “off”, “on”, “off” to simulate some flips, the sensor.regensensor_flips_zero_reset never reacts? it stays always at “0”??
So pleased I have this all working , many thanks to parrel for sharing this and helping me when I got stuck.
I am using the Apexcharts card to show the daily rainfall for a month and I wonder if any kind person could show me how to modify it to show weekly rainfall over a yearly period? It is probably not possible but it would be really great if it could be made to be a “rolling” chart where the oldest week data gets removed as the new week data arrives so that the chart is always showing the last 52 weeks.
Thank you to anyone who can help.
I am a beginner in home assistant and want to build this rain gauge, but how do I get the, I presume, YAML code into Home assistant and how do I get it to work?
Can someone make a print screen where I have to put in de the YAML or jinja code? I have done 3 hours of useless tutorials now and I still dont know where to start. I do not now If I have to use the File editor or developers tool?
Please a little bread crum in the right direction would help
Hi @parrel Thanks for a great tutorial;) I have just built the rain gauge ( but I did use the insert adapter here - Rain Gauge (Aqara door sensor support) Pluviomètre Aqara by waazdakka - Thingiverse ) it makes the whole project pretty clean. Anyways - I have set up the gauge using your yaml. I did have some issues - when I pour 10 ml. of water down the funnel I get 4 tips on my gauge (I may be measuring the 10 ml. wrong, but I think it should be right). I can see you are going with 6 tips for 10 ml. of water, by taking the tutorial from the reviewer from amazon. The value that are going in the yaml code. 0.30303 - something - where does this value come from? the calculation pulses / mm = 5.5 / (10/6) = 3.3 I understand (where I in my case should replace 6 with 4 instead. But how is the value calculated, that goes into the code - I don’t get it
Oke so I copy the codes somewhere in the configuration.yaml ? I did this and nothing is happening. (I am smart enough to change the sensor id’s)
I can someone make a screenshot so I get the whole picture and not a part of the picture, please
@Shellfishgene, @doubleUS would you mind sharing some photos of your setup? I am sorry, but I am having a hard time visualizing it and since I do not have soldering equipment, I would be inclined to try out your way of setting this up.
I kinda just stuffed it in there with some cardboard to fix it in place. You just need to look at the original board, see first post for picture, and make sure that the black bar on the Sonoff (the reed switch) is about in the same position as the reed switch in the middle of the original board is. Just flip the rocker and make sure that the Sonoff fires every time. The magnet on the rocker is behind that little nose on top.