4 ms·
I'm doing something similar although I don't think smart meters in the UK come with a debug port sadly - so I'm scraping a third party API instead. Wrote a sma
by djhworld 4y ago
I'm doing something similar although I don't think smart meters in the UK come with a debug port sadly - so I'm scraping a third party API instead.
Wrote a small script to regularly ingest the data into SQLite, then use Grafana to plot the results :)
- aequitas 4y agoCheck your meter to see if it has a blinking LED. Most meters have a pulse LED which blinks X times per kWh consumes. Before smart meters where a thing I used to have a light sensitive transistor taped to my meter and just count the pulses. Even older models might have a digit replaced with a mirror on the last indicator dial. Which can also easily be read. Another one is magnetic pulse output, which can be read with a HAL sensor, but those are mostly found on water meters. Don't be satisfied with aggregated low resolution scraped metrics is what i'm saying. Per second real-time power measuring is the thing you want :).
- djhworld 4y agoHahah that's amazing. My meter is one of the blinking ones yeah. I'm not sure if I have the patience to add sensors though. One interesting aspect of the meters is I think they talk over zigbee protocol, but I'm not sure how to tap into that. I think the in-home display uses it though to display "real time usage". The API I use gives 30m resolution which seems ok enough.
- Havoc 4y agoWhich provider / API? I'm on EDF w/ a smart meter but haven't seen anything that looks coding accessible
- djhworld 4y agoI signed up to this app https://play.google.com/store/apps/details?id=uk.co.hildebrand.brightionic&gl=US https://play.google.com/store/apps/details?id=uk.co.hildebra... and they have an API https://docs.glowmarkt.com/GlowmarktApiDataRetrievalDocumentationIndividualUser.pdf https://docs.glowmarkt.com/GlowmarktApiDataRetrievalDocument... Other people have suggested https://data.n3rgy.com/consumer/home https://data.n3rgy.com/consumer/home as an alternative as well As long as your smart meter is DCC connected they should work