reneklootwijk / node-mideahvac

MIT License
79 stars 7 forks source link

Invalid data length (19) #13

Closed twocolors closed 2 years ago

twocolors commented 2 years ago
- Id: 20890720943592
- Host: 192.168.0.116
- Port: 6444
- MAC Address: 84:7c:9b:4a:****
- Serial No.: 000000P00000************
- Appliance Type: Air Conditioner
- Firmware Version: 3.0.6
- New Encryption Version: true
- UDP Id: 91c8168fe3d27e17c8643716********
2022-05-28T02:45:17.074Z info: SK103._request: Entering with getStatus=aa20ac00000000000003418100ff03ff000200000000000000000000000003cd9c
2022-05-28T02:45:17.074Z debug: SK103._processQueue: Entering
2022-05-28T02:45:17.075Z debug: SK103._processQueue: Sending 'getStatus' command
2022-05-28T02:45:17.729Z debug: SK103._dataHandler: Entering with 8370007e206356ac9033057da1551bad6383a9596999f3679ee090da9875129fe11b5e596997f494ff089c08f7166568df7d1176f30c5118f7cd4a494366a098d1e6b4728a9ef1bd07decaf3521d28ed719546d7ab6fbba987df061d9463bb82993c0e64b1da7f7d5a1707f1c4714bf49dd27501257fac9d9bdc632929398359bd35635112fe
2022-05-28T02:45:17.730Z debug: SK103._dataHandler: Calling handler for the command 'getStatus' in progress
2022-05-28T02:45:17.730Z debug: SK103._decode: Entering with 8370007e206356ac9033057da1551bad6383a9596999f3679ee090da9875129fe11b5e596997f494ff089c08f7166568df7d1176f30c5118f7cd4a494366a098d1e6b4728a9ef1bd07decaf3521d28ed719546d7ab6fbba987df061d9463bb82993c0e64b1da7f7d5a1707f1c4714bf49dd27501257fac9d9bdc632929398359bd35635112fe
2022-05-28T02:45:17.730Z debug: SK103._request: Entering callback
2022-05-28T02:45:17.730Z debug: C0.parser: Entering with c0008c507f7f00000000006140000000000000 - 19
2022-05-28T02:45:17.731Z error: C0.parser: Invalid data length (19)
2022-05-28T02:45:17.731Z debug: AC._updateStatus: Entering with {}
reneklootwijk commented 2 years ago

You are using firmware 3.0.6 while I only support firmware 3.0.8 as stated in the README. The main reason is that I did not test with firmware 3.0.6. Does your AC unit support frost protection (fp in the MSmartHome app)? If it does can you log the difference between the status report output when enabled and when disabled?

twocolors commented 2 years ago

didn't really understand what to do. can it be more extended?

many are discussing that they cannot upgrade from 3.0.6 to 3.0.8 ):

reneklootwijk commented 2 years ago

What I want you to do is to select the FP mode (when your AC unit support it), capture the logging of the C0.parser, then disable the FP mode and again capture the logging of the C0.parser.

fp

twocolors commented 2 years ago

not support FP

IMG_90D9D74069CD-1

reneklootwijk commented 2 years ago

Does it work now for you?

twocolors commented 2 years ago

didn't work for me and sk103 can't update to 3.0.8

reneklootwijk commented 2 years ago

Did you try the new version because I changed the check on the response size?

twocolors commented 2 years ago

thx, all work!!