Skip to content

Lib-CBUS doesn't receive updates #30

@Nik19792000

Description

@Nik19792000

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions