psvanstrom / esphome-p1reader

ESPHome custom component for reading P1 data from electricity meters.
MIT License
251 stars 106 forks source link

Changes with Slimmelezer and Aidon 6534 #44

Open MrGlad8 opened 2 years ago

MrGlad8 commented 2 years ago

First of all, thank a lot for this code. Helped me a lot! I bought Slimmelezer Plus for my Aidon 6534 just to realise afterwards that the energy meter doesn't follow the standard protocol. But with your p1reader-code with some modifications I got it to to work. Thanks to Skracke on byggahus forum and jsuanet at HA forums. Let me show you how I got it to work! The changes I did in order to get the Slimmelezer Plus to work with my Aidon 6534 meter was:

In file "p1reader.h" =

And in file "p1reader.yaml" I changed:

I hope this can help someone else in my position with a Slimmelezer Plus and a Aidon 6534 energy meter that doesnt follow standard protocol :)

denmol commented 1 year ago

Hi

I am having truble geting data fram my skekraft labeled aidon meter this is the data i get:

12:59:20 [D] [data:265] 
12:59:20 [D] [data:265] �! 
12:59:20 [D] [data:265] # 
12:59:20 [D] [data:265] 
12:59:20 [D] [data:265]  
12:59:20 [D] [data:265] 
12:59:20 [D] [data:265] 
12:59:21 [D] [data:265] 
12:59:29 [D] [data:265] ~�CA�����
12:59:30 [D] [data:265] 
12:59:30 [D] [data:265] �
12:59:30 [D] [data:265] �! 
12:59:30 [D] [data:265] # 
12:59:30 [D] [data:265] 
12:59:30 [D] [data:265]  
12:59:30 [D] [data:265] 
12:59:30 [D] [data:265] 
12:59:31 [D] [data:265] 
12:59:36 [D] [sensor:126] 'SlimmeLezer Uptime': Sending state 404.45999 s with 0 decimals of accuracy
12:59:39 [D] [data:265] ~�CA�����
12:59:40 [D] [data:265] 
12:59:40 [D] [data:265] 
12:59:40 [D] [data:265] �! 
12:59:40 [D] [data:265] # 
12:59:40 [D] [data:265] 
12:59:40 [D] [data:265]  
12:59:40 [D] [data:265] 
12:59:40 [D] [data:265] 
12:59:41 [D] [data:265] 
12:59:49 [D] [data:265] ~�CA�����
12:59:50 [D] [data:265] 
12:59:50 [D] [data:265] �
12:59:50 [D] [data:265] �! 
12:59:50 [D] [data:265] # 
12:59:50 [D] [data:265] 
12:59:50 [D] [data:265]  
12:59:50 [D] [data:265] 
12:59:50 [D] [data:265] 
12:59:51 [D] [data:265] 
12:59:52 [D] [sensor:126] 'SlimmeLezer Wi-Fi Signal': Sending state -73.00000 dBm with 0 decimals of accuracy
12:59:59 [D] [data:265] ~�CA�����
13:00:00 [D] [data:265] 
13:00:00 [D] [data:265] �
13:00:00 [D] [data:265] �! 
13:00:00 [D] [data:265] # 
13:00:00 [D] [data:265] 
13:00:00 [D] [data:265]  
13:00:00 [D] [data:265] 
13:00:00 [D] [data:265] 
13:00:01 [D] [data:265] 

I have found some information about the meter but my coding skills are none so a would appreciate some help.

Interface desription from skekraft: https://www.skekraft.se/wp-content/uploads/2021/03/Aidon_Feature_description_RJ45_HAN_Interface_EN.pdf

and some example to read the data https://github.com/OlleRatu/han-rj45/blob/main/HAN_aidon_rj45_example/han.py

Megamannen commented 1 year ago

Hi

I am having truble geting data fram my skekraft labeled aidon meter this is the data i get .....

Try this: https://github.com/psvanstrom/esphome-p1reader/pull/70