Page 1 of 1

Python mistakes in plugins

Posted: Sunday 04 January 2026 14:05
by svd71
Hi all,

I had try to buil my own plugin and have problem python:

2026-01-04 13:47:55.608 Error: AlarmSirenaCamCtrl: (tMQTTalarm) failed to load 'plugin.py', Python Path used was '/home/svd/domoticz/plugins/TasmotaMQTTAlarmCtrl/:/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/usr/local/lib/python3.13/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.13/dist-packages'.

About my environment:
RPi 3B with 1Gb, Trixie
Python 3.13.5
Domoticz Version: 2025.2

Is it something incompatible with Py3.13 ? What I need to do to fix it?

BR

Re: Python mistakes in plugins

Posted: Sunday 04 January 2026 20:31
by waltervl
This is the only error you get from this? No more hints in the log?
Python 3.13 is supported.

Re: Python mistakes in plugins

Posted: Monday 05 January 2026 11:31
by svd71
Thank you for you message!

It's going from Domoticz-log.

This post(viewtopic.php?p=327194#p327194) shows little bit others:
Python3.13 does not work, but Python3.12 works fine.

I did it yesterday with installation of Python3.12 under pyenv.

BR.

Re: Python mistakes in plugins

Posted: Monday 05 January 2026 12:23
by waltervl
How do you do that, running a lower version of Python in Domoticz?