Appreciation is on my side for you taking all the time to support.
Now on a 3b, mqttany v0.12.0 is running under user pi:
testinput17:
pin: 17
pin mode: 'input'
digital:
interrupt: 'both'
/dev/gpiochip0
set to root:gpio
:
Summary
pi@pigarage:/opt/mqttany $ python3 mqttany/mqttany.py -vv
2020-12-09 14:10:49,501 [INFO ] [core ] [core ] MQTTany 0.12.0 starting
2020-12-09 14:10:49,738 [INFO ] [core ] [core.gpio ] Detected board: RASPBERRY_PI_3B
2020-12-09 14:10:49,739 [DEBUG] [core ] [core.gpio ] Detected GPIO character device
2020-12-09 14:10:49,740 [DEBUG] [core ] [config ] Loading config file
2020-12-09 14:10:49,833 [DEBUG] [core ] [core ] Loading module 'mqtt'
2020-12-09 14:10:49,871 [DEBUG] [core ] [core ] Module 'mqtt' is a communication module
2020-12-09 14:10:50,013 [DEBUG] [core ] [mqtt ] Parsing config
2020-12-09 14:10:50,014 [TRACE] [core ] [mqtt ] Got value '192.168.2.211' for config option 'host'
2020-12-09 14:10:50,015 [TRACE] [core ] [mqtt ] Using default value '1883' for config option 'port'
2020-12-09 14:10:50,016 [TRACE] [core ] [mqtt ] Using default value '{hostname}' for config option 'client id'
2020-12-09 14:10:50,017 [TRACE] [core ] [mqtt ] Using default value '' for config option 'username'
2020-12-09 14:10:50,018 [TRACE] [core ] [mqtt ] Using default value '' for config option 'password'
2020-12-09 14:10:50,019 [TRACE] [core ] [mqtt ] Using default value '0' for config option 'qos'
2020-12-09 14:10:50,019 [TRACE] [core ] [mqtt ] Using default value 'False' for config option 'retain'
2020-12-09 14:10:50,020 [TRACE] [core ] [mqtt ] Using default value '{client_id}' for config option 'root topic'
2020-12-09 14:10:50,021 [TRACE] [core ] [mqtt ] Using default value 'lwt' for config option 'lwt topic'
2020-12-09 14:10:50,022 [TRACE] [core ] [mqtt ] Using default value '300' for config option 'heartbeat interval'
2020-12-09 14:10:50,023 [DEBUG] [core ] [mqtt ] Config loaded successfully
2020-12-09 14:10:50,024 [DEBUG] [core ] [core ] Module 'mqtt' loaded successfully
2020-12-09 14:10:50,025 [DEBUG] [core ] [bus ] Module 'mqtt' added as a receiver
2020-12-09 14:10:50,029 [DEBUG] [core ] [bus ] Module 'mqtt' added as a transmitter
2020-12-09 14:10:50,030 [DEBUG] [core ] [core ] Loading module 'gpio'
2020-12-09 14:10:50,071 [DEBUG] [core ] [core ] Module 'gpio' is an interface module
2020-12-09 14:10:50,074 [DEBUG] [core ] [gpio ] Parsing config
2020-12-09 14:10:50,075 [TRACE] [core ] [gpio ] Using default value 'Mode.SOC' for config option 'mode'
2020-12-09 14:10:50,076 [TRACE] [core ] [gpio ] Got value '5' for config option 'polling interval'
2020-12-09 14:10:50,077 [TRACE] [core ] [gpio ] Using default value '50' for config option 'debounce'
2020-12-09 14:10:50,078 [TRACE] [core ] [gpio ] Found regex '.+' in options
2020-12-09 14:10:50,079 [TRACE] [core ] [gpio ] Config key 'testinput17' matched to options regex '.+'
2020-12-09 14:10:50,080 [TRACE] [core ] [gpio ] Descending into section 'testinput17'
2020-12-09 14:10:50,081 [TRACE] [core ] [gpio ] Got value '17' for config option 'pin'
2020-12-09 14:10:50,082 [TRACE] [core ] [gpio ] Using default value '{pin_id}' for config option 'name'
2020-12-09 14:10:50,083 [TRACE] [core ] [gpio ] Using default value '0' for config option 'first index'
2020-12-09 14:10:50,084 [TRACE] [core ] [gpio ] Got selection 'input' for config option 'pin mode'
2020-12-09 14:10:50,085 [TRACE] [core ] [gpio ] Using default value 'PinBias.NONE' for config option 'resistor'
2020-12-09 14:10:50,085 [TRACE] [core ] [gpio ] Condition 'pin mode==PinMode.INPUT' matched for 'digital'
2020-12-09 14:10:50,086 [TRACE] [core ] [gpio ] Descending into section 'digital'
2020-12-09 14:10:50,087 [TRACE] [core ] [gpio ] Got selection 'both' for config option 'interrupt'
2020-12-09 14:10:50,088 [TRACE] [core ] [gpio ] Using default value 'False' for config option 'invert'
2020-12-09 14:10:50,089 [TRACE] [core ] [gpio ] Using default value 'False' for config option 'initial state'
2020-12-09 14:10:50,090 [TRACE] [core ] [gpio ] Skipping 'counter' as no conditions matched
2020-12-09 14:10:50,091 [DEBUG] [core ] [gpio ] Config loaded
2020-12-09 14:10:50,115 [DEBUG] [core ] [core.gpio.board ] 'gpio.pin.digital' acquired lock on GPIO17 (GPIO17)
2020-12-09 14:10:50,117 [DEBUG] [core ] [gpio.digital ] Configured 'testinput17' on GPIO17 with options: {'ID': 'testinput17', 'pin mode': 'INPUT', 'interrupt': 'BOTH', 'resistor': 'NONE', 'invert': False, 'initial state': 'OFF'}
2020-12-09 14:10:50,118 [DEBUG] [core ] [core ] Module 'gpio' loaded successfully
2020-12-09 14:10:50,119 [DEBUG] [core ] [bus ] Module 'gpio' added as a publisher
2020-12-09 14:10:50,121 [DEBUG] [core ] [bus ] Module 'gpio' added as a subscriber
2020-12-09 14:10:50,122 [TRACE] [core ] [core ] Creating process for 'mqtt'
2020-12-09 14:10:50,123 [TRACE] [core ] [core ] Process created successfully for module 'mqtt'
2020-12-09 14:10:50,124 [TRACE] [core ] [core ] Starting process for 'mqtt'
2020-12-09 14:10:50,130 [INFO ] [core ] [core ] Module 'mqtt' started successfully
2020-12-09 14:10:50,133 [TRACE] [core ] [core ] Creating process for 'gpio'
2020-12-09 14:10:50,135 [TRACE] [core ] [core ] Process created successfully for module 'gpio'
2020-12-09 14:10:50,136 [TRACE] [core ] [core ] Starting process for 'gpio'
2020-12-09 14:10:50,138 [DEBUG] [mqtt ] [mqtt ] Creating MQTT client
2020-12-09 14:10:50,143 [DEBUG] [mqtt ] [mqtt ] Attaching callbacks
2020-12-09 14:10:50,142 [INFO ] [core ] [core ] Module 'gpio' started successfully
2020-12-09 14:10:50,146 [DEBUG] [mqtt ] [mqtt ] Queuing connect event
2020-12-09 14:10:50,147 [DEBUG] [core ] [bus ] Starting Message Bus Receive thread
2020-12-09 14:10:50,147 [DEBUG] [mqtt ] [mqtt ] Starting MQTT client thread
2020-12-09 14:10:50,150 [TRACE] [core ] [bus.receive ] Message Bus Receive thread started successfully
2020-12-09 14:10:50,150 [DEBUG] [core ] [bus ] Starting Message Bus Transmit thread
2020-12-09 14:10:50,153 [DEBUG] [gpio ] [gpio ] Setting up hardware
2020-12-09 14:10:50,155 [TRACE] [core ] [bus.transmit ] Message Bus Transmit thread started successfully
2020-12-09 14:10:50,156 [INFO ] [gpio ] [gpio.digital ] Setting up 'testinput17' on GPIO17 as INPUT
2020-12-09 14:10:50,157 [DEBUG] [gpio ] [core.gpio.pin.digital ] Setting up pin GPIO17 using chardev
2020-12-09 14:10:50,161 [DEBUG] [gpio ] [gpio ] Starting polling timer with interval of 5s
2020-12-09 14:10:50,164 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:10:50,167 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:10:50,167 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/polling-interval', '5')
2020-12-09 14:10:50,169 [DEBUG] [mqtt ] [mqtt.client ] Sending CONNECT (u1, p1, wr1, wq0, wf1, c0, k15) client_id=b'pigarage'
2020-12-09 14:10:50,170 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:10:50,173 [DEBUG] [mqtt ] [mqtt.client ] Received CONNACK (1, 0)
2020-12-09 14:10:50,174 [INFO ] [mqtt ] [mqtt ] Connected to broker '192.168.2.211:1883'
2020-12-09 14:10:50,175 [DEBUG] [mqtt ] [mqtt ] Resuming previous session
2020-12-09 14:10:50,176 [DEBUG] [mqtt ] [mqtt.client ] Sending SUBSCRIBE (d0, m1) [(b'pigarage/+/+/+/#', 0)]
2020-12-09 14:10:50,178 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/polling-interval', '5')
2020-12-09 14:10:50,180 [DEBUG] [mqtt ] [mqtt ] Heartbeat
2020-12-09 14:10:50,181 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m2), 'b'pigarage/gpio/polling-interval'', ... (1 bytes)
2020-12-09 14:10:50,182 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m3), 'b'pigarage/lwt'', ... (6 bytes)
2020-12-09 14:10:50,184 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:10:50,185 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m4), 'b'pigarage/version'', ... (6 bytes)
2020-12-09 14:10:50,186 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m5), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:10:50,190 [DEBUG] [mqtt ] [mqtt.client ] Received SUBACK
2020-12-09 14:10:55,164 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:10:55,166 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:10:55,168 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:10:55,172 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:10:55,198 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:10:55,200 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m6), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:11:00,167 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:11:00,169 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:11:00,171 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:11:00,174 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:11:00,192 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:11:00,194 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m7), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:11:05,169 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:11:05,203 [DEBUG] [mqtt ] [mqtt.client ] Sending PINGREQ
2020-12-09 14:11:05,312 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:11:05,312 [DEBUG] [mqtt ] [mqtt.client ] Received PINGRESP
2020-12-09 14:11:05,315 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:11:05,318 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:11:05,341 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:11:05,343 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m8), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:11:10,312 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:11:10,314 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:11:10,451 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:11:10,454 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:11:10,463 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:11:10,466 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m9), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:11:10,836 [TRACE] [core ] [core ] Stopping subprocess for 'gpio' with 10s timeout
2020-12-09 14:11:10,840 [TRACE] [gpio ] [gpio ] Module stopping
2020-12-09 14:11:10,842 [DEBUG] [gpio ] [gpio ] Stopping polling timer
2020-12-09 14:11:10,845 [DEBUG] [gpio ] [gpio ] Running pin cleanup
2020-12-09 14:11:11,197 [DEBUG] [core ] [core ] Subproccess for module 'gpio' stopped cleanly
2020-12-09 14:11:11,199 [INFO ] [core ] [core ] Module 'gpio' unloaded
2020-12-09 14:11:11,201 [TRACE] [core ] [core ] Stopping subprocess for 'mqtt' with 10s timeout
2020-12-09 14:11:11,207 [TRACE] [mqtt ] [mqtt ] Module stopping
2020-12-09 14:11:11,209 [DEBUG] [mqtt ] [mqtt ] Disconnecting
2020-12-09 14:11:11,211 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m10), 'b'pigarage/lwt'', ... (7 bytes)
2020-12-09 14:11:11,214 [DEBUG] [mqtt ] [mqtt.client ] Sending DISCONNECT
2020-12-09 14:11:11,217 [DEBUG] [mqtt ] [mqtt ] Stopping MQTT client loop
2020-12-09 14:11:11,229 [DEBUG] [core ] [core ] Subproccess for module 'mqtt' stopped cleanly
2020-12-09 14:11:11,231 [INFO ] [core ] [core ] Module 'mqtt' unloaded
2020-12-09 14:11:11,232 [TRACE] [core ] [bus ] Stopping Message Bus threads
2020-12-09 14:11:11,234 [TRACE] [core ] [bus ] Stopping Message Bus Receive thread with 10s timeout
2020-12-09 14:11:11,458 [DEBUG] [core ] [bus.transmit ] Message Bus Transmit thread stopped cleanly
2020-12-09 14:11:12,183 [DEBUG] [core ] [bus.receive ] Message Bus Receive thread stopped
/dev/gpiochip0
set to root:root
:
Summary
pi@pigarage:/opt/mqttany $ python3 mqttany/mqttany.py -vv
2020-12-09 14:12:06,505 [INFO ] [core ] [core ] MQTTany 0.12.0 starting
2020-12-09 14:12:06,741 [INFO ] [core ] [core.gpio ] Detected board: RASPBERRY_PI_3B
2020-12-09 14:12:06,743 [WARN ] [core ] [core.gpio ] Detected GPIO character device but this account (pi) does not have R/W permissions
2020-12-09 14:12:06,745 [WARN ] [core ] [core.gpio ] Read/Write access is required on the following files: ['/dev/gpiochip0']
2020-12-09 14:12:06,746 [WARN ] [core ] [core.gpio ] Attempting to fall back to sysfs
2020-12-09 14:12:06,747 [DEBUG] [core ] [core.gpio ] Falling back to sysfs
2020-12-09 14:12:06,747 [DEBUG] [core ] [config ] Loading config file
2020-12-09 14:12:06,839 [DEBUG] [core ] [core ] Loading module 'mqtt'
2020-12-09 14:12:06,878 [DEBUG] [core ] [core ] Module 'mqtt' is a communication module
2020-12-09 14:12:07,019 [DEBUG] [core ] [mqtt ] Parsing config
2020-12-09 14:12:07,021 [TRACE] [core ] [mqtt ] Got value '192.168.2.211' for config option 'host'
2020-12-09 14:12:07,022 [TRACE] [core ] [mqtt ] Using default value '1883' for config option 'port'
2020-12-09 14:12:07,023 [TRACE] [core ] [mqtt ] Using default value '{hostname}' for config option 'client id'
2020-12-09 14:12:07,023 [TRACE] [core ] [mqtt ] Using default value '' for config option 'username'
2020-12-09 14:12:07,024 [TRACE] [core ] [mqtt ] Using default value '' for config option 'password'
2020-12-09 14:12:07,025 [TRACE] [core ] [mqtt ] Using default value '0' for config option 'qos'
2020-12-09 14:12:07,026 [TRACE] [core ] [mqtt ] Using default value 'False' for config option 'retain'
2020-12-09 14:12:07,027 [TRACE] [core ] [mqtt ] Using default value '{client_id}' for config option 'root topic'
2020-12-09 14:12:07,028 [TRACE] [core ] [mqtt ] Using default value 'lwt' for config option 'lwt topic'
2020-12-09 14:12:07,029 [TRACE] [core ] [mqtt ] Using default value '300' for config option 'heartbeat interval'
2020-12-09 14:12:07,030 [DEBUG] [core ] [mqtt ] Config loaded successfully
2020-12-09 14:12:07,031 [DEBUG] [core ] [core ] Module 'mqtt' loaded successfully
2020-12-09 14:12:07,032 [DEBUG] [core ] [bus ] Module 'mqtt' added as a receiver
2020-12-09 14:12:07,036 [DEBUG] [core ] [bus ] Module 'mqtt' added as a transmitter
2020-12-09 14:12:07,037 [DEBUG] [core ] [core ] Loading module 'gpio'
2020-12-09 14:12:07,078 [DEBUG] [core ] [core ] Module 'gpio' is an interface module
2020-12-09 14:12:07,081 [DEBUG] [core ] [gpio ] Parsing config
2020-12-09 14:12:07,082 [TRACE] [core ] [gpio ] Using default value 'Mode.SOC' for config option 'mode'
2020-12-09 14:12:07,083 [TRACE] [core ] [gpio ] Got value '5' for config option 'polling interval'
2020-12-09 14:12:07,084 [TRACE] [core ] [gpio ] Using default value '50' for config option 'debounce'
2020-12-09 14:12:07,084 [TRACE] [core ] [gpio ] Found regex '.+' in options
2020-12-09 14:12:07,086 [TRACE] [core ] [gpio ] Config key 'testinput17' matched to options regex '.+'
2020-12-09 14:12:07,087 [TRACE] [core ] [gpio ] Descending into section 'testinput17'
2020-12-09 14:12:07,088 [TRACE] [core ] [gpio ] Got value '17' for config option 'pin'
2020-12-09 14:12:07,089 [TRACE] [core ] [gpio ] Using default value '{pin_id}' for config option 'name'
2020-12-09 14:12:07,089 [TRACE] [core ] [gpio ] Using default value '0' for config option 'first index'
2020-12-09 14:12:07,090 [TRACE] [core ] [gpio ] Got selection 'input' for config option 'pin mode'
2020-12-09 14:12:07,091 [TRACE] [core ] [gpio ] Using default value 'PinBias.NONE' for config option 'resistor'
2020-12-09 14:12:07,092 [TRACE] [core ] [gpio ] Condition 'pin mode==PinMode.INPUT' matched for 'digital'
2020-12-09 14:12:07,093 [TRACE] [core ] [gpio ] Descending into section 'digital'
2020-12-09 14:12:07,094 [TRACE] [core ] [gpio ] Got selection 'both' for config option 'interrupt'
2020-12-09 14:12:07,095 [TRACE] [core ] [gpio ] Using default value 'False' for config option 'invert'
2020-12-09 14:12:07,096 [TRACE] [core ] [gpio ] Using default value 'False' for config option 'initial state'
2020-12-09 14:12:07,096 [TRACE] [core ] [gpio ] Skipping 'counter' as no conditions matched
2020-12-09 14:12:07,097 [DEBUG] [core ] [gpio ] Config loaded
2020-12-09 14:12:07,122 [DEBUG] [core ] [core.gpio.board ] 'gpio.pin.digital' acquired lock on GPIO17 (GPIO17)
2020-12-09 14:12:07,123 [DEBUG] [core ] [gpio.digital ] Configured 'testinput17' on GPIO17 with options: {'ID': 'testinput17', 'pin mode': 'INPUT', 'interrupt': 'BOTH', 'resistor': 'NONE', 'invert': False, 'initial state': 'OFF'}
2020-12-09 14:12:07,124 [DEBUG] [core ] [core ] Module 'gpio' loaded successfully
2020-12-09 14:12:07,125 [DEBUG] [core ] [bus ] Module 'gpio' added as a publisher
2020-12-09 14:12:07,128 [DEBUG] [core ] [bus ] Module 'gpio' added as a subscriber
2020-12-09 14:12:07,129 [TRACE] [core ] [core ] Creating process for 'mqtt'
2020-12-09 14:12:07,130 [TRACE] [core ] [core ] Process created successfully for module 'mqtt'
2020-12-09 14:12:07,130 [TRACE] [core ] [core ] Starting process for 'mqtt'
2020-12-09 14:12:07,137 [INFO ] [core ] [core ] Module 'mqtt' started successfully
2020-12-09 14:12:07,140 [TRACE] [core ] [core ] Creating process for 'gpio'
2020-12-09 14:12:07,142 [TRACE] [core ] [core ] Process created successfully for module 'gpio'
2020-12-09 14:12:07,143 [TRACE] [core ] [core ] Starting process for 'gpio'
2020-12-09 14:12:07,145 [DEBUG] [mqtt ] [mqtt ] Creating MQTT client
2020-12-09 14:12:07,150 [DEBUG] [mqtt ] [mqtt ] Attaching callbacks
2020-12-09 14:12:07,149 [INFO ] [core ] [core ] Module 'gpio' started successfully
2020-12-09 14:12:07,152 [DEBUG] [mqtt ] [mqtt ] Queuing connect event
2020-12-09 14:12:07,154 [DEBUG] [mqtt ] [mqtt ] Starting MQTT client thread
2020-12-09 14:12:07,154 [DEBUG] [core ] [bus ] Starting Message Bus Receive thread
2020-12-09 14:12:07,156 [TRACE] [core ] [bus.receive ] Message Bus Receive thread started successfully
2020-12-09 14:12:07,159 [DEBUG] [gpio ] [gpio ] Setting up hardware
2020-12-09 14:12:07,158 [DEBUG] [core ] [bus ] Starting Message Bus Transmit thread
2020-12-09 14:12:07,161 [INFO ] [gpio ] [gpio.digital ] Setting up 'testinput17' on GPIO17 as INPUT
2020-12-09 14:12:07,163 [DEBUG] [gpio ] [core.gpio.pin.digital ] Setting up pin GPIO17 using sysfs
2020-12-09 14:12:07,163 [TRACE] [core ] [bus.transmit ] Message Bus Transmit thread started successfully
2020-12-09 14:12:07,176 [DEBUG] [mqtt ] [mqtt.client ] Sending CONNECT (u1, p1, wr1, wq0, wf1, c0, k15) client_id=b'pigarage'
2020-12-09 14:12:07,180 [DEBUG] [mqtt ] [mqtt.client ] Received CONNACK (1, 0)
2020-12-09 14:12:07,181 [INFO ] [mqtt ] [mqtt ] Connected to broker '192.168.2.211:1883'
2020-12-09 14:12:07,182 [DEBUG] [mqtt ] [mqtt ] Resuming previous session
2020-12-09 14:12:07,183 [DEBUG] [mqtt ] [mqtt.client ] Sending SUBSCRIBE (d0, m1) [(b'pigarage/+/+/+/#', 0)]
2020-12-09 14:12:07,187 [DEBUG] [mqtt ] [mqtt ] Heartbeat
2020-12-09 14:12:07,188 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m2), 'b'pigarage/lwt'', ... (6 bytes)
2020-12-09 14:12:07,190 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m3), 'b'pigarage/version'', ... (6 bytes)
2020-12-09 14:12:07,195 [DEBUG] [mqtt ] [mqtt.client ] Received SUBACK
2020-12-09 14:12:07,269 [DEBUG] [gpio ] [gpio ] Starting polling timer with interval of 5s
2020-12-09 14:12:07,271 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:12:07,272 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:12:07,275 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/polling-interval', '5')
2020-12-09 14:12:07,278 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:07,287 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/polling-interval', '5')
2020-12-09 14:12:07,289 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m4), 'b'pigarage/gpio/polling-interval'', ... (1 bytes)
2020-12-09 14:12:07,291 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:07,292 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m5), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:12:12,271 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:12:12,274 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:12:12,277 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:12:12,280 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:12,305 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:12,307 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m6), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:12:17,274 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:12:17,277 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:12:17,415 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:12:17,418 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:17,427 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:17,429 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m7), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:12:22,277 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:12:22,280 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:12:22,416 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:12:22,419 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:22,422 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:22,424 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m8), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:12:22,427 [DEBUG] [mqtt ] [mqtt.client ] Sending PINGREQ
2020-12-09 14:12:22,431 [DEBUG] [mqtt ] [mqtt.client ] Received PINGRESP
2020-12-09 14:12:27,280 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:12:27,282 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:12:27,419 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:12:27,422 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:27,443 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:27,445 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m9), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:12:32,283 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 14:12:32,286 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 14:12:32,558 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 14:12:32,562 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:32,567 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 14:12:32,569 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m10), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 14:12:33,764 [TRACE] [core ] [core ] Stopping subprocess for 'gpio' with 10s timeout
2020-12-09 14:12:33,769 [TRACE] [gpio ] [gpio ] Module stopping
2020-12-09 14:12:33,771 [DEBUG] [gpio ] [gpio ] Stopping polling timer
2020-12-09 14:12:33,772 [DEBUG] [gpio ] [gpio ] Running pin cleanup
2020-12-09 14:12:34,311 [DEBUG] [core ] [core ] Subproccess for module 'gpio' stopped cleanly
2020-12-09 14:12:34,313 [INFO ] [core ] [core ] Module 'gpio' unloaded
2020-12-09 14:12:34,315 [TRACE] [core ] [core ] Stopping subprocess for 'mqtt' with 10s timeout
2020-12-09 14:12:34,333 [TRACE] [mqtt ] [mqtt ] Module stopping
2020-12-09 14:12:34,335 [DEBUG] [mqtt ] [mqtt ] Disconnecting
2020-12-09 14:12:34,336 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m11), 'b'pigarage/lwt'', ... (7 bytes)
2020-12-09 14:12:34,339 [DEBUG] [mqtt ] [mqtt.client ] Sending DISCONNECT
2020-12-09 14:12:34,343 [DEBUG] [mqtt ] [mqtt ] Stopping MQTT client loop
2020-12-09 14:12:34,359 [DEBUG] [core ] [core ] Subproccess for module 'mqtt' stopped cleanly
2020-12-09 14:12:34,361 [INFO ] [core ] [core ] Module 'mqtt' unloaded
2020-12-09 14:12:34,363 [TRACE] [core ] [bus ] Stopping Message Bus threads
2020-12-09 14:12:34,364 [TRACE] [core ] [bus ] Stopping Message Bus Receive thread with 10s timeout
2020-12-09 14:12:34,566 [DEBUG] [core ] [bus.transmit ] Message Bus Transmit thread stopped cleanly
2020-12-09 14:12:35,198 [DEBUG] [core ] [bus.receive ] Message Bus Receive thread stopped cleanly
2020-12-09 14:12:35,200 [INFO ] [core ] [core ] MQTTany stopped
Unfortunately I even don’t see the state changes from the polling anymore
Edit:
So I just swapped the sd cards from the 3b to the 2b and the polling works again. I’m lost …
Summary
pi@pigarage:/opt/mqttany $ python3 mqttany/mqttany.py -vv
2020-12-09 16:37:46,573 [INFO ] [core ] [core ] MQTTany 0.12.0 starting
2020-12-09 16:37:47,010 [INFO ] [core ] [core.gpio ] Detected board: RASPBERRY_PI_2B
2020-12-09 16:37:47,012 [DEBUG] [core ] [core.gpio ] Detected GPIO character device
2020-12-09 16:37:47,014 [DEBUG] [core ] [config ] Loading config file
2020-12-09 16:37:47,171 [DEBUG] [core ] [core ] Loading module 'mqtt'
2020-12-09 16:37:47,239 [DEBUG] [core ] [core ] Module 'mqtt' is a communication module
2020-12-09 16:37:47,490 [DEBUG] [core ] [mqtt ] Parsing config
2020-12-09 16:37:47,492 [TRACE] [core ] [mqtt ] Got value '192.168.2.211' for config option 'host'
2020-12-09 16:37:47,494 [TRACE] [core ] [mqtt ] Using default value '1883' for config option 'port'
2020-12-09 16:37:47,496 [TRACE] [core ] [mqtt ] Using default value '{hostname}' for config option 'client id'
2020-12-09 16:37:47,498 [TRACE] [core ] [mqtt ] Using default value '' for config option 'username'
2020-12-09 16:37:47,499 [TRACE] [core ] [mqtt ] Using default value '' for config option 'password'
2020-12-09 16:37:47,501 [TRACE] [core ] [mqtt ] Using default value '0' for config option 'qos'
2020-12-09 16:37:47,503 [TRACE] [core ] [mqtt ] Using default value 'False' for config option 'retain'
2020-12-09 16:37:47,505 [TRACE] [core ] [mqtt ] Using default value '{client_id}' for config option 'root topic'
2020-12-09 16:37:47,506 [TRACE] [core ] [mqtt ] Using default value 'lwt' for config option 'lwt topic'
2020-12-09 16:37:47,508 [TRACE] [core ] [mqtt ] Using default value '300' for config option 'heartbeat interval'
2020-12-09 16:37:47,509 [DEBUG] [core ] [mqtt ] Config loaded successfully
2020-12-09 16:37:47,511 [DEBUG] [core ] [core ] Module 'mqtt' loaded successfully
2020-12-09 16:37:47,513 [DEBUG] [core ] [bus ] Module 'mqtt' added as a receiver
2020-12-09 16:37:47,521 [DEBUG] [core ] [bus ] Module 'mqtt' added as a transmitter
2020-12-09 16:37:47,523 [DEBUG] [core ] [core ] Loading module 'gpio'
2020-12-09 16:37:47,598 [DEBUG] [core ] [core ] Module 'gpio' is an interface module
2020-12-09 16:37:47,603 [DEBUG] [core ] [gpio ] Parsing config
2020-12-09 16:37:47,605 [TRACE] [core ] [gpio ] Using default value 'Mode.SOC' for config option 'mode'
2020-12-09 16:37:47,607 [TRACE] [core ] [gpio ] Got value '5' for config option 'polling interval'
2020-12-09 16:37:47,608 [TRACE] [core ] [gpio ] Using default value '50' for config option 'debounce'
2020-12-09 16:37:47,610 [TRACE] [core ] [gpio ] Found regex '.+' in options
2020-12-09 16:37:47,613 [TRACE] [core ] [gpio ] Config key 'testinput17' matched to options regex '.+'
2020-12-09 16:37:47,614 [TRACE] [core ] [gpio ] Descending into section 'testinput17'
2020-12-09 16:37:47,616 [TRACE] [core ] [gpio ] Got value '17' for config option 'pin'
2020-12-09 16:37:47,618 [TRACE] [core ] [gpio ] Using default value '{pin_id}' for config option 'name'
2020-12-09 16:37:47,619 [TRACE] [core ] [gpio ] Using default value '0' for config option 'first index'
2020-12-09 16:37:47,621 [TRACE] [core ] [gpio ] Got selection 'input' for config option 'pin mode'
2020-12-09 16:37:47,623 [TRACE] [core ] [gpio ] Using default value 'PinBias.NONE' for config option 'resistor'
2020-12-09 16:37:47,625 [TRACE] [core ] [gpio ] Condition 'pin mode==PinMode.INPUT' matched for 'digital'
2020-12-09 16:37:47,626 [TRACE] [core ] [gpio ] Descending into section 'digital'
2020-12-09 16:37:47,628 [TRACE] [core ] [gpio ] Got selection 'both' for config option 'interrupt'
2020-12-09 16:37:47,629 [TRACE] [core ] [gpio ] Using default value 'False' for config option 'invert'
2020-12-09 16:37:47,631 [TRACE] [core ] [gpio ] Using default value 'False' for config option 'initial state'
2020-12-09 16:37:47,633 [TRACE] [core ] [gpio ] Skipping 'counter' as no conditions matched
2020-12-09 16:37:47,634 [DEBUG] [core ] [gpio ] Config loaded
2020-12-09 16:37:47,679 [DEBUG] [core ] [core.gpio.board ] 'gpio.pin.digital' acquired lock on GPIO17 (GPIO17)
2020-12-09 16:37:47,681 [DEBUG] [core ] [gpio.digital ] Configured 'testinput17' on GPIO17 with options: {'ID': 'testinput17', 'pin mode': 'INPUT', 'interrupt': 'BOTH', 'resistor': 'NONE', 'invert': False, 'initial state': 'OFF'}
2020-12-09 16:37:47,683 [DEBUG] [core ] [core ] Module 'gpio' loaded successfully
2020-12-09 16:37:47,685 [DEBUG] [core ] [bus ] Module 'gpio' added as a publisher
2020-12-09 16:37:47,689 [DEBUG] [core ] [bus ] Module 'gpio' added as a subscriber
2020-12-09 16:37:47,691 [TRACE] [core ] [core ] Creating process for 'mqtt'
2020-12-09 16:37:47,693 [TRACE] [core ] [core ] Process created successfully for module 'mqtt'
2020-12-09 16:37:47,695 [TRACE] [core ] [core ] Starting process for 'mqtt'
2020-12-09 16:37:47,706 [INFO ] [core ] [core ] Module 'mqtt' started successfully
2020-12-09 16:37:47,712 [TRACE] [core ] [core ] Creating process for 'gpio'
2020-12-09 16:37:47,715 [TRACE] [core ] [core ] Process created successfully for module 'gpio'
2020-12-09 16:37:47,718 [TRACE] [core ] [core ] Starting process for 'gpio'
2020-12-09 16:37:47,722 [DEBUG] [mqtt ] [mqtt ] Creating MQTT client
2020-12-09 16:37:47,729 [INFO ] [core ] [core ] Module 'gpio' started successfully
2020-12-09 16:37:47,731 [DEBUG] [mqtt ] [mqtt ] Attaching callbacks
2020-12-09 16:37:47,736 [DEBUG] [mqtt ] [mqtt ] Queuing connect event
2020-12-09 16:37:47,737 [DEBUG] [core ] [bus ] Starting Message Bus Receive thread
2020-12-09 16:37:47,739 [DEBUG] [mqtt ] [mqtt ] Starting MQTT client thread
2020-12-09 16:37:47,742 [TRACE] [core ] [bus.receive ] Message Bus Receive thread started successfully
2020-12-09 16:37:47,743 [DEBUG] [core ] [bus ] Starting Message Bus Transmit thread
2020-12-09 16:37:47,746 [DEBUG] [gpio ] [gpio ] Setting up hardware
2020-12-09 16:37:47,751 [INFO ] [gpio ] [gpio.digital ] Setting up 'testinput17' on GPIO17 as INPUT
2020-12-09 16:37:47,751 [TRACE] [core ] [bus.transmit ] Message Bus Transmit thread started successfully
2020-12-09 16:37:47,754 [DEBUG] [gpio ] [core.gpio.pin.digital ] Setting up pin GPIO17 using chardev
2020-12-09 16:37:47,763 [DEBUG] [gpio ] [gpio ] Starting polling timer with interval of 5s
2020-12-09 16:37:47,769 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 16:37:47,771 [DEBUG] [gpio ] [gpio.digital ] Read state ON logic HIGH from 'testinput17' on GPIO17
2020-12-09 16:37:47,775 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/polling-interval', '5')
2020-12-09 16:37:47,774 [DEBUG] [mqtt ] [mqtt.client ] Sending CONNECT (u1, p1, wr1, wq0, wf1, c0, k15) client_id=b'pigarage'
2020-12-09 16:37:47,782 [DEBUG] [mqtt ] [mqtt.client ] Received CONNACK (1, 0)
2020-12-09 16:37:47,783 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'ON')
2020-12-09 16:37:47,784 [INFO ] [mqtt ] [mqtt ] Connected to broker '192.168.2.211:1883'
2020-12-09 16:37:47,787 [DEBUG] [mqtt ] [mqtt ] Resuming previous session
2020-12-09 16:37:47,789 [DEBUG] [mqtt ] [mqtt.client ] Sending SUBSCRIBE (d0, m1) [(b'pigarage/+/+/+/#', 0)]
2020-12-09 16:37:47,791 [DEBUG] [mqtt ] [mqtt ] Heartbeat
2020-12-09 16:37:47,794 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m2), 'b'pigarage/lwt'', ... (6 bytes)
2020-12-09 16:37:47,796 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m3), 'b'pigarage/version'', ... (6 bytes)
2020-12-09 16:37:47,802 [DEBUG] [mqtt ] [mqtt.client ] Received SUBACK
2020-12-09 16:37:47,805 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/polling-interval', '5')
2020-12-09 16:37:47,811 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m4), 'b'pigarage/gpio/polling-interval'', ... (1 bytes)
2020-12-09 16:37:47,815 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'ON')
2020-12-09 16:37:47,818 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m5), 'b'pigarage/gpio/testinput17'', ... (2 bytes)
2020-12-09 16:37:52,767 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 16:37:52,771 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 16:37:52,773 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 16:37:52,778 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 16:37:52,790 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 16:37:52,794 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m6), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 16:37:57,771 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 16:37:57,776 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 16:37:58,050 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 16:37:58,055 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 16:37:58,078 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 16:37:58,081 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m7), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 16:38:02,776 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 16:38:02,781 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 16:38:03,053 [DEBUG] [gpio ] [gpio.digital ] Read state ON logic HIGH from 'testinput17' on GPIO17
2020-12-09 16:38:03,058 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'ON')
2020-12-09 16:38:03,080 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'ON')
2020-12-09 16:38:03,083 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m8), 'b'pigarage/gpio/testinput17'', ... (2 bytes)
2020-12-09 16:38:03,086 [DEBUG] [mqtt ] [mqtt.client ] Sending PINGREQ
2020-12-09 16:38:03,092 [DEBUG] [mqtt ] [mqtt.client ] Received PINGRESP
2020-12-09 16:38:07,781 [DEBUG] [gpio ] [gpio ] Polling timer fired
2020-12-09 16:38:07,785 [DEBUG] [gpio ] [gpio ] Polling all pins
2020-12-09 16:38:07,923 [DEBUG] [gpio ] [gpio.digital ] Read state OFF logic LOW from 'testinput17' on GPIO17
2020-12-09 16:38:07,928 [TRACE] [core ] [bus.transmit ] Message received on publish queue: Message('gpio/testinput17', 'OFF')
2020-12-09 16:38:07,958 [TRACE] [mqtt ] [mqtt ] Message received to transmit: Message('gpio/testinput17', 'OFF')
2020-12-09 16:38:07,961 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r0, m9), 'b'pigarage/gpio/testinput17'', ... (3 bytes)
2020-12-09 16:38:08,555 [TRACE] [core ] [core ] Stopping subprocess for 'gpio' with 10s timeout
2020-12-09 16:38:08,562 [TRACE] [gpio ] [gpio ] Module stopping
2020-12-09 16:38:08,565 [DEBUG] [gpio ] [gpio ] Stopping polling timer
2020-12-09 16:38:08,568 [DEBUG] [gpio ] [gpio ] Running pin cleanup
2020-12-09 16:38:08,949 [DEBUG] [core ] [core ] Subproccess for module 'gpio' stopped cleanly
2020-12-09 16:38:08,952 [INFO ] [core ] [core ] Module 'gpio' unloaded
2020-12-09 16:38:08,955 [TRACE] [core ] [core ] Stopping subprocess for 'mqtt' with 10s timeout
2020-12-09 16:38:08,966 [TRACE] [mqtt ] [mqtt ] Module stopping
2020-12-09 16:38:08,969 [DEBUG] [mqtt ] [mqtt ] Disconnecting
2020-12-09 16:38:08,972 [DEBUG] [mqtt ] [mqtt.client ] Sending PUBLISH (d0, q0, r1, m10), 'b'pigarage/lwt'', ... (7 bytes)
2020-12-09 16:38:08,976 [DEBUG] [mqtt ] [mqtt.client ] Sending DISCONNECT
2020-12-09 16:38:08,979 [DEBUG] [mqtt ] [mqtt ] Stopping MQTT client loop
2020-12-09 16:38:08,995 [DEBUG] [core ] [core ] Subproccess for module 'mqtt' stopped cleanly
2020-12-09 16:38:08,999 [INFO ] [core ] [core ] Module 'mqtt' unloaded
2020-12-09 16:38:09,002 [TRACE] [core ] [bus ] Stopping Message Bus threads
2020-12-09 16:38:09,005 [TRACE] [core ] [bus ] Stopping Message Bus Receive thread with 10s timeout
2020-12-09 16:38:09,776 [DEBUG] [core ] [bus.receive ] Message Bus Receive thread stopped cleanly
2020-12-09 16:38:09,779 [TRACE] [core ] [bus ] Stopping Message Bus Transmit thread with 10s timeout
2020-12-09 16:38:09,933 [DEBUG] [core ] [bus.transmit ] Message Bus Transmit thread stopped cleanly
2020-12-09 16:38:09,937 [INFO ] [core ] [core ] MQTTany stopped