Search found 224 matches

by habahabahaba
Tuesday 24 February 2026 18:33
Forum: Utility
Topic: Gets gas consumption from the electrical energy of the gas boiler
Replies: 5
Views: 363

Re: Gets gas consumption from the electrical energy of the gas boiler

Little offtop.

There is a very useful project - Ai -n the edge

It digitize all analog counters. I have the classic outside gasmeter? so i've tested it about one yer - it works very very good. Some times it gives wrong values but can be correct in the script.
by habahabahaba
Friday 06 February 2026 14:58
Forum: Suggestions
Topic: Make offpeak hours available in Domoticz Settings
Replies: 23
Views: 613

Re: Make offpeak hours available in Domoticz Settings



I also would like to see the current domoticz HTTP/HTTPS running port in this webpage, should I create a new subject?
I would use it to create a room plan at first plugin start to assign all new devices to a specific plan.
Here: OpenDTU Plugin I assume the port is 80

Thanks


You can get ...
by habahabahaba
Thursday 05 February 2026 10:57
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 737

Re: Problem with the blockly script turning on the light

Do you need to turn on the lights individually or together?
by habahabahaba
Wednesday 14 January 2026 12:41
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 737

Re: Problem with the blockly script turning on the light

1. Create a user variable and Name it LightHandMode , Type - integer, default value - 0
2. Create a virtual Dummy switch, name as you want
3. create a Dzvents script and put this code (check Idx of your devices) :


local dummySwitchId = 101 -- Idx of virtual switch

return {

on = {
devices ...
by habahabahaba
Thursday 08 January 2026 16:44
Forum: Bugs and Problems
Topic: switch status Excel export
Replies: 1
Views: 125

Re: switch status Excel export

The same bug.

Version: 2024.4
Build Hash: 731719420
Compile Date: 2024-01-30
by habahabahaba
Wednesday 07 January 2026 18:04
Forum: Other questions and discussions
Topic: remove value
Replies: 10
Views: 1261

Re: remove value

I noticed on my system:
keep the SHIFT button pressed until you confirm deleting and page refresh
by habahabahaba
Wednesday 07 January 2026 8:57
Forum: Blockly
Topic: Problem with the blockly script turning on the light
Replies: 27
Views: 737

Re: Problem with the blockly script turning on the light

I think you need 2 different scripts and 1 user variable.

A user variable will be a flag - were your lights turned on from Dz by hands or not (0 or 1 value)

Create a dummy switch and put a script on it where:
a) if you turning it on - change the flag( user varible) to 1, turn on all lights you ...
by habahabahaba
Tuesday 02 December 2025 10:11
Forum: Bugs and Problems
Topic: Error on a dummy General kWh meter
Replies: 7
Views: 122

Re: Error on a dummy General kWh meter

We discussed such problem HERE

@Kedi, may be your version of Domoticz is older than 2024 ?
by habahabahaba
Monday 01 December 2025 8:28
Forum: dzVents
Topic: Easiest way to play a mp3 audio file on Raspi with Dzvents?
Replies: 16
Views: 414

Re: Easiest way to play a mp3 audio file on Raspi with Dzvents?

Yes, show both full scripts please
by habahabahaba
Sunday 23 November 2025 18:35
Forum: dzVents
Topic: Easiest way to play a mp3 audio file on Raspi with Dzvents?
Replies: 16
Views: 414

Re: Easiest way to play a mp3 audio file on Raspi with Dzvents?

If you are using "callback" so you have to use
"on = {
shellCommandResponses = { 'mycallbackstring' }"

Just try without callback and timeout - simple string.
by habahabahaba
Saturday 22 November 2025 23:54
Forum: dzVents
Topic: Easiest way to play a mp3 audio file on Raspi with Dzvents?
Replies: 16
Views: 414

Re: Easiest way to play a mp3 audio file on Raspi with Dzvents?

And what is your Dzvents script?
by habahabahaba
Friday 14 November 2025 19:39
Forum: dzVents
Topic: Easiest way to play a mp3 audio file on Raspi with Dzvents?
Replies: 16
Views: 414

Re: Easiest way to play a mp3 audio file on Raspi with Dzvents?

If I understood you correctly you need

Code: Select all

domoticz.executeShellCommand(YOUR COMMAND )
by habahabahaba
Saturday 08 November 2025 8:42
Forum: General Discussion
Topic: error opening url but url is good
Replies: 23
Views: 485

Re: error opening url but url is good

May be double quotes needed?
by habahabahaba
Friday 24 October 2025 6:13
Forum: dzVents
Topic: Switch does not switch
Replies: 10
Views: 244

Re: Switch does not switch

What if to replace
dz.devices(lampBalcony) - with exact name of that lamp?

dz.devices('name_of_the_lamp') ?
by habahabahaba
Thursday 23 October 2025 10:47
Forum: dzVents
Topic: Switch does not switch
Replies: 10
Views: 244

Re: Switch does not switch

So
show the full script
by habahabahaba
Wednesday 22 October 2025 10:10
Forum: Bugs and Problems
Topic: Custom Icons - Anyone found a solution to uploading
Replies: 8
Views: 283

Re: Custom Icons - Anyone found a solution to uploading

Take a look on wiki

There is another one online generator that seems to be working

https://domoticz-icon.aurelien-loyer.fr/
by habahabahaba
Friday 17 October 2025 15:44
Forum: Node-RED
Topic: Node red flow
Replies: 58
Views: 1023

Re: Node red flow

I've just made some tests too (2024.4 version).

So, when you create the Dummy Electric device (Energy read - Computed) it has values 0 !! Kwh and 0 Watt

Then I tried to get NaN value making bad API calls to device


/json.htm?type=command&param=udevice&idx=2&nvalue=0&svalue=92.1;0

/json.htm?type ...
by habahabahaba
Thursday 16 October 2025 18:03
Forum: Node-RED
Topic: Node red flow
Replies: 58
Views: 1023

Re: Node red flow

edwin1234 wrote: Thursday 16 October 2025 17:48 http://<domoticz_ip>:8080/json.htm?type=command&param=udevice&idx=1463&nvalue=0&svalue=92;0
That is only for 2023.2 and later... The API was changed...