RFLINK stopped working

433Mhz opensource Receiver & Transmitter.

Moderator: Stuntteam

Post Reply
redfirebrooks
Posts: 21
Joined: Sunday 07 January 2018 16:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

RFLINK stopped working

Post by redfirebrooks » Friday 14 September 2018 7:35

Hi
for an unknown reason my DIY RFLINK stoppes working.
I rebooted several time but it as always the same issue.
At boot it looks like is starts (the led of the 433 receiver blinks) and after few seconds it stops.
Here my logs :

Code: Select all

2018-09-14 07:17:54.374 Sunrise: 07:26:00 SunSet: 20:07:00
2018-09-14 07:17:54.374 Day length: 12:41:00 Sun at south: 13:05:00
2018-09-14 07:17:54.374 Civil twilight start: 06:54:00 Civil twilight end: 20:39:00
2018-09-14 07:17:54.374 Nautical twilight start: 06:16:00 Nautical twilight end: 21:17:00
2018-09-14 07:17:54.374 Astronomical twilight start: 05:37:00 Astronomical twilight end: 21:57:00
2018-09-14 07:17:54.936 Active notification Subsystems: pushbullet (1/13)
2018-09-14 07:17:54.004 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2018-09-14 07:17:54.017 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
2018-09-14 07:17:54.027 Status: Startup Path: /home/pi/domoticz/
2018-09-14 07:17:54.374 Status: EventSystem: reset all events...
2018-09-14 07:17:54.910 Status: PluginSystem: Started, Python version '3.5.3'.
2018-09-14 07:17:55.195 Starting shared server on: :::6144
2018-09-14 07:17:55.005 Status: WebServer(HTTP) started on address: :: with port 8080
2018-09-14 07:17:55.132 Status: WebServer(SSL) started on address: :: with port 443
2018-09-14 07:17:55.137 Status: Proxymanager started.
2018-09-14 07:17:55.195 Status: TCPServer: shared server started...
2018-09-14 07:17:55.196 Status: RxQueue: queue worker started...
2018-09-14 07:17:57.207 Status: AppLamp: Worker Started...
2018-09-14 07:17:57.207 Status: (IKEA-TRADFRI) Started.
2018-09-14 07:17:57.210 Status: Hardware Monitor: Started
2018-09-14 07:17:57.218 Status: DarkSky: Started...
2018-09-14 07:17:57.234 Status: EventSystem: reset all events...
2018-09-14 07:17:57.235 Status: EventSystem: reset all device statuses...
2018-09-14 07:17:57.398 Status: PluginSystem: Entering work loop.
2018-09-14 07:17:57.400 Status: RFLink: Using serial port: /dev/ttyUSB0
2018-09-14 07:17:57.669 Status: Python EventSystem: Initalizing event module.
2018-09-14 07:17:57.670 Status: EventSystem: Started
2018-09-14 07:17:57.670 Status: EventSystem: Queue thread started...
2018-09-14 07:17:58.206 (IKEA-TRADFRI) Failed to connect to IKEA tradfri COAP-adapter! Status: 111 Description: Connection refused
2018-09-14 07:17:58.206 (IKEA-TRADFRI) Device has disconnected
2018-09-14 07:17:58.088 Status: (IKEA-TRADFRI) Entering work loop.
2018-09-14 07:17:58.090 Status: (IKEA-TRADFRI) Initialized version 1.0.6, author 'moroen'
2018-09-14 07:17:58.662 Status: AppLamp: Bridge found!...
2018-09-14 07:18:08.572 (Météo) Temp + Humidity + Baro (THB)
2018-09-14 07:18:08.580 (Météo) Wind (Unknown)
2018-09-14 07:18:08.587 (Météo) UV (UV Index)
2018-09-14 07:18:08.596 (Météo) Rain (Unknown)
2018-09-14 07:18:08.605 (Météo) General/Visibility (Unknown)
2018-09-14 07:18:08.612 (Météo) General/Custom Sensor (Ozone Sensor)
2018-09-14 07:18:11.661 (IKEA-TRADFRI) Connected successfully to: 192.168.1.250
2018-09-14 07:18:11.003 Status: Incoming connection from: 127.0.0.1
2018-09-14 07:31:59.284 Status: User: Admin initiated a switch command (25/Lampe Salon/On)
2018-09-14 07:32:02.938 Status: User: Admin initiated a switch command (25/Lampe Salon/Off)
2018-09-14 07:32:05.486 Status: User: Admin initiated a switch command (25/Lampe Salon/On)
2018-09-14 07:32:45.330 Status: RFLink: serial retrying in 30 seconds...
2018-09-14 07:32:45.176 Error: Serial Port closed!... Error: End of file
2018-09-14 07:33:15.146 Status: RFLink: Using serial port: /dev/ttyUSB0
The last lines show a change of USB port.

What is wrong in your opinion and how to fix it ?

User avatar
EddyG
Posts: 320
Joined: Monday 02 November 2015 6:54
Target OS: Raspberry Pi
Domoticz version: 4.9999
Location: Rhenen, Netherlands
Contact:

Re: RFLINK stopped working

Post by EddyG » Friday 14 September 2018 9:14

Do a 'dmesg | grep tty' and find the port which states 'ch341'
Change in Domoticz hardware tab the RFlink to that port.
Regards,
Eddy

Tonio16
Posts: 33
Joined: Friday 23 February 2018 21:38
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: France
Contact:

Re: RFLINK stopped working

Post by Tonio16 » Friday 14 September 2018 13:38

Hello

Do you have other USB devices on the PI? Do you use persistent name for these USB devices?

Regards

Antoine

redfirebrooks
Posts: 21
Joined: Sunday 07 January 2018 16:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: RFLINK stopped working

Post by redfirebrooks » Saturday 15 September 2018 1:00

EddyG wrote:
Friday 14 September 2018 9:14
Do a 'dmesg | grep tty' and find the port which states 'ch341'
Change in Domoticz hardware tab the RFlink to that port.
Hello,

I have this
[ 0.000804] console [tty1] enabled
[ 0.832625] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 5.428870] usb 1-1.5: ch341-uart converter now attached to ttyUSB0
and it is set to ttyUSB0 on Domoticz

No other USB device on the Pi and no persistent name I guess (never set one)

Still no luck

Setting the port to ttyAMA0 the receiving led blinks. as soon as is set the ttyUSB0 after few seconds the led stops blinking.

User avatar
EddyG
Posts: 320
Joined: Monday 02 November 2015 6:54
Target OS: Raspberry Pi
Domoticz version: 4.9999
Location: Rhenen, Netherlands
Contact:

Re: RFLINK stopped working

Post by EddyG » Saturday 15 September 2018 9:46

Link about persistentUSBDevices: https://www.domoticz.com/wiki/PersistentUSBDevices You could give it a try.
Change the USB connection in an other port. Did you try all the Serialports which are present in the pulldown in Domoticz?
Did you remove power from Domoticz and RFLink, wait 10 sec. and apply power again?
Reflash RFLink could be a possibility.
Regards,
Eddy

redfirebrooks
Posts: 21
Joined: Sunday 07 January 2018 16:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: RFLINK stopped working

Post by redfirebrooks » Saturday 15 September 2018 11:28

Hi, thanks for your tips.
But still no luck... I will try a reflash.

Here are the logs when I change serial ports

Code: Select all

2018-09-15 11:23:09.595 Status: RFLink: Serial Worker stopped...
2018-09-15 11:23:09.806 Status: RFLink: Using serial port: /dev/serial1
2018-09-15 11:23:09.807 Error: Serial Port closed!... Error: End of file
2018-09-15 11:23:10.007 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:23:39.821 Status: RFLink: Using serial port: /dev/serial1
2018-09-15 11:23:39.821 Error: Serial Port closed!... Error: End of file
2018-09-15 11:23:40.021 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:24:09.835 Status: RFLink: Using serial port: /dev/serial1
2018-09-15 11:24:09.835 Error: Serial Port closed!... Error: End of file
2018-09-15 11:24:10.035 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:24:25.042 Status: RFLink: Serial Worker stopped...
2018-09-15 11:24:25.253 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-09-15 11:24:25.453 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:24:25.253 Error: Serial Port closed!... Error: End of file
2018-09-15 11:24:55.268 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-09-15 11:24:55.468 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:24:55.268 Error: Serial Port closed!... Error: End of file
2018-09-15 11:25:25.283 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-09-15 11:25:25.483 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:25:25.283 Error: Serial Port closed!... Error: End of file
2018-09-15 11:25:55.297 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-09-15 11:25:55.497 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:25:55.297 Error: Serial Port closed!... Error: End of file
2018-09-15 11:26:20.943 Status: Incoming connection from: 127.0.0.1
2018-09-15 11:26:25.310 Status: RFLink: Using serial port: /dev/ttyAMA0
2018-09-15 11:26:25.511 Status: RFLink: serial retrying in 30 seconds...
2018-09-15 11:26:25.310 Error: Serial Port closed!... Error: End of file
2018-09-15 11:26:37.135 (Météo) Temp + Humidity + Baro (THB)
2018-09-15 11:26:37.141 (Météo) Wind (Unknown)
2018-09-15 11:26:37.145 (Météo) UV (UV Index)
2018-09-15 11:26:37.151 (Météo) Rain (Unknown)
2018-09-15 11:26:37.156 (Météo) General/Visibility (Unknown)
2018-09-15 11:26:37.161 (Météo) General/Custom Sensor (Ozone Sensor)
2018-09-15 11:26:41.718 Status: RFLink: Serial Worker stopped...
2018-09-15 11:26:41.930 Status: RFLink: Using serial port: /dev/ttyUSB0

Tonio16
Posts: 33
Joined: Friday 23 February 2018 21:38
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: France
Contact:

Re: RFLINK stopped working

Post by Tonio16 » Monday 17 September 2018 7:44

Recently I had some troubles. I changed the USB cable and it looks to be solved. I would give a try, if I were you, you would avoid to start again from scratch.

Regards
Antoine

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests