I've just moved homeseer to a new Windows XP VM which is running on Linux/KVM (libvirt/qemu). To remove any delay caused by the Portserver TS (Serial / IP) i've connected serveral USB to Serial cables to my linux box and forwarded /dev/ttyUSB* to WindowsXP.
Code: Select all
13-8-2012 18:50:00 - debugOTc - OTCommand: PS OTValue: 1
13-8-2012 18:50:00 - debugOTc - opening COM1 port succesful
13-8-2012 18:50:01 - debugOTm - Response from Serial Port: PF00000010/00000000,SE10.00,00000000/00000000,100.00,0/0,17.00,0.00,0.00,22.79,28.00,0.00,0.00,0.00,0/0,0/0,0.00,0.00,11707,0,0,0,860,0,0,111
13-8-2012 18:50:01 - debugOTm - Reply: 00000010/00000000,SE10.00,00000000/00000000,100.00,0/0,17.00,0.00,0.00,22.79,28.00,0.00,0.00,0.00,0/0,0/0,0.00,0.00,11707,0,0,0,860,0,0,111
13-8-2012 18:50:01 - OTmonitor error - communication: Conversion from string "SE10,00" to type 'Double' is not valid.
13-8-2012 18:50:25 - debugOTc - OTCommand: PS OTValue: 1
13-8-2012 18:50:25 - debugOTc - opening COM1 port succesful
13-8-2012 18:50:26 - debugOTm - Response from Serial Port: PF00000010/00000000,SE10.00,00000000/00000000,100.00,0/0,17.00,0.00,0.00,22.79,28.00,0.00,0.00,0.00,0/0,0/0,0.00,0.00,11707,0,0,0,860,0,0,111
13-8-2012 18:50:26 - debugOTm - Reply: 00000010/00000000,SE10.00,00000000/00000000,100.00,0/0,17.00,0.00,0.00,22.79,28.00,0.00,0.00,0.00,0/0,0/0,0.00,0.00,11707,0,0,0,860,0,0,111
13-8-2012 18:50:26 - OTmonitor error - communication: Conversion from string "SE10,00" to type 'Double' is not valid.
It seemd multiple carrier returns or linefeeds where send. I'm not sure if this is due to a specific .net/vb/windows sp/other software change or due to all serial connections being forwarded to linux.
PS=1 + 2x CR with precise timing caused a 'SE' in the summary line.
After replacing all (4x) vbCrLf with vbCr things started working again. I do know the difference between a CR and LF but as i'm not a coder/scripter, i'm not sure why this change was needed and if it will have any other consequences