Closed rereone closed 3 years ago
Hey @rereone,
Could you please collect debug logs? You can do it by running homebridge like this:
DEBUG=miio-api* homebridge -D
Hello,
Is It that :
.....................................DEBUG=miio-api* homebridge -D Initializing HAP-NodeJS v0.9.4...
[2021-5-11 18:17:02] Loaded plugin: homebridge-mi-humidifier@2.4.2 [2021-5-11 18:17:02] Registering platform 'homebridge-mi-humidifier.MiHumidifier'
[2021-5-11 18:17:03] [MiHumidifier] Initializing MiHumidifier platform...
[2021-5-11 18:17:03] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Firmware Revision': Characteristic not in required or optional characteristic section for service AccessoryInformation. Adding anyway.. See https://git.io/JtMGR for more info.
miio-api:192.168.1.22:ylcti07o -> Packet {
miio-api:192.168.1.22:ylcti07o deviceId: 4294967295,
miio-api:192.168.1.22:ylcti07o timestamp: 4294967295,
miio-api:192.168.1.22:ylcti07o checksum:
miio-api:192.168.1.22:952yol0h <-
miio-api:192.168.1.22:952yol0h 0000 21 31 02 00 00 00 00 00 0e 9d 97 a7 00 09 08 1d
miio-api:192.168.1.22:952yol0h 0010 9f 80 28 50 0e e8 3e e8 1a 96 88 95 05 c3 6d 6c
miio-api:192.168.1.22:952yol0h 0020 a5 bd 4c 00 fe b6 4a 5b b1 e0 58 a0 cb 30 9b 23
miio-api:192.168.1.22:952yol0h 0030 77 0a 32 87 bc 93 26 0f 6c c4 8c c2 77 39 89 47
miio-api:192.168.1.22:952yol0h 0040 51 ce 79 7c 00 13 3e 16 50 47 1b ca 3d a9 bb ba
miio-api:192.168.1.22:952yol0h 0050 94 99 7d e5 71 25 5a 1c e8 bc 62 69 98 20 ac c2
miio-api:192.168.1.22:952yol0h 0060 20 0c 2c 65 0c 22 15 29 8b 3a 27 ed e9 79 f8 a3
miio-api:192.168.1.22:952yol0h 0070 ed 92 73 6b 02 18 22 4b 6f e3 83 25 f8 00 25 d4
miio-api:192.168.1.22:952yol0h 0080 8c 45 ac 16 0d c1 20 f5 af 98 b0 23 5e c7 46 2b
miio-api:192.168.1.22:952yol0h 0090 d4 67 7e a9 27 30 c3 bf d4 9a d0 64 50 37 7b 96
miio-api:192.168.1.22:952yol0h 00a0 1e 38 a0 fb 90 2b 22 db ff 40 70 d4 ab fa 88 c4
miio-api:192.168.1.22:952yol0h 00b0 4c 53 32 79 4f f9 ea 22 39 4b a6 03 d0 12 1c 63
miio-api:192.168.1.22:952yol0h 00c0 2e ef ba 84 21 2b bf c5 03 a5 27 88 80 ce bc 7a
miio-api:192.168.1.22:952yol0h 00d0 a7 99 90 cc 9f d7 c6 24 73 81 5e 51 52 d5 42 a6
miio-api:192.168.1.22:952yol0h 00e0 cb 7d 83 85 ee 29 3a 38 3a 80 62 f1 e7 9a 8d 62
miio-api:192.168.1.22:952yol0h 00f0 8b 50 7c eb 4f c5 5c 1e 8e 10 ad 99 e1 01 a8 49
miio-api:192.168.1.22:952yol0h 0100 16 6e d8 bc d8 2d 59 07 3c bd 10 6a 4b ed fe 39
miio-api:192.168.1.22:952yol0h 0110 fe fe 64 5d c8 ca e0 2a d1 21 7f 56 1b f3 2d 94
miio-api:192.168.1.22:952yol0h 0120 47 79 65 3c 17 6f bc e5 36 58 09 21 03 eb 33 97
miio-api:192.168.1.22:952yol0h 0130 22 43 dd 36 bf a7 38 d5 5d c0 fc b6 3c 7c ce 08
miio-api:192.168.1.22:952yol0h 0140 25 76 fe 28 41 ac c2 09 2e 5c 02 81 a4 ad 1c 1c
miio-api:192.168.1.22:952yol0h 0150 93 0f 9a 36 86 be dd 7b 9d 11 a1 24 73 9f 9f ed
miio-api:192.168.1.22:952yol0h 0160 a4 ce 8c 58 25 d0 68 fa 4c da 1a 39 b6 08 50 a8
miio-api:192.168.1.22:952yol0h 0170 6b 0f f8 1f 9f b4 ca 23 3a 10 fe d6 59 fc 21 42
miio-api:192.168.1.22:952yol0h 0180 3b 15 41 06 f8 ec c0 b1 7a 2b f1 cf 8e 3d 21 a9
miio-api:192.168.1.22:952yol0h 0190 aa 29 bb dc 61 55 41 d8 79 b1 5d c9 2b ec 5a 18
miio-api:192.168.1.22:952yol0h 01a0 62 d8 0e 3b ea c9 eb cd bc 51 4d 56 ad c8 b6 13
miio-api:192.168.1.22:952yol0h 01b0 5e 49 3b 61 ed d0 d7 d0 6e 1a f9 9c d5 e8 5f 34
miio-api:192.168.1.22:952yol0h 01c0 8c 71 a0 91 74 e5 0a bc 97 6d 7d 39 85 35 35 69
miio-api:192.168.1.22:952yol0h 01d0 a4 f7 b8 50 dd 73 9f b4 80 e7 f6 74 da 7e 6a 57
miio-api:192.168.1.22:952yol0h 01e0 3b cb c5 ff 31 fb 84 3b 89 ad d7 7e 5c 73 5c 4e
miio-api:192.168.1.22:952yol0h 01f0 f4 2a ba 10 6a 88 1c 17 06 4a cc 31 6c bf 92 f5 +325ms
miio-api:192.168.1.22:952yol0h <- Packet {
miio-api:192.168.1.22:952yol0h deviceId: 245208999,
miio-api:192.168.1.22:952yol0h timestamp: 591901,
miio-api:192.168.1.22:952yol0h checksum: <Buffer 9f 80 28 50 0e e8 3e e8 1a 96 88 95 05 c3 6d 6c>,
miio-api:192.168.1.22:952yol0h data: <Buffer a5 bd 4c 00 fe b6 4a 5b b1 e0 58 a0 cb 30 9b 23 77 0a 32 87 bc 93 26 0f 6c c4 8c c2 77 39 89 47 51 ce 79 7c 00 13 3e 16 50 47 1b ca 3d a9 bb ba 94 99 ... 430 more bytes>,
miio-api:192.168.1.22:952yol0h unknown: 0
miio-api:192.168.1.22:952yol0h } +0ms
miio-api:192.168.1.22:952yol0h <- {
miio-api:192.168.1.22:952yol0h id: 1008611971,
miio-api:192.168.1.22:952yol0h result: [
miio-api:192.168.1.22:952yol0h { did: 'power', siid: 2, piid: 1, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'fan_level', siid: 2, piid: 5, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'water_level', siid: 7, piid: 1, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'relative_humidity', siid: 3, piid: 1, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'switch_status', siid: 6, piid: 1, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'target_humidity', siid: 2, piid: 6, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'buzzer', siid: 5, piid: 1, code: -4004 },
miio-api:192.168.1.22:952yol0h { did: 'temperature', siid: 3, piid: 7, code: -4004 }
miio-api:192.168.1.22:952yol0h ],
miio-api:192.168.1.22:952yol0h exe_time: 200
miio-api:192.168.1.22:952yol0h } +3ms
[2021-5-11 18:17:04] [MiHumidifier] [192.168.1.22] Updating property "power": undefined -> 0
[2021-5-11 18:17:04] [MiHumidifier] [192.168.1.22] Updating property "power": undefined -> 0
[2021-5-11 18:17:04] [MiHumidifier] [192.168.1.22] Updating property "fan_level": undefined -> 1
[2021-5-11 18:17:04] [MiHumidifier] [192.168.1.22] Updating property "water_level": undefined -> 0
[2021-5-11 18:17:04] [MiHumidifier] [192.168.1.22] Updating property "relative_humidity": undefined -> undefined
[2021-5-11 18:17:04] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[2021-5-11 18:17:04] [homebridge-mi-humidifier] Error:
at CurrentRelativeHumidity.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105)
at CurrentRelativeHumidity.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1931:16)
at CurrentRelativeHumidity.Characteristic.updateValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1379:20)
at /usr/local/lib/node_modules/homebridge-mi-humidifier/src/devices/humidifier.ts:111:32
at Array.forEach (
I don't know if I put all because I have a lot of materials in Homebridge.
Which model of humidifier do you have?
For me, a Deerma... Jsq4, no?
It is a Xiami Mi Smart Antibacterial Humidify.
Could you try to change model to other deerma deerma.humidifier.mjjsq
?
Yes, it's working.
Thanks you very much.
Hello,
I have a problem. I installed the latest version.
And I Have a Error : https://github.com/homebridge/homebridge/wiki/Characteristic-Warnings
Help please.
Temperature and Humidify : 0° ?