Python Plugin still running after disabling in Hardware page

Python and python framework

Moderator: leecollings

Post Reply
kubiack
Posts: 3
Joined: Tuesday 21 January 2014 20:49
Target OS: Linux
Domoticz version:
Contact:

Python Plugin still running after disabling in Hardware page

Post by kubiack »

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.
User avatar
TiXav
Posts: 40
Joined: Saturday 28 November 2015 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: Python Plugin still running after disabling in Hardware page

Post by TiXav »

I have just seen the same behaviour with this plugin : https://github.com/Xenomes/Domoticz-TUYA-Plugin.git during I was modifying it for my own purpose
The domoticz version I use is 2020.2 build 12624
User avatar
Xenomes
Posts: 406
Joined: Tuesday 27 November 2018 19:05
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Python Plugin still running after disabling in Hardware page

Post by Xenomes »

On my live and test system, when i disable the plug-in there are no new log entries. Also i am interested in you modifications :). Is that something for the global plugin?
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest