Temperature, Humidity and Rain for under 10 EUR

So what options do I have to read the dara from digoo? I read about a thing called rflink… are there more options?

Rflink and RTL_433 are the best options.

1 Like

Thank you :slight_smile:

Hy all. I also uses rtl_443 with some outdoor sensors from supermarket (picture of my sensor) and it works great for year now.

Here is my setup so maybe someone find it useful.

On RPi Im running rtl_443 (device RTL2832u) and have this script to start process:

run_receiver.sh

#!/bin/bash
rtl_433 -F json | python2 -u /home/pi/weather/weather.py

and python script which sends everything to mqtt:

import paho.mqtt.client as mqttClient
import time
import sys
import json
 
def on_connect(client, userdata, flags, rc):
    if rc == 0:
        print("Connected to broker")
        global Connected                #Use global variable
        Connected = True                #Signal connection 
    else:
        print("Connection failed")

Connected = False   #global variable for the state of the connection
broker_address= "192.168.0.105"
port = 1883
user = "xxxxxx"
password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"

client = mqttClient.Client("Python")               #create new instance
client.username_pw_set(user, password=password)    #set username and password
client.on_connect= on_connect                      #attach function to callback
client.connect(broker_address, port=port)          #connect to broker
 
client.loop_start()        #start the loop
 
while Connected != True:    #Wait for connection
    time.sleep(0.1)

while True:
    line = sys.stdin.readline().strip()
    if not line:
        # readline() will always return a /n terminated string, except
        # on the last line of input. If we see an empty string then
        # we must be at eof.
        print >> sys.stderr, "exporter reached EOF"
        sys.exit(0)

    data = json.loads(line)

    print json.dumps(data)

    if "model" in data:
        model = data["model"]
        if model == "Nexus-TH":
            try:
                client.publish("weatherStation/report", line)
            except KeyboardInterrupt:
                client.disconnect()
                client.loop_stop()

My model is Nexus-TH but Im living in big building with lot of flats and my adapter catches a lot of other 433 devices. So I had to filter and catch only my devices :slight_smile:

1 Like

I’m using a RFlink with HA and i can see the temp, hum, bat and update time sensors in the HA log and i’m able to add to my config / lovelace, and seems to be working fine, but i am not getting any readings for the rain sensor, i have tried tipping the bucket, simulating rain with my sprinkler, taking the batteries out and put back in to no avail.

with those using the RFlink with the named Digoo weather station how have you got the rain sensor to show up, or does it only work with the DVB-T with rtl_433 to get the rain sensor readings.

any help would be appreciated.