Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lib-CBUS doesn't receive updates #30

Open
Nik19792000 opened this issue Dec 13, 2021 · 0 comments
Open

Lib-CBUS doesn't receive updates #30

Nik19792000 opened this issue Dec 13, 2021 · 0 comments

Comments

@Nik19792000
Copy link

Hi, I've been using Lib-Cbus for several months. Generally it's working great, but I have one consistent issue. Every 1-2 days Lib-Cbus (running as docker container) doesn't receive any notifications anymore about switches turning on/off. Based on debug logs also ping packets are no longer answered. The only workaround is to run a script to check every few minutes to see if any packet was received. If the last packet is more than 5 minutes ago, the script restarts the container. After restart everything works flawlessly again for 1-2 days.
Anyone else faces this issue or has a solution?

Here is a sample log:
2021-12-12 07:55:15,067 Incoming data: b'm.'
2021-12-12 07:55:15,068 Got packet: ConfirmationPacket(code=b'm', success=True)
2021-12-12 07:55:15,068 recv: confirmation: code = b'm', success = True
2021-12-12 08:00:00,041 send: <PointToMultipointPacket object: application=56, source_address=None, sals=[]>
2021-12-12 08:00:00,041 send: b'\053800790C3En\r'
2021-12-12 08:00:00,109 Incoming data: b'n.'
2021-12-12 08:00:00,110 Got packet: ConfirmationPacket(code=b'n', success=True)
2021-12-12 08:00:00,110 recv: confirmation: code = b'n', success = True
2021-12-12 08:00:14,969 send: <PointToMultipointPacket object: application=223, source_address=None, sals=[ClockUpdateSAL(val=datetime.date(2021, 12, 12)), ClockUpdateSAL(val=datetime.time(8, 0, 14, 969069))]>
2021-12-12 08:00:14,971 send: b'\05DF000E0207E50C0C060D0108000EFFDFo\r'
2021-12-12 08:00:15,069 Incoming data: b'o.'
2021-12-12 08:00:15,070 Got packet: ConfirmationPacket(code=b'o', success=True)
2021-12-12 08:00:15,071 recv: confirmation: code = b'o', success = True
2021-12-12 08:05:00,071 send: <PointToMultipointPacket object: application=56, source_address=None, sals=[]>
2021-12-12 08:05:00,072 send: b'\053800010CB6p\r'
2021-12-12 08:05:00,142 Incoming data: b'p.'
2021-12-12 08:05:00,143 Got packet: ConfirmationPacket(code=b'p', success=True)
2021-12-12 08:05:00,143 recv: confirmation: code = b'p', success = True
2021-12-12 08:05:14,974 send: <PointToMultipointPacket object: application=223, source_address=None, sals=[ClockUpdateSAL(val=datetime.date(2021, 12, 12)), ClockUpdateSAL(val=datetime.time(8, 5, 14, 973610))]>
2021-12-12 08:05:14,975 send: b'\05DF000E0207E50C0C060D0108050EFFDAq\r'
2021-12-12 08:10:14,977 send: <PointToMultipointPacket object: application=223, source_address=None, sals=[ClockUpdateSAL(val=datetime.date(2021, 12, 12)), ClockUpdateSAL(val=datetime.time(8, 10, 14, 977464))]>
2021-12-12 08:10:14,978 send: b'\05DF000E0207E50C0C060D01080A0EFFD5r\r'
2021-12-12 08:15:14,501 Transport security disabled! <-----------this is a manual restart
2021-12-12 08:15:14,515 send: ResetPacket()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant