Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using the Billion Power Gateway model SG6200NXL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1589
Location: Adelaide/Australia

PostPosted: Fri Jan 01, 2021 2:15 am    Post subject: Using the Billion Power Gateway model SG6200NXL Reply with quote

Just an FYI, in case there is anyone in Gentoo land that has/used to/still is using a Billion Power Tracker SG6200NXL with power clamps to monitor electricity usage.
This is not about home automation, only the power monitoring clamps.

As you may have noticed, the website to which this device uploads data has been closed down, telling customers, for example, me, that they will eventually provide a mechanism to download previously uploaded power clamp readings. Yeah, sure.

That's ok, because the Power Tracker has USB slots, into which you can plug a USB key and it will populate a sqlite database which you can download, at any time and examine the data. Or, you could simply unmount the USB key and access the DB directly off the key.

This is all well and good, but my power tracker has decided that the USB ports no longer work, and after factory resets and much hair pulling (of what little hair I have left), I was left with a box which collected data from power clamps but did nothing with it. The box was useless, a waste of quite a bit of money.

However, apparently there is an API, from which you can retrieve the clamp power data in JSON form. I have a python script which does just that, populating a sqlite database whose format is the same as the 'downloaded' database and compatible with reporting tools that may utilise this database. The script is run as a cronjob periodically (once a minute for me).

The reason for this post is in case there are others in my situation, I am no python expert, the script is very basic but does the job. Should anyone be interested, feel free to let me know.
I am not an expert at github and feel it is a bit of a waste of time to establish a project there for something so niche as this but thought this post would show up in Google at some point, bringing attention to my favorite distro, Gentoo.

:)
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum