Page 1 of 1

RTL_433, helping set it up

Posted: Wednesday 20 September 2017 11:57
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

Re: RTL_433, helping set it up

Posted: Sunday 01 October 2017 21:09
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

Re: RTL_433, helping set it up

Posted: Wednesday 29 November 2017 16:43
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

Re: RTL_433, helping set it up

Posted: Tuesday 17 April 2018 4:34
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

Re: RTL_433, helping set it up

Posted: Thursday 26 April 2018 20:33
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.

Re: RTL_433, helping set it up

Posted: Wednesday 01 August 2018 20:29
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?

Re: RTL_433, helping set it up

Posted: Wednesday 01 August 2018 20:52
by stuiow
Rtl-sdr also requires installing.
That's what tripped me up.



Sent from my SM-G955F using Tapatalk


Re: RTL_433, helping set it up

Posted: Thursday 02 August 2018 16:38
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?

Re: RTL_433, helping set it up

Posted: Friday 03 August 2018 11:38
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 4088 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?

Re: RTL_433, helping set it up

Posted: Friday 03 August 2018 15:43
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


Re: RTL_433, helping set it up

Posted: Friday 03 August 2018 15:59
by EdddieN
Which receiver are you using? These things are very sensitive

Re: RTL_433, helping set it up

Posted: Monday 13 August 2018 10:39
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


Re: RTL_433, helping set it up

Posted: Monday 13 August 2018 10:44
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.