[SOLVED]Python based plugins reload bug
Posted: Sunday 29 March 2026 10:57
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
to_import/__init__.py
change Bar to anything else and restart the plugin. Log still shows Bar.
Regards.
PS: great update!
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()
Code: Select all
import Domoticz
def test():
Domoticz.Log("Bar")
Regards.
PS: great update!