[SOLVED]Python based plugins reload bug Topic is solved

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
Myriades
Posts: 2
Joined: Sunday 29 March 2026 10:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

[SOLVED]Python based plugins reload bug

Post by Myriades »

Hi.
I'm new here. My name is Laurent.
I have seen a problem with python plugins.

Version: 2026.1
Platform: rpi4 / raspi os trixie with fresh install
Plugin/Hardware: any based on python
Description: only plugin.py is reloaded. other files/modules are ignored until domoticz is restarted.

POE:
plugin.py

Code: Select all

"""
<plugin key="py_test" name="Test plugin" author="Myriades" version="2026.03">
</plugin>
"""

from to_import import test


def onStart() -> None:
    """Démarrage du plugin"""
    test()
to_import/__init__.py

Code: Select all

import Domoticz


def test():
    Domoticz.Log("Bar")
change Bar to anything else and restart the plugin. Log still shows Bar.
Regards.

PS: great update!
Last edited by Myriades on Sunday 29 March 2026 16:48, edited 1 time in total.
User avatar
gizmocuz
Posts: 3023
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Python based plugins reload bug

Post by gizmocuz »

Welcome :mrgreen:

Please report this on our Github issue page and also add a reference to this with thread (url) and also the plugin or an complete example plugin so we can verify and test

https://github.com/domoticz/domoticz/issues
Quality outlives Quantity!
Myriades
Posts: 2
Joined: Sunday 29 March 2026 10:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [SOLVED]Python based plugins reload bug

Post by Myriades »

Fixed in beta this day
Many thanks!
Post Reply