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

Moderator: leecollings

Post Reply
Backbone
Posts: 46
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

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

Post 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
Attachments
rfxcom2.png
rfxcom2.png (157.41 KiB) Viewed 2141 times
rfxcom.JPG
rfxcom.JPG (74.46 KiB) Viewed 2141 times
Last edited by Backbone on Tuesday 21 July 2020 20:59, edited 1 time in total.
Dave21w
Posts: 375
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post 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 ?
Backbone
Posts: 46
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post 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
Dave21w
Posts: 375
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post by Dave21w »

How did you get on, did you make sure the "Accept new Hardware Devices" was active in the settings page?
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post 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.
Check these howto's: https://sancla.com
Backbone
Posts: 46
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post 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
Attachments
rflink test3.JPG
rflink test3.JPG (101.47 KiB) Viewed 2052 times
rflink test2.JPG
rflink test2.JPG (83.64 KiB) Viewed 2052 times
rflink test.JPG
rflink test.JPG (106.41 KiB) Viewed 2052 times
Backbone
Posts: 46
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post by Backbone »

One was missing
Attachments
rflink test4.JPG
rflink test4.JPG (64.25 KiB) Viewed 2052 times
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: RFLink no dev/usb to select in Domoticz

Post 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...
Check these howto's: https://sancla.com
Backbone
Posts: 46
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

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

Post 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
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

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

Post by sancla »

Your welcome, glad I could be of help!
Check these howto's: https://sancla.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest