Error: Could not start scanning, state is poweredOff
homebridge-mi-hygrothermograph  v3.1.0
Raspberry Pi Zero W
Homebridge 1.3.6
Raspbian Buster Lite (2021-05-07)
Node.js Version: v14.18.1.

This happened after a while of normal behavior.

[18/11/2021, 17:35:15] [TempSquare 2] Error: Could not start scanning, state is poweredOff (not poweredOn)
    at Noble.scan (/usr/local/lib/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/noble.js:120:21)
    at Noble.startScanning (/usr/local/lib/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/noble.js:149:10)
    at Scanner.start (/usr/local/lib/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:36:13)
    at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:72:14)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)