In my documentation I have several versions of Python that I used before and that worked: 3.8.5, 3.7.4 and 3.5.2
I always like to go for the most recent version, but perhaps it is not always the best option.
I uninstalled version 3.8.6, installed 3.8.6 as administrator --> ran both pip install requests and pip3 install requests --> didn't work (got the "Requirement already satisfied" notification)
I uninstalled version 3.8.6, installed 3.8.5 as administrator --> ran both pip install requests and pip3 install requests --> didn't work (got the "Requirement already satisfied" notification)
I uninstalled version 3.8.5, installed 3.7.4 as administrator --> ran both pip install requests and pip3 install requests, this time resulting in actually installing these libraries --> didn't work....well, wait... after doing an "update" of the deConz plugin I noticed no difference in the logging, but after a while all of a sudden I saw:
2020-10-30 11:48:10.246 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.261 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.277 Status: (deConz) ### deCONZ ready
2020-10-30 11:48:10.277 Status: (deConz) ### Found 14 Operators, 3 Sensors, 4 Groups, 0 Scenes and 0 others, with 0 Ignored
2020-10-30 11:48:10.277 Status: (deConz) ### Device GROUP_All(deConz - All) Not in deCONZ ATM, the device is deleted or not ready.
2020-10-30 11:48:10.277 Status: (deConz) ### Device 14:b4:57:ff:fe:68:5a:0a(deConz - TRADFRI motion sensor ) Not in deCONZ ATM, the device is deleted or not ready.
2020-10-30 11:48:10.333 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.355 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.417 Status: (deConz) Launching websocket on port 8088
2020-10-30 11:48:10.433 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.448 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.542 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.558 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.620 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.636 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.714 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.730 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.792 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.808 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.886 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.901 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.964 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:10.980 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:10.277 Error: (deConz) Process request take too much time : 1.469069004058838 s
2020-10-30 11:48:10.277 Error: (deConz) Process request take too much time : 1.5628163814544678 s
2020-10-30 11:48:11.058 (deConz) onCommand called for Unit 5: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.073 (deConz) onCommand called for Unit 1: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.089 (deConz) onCommand called for Unit 5: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.167 (deConz) onCommand called for Unit 1: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.167 (deConz) onCommand called for Unit 5: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.183 (deConz) onCommand called for Unit 1: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.339 (deConz) onCommand called for Unit 5: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.371 (deConz) onCommand called for Unit 1: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.448 (deConz) onCommand called for Unit 5: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.464 (deConz) onCommand called for Unit 1: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:11.042 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:11.058 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:11.136 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:11.136 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:11.245 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:11.276 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:11.402 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:11.417 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:14.511 Status: (deConz) onDisconnect called for deCONZ_WebSocket
2020-10-30 11:48:15.526 (deConz) onCommand called for Unit 5: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:15.370 Status: LUA: Nieuwe logica Lamp Hal uit
2020-10-30 11:48:15.495 Status: LUA: Nieuwe logica Lamp Overloop uit
2020-10-30 11:48:16.558 (deConz) onCommand called for Unit 1: Parameter 'Off', Level: 0, Hue:
2020-10-30 11:48:16.558 Error: (deConz) Connexion problem (3) with Gateway, check your API key, or Use Request lib > V2.4.2
2020-10-30 11:48:17.573 Error: (deConz) Connexion problem (3) with Gateway, check your API key, or Use Request lib > V2.4.2
Now things do seem to be working! However, I cannot stand the thought that I don't know what changed this
So, as a next step, I will be uninstalling version 3.7.4 and reinstalling 3.8.6 as administrator. But before installing, I will manually remove the Python folders in "c:\users\hendr\appdata\roaming\"
I'll keep you posted
