Re: synology package : how to use x10 protocol
Posted: Saturday 27 February 2016 10:28
The USB device is visible in the configuration screen of synology as an external device
Connecting the first time takes a while, a few failures are visible in the log, but when it is connected I see devices coming in.
So learned all my the devices into domoticz to migrate them from the raspberry pi to the synology
Direct commands from the command line don't work seem to work, but they are not realy needed since you can do the same using json commands through domoticz
One thing I have to look into is that I disabled RF on the unit before and now I see RF signals coming in
So will hook the unit up to a windows PC later and see if the internal settings changed and RF is now enabled...
But after a reboot of the synology the controller can't be connected
2016-02-27 09:58:38.486 TCP: Reconnecting...
2016-02-27 09:58:38.487 Mochad: Can not connect to: 127.0.0.1:1099
2016-02-27 09:58:38.487 TCP: Connection problem (Unable to connect to specified IP/Port)
2016-02-27 09:58:38.487 TCP: Reconnecting in 30 seconds...
Until domoticz crashes, stops and my script restarts it.
CPU load remains about 15% so it is not crashing due to the load
I disabled and enabled the device in domoticz, no luck...
Removed the drivers from the package center and re-installed them, no luck...
Disconnected the device and re connected, no luck
When connecting the first time after a reboot, domoticz seems to see the mochad driver connecting:
2016-02-27 10:15:00.559 Mochad: Can not connect to: 127.0.0.1:1099
2016-02-27 10:15:00.559 TCP: Connection problem (Unable to connect to specified IP/Port)
2016-02-27 10:15:00.559 TCP: Reconnecting in 30 seconds...
2016-02-27 10:15:02.373 Incoming connection from: 192.168.2.250
after the first time, domoticz seems to crash faster and faster, the number of times it failed connections seem to get smaller after every crash, but that can also be just a variation due to other trafic
do you need any logging?
any tips, tricks?
remove persistent USB devices from the synology in some way? or fix the device on a adres?
Connecting the first time takes a while, a few failures are visible in the log, but when it is connected I see devices coming in.
So learned all my the devices into domoticz to migrate them from the raspberry pi to the synology
Direct commands from the command line don't work seem to work, but they are not realy needed since you can do the same using json commands through domoticz
One thing I have to look into is that I disabled RF on the unit before and now I see RF signals coming in
So will hook the unit up to a windows PC later and see if the internal settings changed and RF is now enabled...
But after a reboot of the synology the controller can't be connected
2016-02-27 09:58:38.486 TCP: Reconnecting...
2016-02-27 09:58:38.487 Mochad: Can not connect to: 127.0.0.1:1099
2016-02-27 09:58:38.487 TCP: Connection problem (Unable to connect to specified IP/Port)
2016-02-27 09:58:38.487 TCP: Reconnecting in 30 seconds...
Until domoticz crashes, stops and my script restarts it.
CPU load remains about 15% so it is not crashing due to the load
I disabled and enabled the device in domoticz, no luck...
Removed the drivers from the package center and re-installed them, no luck...
Disconnected the device and re connected, no luck
When connecting the first time after a reboot, domoticz seems to see the mochad driver connecting:
2016-02-27 10:15:00.559 Mochad: Can not connect to: 127.0.0.1:1099
2016-02-27 10:15:00.559 TCP: Connection problem (Unable to connect to specified IP/Port)
2016-02-27 10:15:00.559 TCP: Reconnecting in 30 seconds...
2016-02-27 10:15:02.373 Incoming connection from: 192.168.2.250
after the first time, domoticz seems to crash faster and faster, the number of times it failed connections seem to get smaller after every crash, but that can also be just a variation due to other trafic
do you need any logging?
any tips, tricks?
remove persistent USB devices from the synology in some way? or fix the device on a adres?