kWh monitoring via S0-port

194 views
Skip to first unread message

Dirk Rijckaert

unread,
Jul 30, 2021, 10:51:57 AM7/30/21
to TasmotaUsers
Someone must have done this before: with Tasmota on a Wemos D1 mini it is easy to register the pulses via the S0 port of a kWh meter as an ascending counter (1000 pulses = 1 kWh).
Can someone help me (with rules I suppose) to:
1. measure the current power in Watts
2. measure the daily consumption in kWh
3. reset the counter at midnight.
Thanks for the help.

Philip Knowles

unread,
Jul 30, 2021, 12:33:30 PM7/30/21
to Dirk Rijckaert, TasmotaUsers

Look at the counter interface on this page

Smart Meter Interface - Tasmota

You can do 2 & 3 easily with Rules but 1 needs the scripting

 

Regards

 

Phil K

 

Sent from Mail for Windows 10

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/2c1b0006-e488-4135-82e1-f10761c936ffn%40googlegroups.com.

 

Automater

unread,
Aug 1, 2021, 3:39:48 AM8/1/21
to TasmotaUsers
The optical S0 port should spit this out these as numbers. Here is what I refer to https://wiki.volkszaehler.org/hardware/controllers/ir-schreib-lesekopf-pi-ausgang (mainly german page, sorry)
In my case the actual consumption is not part of the data stream due to legal reasons as my supplier told me and only this must be calclated from the LED frequency.

Reply all
Reply to author
Forward
0 new messages