Hi everyone,
Everything is in the title !
I try to have it to work in domoticz but it fails (latest beta and stable version )! the executable file rtl_433.exe and the twos dll are well on root c:\ but the log tells "rtl433 failed !"
Strange because It works great and receive data of my temp sensor if i manually launch it in a cmd terminal (but not from domoticz)
Any idea ?
Does anyone successfully use RTL433 with domoticz under windows ?
Thank you for your help,
Sam974
Envoyé de mon SM-G930F en utilisant Tapatalk
Does anyone successfully use RTL433 under windows ?
Moderator: leecollings
-
- Posts: 6
- Joined: Thursday 10 January 2019 23:09
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Does anyone successfully use RTL433 under windows ?
Hi,
Nobody ?!
So it seems that this plugin is not really used in domoticz !
Regards,
Sam
Envoyé de mon SM-G930F en utilisant Tapatalk
Nobody ?!
So it seems that this plugin is not really used in domoticz !
Regards,
Sam
Envoyé de mon SM-G930F en utilisant Tapatalk
-
- Posts: 9
- Joined: Tuesday 16 May 2017 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Does anyone successfully use RTL433 under windows ?
Can't comment for Windows, but it's broken under Linux. RTL_433 has changed the command line parameters, and returns error if you pass any of old parameters. Domoticz has hard coded a few command line parameters and one of them causes RTL_433 to exit with an error. Only way round it is to use an old version of RTL_433, or modify Domoticz. But as I was looking at the code, the way Domoticz interprets the RTL_433 output is kind-a hokey and didn't support any of the devices I was interested in. So I just created my own RTL_433 2 Domoticz wrapper. Even if you get the plugin going, you may be disappointed as it's quite limited.
-
- Posts: 14
- Joined: Wednesday 13 February 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Does anyone successfully use RTL433 under windows ?
Hi,mutley wrote: ↑Wednesday 13 February 2019 22:49 Can't comment for Windows, but it's broken under Linux. RTL_433 has changed the command line parameters, and returns error if you pass any of old parameters. Domoticz has hard coded a few command line parameters and one of them causes RTL_433 to exit with an error. Only way round it is to use an old version of RTL_433, or modify Domoticz. But as I was looking at the code, the way Domoticz interprets the RTL_433 output is kind-a hokey and didn't support any of the devices I was interested in. So I just created my own RTL_433 2 Domoticz wrapper. Even if you get the plugin going, you may be disappointed as it's quite limited.
Have you find a solution on Linux to use RTL_433 ?
Thanks
Jeremie
-
- Posts: 9
- Joined: Tuesday 16 May 2017 18:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Does anyone successfully use RTL433 under windows ?
I do. I created a wrapper for RTL_433 that will take the output and post it to MQTT, if you have Domoticz MQTT enabled it will post updated to that. It's not designed to be run from inside Domoticz, but rather as a completely separate process, that way you can execute it on a different machine. The configuration can be complex if you don't understand regular expressions. I didn't want to get into the same trap as the plugin by hardcoding everything so it takes a re-compile if Domoticz or RTL_433 changes, so the only way was using regular expressions in the config file.Jeremob wrote: ↑Thursday 14 February 2019 9:52Hi,mutley wrote: ↑Wednesday 13 February 2019 22:49 Can't comment for Windows, but it's broken under Linux. RTL_433 has changed the command line parameters, and returns error if you pass any of old parameters. Domoticz has hard coded a few command line parameters and one of them causes RTL_433 to exit with an error. Only way round it is to use an old version of RTL_433, or modify Domoticz. But as I was looking at the code, the way Domoticz interprets the RTL_433 output is kind-a hokey and didn't support any of the devices I was interested in. So I just created my own RTL_433 2 Domoticz wrapper. Even if you get the plugin going, you may be disappointed as it's quite limited.
Have you find a solution on Linux to use RTL_433 ?
Thanks
Jeremie
If you're interested I can clean up the code and write a bit of documentation and post it on GitHub. But I'll take me some time to do that and this will only ever really work for Linux.
-
- Posts: 14
- Joined: Wednesday 13 February 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Does anyone successfully use RTL433 under windows ?
Thanks for your replymutley wrote: ↑Friday 15 February 2019 0:47I do. I created a wrapper for RTL_433 that will take the output and post it to MQTT, if you have Domoticz MQTT enabled it will post updated to that. It's not designed to be run from inside Domoticz, but rather as a completely separate process, that way you can execute it on a different machine. The configuration can be complex if you don't understand regular expressions. I didn't want to get into the same trap as the plugin by hardcoding everything so it takes a re-compile if Domoticz or RTL_433 changes, so the only way was using regular expressions in the config file.Jeremob wrote: ↑Thursday 14 February 2019 9:52Hi,mutley wrote: ↑Wednesday 13 February 2019 22:49 Can't comment for Windows, but it's broken under Linux. RTL_433 has changed the command line parameters, and returns error if you pass any of old parameters. Domoticz has hard coded a few command line parameters and one of them causes RTL_433 to exit with an error. Only way round it is to use an old version of RTL_433, or modify Domoticz. But as I was looking at the code, the way Domoticz interprets the RTL_433 output is kind-a hokey and didn't support any of the devices I was interested in. So I just created my own RTL_433 2 Domoticz wrapper. Even if you get the plugin going, you may be disappointed as it's quite limited.
Have you find a solution on Linux to use RTL_433 ?
Thanks
Jeremie
If you're interested I can clean up the code and write a bit of documentation and post it on GitHub. But I'll take me some time to do that and this will only ever really work for Linux.
It seems to be complicated to use your solution, but if you write a documentation, why not
Take your time, it's not an emergency, and thanks for your share !
Who is online
Users browsing this forum: No registered users and 1 guest