Search found 55 matches

by Maciek90
Monday 09 February 2026 21:45
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

In this script, when I manually turn on the lamp and then the motion sensor is triggered and then turned off, after 30 seconds the lamps also turn off. The variables also change their value to 1.
by Maciek90
Friday 06 February 2026 19:40
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

Sounds it is not an script issue.
I thought about that too

You can give extra/second switch off command but that makes no sense
I tried something like this in blockly but it didn't help
However, I noticed that this problem was more common with blockly. With dzVents, it happens once every few ...
by Maciek90
Friday 06 February 2026 18:31
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

Only the one I turned on manually.
The script from madpatrick works exactly as I want. However, there's a problem, and I don't know what's causing it. Every few days, one of the lights won't turn off after a set time (30 seconds) after the motion sensor signal is turned off. I had the same problem ...
by Maciek90
Tuesday 03 February 2026 9:32
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

Unfortunately, the script doesn't work perfectly. There's a similar problem to the Blockly script presented in the first post: sometimes, the script won't turn off the light even though 30 seconds have passed since the motion sensor signal went off. This happens very rarely, once every few days ...
by Maciek90
Tuesday 20 January 2026 23:08
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

This script should work. I've tested is shortly with some dumy devices

I ran your script today and it's working fine so far. I'll try to test all the possibilities in the next few days and let you know if everything works as it should.

Just a hint: ask ChatGPT these questions while referring to ...
by Maciek90
Tuesday 13 January 2026 19:43
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

I tried the variable script, and it doesn't work correctly. When the PIR detects motion and turns on the lamp, Domoticz thinks the lamp was manually turned on and leaves it on continuously. This can be seen in the log screenshot.

One more question: Is a Boolean variable the same as a string?
by Maciek90
Tuesday 06 January 2026 23:00
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

Doesn't work, doesn't turn on the lights. Logs below.

2026-01-06 22:51:24.270 dzVents: !Info: PIR2 : Script triggered by device: Dom światło sensor (ID: 1575)
2026-01-06 22:51:25.249 dzVents: !Info: PIR2 : Script triggered by device: Drzwi wejściowe sensor (ID: 69)
by Maciek90
Sunday 04 January 2026 23:11
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

It seems to be working perfectly now. However, I'd like to expand this script a bit. I think I can handle most of the issues myself, but I'm not sure how to approach one particular issue. I'd like the lights to stay on after I turn them on in Domoticz with the motion sensor disabled until I turn ...
by Maciek90
Sunday 04 January 2026 20:37
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

Still not working

2026-01-04 20:34:26.691 dzVents: !Info: PIR : Script triggered by device: Drzwi wejściowe sensor (ID: 69)
2026-01-04 20:34:39.419 dzVents: !Info: PIR : Script triggered by device: Drzwi wejściowe sensor (ID: 69)
2026-01-04 20:34:49.283 dzVents: !Info: PIR : Script triggered by ...
by Maciek90
Sunday 04 January 2026 16:53
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

2026-01-04 16:52:38.875 dzVents: !Info: PIR : Script triggered by device: Drzwi wejściowe sensor (ID: 69)
2026-01-04 16:52:58.322 dzVents: !Info: PIR : Script triggered by device: Drzwi wejściowe sensor (ID: 69)
by Maciek90
Sunday 04 January 2026 16:18
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Re: Problem with the blockly script turning on the light

Thank you for your reply. I changed the IDX in the script to match my devices, but unfortunately it doesn't work. My lights don't turn on when the motion sensor is activated. DzVents isn't my strong suit, unfortunately.


local SCRIPT_NAME = 'PIR '
local LOG_LEVEL = domoticz.LOG_FORCE

return {
on ...
by Maciek90
Sunday 04 January 2026 3:09
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 501

Problem with the blockly script turning on the light

I have two lamps that I want to turn on with a motion sensor at specific times. I created a Blockly script as shown below. It turns the lamp on when the sensor detects motion, and turns it off after a set period of time after the motion sensor switches to off. It usually works well, but occasionally ...
by Maciek90
Thursday 11 December 2025 22:43
Forum: Heating/cooling
Topic: OpenTherm weather dependent heating control
Replies: 49
Views: 14511

Re: OpenTherm weather dependent heating control

Thanks for your interest in my problem and for explaining "fireplace mode" to me. I don't have a fireplace at home, so I was looking at it differently.

It's gotten very warm for this time of year, and your software works better for me in these conditions. I've recently tried adjusting the heating ...
by Maciek90
Tuesday 02 December 2025 10:32
Forum: Heating/cooling
Topic: OpenTherm weather dependent heating control
Replies: 49
Views: 14511

Re: OpenTherm weather dependent heating control

I have a house of approximately 200 m² with 14 rooms. Each room has a thermostat installed on the radiator. The reference room has an indoor temperature sensor that transmits information to the boiler via your software.

I think we're not needing to discuss such details. I'm simply saying that ...
by Maciek90
Friday 28 November 2025 10:38
Forum: Heating/cooling
Topic: OpenTherm weather dependent heating control
Replies: 49
Views: 14511

Re: OpenTherm weather dependent heating control

Please study the documentation first (https://github.com/akamming/esp_domotic ... rm_handler). The answers to your questions are well described:
I've read the documentation. I've been using your boiler control software for three years now, and everything has worked perfectly so far. Thank you so ...
by Maciek90
Thursday 27 November 2025 21:54
Forum: Heating/cooling
Topic: OpenTherm weather dependent heating control
Replies: 49
Views: 14511

Re: OpenTherm weather dependent heating control

so what is the outside temp which is currently reported to the boiler

On that day, the outdoor temperature was around -5 degrees.

In weather dependent mode, the boiler setpoint is calculated Using the outside temp.
I know this, but the indoor temperature is also taken into account. For example ...
by Maciek90
Monday 24 November 2025 15:56
Forum: Heating/cooling
Topic: OpenTherm weather dependent heating control
Replies: 49
Views: 14511

Re: OpenTherm weather dependent heating control

What heating mode is used (climate or weather dependent?)
Weather dependent mode
what is the config of the boiler parameters?
Like on the picture
by Maciek90
Monday 24 November 2025 0:09
Forum: Heating/cooling
Topic: OpenTherm weather dependent heating control
Replies: 49
Views: 14511

Re: OpenTherm weather dependent heating control

The heating season has been underway for a while now, so I tested your firmware and found a problem.

I'll show you what I mean with a screenshot. On the left is the set room temperature, and on the right is the calculated boiler water temperature. Currently, the actual room temperature is 21.7 ...
by Maciek90
Friday 07 November 2025 10:28
Forum: MQTT Auto Discovery
Topic: Shelly support by Domoticz
Replies: 27
Views: 4516

Re: Shelly support by Domoticz

Can anyone get this to work without HA?