CandySimplyFi-tool icon indicating copy to clipboard operation
CandySimplyFi-tool copied to clipboard

error: find_xor_key_list, could not find key

Open luisleonardo opened this issue 3 years ago • 2 comments

I am trying to get the key from my Candy Dishwasher (Model: CDPN 1L390PW) and I am getting the following error:

./simplyfi IP.IP.IP.IP getkey
## Candy Simply-Fi tool by Melvin Groenendaal ## 
error: find_xor_key_list, could not find key

Following a tip from the HA forum, I did a Curl and get the following:

curl -s http://10.10.10.249/http-read.json?encrypted=1 | xxd -r -p
C=_~@U8: _1#dUezGEnQR)R}B';ovE6eUz@>1(0&MhX}@~o44W#TWoUyUaAmz\Ue+ELc!9UwnWQyz<~ClB0'"##EIwG[G=19w2*ovECw[;}C>`'.,!EIw'Uf:29\U
                                                                                                                             9>7'MhX}@~o;3Y8xHDwMkGo`jy\~3/[YI(9n]QeUz@>1$#$!QoUUf:29\U>?49MhX}@~o�&%_9R
wGk[@Fnzw8F$sW_'UsU|nK~_~?URKU!UsU|nK~_~?U      _]S>"9UwnWQyz<~CJwMkFo`jy\~xgUezGEnQ'DMhX}@~o>SQoUUf:29\U;BovEBw[;}C>BcUsU}nK~_~?U8�
wDk[@FnzwUp     yzC~DnJwM9{tyzC~DnB`U
                                     U{5:\

And if I try to get the key from the file, nothing happens:

./xorknown.py ./crypted.txt '{"status' 16
Searching XOR-encrypted ./crypted.txt for string '{"status' (max_key_length = 16)

Any idea what might be going on or what I can try to get the key?

luisleonardo avatar Oct 12 '21 13:10 luisleonardo

With the help of dzamlo in HA forum, I was able to get my key, but now I am having issues getting the integration to work. I am getting the following error: Retrying setup: Error communicating with API: KeyError('OpzProg')

With the I am getting the following replies:

./simplyfi 10.10.10.249 J780UwIwMLgsUw6w read
{
        "statusDWash":{
                "StatoWiFi":"1",
                "CodiceErrore":"E0",
                "StatoDWash":"2",
                "MetaCarico":"0",
                "StartStop":"0",
                "TreinUno":"0",
                "Eco":"0",
                "Program":"P5",
                "ExtraDry":"0",
                "OpenDoorOpt":"0",
                "DelayStart":"0",
                "RemTime":"120",
                "MissSalt":"1",
                "MissRinse":"0",
                "OpenDoor":"0",
                "Reset":"0",
                "CheckUp":"0",
                "r1":"2",
                "r2":"0",
                "r3":"2",
                "r4":"1",
                "r5":"0",
                "r6":"0",
                "r7":"3",
                "r8":"1",
                "r9":"NULL",
                "r15":"1"
        }
}
./simplyfi 10.10.10.249 J780UwIwMLgsUw6w config
{"response":"SUCCESS"}

And the getStatistics doesn’t give any reply.

luisleonardo avatar Oct 14 '21 19:10 luisleonardo

With the help of dzamlo in HA forum, I was able to get my key

How? I'm having the same issue and couldn't find any help

MrTondy avatar Oct 27 '22 23:10 MrTondy