Windows 10 problems
Posted: Thu Aug 31, 2017 12:21 pm
Hi,
I just installed Housebot on windows 10 and it is not working. The problem seems to be in the serial interface. I use a USB->serial converter that is working fine with housebot on a windows XP machine.
When I start housebot, all checks out and the serial interface is found and initialized (I can also see this on the interface since it has a green light that stops blinking and turn solid green when the interface is found, same on the XP machine). First error I see in the "recent errors"box is: Unable to start IPC server Error = Only one usage of each socket address (protocol/network address port) is normally permitted.
When I try to execute a task, I get the following errors:
Error reading COM port. error = Insufficient data in read buffer.
Due to an error, Device [Switch C1] Property [Power State DID NOT change.
Here you can find a copy of the log cvs from a couple of tries:
8/31/2017 05:55:05 PM CM11 interface Debug Responding to power fail poll.
8/31/2017 05:55:05 PM CM11 interface Debug --> Read NOT Pending... WriteData. 8 bytes
8/31/2017 05:55:05 PM CM11 interface Debug Writing [8] bytes [9b 07 6b 05 56 20 60 00]
8/31/2017 05:55:07 PM CM11 interface Debug CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Unsolicited] read buffer. Waited 1 seconds.
8/31/2017 05:55:07 PM CM11 interface Debug The [Solicited] Buffer contains 0 bytes [].
8/31/2017 05:55:07 PM CM11 interface Debug --> Read Pending... WriteData. 1 bytes
8/31/2017 05:55:07 PM CM11 interface Debug Writing [1] bytes [8b]
8/31/2017 05:55:21 PM CM11 interface Debug CSerialPort::ReadData() is requesting 14 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
8/31/2017 05:55:21 PM CM11 interface Debug The [Unsolicited] Buffer contains 0 bytes [].
8/31/2017 05:55:21 PM CM11 interface Debug CM11A Firmware version [0]
8/31/2017 06:03:45 PM CM11 interface Debug Sending X10 Command - Begin
8/31/2017 06:03:45 PM CM11 interface Debug Sending X10 Command Part 1
8/31/2017 06:03:45 PM CM11 interface Debug --> Read Pending... WriteData. 2 bytes
8/31/2017 06:03:45 PM CM11 interface Debug Writing [2] bytes [04 2a]
8/31/2017 06:03:57 PM CM11 interface Debug CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
8/31/2017 06:03:57 PM CM11 interface Debug The [Unsolicited] Buffer contains 0 bytes [].
8/31/2017 06:03:57 PM CM11 interface Error Error reading COM port. Error = Insufficient data in read buffer
8/31/2017 06:07:14 PM CM11 interface Debug Sending X10 Command - Begin
8/31/2017 06:07:14 PM CM11 interface Debug Sending X10 Command Part 1
8/31/2017 06:07:14 PM CM11 interface Debug --> Read Pending... WriteData. 2 bytes
8/31/2017 06:07:14 PM CM11 interface Debug Writing [2] bytes [04 66]
8/31/2017 06:07:25 PM CM11 interface Debug CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
8/31/2017 06:07:25 PM CM11 interface Debug The [Unsolicited] Buffer contains 0 bytes [].
8/31/2017 06:07:25 PM CM11 interface Error Error reading COM port. Error = Insufficient data in read buffer
I tried several compatibility modes including XP SP2 what is running on the PC that is working. I start housebot as admin.
Like I said, I know the converter and CM11 work, since I can test them on the XP machine. The converter also works fine on windows 10 with other software (tested it with a serial terminal)
I hope you can help me with this.
EDIT: It also seems that I am unable to stop the HouseBotServer.exe. I get an Access denied error so I need to restart my PC every time I want to restart housebot, quite annoying. Also tested it on a windows 8 machine and get the same problem/errors.
Thanks,
Roel
I just installed Housebot on windows 10 and it is not working. The problem seems to be in the serial interface. I use a USB->serial converter that is working fine with housebot on a windows XP machine.
When I start housebot, all checks out and the serial interface is found and initialized (I can also see this on the interface since it has a green light that stops blinking and turn solid green when the interface is found, same on the XP machine). First error I see in the "recent errors"box is: Unable to start IPC server Error = Only one usage of each socket address (protocol/network address port) is normally permitted.
When I try to execute a task, I get the following errors:
Error reading COM port. error = Insufficient data in read buffer.
Due to an error, Device [Switch C1] Property [Power State DID NOT change.
Here you can find a copy of the log cvs from a couple of tries:
8/31/2017 05:55:05 PM CM11 interface Debug Responding to power fail poll.
8/31/2017 05:55:05 PM CM11 interface Debug --> Read NOT Pending... WriteData. 8 bytes
8/31/2017 05:55:05 PM CM11 interface Debug Writing [8] bytes [9b 07 6b 05 56 20 60 00]
8/31/2017 05:55:07 PM CM11 interface Debug CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Unsolicited] read buffer. Waited 1 seconds.
8/31/2017 05:55:07 PM CM11 interface Debug The [Solicited] Buffer contains 0 bytes [].
8/31/2017 05:55:07 PM CM11 interface Debug --> Read Pending... WriteData. 1 bytes
8/31/2017 05:55:07 PM CM11 interface Debug Writing [1] bytes [8b]
8/31/2017 05:55:21 PM CM11 interface Debug CSerialPort::ReadData() is requesting 14 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
8/31/2017 05:55:21 PM CM11 interface Debug The [Unsolicited] Buffer contains 0 bytes [].
8/31/2017 05:55:21 PM CM11 interface Debug CM11A Firmware version [0]
8/31/2017 06:03:45 PM CM11 interface Debug Sending X10 Command - Begin
8/31/2017 06:03:45 PM CM11 interface Debug Sending X10 Command Part 1
8/31/2017 06:03:45 PM CM11 interface Debug --> Read Pending... WriteData. 2 bytes
8/31/2017 06:03:45 PM CM11 interface Debug Writing [2] bytes [04 2a]
8/31/2017 06:03:57 PM CM11 interface Debug CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
8/31/2017 06:03:57 PM CM11 interface Debug The [Unsolicited] Buffer contains 0 bytes [].
8/31/2017 06:03:57 PM CM11 interface Error Error reading COM port. Error = Insufficient data in read buffer
8/31/2017 06:07:14 PM CM11 interface Debug Sending X10 Command - Begin
8/31/2017 06:07:14 PM CM11 interface Debug Sending X10 Command Part 1
8/31/2017 06:07:14 PM CM11 interface Debug --> Read Pending... WriteData. 2 bytes
8/31/2017 06:07:14 PM CM11 interface Debug Writing [2] bytes [04 66]
8/31/2017 06:07:25 PM CM11 interface Debug CSerialPort::ReadData() is requesting 1 bytes and there are only 0 bytes [] in the [Solicited] read buffer. Waited 10 seconds.
8/31/2017 06:07:25 PM CM11 interface Debug The [Unsolicited] Buffer contains 0 bytes [].
8/31/2017 06:07:25 PM CM11 interface Error Error reading COM port. Error = Insufficient data in read buffer
I tried several compatibility modes including XP SP2 what is running on the PC that is working. I start housebot as admin.
Like I said, I know the converter and CM11 work, since I can test them on the XP machine. The converter also works fine on windows 10 with other software (tested it with a serial terminal)
I hope you can help me with this.
EDIT: It also seems that I am unable to stop the HouseBotServer.exe. I get an Access denied error so I need to restart my PC every time I want to restart housebot, quite annoying. Also tested it on a windows 8 machine and get the same problem/errors.
Thanks,
Roel