Live data from Hacker News

Thinking About Smart Home Power Usage

blakeniemyjski.com

21–30 of 54 posts

Re: Thinking About Smart Home Power Usage

#21

How do you turn off smart bulbs which require power to retain connectivity settings/configuration?

My Hue smart bulbs retain connectivity and configuration settings when powered off (via the light switch). If they didn't it would be awful -- you would have to reconnect and reconfigure every bulb in the house after each power outage. I assume the data is stored in some kind of flash memory.

My personal guess would be that the settings are stored either on the Hue hub or within the app you use to connect to it. Mostly because, I've noticed, after someone turns off my Hue bulbs by accident by flipping the switch and then turns them on, they don't get restored to the same scene setting as they were before. I have to manually change back to the scene it was on before being powered off.

On another hand, after reading some articles a while ago that mentioned security issues surrounding smart bulbs (when it comes to selling them to someone after using them in your own home due to some persisted settings), I bet that your theory could be correct as well.

Re: Thinking About Smart Home Power Usage

#22
post #21

Earlier quoted context omitted.

My Hue smart bulbs retain connectivity and configuration settings when powered off (via the light switch). If they didn't it would be awful -- you would have to reconnect and reconfigure every bulb in the house after each power outage. I assume the data is stored in some kind of flash memory.

My personal guess would be that the settings are stored either on the Hue hub or within the app you use to connect to it. Mostly because, I've noticed, after someone turns off my Hue bulbs by accident by flipping the switch and then turns them on, they don't get restored to the same scene setting as they were before. I have to manually change back to the scene it was on before being powered off. On another hand, afte…

Yeah I hacked around on the Hue REST API a few years back and this is how it works.

Re: Thinking About Smart Home Power Usage

#24

In the Netherlands when smart meters where introduced one of the requirements was that the meters should have a port with a defined standard (DSMR[0]) which could be used by the house occupant to read metrics for themselved. The standard is pretty well setup with newer versions giving per second power/gas usage readings in human parsable ascii over rs232 on an rj11 connector. [0] https://www.netbeheernederland.nl/_up…

I have an implementation [0] of DSMR for esp8266 that I integrated to home assistant over MQTT.

[0] - https://github.com/WhoSayIn/esp8266_dsmr2mqtt

Re: Thinking About Smart Home Power Usage

#25

> The real shocker was when I decided to measure only the Wemo mini smart plug with nothing connected was costing me $0.31/day. I can't buy this. That's 3,100 Wh each day, or roughly 130W constant usage. That much energy being dissipated in the plastic housing would be burning hot to the touch, or melt it. I'd wager he's off by a couple orders of magnitude. 1.3W is much more likely for a smart plug to draw. The 55W h…

To calculate the math more correctly, a 1W smart plug is contributing $0.09/month to the $400 electrical bill quoted. This is a stellar example of a micro-optimization, in programming terms. Focusing on big spenders like "anything with a pump" and "anything that generates heat" would contribute significantly to reductions. I once upgraded video cards, reducing my computer's power draw by 180W and lowering my electric…

> ... and "anything that generates heat" would contribute significantly to reductions.

I never measured it, but there was one area that I quickly put a Tasmota plug on. My stereo receiver under the TV.

One day I was putting around the den and I noticed a lot of heat emanating from the credenza under the TV. It was my Sony receiver just sitting there, dutifully amplifying the null input from the turned-off TV.

So I added the plug, and told Home Assistant to turn the receiver on whenever the TV was on, and turn it off when the TV is off. My guess is that I'm saving 20-40W this way. $2-$4 a month.

(FWIW, this is the first time I've ever been glad to have a "smart" TV. The only feature I use on that TV is the ability for Home Assistant to see it)

Re: Thinking About Smart Home Power Usage

#26

We used to use those Kill-a-Watt probes at work to classify smart home device power draw. Emphasis on "used to". They are not very accurate at all, and the sampling interval over which they take data on wall power draw is slow enough that you will miss important changes in current draw on your DUT. We have since switched over to expensive, calibrated Agilent power analyzers with better time resolution. The post is we…

A EE video[1] shows such a bad power factor on a mere smoke alarm that the VA reading is 20VA for less than 1W actual consumption. An unsuspecting "power meter" might overestimate actual dissipation.

[1] https://www.youtube.com/watch?v=_kI8ySvNPdQ

Re: Thinking About Smart Home Power Usage

#27
My utility also installed smart meters recently - the Focus AXRe with Gridstream RF. It theoretically has Zigbee in it. It even has the Zigbee logo on it. I haven't figured out if I can read it yet, but in fairness I also haven't put a lot of work into figuring it out either. At the very least I could not get Smartthings to see it. So if anybody knows anything more about this meter I would love to know. :)

But I DID discover that my utility, buried down in like 5 menus on some random screen of the account portal, offers a usage graph at 15 minute intervals. It's not real time - it seems to be delayed by 1-3 hours - but it is far better than getting a surprise bill. And while it used some weird SAP JSON interface, I could deduce what was what and could get the data out of it.

So I whipped up a script to basically scrape this "API" and shove the data into InfluxDB. I also added daily scrapes for the billing page and the rate page so I know when I was billed and how much the current rate is. This is because my utility bills at a lower rate for the first 1,400 kwh, and a higher rate for everything over that. I was not able to discern any pattern to when the bills were issued and the utility company was very unhelpful in this regard, just "sometime ever 27 to 35 days depending on holidays and weekends."

This [0] is the result of combining all the data. While I would really like realtime data directly off the meter, even being delayed a few hours is better than a random surprise $370 bill. I've written enough scrapers in my life to know it will probably break at some point, but it's been humming along nicely for the last few months.

[0] https://imgur.com/a/SwdHnCV

Re: Thinking About Smart Home Power Usage

#28
post #21

Earlier quoted context omitted.

My Hue smart bulbs retain connectivity and configuration settings when powered off (via the light switch). If they didn't it would be awful -- you would have to reconnect and reconfigure every bulb in the house after each power outage. I assume the data is stored in some kind of flash memory.

My personal guess would be that the settings are stored either on the Hue hub or within the app you use to connect to it. Mostly because, I've noticed, after someone turns off my Hue bulbs by accident by flipping the switch and then turns them on, they don't get restored to the same scene setting as they were before. I have to manually change back to the scene it was on before being powered off. On another hand, afte…

That changed with updated bulb firmware. Initially bulbs would reset to their default state on power on, but they're now able to save state. The way I read it this behavior is not dependent upon the hub or app.

The Phillips app is so junky I just use the hard power switches somewhat frequently.

https://huehomelighting.com/new-power-feature-to-retain-colo...

Re: Thinking About Smart Home Power Usage

#29

We used to use those Kill-a-Watt probes at work to classify smart home device power draw. Emphasis on "used to". They are not very accurate at all, and the sampling interval over which they take data on wall power draw is slow enough that you will miss important changes in current draw on your DUT. We have since switched over to expensive, calibrated Agilent power analyzers with better time resolution. The post is we…

Do you have some of that data available? I think his data does seem off, but all these always on devices have to be costing something right? Curious what that cost actually is.

> but all these always on devices have to be costing something right?

They probably are; that depends on how badly they're designed. But that doesn't mean they should.

Consumer devices aren't usually as efficient as they could be with some more design work, which I think makes people have a wrong reference point about how much power is needed to do things. As a counterexample and a way to reset the reference, consider e.g.:

- That there exist radio devices that are designed to run for years off a single CR2032 battery.

- That there are microcontrollers that can still execute your code while drawing nanoamps.

- My 9 m.o. kid has a plush moon with a string attached to it; when you pull it, it plays a loud melody (that part is mechanical) and flashes LEDs for ~30 seconds. Both are powered from the mechanical energy of your pull.

The way I see it, a typical device on standby and/or a typical wall wart not charging anything shouldn't pull more than some micro- or even nanowatts. So they shouldn't cost you more than a hundredth of a cent a month each. Now of course they do, there are probably some engineering constraints here (like more complicated devices wanting to keep RAM powered), and there are definitely business constraints (low-power design is more expensive). But to me, a device whose standby mode is noticeable on the power bill is simply broken.

Re: Thinking About Smart Home Power Usage

#30

> The real shocker was when I decided to measure only the Wemo mini smart plug with nothing connected was costing me $0.31/day. I can't buy this. That's 3,100 Wh each day, or roughly 130W constant usage. That much energy being dissipated in the plastic housing would be burning hot to the touch, or melt it. I'd wager he's off by a couple orders of magnitude. 1.3W is much more likely for a smart plug to draw. The 55W h…

1.5W is cheap to operate, but my god, for the job done that seems like a relative power glutton. Entire x86 processors can operate, not idle, at 5W.

My favorite story on the subject of relative waste:

https://reductionrevolution.com.au/blogs/news-reviews/584256...

Post reply on HN