Ron · @ron
18 followers · 174 posts · Server social.amichan.de

Ich bin jetzt endlich das leidige Problem mit dem absolut dämlich entwickelten HM-ES-TX-WM angegangen, der in Regelmäßigen Abständen einen Überlauf hat.

Um den in den Griff zu bekommen, habe ich eine stündlich aufgerufene Kontrollfunktion programmiert. Ich prüfe also stündlich, ob es einen Überlauf gegeben hat.

In dieser Funktion passiert folgendes:

Ich definiere ein paar Variablen und sorge dafür, dass es diese als Reading in meinem Strommesser, der bei mir EnergieZaehler heisst, gibt.

Das sind folgendes neue Readings:
Ueberlaufmesser: der zählt einfach die Überrläufe
Korrekturfaktor: beim Userreading brauche ich den, offensichtlich erwischt das System nicht alle Impulse und dreht schneller oder langsamer und dieser Faktor korrigiert das.
1.ENERGY_COUNTER_ALT: Hier wird der jeweils gültige Energiezähler abgespeichert, der in einer Stunde dann mit dem dann aktuellen Zähler verglichen wird. Ist der alte Zähler dann größer als der neue, aktuelle Zähler, gab es einen Überrlauf.
Und dann passiert folgendes: Der Überlaufmesser wird um eins hoch gezählt und das Userreading "Powermeter" in dem ich meinen Zählerstand speicher, wird mit diesem neuen Überlauf neu definiert.
Fertig. Alle paar Tage, bzw. alle grob 838 KWh, habe ich für eine Stunde einen falschen Zählerwert. Damit kann ich leben.

Hier noch der DEF-Teil meiner AT-Funktion (wenn die ihre Feuertaufe besteht, kommt die noch ins FHEM-Forum, der Wert 82067 im userReading ist mein Anfangszählerstand):

+*01:00:00
{
use strict;
use warnings;
my $EnergieZaehler_Ueberlaufmesser;
my $EnergieZaehler_Korrekturfaktor;
my $EnergieZaehler_1_ENERGY_COUNTER_ALT;
my $EnergieZaehler_1_ENERGY_COUNTER;
$EnergieZaehler_Ueberlaufmesser=ReadingsVal("EnergieZaehler","Ueberlaufmesser",0);
if ($EnergieZaehler_Ueberlaufmesser==0)
{
fhem("setreading EnergieZaehler Ueberlaufmesser $EnergieZaehler_Ueberlaufmesser");
}
$EnergieZaehler_Korrekturfaktor=ReadingsVal("EnergieZaehler","KorrekturFaktor","0");
if ($EnergieZaehler_Korrekturfaktor == 0)
{
fhem("setreading EnergieZaehler KorrekturFaktor $EnergieZaehler_Korrekturfaktor");
}

$EnergieZaehler_1_ENERGY_COUNTER_ALT=ReadingsVal("EnergieZaehler","1.ENERGY_COUNTER_ALT","0");
if ($EnergieZaehler_1_ENERGY_COUNTER_ALT==0)
{
fhem("setreading EnergieZaehler 1.ENERGY_COUNTER_ALT $EnergieZaehler_1_ENERGY_COUNTER_ALT");
}
$EnergieZaehler_1_ENERGY_COUNTER=ReadingsVal("EnergieZaehler","1.ENERGY_COUNTER","0");
if ($EnergieZaehler_1_ENERGY_COUNTER_ALT>$EnergieZaehler_1_ENERGY_COUNTER)
{
$EnergieZaehler_Ueberlaufmesser=$EnergieZaehler_Ueberlaufmesser + 1;
fhem("Attr EnergieZaehler userReadings Powermeter {round((sprintf('%.3f',ReadingsVal('EnergieZaehler','1.ENERGY_COUNTER','0')+(ReadingsVal('EnergieZaehler','Ueberlaufmesser','0')*838860.7) )/(ReadingsVal('EnergieZaehler','KorrekturFaktor','0')+82067),3)}");
}
$EnergieZaehler_1_ENERGY_COUNTER_ALT=ReadingsVal("EnergieZaehler","1.ENERGY_COUNTER","0");
fhem("setreading EnergieZaehler 1.ENERGY_COUNTER_ALT $EnergieZaehler_1_ENERGY_COUNTER_ALT");
}

#fhem #stromzahler #powermeter #smarthome #homematic

Last updated 1 year ago

IT News · @itnewsbot
3516 followers · 267513 posts · Server schleuss.online

Smart Powermeter Uses E-Paper Display - In most places around the world, electricity is getting ever more expensive. Cutti... - hackaday.com/2023/07/20/smart-

#home #homehacks #smartmeter #powermeter

Last updated 1 year ago

IT News · @itnewsbot
3496 followers · 266879 posts · Server schleuss.online

Hackaday Prize 2023: Pi Pico Measures Volts, Amps and Watts - Measuring a voltage is pretty easy: just place your multimeter’s probes across the... - hackaday.com/2023/07/16/hackad

#rp2040 #ina219 #wattmeter #toolhacks #powermeter

Last updated 1 year ago

Eric Bednarz · @generic
51 followers · 186 posts · Server ruhr.social

In 2018 I was on a cycling vacation with an early backer who was eagerly awaiting ROI as promised at the end of the year. I thought 2020 would be a lucky break back then.

It’s almost shipping now!

Or is it.

kickstarter.com/projects/14682

Some customer curated history:

facebook.com/groups/3109612569

It’s almost like manufacturing physical products is difficult.

#BikeTooter #powermeter #kickstarter

Last updated 1 year ago

DieAnne™ · @aynareth
46 followers · 301 posts · Server troet.cafe

Ich bin nicht gut in , eher so "Hoffentlich macht es nicht puff wenn ich es einstecke", darum bin ich auf meine immer etwas wenn es dann doch . Hier der erste für einen für . Ich wollte unbedingt eine Art dran haben, weil ich es eben kann.

#kirmes #diy #joystick #arduino #powermeter #rgb #starcitizen #controller #mining #test #funktioniert #stolz #leistung #elektronik

Last updated 2 years ago

Earth Notes · @EarthOrgUK
256 followers · 3744 posts · Server mastodon.energy

On Plug-in Mains Power Meters for the UK: Review (2008) - Find what's drawing what watts from the comfort of your own armchair, save energy and avoid bill shock! - earth.org.uk/note-on-plug-in-p

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
250 followers · 3409 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
247 followers · 3274 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
245 followers · 3105 posts · Server mastodon.energy

On Plug-in Mains Power Meters for the UK: Review (2008) - Find what's drawing what watts from the comfort of your own armchair, save energy and avoid bill shock! - earth.org.uk/note-on-plug-in-p

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
244 followers · 3040 posts · Server mastodon.energy

On Plug-in Mains Power Meters for the UK: Review (2008) - Find what's drawing what watts from the comfort of your own armchair, save energy and avoid bill shock! - earth.org.uk/note-on-plug-in-p

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
246 followers · 2990 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Ashwin Nanjappa 👨‍💻 · @codeyarns
59 followers · 1557 posts · Server hachyderm.io

I was curious to know how much power my devices draw when charging, so I got this Plugable USB-C power meter. It is a fun tool to have around, definitely recommend. 🔌

If you're planning to get a USB power meter, remember to get one that supports the latest USB PD 3.1 (i.e., measures up to 240W).

codeyarns.com/tech/2023-03-03-

#powermeter

Last updated 2 years ago

Earth Notes · @EarthOrgUK
243 followers · 2723 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
242 followers · 2640 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

PocketPC.ch · @pocketpcch
21 followers · 130 posts · Server botsin.space
Earth Notes · @EarthOrgUK
232 followers · 2331 posts · Server mastodon.energy

On Plug-in Mains Power Meters for the UK: Review (2008) - Find what's drawing what watts from the comfort of your own armchair, save energy and avoid bill shock! - earth.org.uk/note-on-plug-in-p

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
233 followers · 2313 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

Earth Notes · @EarthOrgUK
233 followers · 2300 posts · Server mastodon.energy

On Local Bytes Power Monitoring Smart Plug: Review - Learn how I set up and used this device preflashed with Tasmota! - earth.org.uk/note-on-Local-Byt

#powermeter #cutcarbon #frugal

Last updated 2 years ago

GeekProjects News · @news
1 followers · 2084 posts · Server geekprojects.com
IT News · @itnewsbot
2854 followers · 248586 posts · Server schleuss.online

Experimenting with 20 Meters of Outlet Adapters - You may have seen some of the EEVblog dumpster dive videos, where [Dave Jones] occ... - hackaday.com/2023/02/04/experi

#crazy #parts #powermeter #poweradapter

Last updated 2 years ago