Page 1 of 1

ESP standalone mode

Posted: 01 Oct 2023, 03:38
by mackowiakp
I was wondering. For ESP in standalone mode, isn't it possible to somehow synchronize the time with the time transferred to the electricity meters?
The times displayed on this device are quite accurate.
Are there any modules that decode data sent to and from such a meter?

Re: ESP standalone mode

Posted: 01 Oct 2023, 09:40
by TD-er
What kind of meters are you talking about?

Re: ESP standalone mode

Posted: 01 Oct 2023, 10:10
by mackowiakp
The kind installed by the electricity supplier to bill the customer for consumption. (at least in my country).

Re: ESP standalone mode

Posted: 01 Oct 2023, 13:05
by Ath
ESPEasy has support for the P1 port of DSMR protocol meters, as used in the Benelux, Norway and Sweden (AFAIK), but possibly/probably this protocol is used in other countries as well.
If you name the brand and model of your meter, we can at least investigate what protocols are supported by the device, and maybe match it with something already supported.

Re: ESP standalone mode

Posted: 01 Oct 2023, 14:12
by mackowiakp
I am attaching a photo.
IMG20231001134207.jpg
IMG20231001134207.jpg (3.24 MiB) Viewed 2255 times

Re: ESP standalone mode

Posted: 01 Oct 2023, 14:51
by Ath
Did some research already.
Hm, it's quite locked up, so probably not possible to have a wired connection to the meter (that's usually the easiest to read/decode). The connection should be made from the right-most block of terminals, the smaller one, just below the right-bottom corner of the type-panel. The other terminals are for connecting the (thick) power-wires for the separate phases L1/L2/L3. Looking at the image, it is most likely using and USB interface, so it can't be connected to an ESP directly.

There are 2 or 3 alternatives to connect (though I don't know how to connect to that :?), and that are the red pulse-leds giving 1000 imp/kWh and 1000 imp/kvarh, and the metal ring, left of the Addax/tmatic systems logo, that's probably using an IR serial interface.

The serial protocol used is DLMS/COSEM (some info here), but it heavily depends on the brand & model what data is available there. This protocol is rather complex, and currently not supported by ESPEasy.

Re: ESP standalone mode

Posted: 01 Oct 2023, 15:07
by mackowiakp
OK, thank you for explaining

Re: ESP standalone mode

Posted: 01 Oct 2023, 20:03
by TD-er
Quite possible the IR LED in the front is sending the data in telegram-like packets. (or Mbus)
Similar to the P1 RJ12 connector we have, but then an IR LED.
Maybe you also need to send something to enable the port to send data (like the RTS pin on the P1 connector)