gateway icon indicating copy to clipboard operation
gateway copied to clipboard

No data after some time

Open miwok72 opened this issue 1 year ago • 3 comments

I have the problem that after a certain time no more data comes to the MQTT broker. Stopping and starting the service is not successful. Only a restart of the computer is effective and data is delivered again.

I can deliver the following messages.

Jun 09 18:59:34 dimpflmoser systemd[1]: Started TheengsGateway.service - TheengsGateway.
**Jun 13 06:10:24 dimpflmoser python3[619]: ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress**
Jun 13 17:54:32 dimpflmoser systemd[1]: Stopping TheengsGateway.service - TheengsGateway...
Jun 13 17:54:32 dimpflmoser systemd[1]: TheengsGateway.service: Deactivated successfully.
Jun 13 17:54:32 dimpflmoser systemd[1]: Stopped TheengsGateway.service - TheengsGateway.
Jun 13 17:54:32 dimpflmoser systemd[1]: TheengsGateway.service: Consumed 5h 46min 9.433s CPU time.
Jun 13 17:54:38 dimpflmoser systemd[1]: Started TheengsGateway.service - TheengsGateway.
**Jun 13 17:54:53 dimpflmoser python3[16337]: ERROR:BLEGateway:[org.bluez.Error.InProgress] Operation already in progress**
Jun 13 18:03:21 dimpflmoser systemd[1]: Stopping TheengsGateway.service - TheengsGateway...
Jun 13 18:03:21 dimpflmoser systemd[1]: TheengsGateway.service: Deactivated successfully.
Jun 13 18:03:21 dimpflmoser systemd[1]: Stopped TheengsGateway.service - TheengsGateway.
Jun 13 18:03:21 dimpflmoser systemd[1]: TheengsGateway.service: Consumed 3.298s CPU time.
-- Boot db25920aa51b45e8b5c275ec070069fb --
Jun 13 18:04:04 dimpflmoser systemd[1]: Started TheengsGateway.service - TheengsGateway.

rasp pi 3 B

lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
pip list | grep Theengs
TheengsDecoder     1.7.8
TheengsGateway     1.5.0

miwok72 avatar Jun 13 '24 16:06 miwok72

Did you find a way to fix this problem ?

JBBailly avatar Nov 06 '24 14:11 JBBailly

a change from rpi 3 B to rpi 4 B and a clean installation of the latest Raspberry Pi OS has solved the problems for weeks now. Perhaps a problem with bluetooth on the rpi 3B ...

miwok72 avatar Nov 07 '24 07:11 miwok72

Thank you for your feedback. Bluetooth goes from v4 (raspi3B) to v5 (raspi4). It must work better.

JBBailly avatar Nov 07 '24 22:11 JBBailly