Hey guys,
I've done some more investigating. I still only have the USB lead. Santa missed my tech letter!
This is the output from minicom: 57600-8-N-1 on /dev/ttyUSB1
<msg><src>CC128-v0.15</src><dsb>00020</dsb><time>21:43:39</time><tmprF>69.7</tmprF><sensor>0</sensor><id>00077</id><type>1
</type><ch1><watts>00463</watts></ch1><ch2><watts>00624</watts></ch2></msg>
<msg><src>CC128-v0.15</src><dsb>00020</dsb><time>21:43:45</time><tmprF>69.7</tmprF><sensor>0</sensor><id>00077</id><type>1
</type><ch1><watts>00464</watts></ch1><ch2><watts>00633</watts></ch2></msg>
(ignore the wrapping problems, everything between <msg></msg> appears on separate lines)
In CC module, have /dev/ttyUSB1 and unit set to 20
It will not capture device/show data
If I lock the port with minicom, I get:
2010/12/29 21:43:38 [CurrentCost] Error reading data from serial port! -> End of file
2010/12/29 21:43:38 [CurrentCost] Error reading data from serial port! -> End of file
2010/12/29 21:43:50 [CurrentCost] Error reading data from serial port! -> End of file
2010/12/29 21:43:50 [CurrentCost] Error reading data from serial port! -> End of file
So,
It looks like its trying to open the port, but either not capturing or processing data. Where does DomotiGa store the data?
All I can think of is the code doesnt set the unit number right, or theres some syntax error.
Any ideas? I've not used gambas before. If I modify the class code, do I need to compile?
Thanks

Andy