Page 1 of 1

RFLink no dev/usb to select in Domoticz (solved)

Posted: Wednesday 08 July 2020 20:13
by Backbone
HI guys,

Picking up Domoticz after a few years without.
New image on SD card and RFlink on MEGA2560 via USB connected to Pi2.
Pi lsusb shows USB port active.
=======================
pi@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
========================
Domoticz does not show dev/usb0 to be connected as shown in many paper and video samples.
Needless to say it does not work if I select any of the ports shown in the attachments.
dev/ttyACM0 and a reboot is no joy either as refered to in an other google search.

What can be the cause?
Any simple solution to track down the root problem?

The RFXcom diy works fine in RFlink loader Serial port logger when connected to a Windows 10 PC.

Thanks in advance,

Paco

Re: RFLink no dev/usb to select in Domoticz

Posted: Thursday 09 July 2020 20:05
by Dave21w
Er, not sure if I've misread your post but you say you have an RFLink (ATMEGA 2560) so why have you added and RFXCom as the hardware and not an RFLink ?

Re: RFLink no dev/usb to select in Domoticz

Posted: Friday 10 July 2020 14:54
by Backbone
Dave,

Your correct. My fault.
Thanks for your time.

I use the DIY RFLINK firmware with ATMEGA 2560.
Do not know why I try to connect with RFXCOM.

I tried the RFLINK USB from the hardware list.
Sofar no detection of hardware or switchs when press the learn button.

Will check later if I can get it to work now.

Paco

Re: RFLink no dev/usb to select in Domoticz

Posted: Sunday 12 July 2020 9:58
by Dave21w
How did you get on, did you make sure the "Accept new Hardware Devices" was active in the settings page?

Re: RFLink no dev/usb to select in Domoticz

Posted: Sunday 12 July 2020 12:03
by sancla
Try to follow this guide:
https://sancla.com/domoticz/raspbian-bu ... nd-rflink/

When you scroll down below, it also explains how you can test your RFLink with your own computer, to verify that it works correctly.

Re: RFLink no dev/usb to select in Domoticz

Posted: Friday 17 July 2020 9:29
by Backbone
Hello Sancla,

After numerous tries it is not yet working.
Your excellent manual did not bring me any closer as I follow the steps.
The problem is when a device is made and detection is on manually or for 5 minutes it does not detect any input which I know are around.
When Mega is connected to the PC and RFLOADER is running in serial log mode I can see the switch presses coming in.
This means R48 firmware,MEGA and RX modul are working.
I suspect the problem is in the PI.
I also checked the error message from the log that the python lib was not installed.
But as you can see I run 3.7 which is latest.
I am a Linux noob so have to rely on others to get me a step further.

Thanks for any time taken.

Paco

Re: RFLink no dev/usb to select in Domoticz

Posted: Friday 17 July 2020 9:30
by Backbone
One was missing

Re: RFLink no dev/usb to select in Domoticz

Posted: Friday 17 July 2020 9:33
by sancla
Could it be the power supply?
Are you using a proper power supply for the pi?
I assume you use the USB cable to connect the pi to the mega, thus powered by the pi?

I have seen similar strange issues that where in the end related to the power supply.

Could be something, not sure, could be a lot of things. But it's one to check and verify...

Re: RFLink no dev/usb to select in Domoticz (solved)

Posted: Tuesday 21 July 2020 20:58
by Backbone
Sancla,

Your are correct. Power supply issue.
Hooked up adjustable power supply and set it to 5.0 volt.
Stlil not working so I upped the voltage to 5.2 volt and it worked!

Thanks for the support and hints.

Regards, Paco

Re: RFLink no dev/usb to select in Domoticz (solved)

Posted: Tuesday 21 July 2020 21:10
by sancla
Your welcome, glad I could be of help!