Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Moderator: leecollings
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Hello, when I restore my DB on my new NAS DS718+ I have this error: 'Error sending switch command, check device/hardware (idx=nnn) !' may be the 'Error opening serial port is the cause'. But why ? /dev/ttyUSB0 is done for the RFXcom. Thank's for your help
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- waltervl
- Posts: 5855
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Did you set the USB device correctly in menu Setup - Hardware - RFLink?
It probably changed name when using another Synology.
Is the USB driver working on your new Synology?
It probably changed name when using another Synology.
Is the USB driver working on your new Synology?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Yes, for me RFXtrx433XL is correctly set :
and USB is activated at reboot by a scheduler task.NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- waltervl
- Posts: 5855
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
So when do you get this error? What device is IDX=nnn? Is it related to Rfxcom?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Errors from Lamps & Switches (RFXcom)
No update for these devices (Water meter X10 RFXcom)
View log with errors serial port and JSON
No update for these devices (Water meter X10 RFXcom)
View log with errors serial port and JSON
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- waltervl
- Posts: 5855
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Yes there seems to be a communication error with your USB device. I am not familiar with Synology but it seems that on newer Linux environments you have usb devices by IDwhat do you see when you open the Port pull down list from the hardware setting? Do you see more USB devices next to ttyUSB0?
The Dzvents error can be solved by setting your security settings correctly, especially trusted networks and switch on basic auth over http. https://www.domoticz.com/wiki/Security
The Dzvents error can be solved by setting your security settings correctly, especially trusted networks and switch on basic auth over http. https://www.domoticz.com/wiki/Security
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
I only saw /dev/ttyUSB0 nothing else !
When I list tty on the 2 NAS USB was 1-1 on DS215 but 3-1 on DS718.
May be it is the problem because DS215 have only 2 usb ports while DS718 have 3.
When I list tty on the 2 NAS USB was 1-1 on DS215 but 3-1 on DS718.
May be it is the problem because DS215 have only 2 usb ports while DS718 have 3.
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- waltervl
- Posts: 5855
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
what do you see using
Code: Select all
ls -al /dev/serial/by-id
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Too bad the /Dev/serial/ directory is for new Linuxes but not mine.
Does this correspond to your request?
Does this correspond to your request?
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- waltervl
- Posts: 5855
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
I am out of options..... I hope somebody with a Synology will come by.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 197
- Joined: Wednesday 31 May 2017 16:06
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Congrats with your new Syno. I run Domoticz on a DS718 for years.
Two questions:
1: Can you tell us what version of DSM you run? 6.2 or 7.1
2: Are you running Domoticz in a Docker container?
Two questions:
1: Can you tell us what version of DSM you run? 6.2 or 7.1
2: Are you running Domoticz in a Docker container?
Synology with Domoticz build (V2024.7) in Docker
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
@PieterS I installed the latest DSM 7.1 and yes Domoticz is under docker
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
... but on my DS215 Domoticz (jadhal) is installed on DSM 6.2.4
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
-
- Posts: 197
- Joined: Wednesday 31 May 2017 16:06
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Restore from 2020.2 (on DS215+) to 2023.1 (on DS718+) : Error opening serial port !
Your model was orginally delivered with DSM 6.2.. Updating to DSM 7.0 gave the "famous" problem you have.
In the WIKI of Domoticz ( https://www.domoticz.com/wiki/Synology) there is an article how to solve your problem. I suggest you should have a look there. There is a link to https://github.com/robertklep/dsm7-usb-serial-drivers which seems hopefull to me.
As my Synology is still on 6.2 I cannot help you further on this subject. The problem you describe was the reason for me not to upgrade in the past. Maybe you can downgrade?
Good luck anyway.
In the WIKI of Domoticz ( https://www.domoticz.com/wiki/Synology) there is an article how to solve your problem. I suggest you should have a look there. There is a link to https://github.com/robertklep/dsm7-usb-serial-drivers which seems hopefull to me.
As my Synology is still on 6.2 I cannot help you further on this subject. The problem you describe was the reason for me not to upgrade in the past. Maybe you can downgrade?
Good luck anyway.
Synology with Domoticz build (V2024.7) in Docker
- Marathon2010
- Posts: 37
- Joined: Tuesday 02 February 2021 23:02
- Target OS: NAS (Synology & others)
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Restore from 2020 (on DS215+) to 2023 (on DS718+) : Error opening serial port !
Did perform an upgrade on my DS920+ from DSM 6 to DSM 7. Faced two issues: 1) USB (for Z-wave and P1) like above not available and 2) Mosquitto not running. Implemented the solution of Bearded Thinker for USB (Search on YouTube for a video) and both are running fine now. For Mosquitto did a full remove (including data) and did a clean install of the new package. Also working fine.
Running Domiticz and Zwave-JSMQTT both under Docker.
Sneak preview:
/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm
Running Domiticz and Zwave-JSMQTT both under Docker.
Sneak preview:
/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm
Synology NAS DS920+ DSM7 (Docker) | Integrations: Audio, Heating, Gas, Electricity, Water, Alarm, Car, Camera, Doorbell, Garage | SW: Tasmota, DzVents, Pushbullet | Plugins: GPSLogger, BatteryLevel, Hyundai KIA, Rhasspy
Who is online
Users browsing this forum: No registered users and 1 guest