Search found 364 matches

by BartSr
Wednesday 14 May 2025 12:08
Forum: Other questions and discussions
Topic: Does extended logfiles exist?
Replies: 2
Views: 136

Does extended logfiles exist?

The webinterface shows general info about e.g. errors.
Before I reported about unhandled MQTT messages. I was adviced to check with mqtt explorer.
I was unable to trace the errors. Now I wonder if there are more error-logfiles somewhere in the OS.
-Bart
by BartSr
Wednesday 26 March 2025 21:57
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

Walter, all you say is true. But if the wifi is not that stable misinformation might be there once a single event would fire a notification. And yes, the wifi in the building is not reliable.
by BartSr
Tuesday 25 March 2025 20:56
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

@HvdW
Thanks for the example. I had a quick view. Do I understand it notifies in case of a failure but not once the failure is solved?

Great link to all examples! I've never been aware of this treasure ;)
by BartSr
Tuesday 25 March 2025 20:48
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

@waltervl
If relay has been energized power is there.
If power fails relay is deenergized
by BartSr
Tuesday 25 March 2025 13:38
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

@Waltervl
There are relays supplied by power circuits to monitor.
The relay change-over contact controls input of esp which in turn controls the domoticz device via MQTT so no Amp value. Also using Amp value might be not always reliable in case of no consumers in use.
by BartSr
Monday 24 March 2025 15:35
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

@ HvdW So far the script does what's desired. It's in use for almost two weeks now and then next Q rises: On board vessels we had an alarmsystem with possibility to delay incoming alarms e.g. for tanklevels (due to vessels movements). Is such a delay doable to get a more 'quit' system (preventing ...
by BartSr
Sunday 16 March 2025 11:35
Forum: General Discussion
Topic: How to trace MQTT error
Replies: 1
Views: 521

How to trace MQTT error

Hi, any idea how to trace the source of this error?
Is there a way to log this kind of errors in mqtt explorer?

Code: Select all

[Error: MQTT: Invalid/Unhandled data received! (Topic: domoticz/in, Message: 0;)]

by BartSr
Thursday 13 March 2025 22:59
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

This is the updated script. I tested as far as possible but I think it does what is expected. What is it used for? This domoticz application is installed in a scouting building. Since the building has been used (newbuilt ) we face now and then a trip of 'groep 13'. As there is not always anybody in ...
by BartSr
Thursday 13 March 2025 21:39
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

I'll dig in into it and will report back my findings.
Anyway, I m very happy with yr help so far.
-Bart
by BartSr
Wednesday 12 March 2025 23:40
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

Thanks again! This handles notifcation from 'off to on'.
Do I need two scripts once I also like notification for 'on to off'?
by BartSr
Wednesday 12 March 2025 22:56
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

Re: how to use notifications

Thanks very much for your help. I am using dzVents for simple scripts where I never used the data{} strophe. So have to read the docu about this.
I didnot mention that in fact I have three of these monitors.
Can you tell me how to update your script for 3 devices?
Thanks!
Bart
by BartSr
Wednesday 12 March 2025 21:28
Forum: Other questions and discussions
Topic: how to use notifications
Replies: 18
Views: 1108

how to use notifications

Pushsafer is my app to send pushmessages to inform me about 'a status'. I am facing next problem. The availability of voltage on an endcircuit is monitored by a relay. If the circuit breaker of that end-circuit trips the relay goes to 'off' The on/off signal is interfaced using an esp and published ...
by BartSr
Sunday 02 March 2025 9:02
Forum: dzVents
Topic: how use idx iso names
Replies: 5
Views: 622

Re: how use idx iso names

Thanks. Good Tip!
by BartSr
Friday 28 February 2025 19:25
Forum: dzVents
Topic: how use idx iso names
Replies: 5
Views: 622

Re: how use idx iso names

I just learned using names is more stable so I keep it with names.
by BartSr
Friday 28 February 2025 19:19
Forum: Bugs and Problems
Topic: bug/problem with zigbee switch
Replies: 9
Views: 565

Re: bug/problem with zigbee switch

Thanks Walter. This makes sense. Next time I'll check the results of the AD devices. Pitty name goes over IDX as I sometimes change names to later realize the name was in a script. Maybe it's a idea to run a sql script to look for double or more used names. Over 10 yrs ago I did database programming ...
by BartSr
Friday 28 February 2025 14:42
Forum: Bugs and Problems
Topic: bug/problem with zigbee switch
Replies: 9
Views: 565

Re: bug/problem with zigbee switch

Thanks. This did the trick.
But I don't understand why the IDX (being unique) which I used in the script caused this problem.
Can you try explain to me why such happens?
BTW: zigbee 2MQTT AD created these names

Thanks again! Bart
by BartSr
Friday 28 February 2025 13:23
Forum: dzVents
Topic: how use idx iso names
Replies: 5
Views: 622

how use idx iso names

this an example from the wiki return { on = { devices = { 'myDetector', 'roomTemp' } }, execute = function(domoticz, device) if ((device.name == 'myDetector' and device.active) or (device.name == 'roomTemp' and device.temperature >= 45)) then domoticz.notify('Fire', 'The room is on fire', domoticz ...
by BartSr
Friday 28 February 2025 13:11
Forum: Bugs and Problems
Topic: bug/problem with zigbee switch
Replies: 9
Views: 565

Re: bug/problem with zigbee switch

AS requested pls find the screenshot of the devices.
Image

hopefully this makes sense
by BartSr
Thursday 27 February 2025 18:00
Forum: Bugs and Problems
Topic: bug/problem with zigbee switch
Replies: 9
Views: 565

Re: bug/problem with zigbee switch

device 1823 is powerplug Tuya Model BSD29_1
Z2M reports : supported
by BartSr
Thursday 27 February 2025 14:55
Forum: Bugs and Problems
Topic: bug/problem with zigbee switch
Replies: 9
Views: 565

bug/problem with zigbee switch

Hi! A zigbee powerplug can be controlled from both z2m dashboard as well as from domoticz. Problem happens when I try to control the on/off of the plug by a script. return { on = { devices = {1837} }, -- 1836 = knop 1 single remote control -- 1837 = knop 2 single remote control -- 1829 = wcd staand ...