Anyone interested in bidgely & wattvision updates to btmon?

Post any 3rd party software here.
Post Reply
sandeen
Posts: 41
Joined: Fri Jan 10, 2014 3:33 pm

Anyone interested in bidgely & wattvision updates to btmon?

Post by sandeen » Sat Jul 12, 2014 1:57 pm

I've sent this stuff off to mwall, but haven't heard back in a while; maybe he's sailing ATM. :)

I've hacked on btmon.py to use the new Bidgely API, and the newer Wattvision API as well.

(Wattvision wasn't working at all, but should now - it doesn't seem particularly featureful, but Bidgely shows promise, and I hope that with these fixes it'll be able to start doing appliance disaggregation).

Send me a note if you're interested in testing it; here are the changes I have queued up:

8db5cdd btmon: update Wattvision to API v0.2
d246954 btmon: fix reversed SqliteCollector arguments
ba6d53e btmon: Add Bidgely API 1.0.1 service
3921e6b btmon: Cast poll interval to an int for database & rrd collectors
9f46d25 btmon: fix bidgely/enersave upload granularity
dbc581f btmon: Update Xively API url

FWIW I have an updated btcfg, too:

c964341 btcfg: discover ECM-1240 device ID
83859bd btcfg: Add ability to set ECM-1240 gain on AUX channels
0a16203 btcfg: read and compute checksum in 'RCV' output for ECM-1240
7358517 btcfg: Add reboot command
24b24c9 btcfg: Parse ECM-1240 CT gain settings in 'RCV' output

-Eric
tazman1937
Posts: 3
Joined: Mon Dec 15, 2014 1:39 am

Re: Anyone interested in bidgely & wattvision updates to btm

Post by tazman1937 » Mon Dec 15, 2014 1:45 am

I'm really interested in this!
I just got an old TED 1001 reporting over serial to an old router running dd-wrt linux which is wirelessly bridged to my main router. It's uploading nicely to plotwatt with my rudimentary python knowledge, but my bidgely uploader gives strange responses despite endless troubleshooting. I'd love to see how you did it.... btmon.py doesn't have full bidgely API support nor wattvision, which I'm trying to get.

I'm probably going to cut the thing apart and run it within my python script as the old router I'm running it on may not have enough RAM for btmon to run..
sandeen
Posts: 41
Joined: Fri Jan 10, 2014 3:33 pm

Re: Anyone interested in bidgely & wattvision updates to btm

Post by sandeen » Sat Dec 27, 2014 7:35 pm

Sorry for the late reply; you can see my patch for bidgely at
http://sandeen.net/foo/btmon-bidgely.patch

I don't think it has any dependencies on other patches....

I really hope mwall does an updated release at some point ...
tazman1937
Posts: 3
Joined: Mon Dec 15, 2014 1:39 am

Re: Anyone interested in bidgely & wattvision updates to btm

Post by tazman1937 » Mon Jan 05, 2015 7:03 pm

Dumb question....
how do I apply this patch to the original btmon.py?
bbroge
Posts: 4
Joined: Sun Jan 20, 2013 1:45 am

Re: Anyone interested in bidgely & wattvision updates to btm

Post by bbroge » Wed Jan 07, 2015 10:26 am

I'd like to see an update for support of the Brultech Standalone Dashboard. Thanks.
ben
Site Admin
Posts: 4262
Joined: Fri Jun 04, 2010 9:39 am

Re: Anyone interested in bidgely & wattvision updates to btm

Post by ben » Wed Jan 07, 2015 10:31 am

tazman1937 wrote:Dumb question....
how do I apply this patch to the original btmon.py?
patch -p1 < <patchfile>.patch

should do if you have a Linux PC.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Post Reply