I am bombarded with ads on Facebook for the Sense. This device allows you to monitor whole-home power consumption. ... I realized it would be extremely simple to do something similar without any wires or hassle. Sense monitors two things: * instantaneous current * instantaneous voltage Different devices have different electrical signatures, and this allows it to learn what devices you have in your house. RTL-SDR is m…
I've been recording my power and gas usage via RTL-SDR for over a year. You only get a data point a few times a minute (if that). However, I can usually (though not always), with context, tell that a big spike was my hot water heater vs air conditioner, etc. (Though it's not enough to get totals for the day/month/year per appliance.)
Monitoring Home Power Consumption for less than $25
131–137 of 137 posts
Re: Monitoring Home Power Consumption for less than $25
#132Earlier quoted context omitted.
No MACs?
There are unique device Ids, they kinda like MACs.
Re: Monitoring Home Power Consumption for less than $25
#133Earlier quoted context omitted.
I've been recording my power and gas usage via RTL-SDR for over a year. You only get a data point a few times a minute (if that). However, I can usually (though not always), with context, tell that a big spike was my hot water heater vs air conditioner, etc. (Though it's not enough to get totals for the day/month/year per appliance.)
What are you using for reading your gas meter?
Re: Monitoring Home Power Consumption for less than $25
#134How does the power company actually get the information transmitted by the meter? One of the articles the author links to says that it is collected by the power company sending someone with an appropriate receiver to drive around collecting the data. However, my power company website lets you look up your usage on their website, and that is updated daily which makes me seriously doubt that there are any manual steps…
Other companies / meters will create a mesh network and rebroadcast all data back to the utility company. (I don't believe mine does that.)
Re: Monitoring Home Power Consumption for less than $25
#135- First, check to be sure your meter is compatible. (My gas and electric are both Itron) https://github.com/bemasher/rtlamr/blob/master/meters.csv I recommend taking a photo of your meter. (helpful for reference and comparing numbers)
- Next buy the antenna and dongle. Probably obvious, but I tried buying one with out the antenna and it wasn't good enough, so I had to modify an old wifi router antenna to make it work. I just searched amazon for rtl-sdr.
- Once it arrives, plug it in and install the rtlsdr software/driver. I think this may have involved installing a kernel module, but I didn't run into any trouble on linux. (I used pre-compiled binaries for my old 64-bit laptop running Ubuntu 16.04) You can test things by picking up fm radio via rtl_fm.
- Next, install golang, and "go get rtlamr".
- To monitor, you first start rtl_tcp and let it run in the background, and then run rtlamr which connects (via tcp) to rtl_tcp to tune the device and get raw output.
- The dongle can get pretty warm/hot.
- My meter has the meter number printed right underneath a big barcode. The first two digits are 12 or 05 for the meter type. I found this to be a pretty easy way to find the meter.
- My meter broadcasts two extra decimal places, so if the meter display says 123456 kwh, it actually broadcasts 12345678 (I appreciate the extra precision). When processing things, I just add a 0 on the end to make it watt-hours. (This is true for gas too.)
- I get a reading from my power meter every few seconds. About once a minute for gas.
- I log all of my meter readings and append to a giant ~700mb CSV file.
- I have a once-a-minute cron job that computes per-minute usage for the last 48 hours. (I save that to a static file and then graph using nginx + javascript. I started out by graphing using excel/numbers)
- I also have a daily cron job that computers per-day usage going back to October 2016.
I keep rtlamr and rtl_tcp running using systemd. The rtlamr command I use is: /home/collin/bin/rtlamr -filterid=543xxxxx,490xxxxx -format=csv -quiet >> /home/collin/data.csv
Re: Monitoring Home Power Consumption for less than $25
#136Earlier quoted context omitted.
I built a purely local version using the Raven USB Zigbee modem, flask and D3.js. Crude, uses SQLite but might be of interest. The XML decoding is only hard part really. https://github.com/phubbard/raven-peewee
Cool! Did you have any trouble convincing your utility company to enable the ZigBee module? Or do they do things differently?
Re: Monitoring Home Power Consumption for less than $25
#137Earlier quoted context omitted.
There are unique device Ids, they kinda like MACs.
Old thread, but GP probably talked about a different thing. Not MAC as in Ethernet.. https://en.m.wikipedia.org/wiki/Message_authentication_code