DavyLandman / p1-esp8266

P1 serial forwarder for use in HomeAssistent
18 stars 5 forks source link

All connected but no data #7

Closed yvansandoz closed 10 months ago

yvansandoz commented 1 year ago

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?

DavyLandman commented 1 year 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: @.***>

DavyLandman commented 1 year ago

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: @.***>

yvansandoz commented 1 year ago

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
DavyLandman commented 1 year ago

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: @.***>

yvansandoz commented 1 year ago

Those are the parameters of my Iskra AM550:

General characteristics

DavyLandman commented 1 year ago

Things you could try:

otherwise: no idea, I've looked at posts on the internet, more people have been able to read that AM550 P1 port without problems.