Installed weewx on the Chip Computer <https://getchip.com/pages/chip> connected 
to my Acurite 2032c  which can be viewed here 
<http://www.andylittle.us/weewxdev/>.  Seems to be working ok for the last 
couple hours.  The backup battery connector is a nice feature.  Wonder how 
long the permanently attached storage will hold up.  

cmon is not happy with the new hardware
Aug 25 19:42:16 chip weewx[17756]:     ****     
 self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, 
record=record, origin='software'))
Aug 25 19:42:16 chip weewx[17756]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 218, in dispatchEvent
Aug 25 19:42:16 chip weewx[17756]:     ****      callback(event)
Aug 25 19:42:16 chip weewx[17756]:     ****    File 
"/home/weewx/bin/user/cmon.py", line 581, in new_archive_record
Aug 25 19:42:16 chip weewx[17756]:     ****     
 self.save_data(self.get_data(now, self.last_ts))
Aug 25 19:42:16 chip weewx[17756]:     ****    File 
"/home/weewx/bin/user/cmon.py", line 601, in get_data
Aug 25 19:42:16 chip weewx[17756]:     ****      record = 
self.collector.get_data(now_ts)
Aug 25 19:42:16 chip weewx[17756]:     ****    File 
"/home/weewx/bin/user/cmon.py", line 474, in get_data
Aug 25 19:42:16 chip weewx[17756]:     ****      s = 
self._readproc_line(tfile)
Aug 25 19:42:16 chip weewx[17756]:     ****    File 
"/home/weewx/bin/user/cmon.py", line 371, in _readproc_line
Aug 25 19:42:16 chip weewx[17756]:     ****      info = fp.read()
Aug 25 19:42:16 chip weewx[17756]:     ****  IOError: [Errno 22] Invalid 
argument
Aug 25 19:42:16 chip weewx[17756]:     ****  Exiting.

root@chip:/home/weewx# cat /proc/cpuinfo 
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1001.88
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2

Hardware : Allwinner sun4i/sun5i Families
Revision : 0000
Serial : 162542940781d366

The Chip Computer has a connection for a 3.6v battery and a script which 
pulls the stats.  If the Chip proves to be stable, on the to do list is get 
the battery into cmon or adapt the APC UPS monitor in cmon.
root@chip:/home/weewx# battery.sh 
BAT_STATUS=0
CHARG_IND=0
BAT_EXIST=1
CHARGE_CTL=0xc9
CHARGE_CTL2=0x45
Battery voltage = 4115.1mV
Battery discharge current = .5mA
Battery charge current = 0mA








-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to