Thansk alot ! that helped i hav eno idea why i did not do that? i think i did pip instead of pip3
the error is fixed but i still have the same problem as mentioned above that the devices are created and deleted directly.
Could you explain to me in a bit of noob terms where and what to edit the python script to allow it to work i think its a gen2 device problem like the ppl above in this thread.
P.s. i got it wokring somewhat using the instructions from @sema2022
but i,am only stuck on this part
"Further I changed the heater values in line 130 from “0, str(myHeaters[heaterId].is_heating))” to “myHeaters[heaterId].power_status, str(myHeaters[heaterId].is_heating))”. This might be due to the gen2 Wifi Socket having an extra function where you can choose to utilize the internal thermostat function combined with the power On/Off switch or not, and this is controlled by the “fan_status=1” parameters, or... ?"
i can change the temperature en the temperature read out is correct but i cannot turn it on/off thru domoticz.
if you could help met find what line i need to change and where in the plugin.py script it would be much appriciated!