Good morning. I just upgraded to HS4 and cannot get Withings to work. The command window on the HS4 server for withings reports "invalid toke" then exceptions out (see attached screen capture)
[ATTACH=CONFIG]n1405099[/ATTACH]
The following is teh system log:
HomeSeer
Info
Plugin Withings with ID: and Instance: has disconnected
HomeSeer
Starting Plug-In
Plugin Withings started successfully in 2634 milliseconds
Legacy-Plugin
Withings ERROR
Exception CheckAndCreateDevices(): System.ArgumentNullException: Value cannot be null. Parameter name: value at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at HSPI_Withings.Plugin.UpdateAllDevices() at HSPI_Withings.Plugin.CheckAndCreateDevices()
Legacy-Plugin
Withings Debug
Withings Device Key: 28850754cf659952b281127072a72dd7b5ba356b_battery HS3 devRef: 2161
Legacy-Plugin
Withings Debug
Withings Device Key: 28850754cf659952b281127072a72dd7b5ba356b_root HS3 devRef: 2160
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_totalcalories HS3 devRef: 2134
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_calories HS3 devRef: 2133
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_active HS3 devRef: 2132
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_intense HS3 devRef: 2131
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_moderate HS3 devRef: 2130
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_soft HS3 devRef: 2129
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_elevation HS3 devRef: 2128
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_distance HS3 devRef: 2127
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_steps HS3 devRef: 2126
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_11 HS3 devRef: 1193
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_10 HS3 devRef: 1192
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_9 HS3 devRef: 1191
Legacy-Plugin
Withings Debug
Withings Device Key: 5ab27c6b9d8e4a08f7e0a835c4288de378ba573e_battery HS3 devRef: 2122
Legacy-Plugin
Withings Debug
Withings Device Key: 5ab27c6b9d8e4a08f7e0a835c4288de378ba573e_root HS3 devRef: 2121
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_5 HS3 devRef: 1186
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_6 HS3 devRef: 1185
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_88 HS3 devRef: 1184
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_77 HS3 devRef: 1183
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_76 HS3 devRef: 1182
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_8 HS3 devRef: 1181
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_4 HS3 devRef: 1180
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_1 HS3 devRef: 1179
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_root HS3 devRef: 2125
Legacy-Plugin
Withings Debug
Withings Device Key: fd39c60df8715bc71acc59fe0f41c40606f0ea9e_battery HS3 devRef: 2124
Legacy-Plugin
Withings Debug
Withings Device Key: fd39c60df8715bc71acc59fe0f41c40606f0ea9e_root HS3 devRef: 2123
HomeSeer
Starting Plug-In
Initializing plugin Withings ...
HomeSeer
Starting Plug-In
Withings loaded in 15010 milliseconds
HomeSeer
Info
Plugin Withings has connected. IP:127.0.0.1:55900
Thanks
Will
[ATTACH=CONFIG]n1405099[/ATTACH]
The following is teh system log:
8/03/2020 13:16:01
HomeSeer
Info
Plugin Withings with ID: and Instance: has disconnected
8/03/2020 13:15:33
HomeSeer
Starting Plug-In
Plugin Withings started successfully in 2634 milliseconds
8/03/2020 13:15:33
Legacy-Plugin
Withings ERROR
Exception CheckAndCreateDevices(): System.ArgumentNullException: Value cannot be null. Parameter name: value at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at HSPI_Withings.Plugin.UpdateAllDevices() at HSPI_Withings.Plugin.CheckAndCreateDevices()
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 28850754cf659952b281127072a72dd7b5ba356b_battery HS3 devRef: 2161
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 28850754cf659952b281127072a72dd7b5ba356b_root HS3 devRef: 2160
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_totalcalories HS3 devRef: 2134
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_calories HS3 devRef: 2133
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_active HS3 devRef: 2132
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_intense HS3 devRef: 2131
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_moderate HS3 devRef: 2130
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_soft HS3 devRef: 2129
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_elevation HS3 devRef: 2128
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_distance HS3 devRef: 2127
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_steps HS3 devRef: 2126
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_11 HS3 devRef: 1193
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_10 HS3 devRef: 1192
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_9 HS3 devRef: 1191
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 5ab27c6b9d8e4a08f7e0a835c4288de378ba573e_battery HS3 devRef: 2122
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 5ab27c6b9d8e4a08f7e0a835c4288de378ba573e_root HS3 devRef: 2121
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_5 HS3 devRef: 1186
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_6 HS3 devRef: 1185
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_88 HS3 devRef: 1184
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_77 HS3 devRef: 1183
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_76 HS3 devRef: 1182
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_8 HS3 devRef: 1181
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_4 HS3 devRef: 1180
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_1 HS3 devRef: 1179
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: 20344268_root HS3 devRef: 2125
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: fd39c60df8715bc71acc59fe0f41c40606f0ea9e_battery HS3 devRef: 2124
8/03/2020 13:15:32
Legacy-Plugin
Withings Debug
Withings Device Key: fd39c60df8715bc71acc59fe0f41c40606f0ea9e_root HS3 devRef: 2123
8/03/2020 13:15:30
HomeSeer
Starting Plug-In
Initializing plugin Withings ...
8/03/2020 13:15:30
HomeSeer
Starting Plug-In
Withings loaded in 15010 milliseconds
8/03/2020 13:15:15
HomeSeer
Info
Plugin Withings has connected. IP:127.0.0.1:55900
Thanks
Will
Comment