RFLink and Synology problems/challenges

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

veteiks
Posts: 5
Joined: Wednesday 08 February 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Czech Republic
Contact:

Re: RFLink and Synology problems/challenges

Post by veteiks »

hi, i have CH340 (this set https://www.nodo-shop.nl/nl/rflink-gate ... tenne.html), but with or without modification is same state..
Synology DS216play, RFlink -> NODO, Domoticz -> jadahl.com
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: RFLink and Synology problems/challenges

Post by jumbotroll »

Stuntteam wrote:Do you have an Arduino with CH340 or Atmega serial chip?
The Ch340 does not need the anti reset modification..
Log in to you NAS with ssh or Telnet and type: dmesg
you should have some output on ch341 like this:

[ 120.600809] usbcore: registered new interface driver usbserial
[ 121.050817] usbcore: registered new interface driver ch341
[ 121.056450] usbserial: USB Serial support registered for ch341-uart
[ 121.062865] ch341 6-2:1.0: ch341-uart converter detected
[ 121.083617] usb 6-2: ch341-uart converter now attached to ttyUSB0
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
veteiks
Posts: 5
Joined: Wednesday 08 February 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Czech Republic
Contact:

Re: RFLink and Synology problems/challenges

Post by veteiks »

hi, this is from ssh synology

[ 67.866220] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 68.198774] usbcore: registered new interface driver ch341
[ 68.204354] usbserial: USB Serial support registered for ch341-uart
[ 68.210778] ch341 2-1:1.0: ch341-uart converter detected
[ 68.239893] usb 2-1: ch341-uart converter now attached to ttyUSB0

this is "full" of usb part..

[ 67.814734] usbcore: registered new interface driver usbserial
[ 67.860378] usbcore: registered new interface driver ftdi_sio
[ 67.866220] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 68.038073] usbcore: registered new interface driver cp210x
[ 68.043739] usbserial: USB Serial support registered for cp210x
[ 68.146980] usbcore: registered new interface driver pl2303
[ 68.152684] usbserial: USB Serial support registered for pl2303
[ 68.198774] usbcore: registered new interface driver ch341
[ 68.204354] usbserial: USB Serial support registered for ch341-uart
[ 68.210778] ch341 2-1:1.0: ch341-uart converter detected
[ 68.239893] usb 2-1: ch341-uart converter now attached to ttyUSB0
[ 68.304752] usbcore: registered new interface driver ti_usb_3410_5052
[ 68.311299] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[ 68.319089] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[ 69.449213] usbcore: registered new interface driver snd-usb-audio
[ 69.773979] usbcore: registered new interface driver snd-usb-hiface
Synology DS216play, RFlink -> NODO, Domoticz -> jadahl.com
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: RFLink and Synology problems/challenges

Post by jumbotroll »

@veteiks
Yes, but I was interested in the:
[ 68.210778] ch341 2-1:1.0: ch341-uart converter detected
[ 68.239893] usb 2-1: ch341-uart converter now attached to ttyUSB0

and i the drivers seems to be ok.
Have you tested the RFLink on a another device?
Did you program the RFLink on a windows pc and confirmed that the software is in place?
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
veteiks
Posts: 5
Joined: Wednesday 08 February 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Czech Republic
Contact:

Re: RFLink and Synology problems/challenges

Post by veteiks »

jumbotroll wrote:@veteiks
Yes, but I was interested in the:
[ 68.210778] ch341 2-1:1.0: ch341-uart converter detected
[ 68.239893] usb 2-1: ch341-uart converter now attached to ttyUSB0

and i the drivers seems to be ok.
Have you tested the RFLink on a another device?
Did you program the RFLink on a windows pc and confirmed that the software is in place?
i uploaded firmware to rflink with windows pc via rflink loader, after upload i turn on serial port logging:

20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R45;
20;01;MiLight=OFF;NO NRF24L01;
10;version;
20;02;VER=1.1;REV=45;BUILD=09;
10;status;
20;03;STATUS;setRF433=ON;setNodoNRF=OFF;setMilight=ON;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=OFF;
Synology DS216play, RFlink -> NODO, Domoticz -> jadahl.com
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: RFLink and Synology problems/challenges

Post by jumbotroll »

@veteiks
I have not tested my synology with serial port logging, but you can always test to disable serial port logging and see if that helps.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
User avatar
Stuntteam
Posts: 399
Joined: Wednesday 06 May 2015 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFLink and Synology problems/challenges

Post by Stuntteam »

When you activate serial port logging in RFLink Loader it is only active until the next reboot.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic RFLink Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
veteiks
Posts: 5
Joined: Wednesday 08 February 2017 10:26
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Czech Republic
Contact:

Re: RFLink and Synology problems/challenges

Post by veteiks »

hi, all is ok now, i found wrong soldered components on rflink mainboard, but i found defect :-)

here is log from synology:

2017-02-08 17:28:29.905 RFLink: Using serial port: /dev/ttyUSB0
2017-02-08 17:28:30.754 RFLink: Controller Initialized!...
2017-02-08 17:28:30.829 RFLink Detected, Version: 1.1 Revision: 45 Build: 9

thank you for support;-)
Synology DS216play, RFlink -> NODO, Domoticz -> jadahl.com
Cyberwizzard
Posts: 4
Joined: Saturday 03 June 2017 14:45
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: RFLink and Synology problems/challenges

Post by Cyberwizzard »

I'm having issues with the RFLink board as well - where do I enable serial logging and how can I see the serial communications?
Cyberwizzard
Posts: 4
Joined: Saturday 03 June 2017 14:45
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: RFLink and Synology problems/challenges

Post by Cyberwizzard »

I figured out I also have problems with /usr/syno/sbin/synousbmodemd

Domoticz first opens the serial port and then synousbmodemd seems to claim it - I now manually kill the process every reboot but how do I disable it?
peterkps
Posts: 1
Joined: Thursday 20 July 2017 1:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: RFLink and Synology problems/challenges

Post by peterkps »

Last week i bought an "RFLink - all in one package" for the Synology DS216 at nodo-shop.nl.

However, problems with operating the KAKU devices. Regular timeout notifications.
This package included an original (Made in Italy) Arduino Mega with amtel serial chip. Now I replaced these with an aliexpress cloon with a CH340 serial chip and did not see the error message anymore.

It seems like that amtelchip i.c.m. The Synology is not going well.

------------------------------------------------------------------------------

Sinds afgelopen week in het bezit van een "RFLink - alles in een pakket" voor de Synology DS216. Gekocht bij nods-shop.nl.

Echter problemen met het bedienen van de KAKU devices. Regelmatig timeout meldingen.
Bij dit pakket zat een originele (Made in Italy) Arduino Mega met amtel seriele chip. Nu heb ik deze vervangen door een aliexpress-cloon met een CH340 seriele chip en heb de foutmelding niet meer gezien.

Het lijkt er toch op dat die amtelchip i.c.m. de Synology niet lekker gaat.
User avatar
sincze
Posts: 1300
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: RFLink and Synology problems/challenges

Post by sincze »

Issue at my parents house DS211 DSM 5.2 (so no more Jadahl updates unfortunately).

This Synology and Domoticz Stable have been running for over a year without problems.
SInce last 2 weeks... Lights did not turn on. Restarted Synology and Domoticz package (both).

Code: Select all

2018-08-23 08:39:06.000 Error: RFLink: TX time out...
2018-08-23 08:39:06.000 Error: Error sending switch command, DevID: 38, Time: 2018-08-23 08:39:01
The Arduino mega has a CH340.

Code: Select all

[  149.220000] USB Serial support registered for ch341-uart
[  149.230000] ch341 1-1.3:1.0: ch341-uart converter detected
[  149.430000] usb 1-1.3: ch341-uart converter now attached to ttyUSB0
[  149.440000] usbcore: registered new interface driver ch341
If I just go to settings hardware.. select rflink (v46) and press update it will run for a while.

Code: Select all

2018-08-23 19:58:49.081 RFLink: Serial Worker stopped...
2018-08-23 19:58:49.543 RFLink: Using serial port: /dev/ttyUSB0
2018-08-23 19:58:50.419 RFLink: Controller Initialized!...
2018-08-23 19:58:50.499 RFLink Detected, Version: 1.1 Revision: 46 Build: 0
2018-08-23 20:04:04.406 RFLink: 20;08;PONG;
2018-08-23 20:04:56.907 RFLink: 20;09;PONG;

But will stop eventually with the same time-outs. What did I miss??
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest