WARNING (MainThread) [dsmr_parser.clients.protocol] keep-alive check failed

After upgrading to 2023.1.6, my Slimme Meter integration is broken from time to time, every few minutes or so. Anyone has workaround? This never happened on previous versions.

image

Logs showed these:

It’s P1 ethernet mini from Marcel Zuidwijk

2023-01-21 23:23:36.736 WARNING (MainThread) [dsmr_parser.clients.protocol] keep-alive check failed

2023-01-21 23:23:36.737 INFO (MainThread) [dsmr_parser.clients.protocol] disconnected because of close/abort.

2023-01-21 23:26:06.745 WARNING (MainThread) [dsmr_parser.clients.protocol] keep-alive check failed

2023-01-21 23:26:06.746 INFO (MainThread) [dsmr_parser.clients.protocol] disconnected because of close/abort.

2023-01-21 23:28:36.752 WARNING (MainThread) [dsmr_parser.clients.protocol] keep-alive check failed

2023-01-21 23:28:36.752 INFO (MainThread) [dsmr_parser.clients.protocol] disconnected because of close/abort.

No response yet? I have a similar issue where the standard DSMR integration worked for several weeks with a P1 WiFi Gateway and as of last week Wednesday it suddenly stopped responding. Updating from 2023.2.2 to 2023.2.5 didn’t solve it. It sometimes starts out of the blue and show some energy measurements, sometimes it stops for several days. The debug shows (small part):

2023-02-26 16:46:45.286 INFO (MainThread) [dsmr_parser.clients.protocol] disconnected because of close/abort.
2023-02-26 16:47:14.849 WARNING (MainThread) [dsmr_parser.clients.protocol] keep-alive check failed
2023-02-26 16:47:15.013 DEBUG (MainThread) [dsmr_parser.clients.protocol] keep-alive checked
2023-02-26 16:47:15.387 DEBUG (MainThread) [dsmr_parser.clients.protocol] connected
2023-02-26 16:47:19.630 DEBUG (MainThread) [dsmr_parser.clients.protocol] received data: /Ene5\T210-D ESMR5.0

1-3:0.2.8(50)
0-0:1.0.0(230226164747W)
0-0:96.1.1(4530303438303030303136323235323138)
1-0:1.8.1(010882.480kWh)
1-0:1.8.2(009605.052
kWh)
1-0:2.8.1(001071.610kWh)
1-0:2.8.2(002353.544
kWh)
0-0:96.14.0(0001)
1-0:1.7.0(00.278kW)
1-0:2.7.0(00.109
kW)
0-0:96.7.21(01168)
0-0:96.7.9(00012)
1-0:99.97.0(3)(0-0:96.7.19)(210617195742S)(0000000466s)(181017095446S)(0000006931s)(180309153429W)(0000000313s)
1-0:32.32.0(00004)
1-0:52.32.0(00004)
1-0:72.32.0(00004)
1-0:32.36.0(00000)
1-0:52.36.0(00000)
1-0:72.36.0(00000)
0-0:96.13.0()
1-0:32.7.0(231.0
V)
1-0:52.7.0(229.0V)
1-0:72.7.0(229.0
V)
1-0:31.7.0(000A)
1-0:51.7.0(000
A)
1-0:71.7.0(000A)
1-0:21.7.0(00.000
kW)
1-0:41.7.0(00.165kW)
1-0:61.7.0(00.113
kW)
1-0:22.7.0(00.109kW)
1-0:42.7.0(00.000
kW)
1-0:62.7.0(00.000kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303538353330303133393630313138)
0-1:24.2.1(230226164500W)(06268.876
m3)
!0571

2023-02-26 16:47:19.631 DEBUG (MainThread) [dsmr_parser.clients.protocol] got telegram: /Ene5\T210-D ESMR5.0

1-3:0.2.8(50)
0-0:1.0.0(230226164747W)
0-0:96.1.1(4530303438303030303136323235323138)
1-0:1.8.1(010882.480kWh)
1-0:1.8.2(009605.052
kWh)
1-0:2.8.1(001071.610kWh)
1-0:2.8.2(002353.544
kWh)
0-0:96.14.0(0001)
1-0:1.7.0(00.278kW)
1-0:2.7.0(00.109
kW)
0-0:96.7.21(01168)
0-0:96.7.9(00012)
1-0:99.97.0(3)(0-0:96.7.19)(210617195742S)(0000000466s)(181017095446S)(0000006931s)(180309153429W)(0000000313s)
1-0:32.32.0(00004)
1-0:52.32.0(00004)
1-0:72.32.0(00004)
1-0:32.36.0(00000)
1-0:52.36.0(00000)
1-0:72.36.0(00000)
0-0:96.13.0()
1-0:32.7.0(231.0
V)
1-0:52.7.0(229.0V)
1-0:72.7.0(229.0
V)
1-0:31.7.0(000A)
1-0:51.7.0(000
A)
1-0:71.7.0(000A)
1-0:21.7.0(00.000
kW)
1-0:41.7.0(00.165kW)
1-0:61.7.0(00.113
kW)
1-0:22.7.0(00.109kW)
1-0:42.7.0(00.000
kW)
1-0:62.7.0(00.000kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303538353330303133393630313138)
0-1:24.2.1(230226164500W)(06268.876
m3)
!0571

2023-02-26 16:47:29.633 DEBUG (MainThread) [dsmr_parser.clients.protocol] received data: /Ene5\T210-D ESMR5.0

1-3:0.2.8(50)
0-0:1.0.0(230226164757W)
0-0:96.1.1(4530303438303030303136323235323138)
1-0:1.8.1(010882.480kWh)
1-0:1.8.2(009605.052
kWh)
1-0:2.8.1(001071.610kWh)
1-0:2.8.2(002353.544
kWh)
0-0:96.14.0(0001)
1-0:1.7.0(00.276kW)
1-0:2.7.0(00.104
kW)
0-0:96.7.21(01168)
0-0:96.7.9(00012)
1-0:99.97.0(3)(0-0:96.7.19)(210617195742S)(0000000466s)(181017095446S)(0000006931s)(180309153429W)(0000000313s)
1-0:32.32.0(00004)
1-0:52.32.0(00004)
1-0:72.32.0(00004)
1-0:32.36.0(00000)
1-0:52.36.0(00000)
1-0:72.36.0(00000)
0-0:96.13.0()
1-0:32.7.0(230.0
V)
1-0:52.7.0(229.0V)
1-0:72.7.0(229.0
V)
1-0:31.7.0(000A)
1-0:51.7.0(000
A)
1-0:71.7.0(000A)
1-0:21.7.0(00.000
kW)
1-0:41.7.0(00.164kW)
1-0:61.7.0(00.111
kW)
1-0:22.7.0(00.104kW)
1-0:42.7.0(00.000
kW)
1-0:62.7.0(00.000kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303538353330303133393630313138)
0-1:24.2.1(230226164500W)(06268.876
m3)
!4883

2023-02-26 16:47:29.634 DEBUG (MainThread) [dsmr_parser.clients.protocol] got telegram: /Ene5\T210-D ESMR5.0

1-3:0.2.8(50)
0-0:1.0.0(230226164757W)
0-0:96.1.1(4530303438303030303136323235323138)
1-0:1.8.1(010882.480kWh)
1-0:1.8.2(009605.052
kWh)
1-0:2.8.1(001071.610kWh)
1-0:2.8.2(002353.544
kWh)
0-0:96.14.0(0001)
1-0:1.7.0(00.276kW)
1-0:2.7.0(00.104
kW)
0-0:96.7.21(01168)
0-0:96.7.9(00012)
1-0:99.97.0(3)(0-0:96.7.19)(210617195742S)(0000000466s)(181017095446S)(0000006931s)(180309153429W)(0000000313s)
1-0:32.32.0(00004)
1-0:52.32.0(00004)
1-0:72.32.0(00004)
1-0:32.36.0(00000)
1-0:52.36.0(00000)
1-0:72.36.0(00000)
0-0:96.13.0()
1-0:32.7.0(230.0
V)
1-0:52.7.0(229.0V)
1-0:72.7.0(229.0
V)
1-0:31.7.0(000A)
1-0:51.7.0(000
A)
1-0:71.7.0(000A)
1-0:21.7.0(00.000
kW)
1-0:41.7.0(00.164kW)
1-0:61.7.0(00.111
kW)
1-0:22.7.0(00.104kW)
1-0:42.7.0(00.000
kW)
1-0:62.7.0(00.000kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303538353330303133393630313138)
0-1:24.2.1(230226164500W)(06268.876
m3)
!4883

2023-02-26 16:47:45.683 INFO (MainThread) [dsmr_parser.clients.protocol] disconnected because of close/abort.
2023-02-26 16:48:15.014 WARNING (MainThread) [dsmr_parser.clients.protocol] keep-alive check failed
2023-02-26 16:48:15.389 DEBUG (MainThread) [dsmr_parser.clients.protocol] keep-alive checked
2023-02-26 16:48:15.691 DEBUG (MainThread) [dsmr_parser.clients.protocol] connected
2023-02-26 16:48:19.631 DEBUG (MainThread) [dsmr_parser.clients.protocol] received data: /Ene5\T210-D ESMR5.0

1-3:0.2.8(50)
0-0:1.0.0(230226164847W)
0-0:96.1.1(4530303438303030303136323235323138)
1-0:1.8.1(010882.483kWh)
1-0:1.8.2(009605.052
kWh)
1-0:2.8.1(001071.610kWh)
1-0:2.8.2(002353.544
kWh)
0-0:96.14.0(0001)
1-0:1.7.0(00.261kW)
1-0:2.7.0(00.109
kW)
0-0:96.7.21(01168)
0-0:96.7.9(00012)
1-0:99.97.0(3)(0-0:96.7.19)(210617195742S)(0000000466s)(181017095446S)(0000006931s)(180309153429W)(0000000313s)
1-0:32.32.0(00004)
1-0:52.32.0(00004)
1-0:72.32.0(00004)
1-0:32.36.0(00000)
1-0:52.36.0(00000)
1-0:72.36.0(00000)
0-0:96.13.0()
1-0:32.7.0(231.0
V)
1-0:52.7.0(228.0V)
1-0:72.7.0(228.0
V)
1-0:31.7.0(000A)
1-0:51.7.0(000
A)
1-0:71.7.0(000A)
1-0:21.7.0(00.000
kW)
1-0:41.7.0(00.164kW)
1-0:61.7.0(00.097
kW)
1-0:22.7.0(00.109kW)
1-0:42.7.0(00.000
kW)
1-0:62.7.0(00.000kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303538353330303133393630313138)
0-1:24.2.1(230226164500W)(06268.876
m3)
!5CB0

In my case, it was caused by faulty UTP cable. After I changed it, it works fine until now. Fingers crossed it stays.

If stopped the Domoticz integration and focused only on HomeAssistant and now it’s working fine!

1 Like