Rflink not adding new devices in Domoticz

Moderator: leecollings

Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Rflink not adding new devices in Domoticz

Post by Morek86 »

Hi All
I am having problems with my Domoticz/Rflink as it is not adding new devices to domoticz.
I have bought 433 remote controler but is not picked up by domoticz.
Rflink loader is picking up signal for all 3 buttons from remote as Keeloq so it should be fine as it is supported by rflink according to their website.
New devices are enabled in domoticz settings.
I tried everything already like swapping ports in rpi, fresh domoticz install, fresh rflink firmware. And still nothing.
Even if i try learning new switch nothing. Tx time out message pop up.
Please advise what I am doing wrong or what else can i do.
I have attached log from domo.
2020-03-27 18:28:47.214 Status: (zigbee2mqtt) Entering work loop.
2020-03-27 18:28:47.214 Status: (zigbee2mqtt) Initialized version 0.0.19
2020-03-27 18:28:47.313 Status: MQTT: Connecting to 192.168.72.154:1883
2020-03-27 18:28:47.451 Status: RFLink: Controller Initialized!...
2020-03-27 18:28:47.514 Status: MQTT: connected to: 192.168.72.154:1883
2020-03-27 18:28:47.527 Status: RFLink Detected, Version: 1.1 Revision: 48 Build: 4
2020-03-27 18:28:47.714 Status: MQTT: Subscribed
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Scan for new devices disabled?
Check these howto's: https://sancla.com
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

sancla wrote: Friday 27 March 2020 20:26 Scan for new devices disabled?
It is enabled
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

I have done everything like in this guide but still nothing.

Just to be clear trying to add
https://www.ebay.co.uk/itm/264169258831

Was trying to add sonoff rf remote but been advised it is not supported.
Last edited by Morek86 on Friday 27 March 2020 20:59, edited 1 time in total.
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Well, that is strange indeed...

Could the RFlink be the source of your problems? You could test this by downloading the latest firmware. With that firmware zip package, you will find a Windows application. If you connect your RFlink with your computer and this apply, you are able to see the raw incoming data and verify the workings of the RFlink.
Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

sancla wrote: Friday 27 March 2020 20:57 Well, that is strange indeed...

Could the RFlink be the source of your problems? You could test this by downloading the latest firmware. With that firmware zip package, you will find a Windows application. If you connect your RFlink with your computer and this apply, you are able to see the raw incoming data and verify the workings of the RFlink.
The Rflink loader is recognisig the remote as Keeloq.
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Hmmm, you already verified it I just read (I should read better...).

The only thing I can think of is that you selected the wrong port in Domoticz. Besides that, I assume that everything else is stock and default?

Perhaps it's a bug with the latest version, been reading about some issues about that on the forum for the past few days.
Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

sancla wrote: Friday 27 March 2020 21:01 Hmmm, you already verified it I just read (I should read better...).

The only thing I can think of is that you selected the wrong port in Domoticz. Besides that, I assume that everything else is stock and default?

Perhaps it's a bug with the latest version, been reading about some issues about that on the forum for the past few days.
So RFLink is bought from NODO shop with soldering option.
I had the same problem before updating Domo to latest version as well.
Everything stock and default as I am newbie :) I am using couple of sonoffs on tasmota but those work fine.
Port in domoticz is set for this long one with adruino in the name.
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

You could try to read the raw serialfeed in rasbian.
Use minicom for that (not sure if this is stock, you can install it with apt install minicom).


minicom -b 57600 -D /dev/ttyACM0 -8 -o

Above is an example, you can find the right port easily in Domoticz. Remove the hardware in Domoticz if necessary.
Check these howto's: https://sancla.com
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »


"minicom -b 57600 -D /dev/ttyACM0 -8 -o"
Check these howto's: https://sancla.com
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »


minicom -b 57600 - D /dev/ttyACM0 -8 -o
Without the space between - and D.

Bloody smilies...
Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

sancla wrote: Friday 27 March 2020 21:25 minicom -b 57600 - D /dev/ttyACM0 -8 -o
Without the space between - and D.

Bloody smilies...
What should i look for after this comand? I am completly new in this :D
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Well, with that, you can actually read the raw data from the RFlink on your pi. That way, you know that it's either a hardware/Operating system issue or something in Domoticz.
Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

sancla wrote: Friday 27 March 2020 21:40 Well, with that, you can actually read the raw data from the RFlink on your pi. That way, you know that it's either a hardware/Operating system issue or something in Domoticz.
So if I press the remote I can see received signal. But i think due to language is set to Polish i see only small windows mixed with "f"
But signal is received by rpi
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

It's good practice to keep backend systems in English. That way, you have better community support.

But for now, it's hard for me to help you with that info. Could you perhaps send a screenshot or photo, perhaps we can make anything of it...
Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

sancla wrote: Friday 27 March 2020 21:51 It's good practice to keep backend systems in English. That way, you have better community support.

But for now, it's hard for me to help you with that info. Could you perhaps send a screenshot or photo, perhaps we can make anything of it...
Changed back to English will send you screenshot on pm
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Read the Linux part, this is what I am going for:

http://www.rflink.nl/blog2/development
Check these howto's: https://sancla.com
Morek86
Posts: 17
Joined: Sunday 26 January 2020 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by Morek86 »

See attached screen shoot. I really dont know how to operate in Linux so I have also run the test through RFlink loader.

20;08;RFUDEBUG=ON;
20;09;Keeloq;ID=4dc2;SWITCH=04;CMD=ON;BAT=OK;
20;0A;DEBUG;Pulses=82;Pulses(uSec)=330,300,240,330,270,300,270,330,240,330,270,300,240,300,240,330,240,330,270,300,270,300,240,3750,270,690,630,330,270,690,270,690,630,330,630,330,630,300,240,690,240,690,630,300,240,690,270,690,240,690,630,330,240,690,240,690,240,690,630,300,630,330,630,330,270,690,630,330,630,330,630,300,270,690,630,300,630,330,240,690,240,690;
20;0B;DEBUG;Pulses=124;Pulses(uSec)=300,300,210,300,210,300,240,300,240,330,240,330,240,3750,240,720,630,330,240,720,240,720,630,330,630,330,630,330,240,720,240,720,630,330,240,720,240,720,240,720,630,330,240,720,240,720,240,720,630,330,630,330,630,330,240,720,630,330,630,330,630,330,240,720,630,330,630,330,240,720,240,720,240,720,630,330,240,720,630,330,240,720,630,330,630,330,240,720,240,720,630,330,240,720,240,720,240,720,630,330,630,330,630,330,630,330,240,720,630,330,630,330,630,330,630,330,630,330,630,330,630,330,210,6990;
20;0C;DEBUG;Pulses=128;Pulses(uSec)=30,420,240,720,240,720,600,330,600,330,600,330,600,330,600,330,240,720,630,330,240,720,240,720,240,720,240,720,240,720,630,330,630,330,240,720,630,330,240,720,240,720,240,720,630,330,240,720,630,330,240,720,240,720,630,330,240,720,240,720,630,330,240,720,630,330,630,330,240,720,240,720,630,330,240,720,240,720,240,720,630,330,630,330,630,330,630,330,240,720,630,330,630,330,630,330,630,330,600,330,630,330,630,330,630,330,630,330,630,330,630,330,630,330,630,330,600,330,630,330,630,330,240,720,630,330,630,6990;
Attachments
Bez tytułu.png
Bez tytułu.png (69.15 KiB) Viewed 1971 times
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Rflink not adding new devices in Domoticz

Post by sancla »

Well, first thing I notice in the screenshot is that your RFlink is still on firmware R40, latest version is R48.

Second, it is strange that first you get a clear ASCII responses followed by some gibberish.

Try to update your RFlink firmware to the latest version and see if that helps. Also, you could share this info on the RFlink forum, could be that the problem is not related to Domoticz...

The other results except the screenshot you posted seems to be fine.
Check these howto's: https://sancla.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest