I suppose Ocelot driver has bug
Posted: Thu Oct 04, 2007 11:07 am
Here is my problem:
When I use remote control to switch on/off x10 devices directly, HB updates status of x10 devices. But when ocelot switch on/off x10 devices HB doesn't update any status.
At first I thought that Ocelot doesn't send to HB any info when it controls x10 devices itself. I used COM port monitor to check exchange between PC (HB) and Ocelot. I could see that Ocelot sends info when it switches x10 devices but HD doesn't react to it.
According to my observation HD updates status when it received 0xFE HC KC but when HD receive 0xFB HC KC it doest update.
So are you sure that your Ocelot driver handles both x10 Ocelot responses?
Also after several period (5-10 minutes) HD stops to control Ocelot, some kind of COM port buffer problem, but maybe it caused by previous problem. Here is my log
Sep 27 2007,01:30:01PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:14PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:27PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:38PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:49PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:31:00PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:31:11PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:31:13PM,!! Exception encountered !!
Sometimes I have in log the following
Sep 26 2007,12:29:30PM,Ocelot,Error,"Purging Comm Port."
I really suffer from these problems because I can't use Ocelot and as result I can't control house equipments.
Andrey A.
When I use remote control to switch on/off x10 devices directly, HB updates status of x10 devices. But when ocelot switch on/off x10 devices HB doesn't update any status.
At first I thought that Ocelot doesn't send to HB any info when it controls x10 devices itself. I used COM port monitor to check exchange between PC (HB) and Ocelot. I could see that Ocelot sends info when it switches x10 devices but HD doesn't react to it.
According to my observation HD updates status when it received 0xFE HC KC but when HD receive 0xFB HC KC it doest update.
So are you sure that your Ocelot driver handles both x10 Ocelot responses?
Also after several period (5-10 minutes) HD stops to control Ocelot, some kind of COM port buffer problem, but maybe it caused by previous problem. Here is my log
Sep 27 2007,01:30:01PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:14PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:27PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:38PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:30:49PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:31:00PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:31:11PM,Ocelot,Error,"Error reading COM port. Error = Insufficient data in read buffer"
Sep 27 2007,01:31:13PM,!! Exception encountered !!
Sometimes I have in log the following
Sep 26 2007,12:29:30PM,Ocelot,Error,"Purging Comm Port."
I really suffer from these problems because I can't use Ocelot and as result I can't control house equipments.
Andrey A.