Closed yvansandoz closed 10 months ago
You could connect to that esp directly (telnet/netcat to port 23) and see what's coming in.
Also, make sure the default baudrate matches your specific smart meter.
On Sun, 29 Jan 2023, 12:29 Yvan Sandoz, @.***> wrote:
D1 mini configuration and wiring all good. In HA, the device is recognised and provides 10 entities with data value "unknown". My meter is a Iskra AM550 and I am in Switzerland.
Where should I start to look for a solution?
— Reply to this email directly, view it on GitHub https://github.com/DavyLandman/p1-esp8266/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL3E2FQXMWM7TKI6SWMYLWUZICDANCNFSM6AAAAAAUKGE76E . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm guessing the IP address is not the one assigned to the esp. you wouldn't need to do anything with portforwarding, assuming home assistant is on the same network.
On Sun, 29 Jan 2023, 15:27 Yvan Sandoz, @.***> wrote:
I reach the limits of my knowledge... I did play with my router to open the port 23, looked for any other possibilities, but I always get:
% telnet 192.168.1.133 23 telnet: connect to address 192.168.1.133: Connection refused telnet: Unable to connect to remote host
— Reply to this email directly, view it on GitHub https://github.com/DavyLandman/p1-esp8266/issues/7#issuecomment-1407678349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL3E25IAIC6HUSZT4CNWLWUZ463ANCNFSM6AAAAAAUKGE76E . You are receiving this because you commented.Message ID: @.***>
Here what I am getting now with telnet:
telnet> telnet 192.168.1.127 23
Trying 192.168.1.127...
Connected to p1meter.home.
Escape character is '^]'.
~???#???RG
?2 85738216 `1058465
k ]
=J ??~~???#?? (# 4 &# *# ?! 3?! G??! F?
? ??~~?.?#?f? ֑??~~???#???RH
?7 85738216 `1058465
i = ?~???#?? &# 4 %# H +# ?! 3|?! G??! F?
? ~~?.?#?f? ֑??~~???#???RI
? 85738216 `1058465
{ ] =J mW~~???#?? %# 4 $# H )# ?! 3y?! G??! F?
? g'~~?.?#?f? ֑??~~???#???RJ
? 85738216 `1058465
~~???#?? $# 4 $# H (# ? ] =J
?! 3??! G??! F?
? ?~~?.?#?f? ֑??~~???#???RK
?
85738216 `1058465
?~~???#?? %# 4 ## H '# ?! =3?! G??! F?
?
?~~?.?#?f? ֑??~~???#???RL
? 85738216 `1058465
k ] =J ?&~~???#?? ## $# H )# ?! 3}?! G??! F?
? ??~~?.?#?f? ֑??~~???#???RM
? 85738216 `1058465
_ ]$ =J o?~~???#?? "# 4 ## H '# ?! 3y?! G??! F?
? ?~~?.?#?f? ֑??~~???#???RN
? 85738216 `1058465
o ]( =J %?~~???#?? ## 4 $# H )# ?! 3x?! G??!F?
???~~?.?#?f? ֑??~~???#???RO
? 85738216 `1058465
f ], =J ?l~~???#?? $# 4 $# H )# ?! 3??! G??! F?
? Q?~~?.?#?f? ֑??~^C^C
That doesn't look good. I have some code in the repo to try out different baud rates, but not sure if that would help.
This is not my area of expertise.
On Tue, 28 Feb 2023, 19:05 Yvan Sandoz, @.***> wrote:
Here what I am getting now with telnet:
telnet> telnet 192.168.1.127 23 Trying 192.168.1.127... Connected to p1meter.home. Escape character is '^]'. ???#???RG ?2 85738216 1058465 k ] =J ??~~???#?? (# 4 &# *# ?! 3?! G??! F? ? ??
?.?#?f? ֑?????#???RH ?7 85738216 1058465 i = ????#?? &# 4 %# H +# ?! 3|?! G??! F? ? ?.?#?f? ֑?????#???RI ? 85738216 1058465 { ] =J mW~~???#?? %# 4 $# H )# ?! 3y?! G??! F? ? g'?.?#?f? ֑?????#???RJ ? 85738216 1058465 ???#?? $# 4 $# H (# ? ] =J ?! 3??! G??! F? ? ??.?#?f? ֑?????#???RK ? 85738216 1058465 ????#?? %# 4 ## H '# ?! =3?! G??! F? ? ??.?#?f? ֑??~~???#???RL ? 85738216 1058465 k ] =J ?&???#?? ## $# H )# ?! 3}?! G??! F? ? ???.?#?f? ֑?????#???RM ? 85738216 1058465 _ ]$ =J o?~~???#?? "# 4 ## H '# ?! 3y?! G??! F? ? ??.?#?f? ֑?????#???RN ? 85738216 1058465 o ]( =J %????#?? ## 4 $# H )# ?! 3x?! G??!F? ????.?#?f? ֑?????#???RO ? 85738216 `1058465 f ], =J ?l???#?? $# 4 $# H )# ?! 3??! G??! F? ? Q?~~?.?#?f? ֑??~^C^C— Reply to this email directly, view it on GitHub https://github.com/DavyLandman/p1-esp8266/issues/7#issuecomment-1448637429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL3E7RWJFKOXHLTARDEMLWZY47JANCNFSM6AAAAAAUKGE76E . You are receiving this because you commented.Message ID: @.***>
Those are the parameters of my Iskra AM550:
General characteristics
Things you could try:
SERIAL_BITS
to SERIAL_7N1
and see if that works?otherwise: no idea, I've looked at posts on the internet, more people have been able to read that AM550 P1 port without problems.
D1 mini configuration and wiring all good. In HA, the device is recognised and provides 10 entities with data value "unknown". My meter is a Iskra AM550 and I am in Switzerland.
Where should I start to look for a solution?