RTL_433, helping set it up

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

RTL_433, helping set it up

Post by stuiow »

Hey everyone,

I've had the hardware and a sensor to get this going ages ago but its bene on the back burner.
SInce then, RTL_433 has been added to the hardware list in domoticz.

I just tried to set it up, an error was appearing in the domoticz log stating its not been installed correctly.
Got that sorted (re-installed rtl_433), but now i'm getting Rtl433: Failure! Retrying in 30 seconds...

I've got in the hardware screen this line for the parameters
-d 43

Can anyone assist on this? - 43 is the sensor i've got that i want domoticz to log = its an oil tank sensor.

Cheers
Stuart
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
kolleykibber
Posts: 1
Joined: Thursday 28 September 2017 18:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: RTL_433, helping set it up

Post by kolleykibber »

Hi Stuart,

I had this problem. It was another program using the RTL_SDR, in my case the dump1090 of piaware. Stop this and it connects. However, at the moment the rtl433 code only accepts temp, humidity, battery, rain and pressure.

So in the logs I get:

2017-10-01 18:15:49.828 Rtl433: Unhandled sensor type, please report: (2017-10-01 18:15:49,Oil Ultrasonic STANDARD,12975,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,96,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,41,
)

The CSV output of RTL_SDR is :

time model id flags binding_countdown alarm depth_cm
30/09/17 23:24 Oil Ultrasonic STANDARD 12975 96 0 0 41

So to get the watchman working we need checking of depth_cm added to the parsing loop in the file hardware/Rtl433.cpp.

This is a little beyond my knowledge. But if there's someone I can pass this info on to... :D
peahonen
Posts: 1
Joined: Sunday 28 May 2017 11:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RTL_433, helping set it up

Post by peahonen »

kolleykibber wrote: Sunday 01 October 2017 21:09 time model id flags binding_countdown alarm depth_cm
30/09/17 23:24 Oil Ultrasonic STANDARD 12975 96 0 0 41
How would you like to have this sensor represented in Domoticz?
Since you have the sensor and know how it works, would you be able to suggest how it would be mapped these operations:
https://github.com/domoticz/domoticz/bl ... .h#L52-L92
mikethebike3
Posts: 1
Joined: Monday 02 April 2018 2:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RTL_433, helping set it up

Post by mikethebike3 »

I've installed and am running rtl_433 on a RPi3B running Jessie lite, but when I try to set it up in Domoticz all I get on the log is:

"2018-04-17 03:26:52.207 Rtl433: rtl_433 startup failed. Make sure it's properly installed. (https://github.com/merbanan/rtl_433)"

....repeating every 30 seconds. The original poster overcame this by reinstalling rtl_433, but I've had no such luck.
I've tried reinstalling rtl_433 in various places on the SD card, all to no avail.
Any pointers anyone?
Thanks
Mike
gropi
Posts: 13
Joined: Thursday 26 April 2018 20:03
Target OS: Linux
Domoticz version: 4.11786
Location: Germany
Contact:

Re: RTL_433, helping set it up

Post by gropi »

I have the same issue, as soon as I start the rtl HW, i get following error in the log:
Spoiler: show
2018-04-26 20:25:52.917 Rtl433: rtl_433 startup failed. Make sure it's properly installed (rtl_433 -F csv -q -I 2 -d 1 2>/dev/null). https://github.com/merbanan/rtl_433
The command can be executed without issues from the command line.
I already reinstalled rtl_433, tried 2 sticks and searched a lot on the web but without success.

Is there any hint/solution?

My server:
Openmediavault 4, Domoticz: Version: 3.9269 is running in Docker.
Domoticz Version: 2023.1
Platform: Openmediavault 6; Docker; HP Microserver Gen8
Plugin/Hardware: MySensors Gateway; Philips HUE Bridge; OMG; ZigBee;
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: RTL_433, helping set it up

Post by EdddieN »

Have you solved this?

I get the same errors, but haven't installed anything as I assumed it was already part of Domoticz hardware?
Looked at this installations: https://github.com/merbanan/rtl_433 but is not clear what to install, or how? I think there're a lot of assumptions that are not mentioned...

any help?
11101101 - www.machinon.com
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: RTL_433, helping set it up

Post by stuiow »

Rtl-sdr also requires installing.
That's what tripped me up.



Sent from my SM-G955F using Tapatalk

Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: RTL_433, helping set it up

Post by EdddieN »

Ok got it working, it was the rtl-sdr that tripped me too :D

I got:

Code: Select all

2018-08-02 15:35:38.522 Status: Rtl433: Unhandled sensor reading, please report: (2018-08-02 15:35:38,Oregon Scientific UVR128,181,,OK,,,,,,,,,,,,,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
This is a UV sensor. However the one I'm interested is the oil sensor as @kolleykibber , however I'm using an Apollo one instead. Just waiting to pick upa the signal...

In the meantime, is there a way to add the UV?
11101101 - www.machinon.com
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: RTL_433, helping set it up

Post by EdddieN »

Ok, I finally got what it appears an oil reading, but is giving me 0, where I know is more than that... Any ideas:
I'm using an Apollo sensor
Screen Shot 2018-08-03 at 10.36.15.png
Screen Shot 2018-08-03 at 10.36.15.png (9.57 KiB) Viewed 4005 times
I also seem to get a few of these:
2018-08-03 10:35:32.949 Status: Rtl433: Unhandled sensor reading, please report: (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
2018-08-03 10:35:32.949 )
The Apollo sensor seems to send data only once per day, so very hard for me to catch the log, is there a way to see older logs?
11101101 - www.machinon.com
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: RTL_433, helping set it up

Post by stuiow »

Wish I could help. My Apollo isn't being caught by my rtl_433 device, I think the Apollo has a weak radio signal.
If I can find a decent senzitive antenna for my setup, I'll see what my output is.

Sent from my SM-G955F using Tapatalk

Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: RTL_433, helping set it up

Post by EdddieN »

Which receiver are you using? These things are very sensitive
11101101 - www.machinon.com
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: RTL_433, helping set it up

Post by stuiow »

820t2 receiver, cheapy one off ebay.
It picks up loads of other devices, it just seems to not pick up the Apollo transmitter.

Sent from my SM-G955F using Tapatalk

Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: RTL_433, helping set it up

Post by EdddieN »

I bought supposedly to be a nice one, I got an ultrasonic measurement but don't think is right. It gives me 0cm all the time.
11101101 - www.machinon.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest