Endless loop: lan_ip_address changed, consumes 100% CPU
See original GitHub issueIt’s the first time that I’m trying out this adapter (and also my first time with iobroker). I have 3 EufyCam 2C Pros and I was able to add them to iobroker (latest stable from today) without a problem. After a few hours, the adapter “went crazy” and flipped the lan_ip_address in an endless loop, consuming 100% CPU:
2021-02-06 20:44:57.687 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.688 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.691 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.691 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.694 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.694 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.698 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.698 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.701 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.701 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.705 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.708 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.708 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.709 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.712 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.712 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.715 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.716 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.719 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.719 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.722 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.723 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.726 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.726 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.729 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.729 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.733 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.733 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.736 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.736 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.740 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.740 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.743 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.743 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.747 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.747 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.750 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.750 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.753 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.754 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.757 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.758 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.761 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.761 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.764 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.764 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.768 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.768 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.771 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.771 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.775 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.775 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.778 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.778 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.782 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.782 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.785 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.785 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.788 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.789 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
2021-02-06 20:44:57.792 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.792 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 192.168.178.45 (ack = true)
2021-02-06 20:44:57.795 - info: mqtt.0 (21783) send2Server eufy-security.0.T8010N2320435969.station.lan_ip_address[iobroker/eufy-security/0/T8010N2320435969/station/lan_ip_address]
2021-02-06 20:44:57.796 - info: eufy-security.0 (23758) state eufy-security.0.T8010N2320435969.station.lan_ip_address changed: 78.xxx.xxx.xxx (ack = true)
And so on. Only a complete restart of iobroker ended this, after that things were back to normal. It flips between the internal and external IP address of the base. Any idea what may have caused this?
Platform: linux os: linux Architecture: arm CPUs: 4 Speed: 1500 MHz Model: ARMv7 Processor rev 3 (v7l) RAM: 3.7 GB System uptime: 5 T. 00:35:40 Node.js: v12.20.1 NPM: 6.14.10 Disk size: 29.0 GiB Disk free: 25.1 GiB adapters count: 326 Uptime: 00:06:45 Active instances: 5
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
Yes, the problem was indeed the (default) configuration of the MQTT adapter. By default it subscribes to every topic on the broker. If you set the “subscribe pattern” to some non-existing topic, the problem disappears. Thanks for your support!
@greuff From the other issue I read the problem was fixed by changing a configuration parameter. Could you post the solution here for completeness?
Thanks! 😃