Describe the bug
I'm running Theengs Gateway on a Raspberry Pi Zero, and getting pretty consistent CPU load of ~ 35%.
To Reproduce
Steps to reproduce the behavior:
Install TG in a venv on a Raspberry Pi Zero.
Run it, observe CPU usage.
Expected behavior
Way less CPU load (IMHO). From looking at the log, it's blasting out somewhere around 100 MQTT messages per second, and I only have one single plant sensor at the moment.
Additional context
I assume that there is some config file or commandline switch I could use to slow it down - are the -sd and -tb options related to that?
Additional note: I tried with -pa 0 -tb 10 -sd 2 and that has definitely cut down the number of MQTT messages being sent, but doesn't seem to have had any noticeable impact on CPU load.
Describe the bug I'm running Theengs Gateway on a Raspberry Pi Zero, and getting pretty consistent CPU load of ~ 35%.
To Reproduce Steps to reproduce the behavior:
Expected behavior Way less CPU load (IMHO). From looking at the log, it's blasting out somewhere around 100 MQTT messages per second, and I only have one single plant sensor at the moment.
Environment
Additional context I assume that there is some config file or commandline switch I could use to slow it down - are the
-sd
and-tb
options related to that?