Raspberry Pi: Error: Unsupported state or unable to authenticate data
Hi there,

Excited to try this plug-in, my YWD03MMC sensors finally came in after 4 months of shipping delay!

I've installed the latest version of Raspian, Homebridge & the home-bridge-mi-hygrothermograph, and was able to extract the link_key from the MI app key exchange.

I see the following error in the home bridge log:

[4/14/2020, 10:24:29 PM] [Temperature & Humidity] Error: Unsupported state or unable to authenticate data
    at Decipheriv.final (internal/crypto/cipher.js:172:29)
    at Parser.decryptPayload (/usr/lib/node_modules/homebridge-mi-hygrothermograph/lib/parser.js:191:14)
    at Parser.parse (/usr/lib/node_modules/homebridge-mi-hygrothermograph/lib/parser.js:59:12)
    at Scanner.parseServiceData (/usr/lib/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:171:52)
    at Scanner.onDiscover (/usr/lib/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:92:25)
    at Noble.emit (events.js:310:20)
    at Noble.onDiscover (/usr/lib/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/noble.js:178:10)
    at NobleBindings.emit (events.js:310:20)
    at NobleBindings.onDiscover (/usr/lib/node_modules/homebridge-mi-hygrothermograph/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:174:10)
    at Gap.emit (events.js:310:20)

Here is my config.json entry:

{
            "accessory": "Hygrotermograph",
            "name": "Temperature & Humidity",
            "humidityName": "Humidity",
            "temperatureName": "Temperature",
            "address": "a4:c1:38:a0:a9:4f",
            "bindKey": "1ECEE08ABAA8C51845**************"
        }

The sensors appear correctly own the IOS Home app.

Here are my versions:

Node.js Version: v12.16.2
npm" v6.14.4
homebridge: 0.4.53
homebridge-mi-hygrothermograph: 3.0.0
Raspian: Stretch - Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

Any ideas or tips? Is anybody running this on a Raspberry PI, or is this only proven to work on Mac or other host?

Thanks in advance,

Filip