Python Plugin still running after disabling in Hardware page
Posted: Saturday 14 November 2020 0:04
I am developing a Python Plug-in to handle my video-projector from Domoticz (see https://github.com/romainrossi/domoticz-epson-projector if interested).
I wanted to disable it from the Hardware page but it doesn't works : the plug-in is still running and writing in the logs.
The plug-in uses a SerialConnection. The onStop() function is not doing anything, like I have seen in the examples.
Maybe I am missing something ? Did someone have experimented the same behaviour ? Did my plugin should do something in the onStop() function to shutdown ?
I use the development branch of the Domoticz code and compiled it myself. It runs in a Ubuntu 20.04 Docker container.
I wanted to disable it from the Hardware page but it doesn't works : the plug-in is still running and writing in the logs.
The plug-in uses a SerialConnection. The onStop() function is not doing anything, like I have seen in the examples.
Maybe I am missing something ? Did someone have experimented the same behaviour ? Did my plugin should do something in the onStop() function to shutdown ?
I use the development branch of the Domoticz code and compiled it myself. It runs in a Ubuntu 20.04 Docker container.