You are reading a single comment by @user130485 and its replies.
Click here to read the full conversation.
-
yes, I am. I have pasted the whole code (modified now a bit) here:
http://forum.espruino.com/conversations/366190/#comment16108564Is there a way to test how much power it's using? It's a closed box and I did my best to shield it. It is reading values ok. Signal can hardly get out of the box so had to install esp32 inside it. So dropped the to power to -4
Odd about the battery usage. Definitely being connected uses up a decent amount of power, but apart from that, just advertising, it should last for maybe 6 months.
Are you following http://www.espruino.com/Smart+Meter for reading the power usage, or something else? The way the LDR works, the more external light there is the higher the power usage, so that could be it? It's best to get it as dark as possible between the LDR and electricity meter