Depends on the solder you are using, best to consult the datasheet. Here’s a quick reference chart: Soldering Temperature Chart
60/40 lead solder tends to be the easiest to start out with, I personally use Kester K100LD lead free (it’s almost as easy to work with). As with any solder make sure you clean your hands and clean your workspace after working, don’t inhale the fumes.
If you can purchase some perfboard it may be worth practicing soldiering and desoldering wires or other cheap components from it until you get the hang of it.
Good morning, another stupid question. Does anyone have an idea for an automation that tells you whether it’s raining or not and doesn’t constantly change every few minutes? Best regards
I’ve made a small jig to hold the aquara sensor in the same form factor as the original sensor. The reed switch is still 90deg from the optimal orientation but it works fine for me. This is placed so the reed switch is closed half the time, not momentarily every tip.
Your rain gauge works differently than the one in the original post. The original post only counts the on states, this one counts both states.
I suspect that the history_stats sensor binary_sensor.rainmeter_opening counts 1 if the current state is either on or off, regardless if it changed or not. Or do you restart HA every night or something like that, causing a state change?
It looks like @ekainz uses the same counting method, perhaps he can share his config
There’s really not much more to my config, I have an automation that increments counter.rain_sensor_tips on each tip and resets at midnight, a template to convert those values to mm, and some statistics sensors.
I recommend starting with my code verbatim, getting that to work, then editing the variable names.
I personally just found it easier to count flips with a counter helper and an automation to increment, that way home assistant restarts don’t affect my values. I find it generally less confusing.
Yes, you can, with an ESP32 or ESP8266. However it would probably be need to be wired to a power outlet, as wifi consumes a lot of power compared to zigbee. That’s why I used zigbee for this. For comparison, the aqara sensor has been using the same battery since I created this post. (3+ years!)
yea. My setup will be 2 years come this June. Still reads 100% battery life which I find very strange, but it still tipping. 6.6mm of rain in the last 3 hrs as I am writing this post.
I’ve recently set-up the rain gauge and am very thankful for the contribution.
I don’t think the Daily Rainfall function is working and I don’t know why.
There are currently 74 sensor flips but no daily rainfall amount. Rainfall today = unknown, same for weekly, monthly and annual, of course.
Here is an exerpt of my configuration.yaml -
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
#template: !include templates.yaml
# Example configuration.yaml entry
utility_meter:
energy:
source: sensor.pixel_4a_steps_sensor
name: Daily Steps
cycle: daily
rain_week:
source: sensor.rainfall_today
cycle: weekly
unique_id: rainfall_week
rain_month:
source: sensor.rainfall_today
cycle: monthly
unique_id: rainfall_month
rain_year:
source: sensor.rainfall_today
cycle: yearly
unique_id: rainfall_year
template:
- sensor:
- name: Rainfall Today
device_class: precipitation
unit_of_measurement: in
state_class: total_increasing
unique_id: rainfall_today
state: >-
{% set count = states('sensor.rainsensor_flips') | int(0) %}
{% set in = count * 0.01193 %}
{% if count >= 0 %}
{{ in|round(1, 'floor') }}
{% endif %}
# If you have issues with the history sensor doubling after restarting HA, add the line below (@BigG)
#availability: "{{ (states('sensor.rainsensor_flips') not in ('unknown', 'unavailable')) }}"
Thank you for responding.
Here is what I pasted into Developer Template:
{% set count = states('sensor.rain_sensor_flips') | int(0) %}
{% set in = count * 0.01193 %}
{% if count >= 0 %}
{{ in|round(1, 'floor') }}
{% endif %}
The output is 0.4 (39 counts currently today).
I feel like I am missing something obvious. I’m going to include below the configuration and sensors files again. Perhaps someone will see something that I am not seeing.
configuration.yaml
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
#template: !include templates.yaml
# Example configuration.yaml entry
utility_meter:
energy:
source: sensor.pixel_4a_steps_sensor
name: Daily Steps
cycle: daily
rain_week:
source: sensor.rainfall_today
cycle: weekly
unique_id: rainfall_week
rain_month:
source: sensor.rainfall_today
cycle: monthly
unique_id: rainfall_month
rain_year:
source: sensor.rainfall_today
cycle: yearly
unique_id: rainfall_year
template:
- sensor:
- name: Rainfall Today
device_class: precipitation
unit_of_measurement: in
state_class: total_increasing
unique_id: rainfall_today
state: >-
{% set count = states('sensor.rain_sensor_flips') | int(0) %}
{% set in = count * 0.01193 %}
{% if count >= 0 %}
{{ in|round(1, 'floor') }}
{% endif %}
# If you have issues with the history sensor doubling after restarting HA, add the line below (@BigG)
#availability: "{{ (states('sensor.rain_sensor_flips') not in ('unknown', 'unavailable')) }}"