Search found 8 matches

by domja
Sunday 07 December 2025 18:01
Forum: Bugs and Problems
Topic: domoticz with docker, a new dzevent script is without the template
Replies: 2
Views: 107

Re: domoticz with docker, a new dzevent script is without the template

I had the same problem initially.

According to my setup log:

Code: Select all

docker exec -it domoticz bash
# cp scripts/templates userdata/scripts	// hiermee zijn de templates zichtbaar in de events editor
# cp scripts/dzVents userdata/scripts
# cp scripts/lua* userdata/scripts
# cp scripts/python userdata/scripts
by domja
Sunday 21 September 2025 13:22
Forum: Bugs and Problems
Topic: Unable to delete custom images in plugin
Replies: 0
Views: 80

Unable to delete custom images in plugin

Version: 2025.1 both stable and beta (build 16782)
Platform: Raspberry Pi / ODroid (Docker)
Plugin/Hardware: xxxx
Description:

As previously described in https://forum.domoticz.com/viewtopic.php?p=328277#p328277 , I am unable to delete custom images which where created at the start of the plugin ...
by domja
Sunday 21 September 2025 12:51
Forum: Python
Topic: rpdb debugger unusable
Replies: 0
Views: 45

rpdb debugger unusable

Hi,

I wanted to use the rpdb debugger for a plugin I am working on and following the instructions in the wiki, it works.

However in practice it is unusable because domiticz gives the following error every 15 (?) seconds: "Error: ... hardware (2) thread seems to have ended unexpectedly".

Is there ...
by domja
Sunday 21 September 2025 12:31
Forum: Bugs and Problems
Topic: Battery low level highlight does not respect setting
Replies: 0
Views: 43

Battery low level highlight does not respect setting

Version: 2025.1 both stable and beta (build 16782)
Platform: Raspberry Pi / ODroid (Docker)
Plugin/Hardware: dummy/percentage device
Description:

According to the wiki https://wiki.domoticz.com/Application_Settings#Battery_Low_Level when Battery Low level is set, a notification is sent and ...
by domja
Saturday 13 September 2025 16:12
Forum: Python
Topic: How to delete custom images/icons via python?
Replies: 0
Views: 57

How to delete custom images/icons via python?

Hi,

At onStop, I am trying to delete the custom images I added at startup of the plugin.

According to the Wiki : Images['myPlugin'].Delete()
However when I try the following:

for image in Images:
Images[image].Delete()
I get the following error:
Error: Image deletion failed, Image object is ...
by domja
Tuesday 29 July 2025 14:03
Forum: dzVents
Topic: EventHelpers.lua:454: attempt to concatenate a nil value (field 'hardwareName')
Replies: 3
Views: 1156

Re: EventHelpers.lua:454: attempt to concatenate a nil value (field 'hardwareName')

Oke, I did some more testing. This time after deleting the switch and updating the hardware and NOT pushing the button, I restarted the docker image.
And low and behold, after the first toggle ON, no more errors and the event is processed.

This however does not apply to the Dev1 example. Upon ...
by domja
Tuesday 29 July 2025 13:33
Forum: dzVents
Topic: EventHelpers.lua:454: attempt to concatenate a nil value (field 'hardwareName')
Replies: 3
Views: 1156

Re: EventHelpers.lua:454: attempt to concatenate a nil value (field 'hardwareName')

In the first example (Dev1), the values are set immediately after creation, so no waiting is possible there I think.

In de second example (Dev2), i have waited up to 5 minutes before pushing the button. but still the same error.

What I did notice however, after extending the onCommand code a bit ...
by domja
Tuesday 29 July 2025 10:17
Forum: dzVents
Topic: EventHelpers.lua:454: attempt to concatenate a nil value (field 'hardwareName')
Replies: 3
Views: 1156

EventHelpers.lua:454: attempt to concatenate a nil value (field 'hardwareName')

Hi everyone,

Recently started using Domoticz (2025.1 on Docker) and I have been working on a plugin.
So far so good, but I ran into a situation and I am wondering what the problem is.
Tried to search the forum/internet, but to no avail.

I created a small proof of concept to highlight the problem ...