wh accumulator is NULL and inactive on raspberry pi and brultech GEM

I'm relatively new to emoncms.  I've had a Brultech GEM for a couple of years, and was using Smart Energy Groups website for monitoring.  I decided to try emoncms a couple of weeks ago.

I've had a raspberry pi lying around for a while, so I decided to install btmon.by on it, and forward the GEM data to emoncms.org.  I created an account on emoncms.org, and successfully got btmon working to send the data.  Then I decided to install emoncms locally on the raspberry pi.

I bought a 1TB USB driver to attach to the raspberry pi, installed the Debian Wheezy and emoncms.  After a bit of trial and error I got it up and running, and got btmon.py to forward the GEM data to the local emoncms.

The GEM has CT 32 channels.  Each channel provides a real time watts reading, and an accumulated wh reading.  It also has some temperature and pulse readings, which I don't use.  The inputs to emoncms are working and are updated fine, and when I create a feed using "Log to Feed" for the read time watts reading and it appears to log correctly.  However, when I create an feed with "Wh Accumulator" for the CT wh data, the feed shows "inactive" with a value of NULL.

I think this was working fine on the emoncms.org site, but doesn't work on emoncms on the raspberry pi.

I decided to try upgrading the pi to Debian Jessie, and reinstall emoncms and btmon.  I get the same results.  "Wh Accumulator" doesn't work.  For now, I've just created feeds for channel 1, the Main power.

I followed the following URL to install emoncms on Jessie: https://github.com/emoncms/emoncms/blob/9.0/docs/RaspberryPi/install_Raspbian_Jessie.md

I've attached screen shots showin the Main power, Main wh, and my feeds.

Raspberry pi V2

RASPIAN Jessie 4.1

Server Information

Emoncms Version 9 RC2 | 2015.09.15
Server OS Linux 4.1.7+
Host raspberrypi raspberrypi (127.0.1.1)
Date 2015-11-13 21:38:22 EST
Uptime 21:38:22 up 3:01, 2 users, load average: 0.25, 0.12, 0.09
HTTP Server Apache/2.4.10 (Raspbian) HTTP/1.1 CGI/1.1 80
Database Version MySQL 5.5.44-0+deb8u1
Host localhost (127.0.0.1)
Date 2015-11-13 21:38:22 (UTC -05:00‌​)
Stats Uptime: 10829 Threads: 1 Questions: 49351 Slow queries: 0 Opens: 56 Flush tables: 1 Open tables: 49 Queries per second avg: 4.557
PHP Version 5.6.14-0+deb8u1 (Zend Version 2.6.0)
Modules Core   date   ereg   libxml   openssl   pcre   zlib   bcmath   bz2   calendar   ctype   dba   dom   hash   fileinfo   filter   ftp   gettext   SPL   iconv   mbstring   session   posix   Reflection   standard   shmop   SimpleXML   soap   sockets   Phar   exif   sysvmsg   sysvsem   sysvshm   tokenizer   wddx   xml   xmlreader   xmlwriter   zip   apache2handler   PDO   curl   dio   json   mcrypt   mysql   mysqli   pdo_mysql   readline   redis   mhash   Zend OPcache  

 

mblitz's picture

Re: wh accumulator is NULL and inactive on raspberry pi and brultech GEM

I reinstalled from scratch, except I cloned emoncms git branch v8.5, and "Wh Accumulator" appear to work. So it appears to be a bug in version 9 RC2.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.