homebridge-samsung-airconditioner icon indicating copy to clipboard operation
homebridge-samsung-airconditioner copied to clipboard

Temperature set to (null)

Open Wrotaz opened this issue 5 years ago • 1 comments

Hi,

I'm using your plugin to control AR12MSPXBWKN. The plugin works almost excellent, however, at some point, a glitch shows up. Regardless of temperature slider position, the Home app shows "Setting temperature to (null)" (although, slider movement changes the desired temperature on the AC). Sometimes zeroing Homebridge (deleting persist and accessories folders) helps, but then, randomly, the problem comes back. Also, there are some strange values in the log ("ul", "ulazz"):


[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i
nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Mode.modes[0]'                                                                                                                                         
[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i
nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Temperatures[0].desired'                                                                                                                               
[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i
nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Operation.power'                                                                                                                                       
[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i
nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Temperatures[0].current'                                                                                                                               
[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] Mettere modalita                                                                                                                                                         
[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --insecure
 -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Mode.modes[0]'     
[6/19/2019, 1:17:28 PM] [Klimatyzator - salon] Power function OK                                                                                                                                                        
[6/19/2019, 1:17:28 PM] [Klimatyzator - salon] null                                                                                                                                                                     
                                                                                                                                                                                                                        
[6/19/2019, 1:17:28 PM] [Klimatyzator - salon] ul                                                                                                                                                                       
[6/19/2019, 1:17:28 PM] [Klimatyzator - salon] ulazz                                                                                                                                                                    
[6/19/2019, 1:17:29 PM] [Klimatyzator - salon] TEMPERTURA DESIDERTA                                                                                                                                                     
[6/19/2019, 1:17:29 PM] [Klimatyzator - salon] 27                                                                                                                                                                       
                                                                                                                                                                                                                        
[6/19/2019, 1:17:29 PM] [Klimatyzator - salon] 27                                                                                                                                                                       
[6/19/2019, 1:17:29 PM] [Klimatyzator - salon] Power function OK                                                                                                                                                        
[6/19/2019, 1:17:29 PM] [Klimatyzator - salon] "On"    

Do you have any idea, how to prevent this behavior from happening?

Wrotaz avatar Jun 19 '19 13:06 Wrotaz

Yes, there is an error in code... 😓 but at the moment i can t resolve now because i hoven t time 😓 sorry. You can try to download old version

Inviato da iPhone

Il giorno 19 giu 2019, alle ore 15:31, Wrotaz <[email protected]mailto:[email protected]> ha scritto:

Hi,

I'm using your plugin to control AR12MSPXBWKN. The plugin works almost excellent, however, at some point, a glitch shows up. Regardless of temperature slider position, the Home app shows "Setting temperature to (null)" (although, slider movement changes the desired temperature on the AC). Sometimes zeroing Homebridge (deleting persist and accessories folders) helps, but then, randomly, the problem comes back. Also, there are some strange values in the log ("ul", "ulazz"):

[6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Mode.modes[0]' [6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Temperatures[0].desired' [6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Operation.power' [6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: Bearer [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --i nsecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Temperatures[0].current' [6/19/2019, 1:17:25 PM] [Klimatyzator - salon] Mettere modalita [6/19/2019, 1:17:25 PM] [Klimatyzator - salon] curl -s -k -H "Content-Type: application/json" -H "Authorization: [anonymized]" --cert /usr/local/lib/node_modules/homebridge-samsung-airconditioner/ac14k_m.pem --insecure -X GET https://192.168.2.24:8888/devices|jq '.Devices[0].Mode.modes[0]' [6/19/2019, 1:17:28 PM] [Klimatyzator - salon] Power function OK [6/19/2019, 1:17:28 PM] [Klimatyzator - salon] null

[6/19/2019, 1:17:28 PM] [Klimatyzator - salon] ul [6/19/2019, 1:17:28 PM] [Klimatyzator - salon] ulazz [6/19/2019, 1:17:29 PM] [Klimatyzator - salon] TEMPERTURA DESIDERTA [6/19/2019, 1:17:29 PM] [Klimatyzator - salon] 27

[6/19/2019, 1:17:29 PM] [Klimatyzator - salon] 27 [6/19/2019, 1:17:29 PM] [Klimatyzator - salon] Power function OK [6/19/2019, 1:17:29 PM] [Klimatyzator - salon] "On"

Do you have any idea, how to prevent this behavior from happening?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/cicciovo/homebridge-samsung-airconditioner/issues/15?email_source=notifications&email_token=AEKZJ5HQVB4UDM7A2RVP3GLP3IYJ5A5CNFSM4HZJUZW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2MYQTQ, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEKZJ5BFBKCU7IY7EYGESPLP3IYJ5ANCNFSM4HZJUZWQ.

cicciovo avatar Jul 06 '19 14:07 cicciovo