Using RTL_433 app as reciever
Moderator: leecollings
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Using RTL_433 app as reciever
Hi all
RTL_433 is a free Project based on a DVB USB Dongle and a Raspberry to act as a rf reciever https://github.com/merbanan/rtl_433
It's allow us to read on our screen Hardware using rf 433mhz or 868mhz or 315mhz or 915mhz (any frequency you want) by using the tuner of a DVB USB Dongle (temp sensor, ringbell, energy meter, remote switch).
Just be copy and past source from different version, it's allow me to read Auriol/silvercrest temp sensor (lidl), Otio temp/hum sensor, oregon v 1 2 3 sensor.
This can be a good variant of a rfxcom reciver who doesn't want to had cheap protocol.
What is your opinion on it ?
RTL_433 is a free Project based on a DVB USB Dongle and a Raspberry to act as a rf reciever https://github.com/merbanan/rtl_433
It's allow us to read on our screen Hardware using rf 433mhz or 868mhz or 315mhz or 915mhz (any frequency you want) by using the tuner of a DVB USB Dongle (temp sensor, ringbell, energy meter, remote switch).
Just be copy and past source from different version, it's allow me to read Auriol/silvercrest temp sensor (lidl), Otio temp/hum sensor, oregon v 1 2 3 sensor.
This can be a good variant of a rfxcom reciver who doesn't want to had cheap protocol.
What is your opinion on it ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- Keptenkurk
- Posts: 103
- Joined: Wednesday 21 August 2013 17:24
- Target OS: -
- Domoticz version:
- Location: Waalre, The Netherlands
- Contact:
Re: Using RTL_433 app as reciever
But it cannot transmit...
/paul
/paul
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Using RTL_433 app as reciever
yes, but can get one on EBAY for 8€.
A cheap 433mhz emiter can be buy for less than 1€ (actullaly i'm driving my cheap rc switch with one of this, and a lua script and that works like a charme, i'm on the way to get state of this rcswitch if somebody use the remote)
With this of course you have to made your own script and use differente app to make Domoticz as full fonctionnal it can, hobby time is free.
A cheap 433mhz emiter can be buy for less than 1€ (actullaly i'm driving my cheap rc switch with one of this, and a lua script and that works like a charme, i'm on the way to get state of this rcswitch if somebody use the remote)
With this of course you have to made your own script and use differente app to make Domoticz as full fonctionnal it can, hobby time is free.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 23
- Joined: Saturday 06 September 2014 15:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Using RTL_433 app as reciever
Very interesting! I believe I had an unused DVB-T receiver floating around here(based on the ebay pics), now find out what chipset it is. This might be the route for ditching the Kaku ICS-1000, I have a transmitter too but not working yet.
Please post your findings
Please post your findings
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Using RTL_433 app as reciever
About Kaku ICS-1000 every thing i can read is on NL language and i don't understand NL....
First off all try RTL_433 with your dongle to know if it works.
First off all try RTL_433 with your dongle to know if it works.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 23
- Joined: Saturday 06 September 2014 15:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Using RTL_433 app as reciever
The ICS-1000 has an evil twin brother from CoCo, there the information and manual is in English:
http://www.coco-technology.com/shop/en/ics-1000/
http://www.coco-technology.com/shop/en/ics-1000/
-
- Posts: 2
- Joined: Monday 21 September 2015 20:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Have some sensors which I added to rtl_433 source (kaku, and some weather sensors alecto protocol).
Am creating a script now which handles rtl_433, recognises these sensors and adds them into domoticz. Is there a working solution allready or would it be a nice addon for domoticz if I continue writing the script (using json calls).
Greetzz, Johan
Am creating a script now which handles rtl_433, recognises these sensors and adds them into domoticz. Is there a working solution allready or would it be a nice addon for domoticz if I continue writing the script (using json calls).
Greetzz, Johan
-
- Posts: 2
- Joined: Monday 21 September 2015 20:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Have a working script, which creates an rtl_433 virtual hardware and detects new devices known to the scripts, puts them as a new detected device in domoticz after which you can handle them as normal input. Started with prologue, continue with some more weather sensors.
If someone is interrested or want to give me a hand coding, pplease let me know. Written in python.
Best regards, Johan
If someone is interrested or want to give me a hand coding, pplease let me know. Written in python.
Best regards, Johan
-
- Posts: 33
- Joined: Friday 25 September 2015 9:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Do you still use this setup?deennoo wrote:yes, but can get one on EBAY for 8€.
A cheap 433mhz emiter can be buy for less than 1€ (actullaly i'm driving my cheap rc switch with one of this, and a lua script and that works like a charme, i'm on the way to get state of this rcswitch if somebody use the remote)
With this of course you have to made your own script and use differente app to make Domoticz as full fonctionnal it can, hobby time is free.
I also have this 433mhz transmitter but have no idea how to set this up with nu Rpi and Domoticz.
-
- Posts: 169
- Joined: Wednesday 30 September 2015 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8975
- Location: United Kingdom
- Contact:
Re: Using RTL_433 app as reciever
For what purposes do you need it? What is it you what to achieve?Koensk wrote:deennoo wrote: Do you still use this setup?
I also have this 433mhz transmitter but have no idea how to set this up with nu Rpi and Domoticz.
If this is on/off switches - easy. LightwaveRF - a bit more complex.
I have a cheap transmitter and I soldered an antenna to it - works flawlessly!.
-
- Posts: 33
- Joined: Friday 25 September 2015 9:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Just for use with kaku or other 433mhz switches.alexsh1 wrote:For what purposes do you need it? What is it you what to achieve?Koensk wrote:deennoo wrote: Do you still use this setup?
I also have this 433mhz transmitter but have no idea how to set this up with nu Rpi and Domoticz.
If this is on/off switches - easy. LightwaveRF - a bit more complex.
I have a cheap transmitter and I soldered an antenna to it - works flawlessly!.
Can you show me how you've got your set up?
-
- Posts: 169
- Joined: Wednesday 30 September 2015 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8975
- Location: United Kingdom
- Contact:
Re: Using RTL_433 app as reciever
No idea what kaku switch is, but suppose this is a simple 433Mhz device.
You have to do proper wiring. Mine is wired as follows:
Transmitter:
VCC - +5V (Pin 2 or any other similar)
GRD - Ground (Pin 6 or any other similar)
DATA - Pin 11
Receiver:
VCC - +5V (Pin 2 or any other similar)
GRD - Ground (Pin 6 or any other similar)
DATA - Pin 13
There is another DATA pin. Just ignore it
Download 433 utils
1. git clone git://github.com/ninjablocks/433Utils.git
2. cd 433Kit/RPi_utils
3. Install wiringPi - please follow the instruction in the Gordon's web-site http://wiringpi.com
4. IMPORTANT: Edit sendcode.cpp and change the transmitter's pin number to "0" (int PIN = 0;), which corresponds to Pin 11 in wiringPi. For more information, please see http://wiringpi.com/pins. Do the same for RFSniffer.cpp (int PIN = 2;) corresponding to my wiring above.
5. make
6. Do sudo ./RFSniffer and scan the codes for the kaku.
Please check out the following link - https://github.com/ninjablocks/433Utils
Hope it helps.
You have to do proper wiring. Mine is wired as follows:
Transmitter:
VCC - +5V (Pin 2 or any other similar)
GRD - Ground (Pin 6 or any other similar)
DATA - Pin 11
Receiver:
VCC - +5V (Pin 2 or any other similar)
GRD - Ground (Pin 6 or any other similar)
DATA - Pin 13
There is another DATA pin. Just ignore it
Download 433 utils
1. git clone git://github.com/ninjablocks/433Utils.git
2. cd 433Kit/RPi_utils
3. Install wiringPi - please follow the instruction in the Gordon's web-site http://wiringpi.com
4. IMPORTANT: Edit sendcode.cpp and change the transmitter's pin number to "0" (int PIN = 0;), which corresponds to Pin 11 in wiringPi. For more information, please see http://wiringpi.com/pins. Do the same for RFSniffer.cpp (int PIN = 2;) corresponding to my wiring above.
5. make
6. Do sudo ./RFSniffer and scan the codes for the kaku.
Please check out the following link - https://github.com/ninjablocks/433Utils
Hope it helps.
-
- Posts: 33
- Joined: Friday 25 September 2015 9:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Alexsh1,
Thanks so much for your reply. I've got it all working and manage to switch this on and of using ssh.
I'm only still searching how to implement this in Domoticz. I think I have to make a scipt or something, but can this just be the lunix commands I use in ssh? And how do I add a switch in Domoticz if I can't add a one when there is no hardware recognized?
But again, thanks for helping me this far
Thanks so much for your reply. I've got it all working and manage to switch this on and of using ssh.
I'm only still searching how to implement this in Domoticz. I think I have to make a scipt or something, but can this just be the lunix commands I use in ssh? And how do I add a switch in Domoticz if I can't add a one when there is no hardware recognized?
But again, thanks for helping me this far
-
- Posts: 169
- Joined: Wednesday 30 September 2015 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8975
- Location: United Kingdom
- Contact:
Re: Using RTL_433 app as reciever
You are welcomeKoensk wrote:Alexsh1,
Thanks so much for your reply. I've got it all working and manage to switch this on and of using ssh.
I'm only still searching how to implement this in Domoticz. I think I have to make a scipt or something, but can this just be the lunix commands I use in ssh? And how do I add a switch in Domoticz if I can't add a one when there is no hardware recognized?
But again, thanks for helping me this far

Now an easy part - go to the Hardware section and add a Dummy - call it 433 or something. Then go to "Switches" - click Manual Light/Switch - create a switch with hardware "433" and the rest does not matter (just pick any parameter). So you have a switch now, right? Click edit and add the you command line command under:
On Action: script:///home/pi/****/codesend **** (this corresponds to the command line "on")
Off Action: script:///home/pi/****/codesend **** (this corresponds to the command line "off")
Let me know how you get on.
-
- Posts: 33
- Joined: Friday 25 September 2015 9:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Ok putting all info together I finally got it working.
I didn't however put the commandline in the script path but the path to the script which contains the commands. Maybe a bit overdone but the command didn't work for me to put it in the scriptpath in fist instance.
So now I've got two scripts which are placed in the /domoticz/scipts folder
One is named kast.sh and looks like this.
I found out that making a script is not only done by making a text file. I had to run this
To change the file so it is recognized as a script.
Now inside domoticz things look like this:
I didn't however put the commandline in the script path but the path to the script which contains the commands. Maybe a bit overdone but the command didn't work for me to put it in the scriptpath in fist instance.
So now I've got two scripts which are placed in the /domoticz/scipts folder
One is named kast.sh and looks like this.
Code: Select all
#!/bin/bash
sudo /home/pi/433Utils/RPi_utils/codesend 16404
Code: Select all
$ chmod +x kast.sh
Now inside domoticz things look like this:
- Attachments
-
- domo.jpg (384.21 KiB) Viewed 7852 times
-
- Posts: 169
- Joined: Wednesday 30 September 2015 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8975
- Location: United Kingdom
- Contact:
Re: Using RTL_433 app as reciever
Apologies if I did not cover all steps, but I'd expect you to have some basic Linux knowledge (chmod is required for any script to run). FYG - this is not required to put the script inside Domoticz directory.
Most important you got it all working!!! Well done
Most important you got it all working!!! Well done
-
- Posts: 33
- Joined: Friday 25 September 2015 9:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
uhm.
Things stopped working here.
I don't know why but the scripts still work when I give the command in putty. But Domoticz seems not be able to run them anymore?
Maybe because I ran an update of the program to a more recent version?
Anyone any idea?
Things stopped working here.
I don't know why but the scripts still work when I give the command in putty. But Domoticz seems not be able to run them anymore?
Maybe because I ran an update of the program to a more recent version?
Anyone any idea?
-
- Posts: 169
- Joined: Wednesday 30 September 2015 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8975
- Location: United Kingdom
- Contact:
Re: Using RTL_433 app as reciever
Works fine in v.3586 for me
Double check your switch settings. On Action should be looking like "script:///home/pi/.........../codesend ******" (please note three slashes after the script)
Double check your switch settings. On Action should be looking like "script:///home/pi/.........../codesend ******" (please note three slashes after the script)
-
- Posts: 33
- Joined: Friday 25 September 2015 9:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Using RTL_433 app as reciever
Ok I put the codes in like you suggested but I had to run this command first: "sudo chown -v pi codesend"
Now it al works again
Thank you
Now it al works again
Thank you
Re: Using RTL_433 app as reciever
I'm using a cheap RTL_433 receiver to record information from a wireless weather station.
In order to do so I wrote a small script that receives the information, does a bit of formatting and then publishes the information using MQTT.
In Domoticz I've setup a couple of devices for Rain, Temperature and Wind.
The script publishes the information for these devices based on their Idx in JSON format.
Works like a charm.
In order to do so I wrote a small script that receives the information, does a bit of formatting and then publishes the information using MQTT.
In Domoticz I've setup a couple of devices for Rain, Temperature and Wind.
The script publishes the information for these devices based on their Idx in JSON format.
Works like a charm.
Who is online
Users browsing this forum: No registered users and 1 guest