Search found 5084 matches

by waltervl
Wednesday 22 January 2025 19:06
Forum: dzVents
Topic: Failing to understand
Replies: 17
Views: 246

Re: Failing to understand

Switch1 (the pump) should not trigger anything, only a change in sensor state (switch 2,3,4) should trigger an action.
by waltervl
Wednesday 22 January 2025 16:06
Forum: Python
Topic: creating setpoint device
Replies: 3
Views: 107

Re: creating setpoint device

by waltervl
Tuesday 21 January 2025 21:18
Forum: Bugs and Problems
Topic: Domotiz not ready for latest Debian?!?
Replies: 5
Views: 166

Re: Domotiz not ready for latest Debian?!?

I used this topic to install libssl1 https://stackoverflow.com/questions/72133316/libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-directory/72633324#72633324 The package depends on your hardware architecture as explained in the answer. The latest version can be found here: http://nz2 ...
by waltervl
Tuesday 21 January 2025 17:38
Forum: Show your projects
Topic: Script for Airplanes.live api
Replies: 65
Views: 4770

Re: Script for Airplanes.live api

Got it all working. Very good work! There were 2 things: 1. I'm running on the latest Beta of Domoticz. Ever since mid december this is not working in the Beta: local lat = dz.settings.location.latitude local long = dz.settings.location.longitude Gives two times a zero! When I put this in my ...
by waltervl
Tuesday 21 January 2025 17:07
Forum: Third party and supplementary tools
Topic: Give my home his dedicated calendar
Replies: 5
Views: 107

Re: Give my home his dedicated calendar

TheMogwai wrote: Monday 20 January 2025 22:03 Wow :o ! Did you think to add vocal command, as it is integrated to Telegram it could makes sense ?
I did not try it but if the Telegram app has vocal assistance this could be possible. But I never researched this. And I suspect it will also not be an easy implementation.
by waltervl
Tuesday 21 January 2025 17:01
Forum: General Discussion
Topic: manual browse, de-bug and restore database?
Replies: 8
Views: 84

Re: manual browse, de-bug and restore database?

Yes, works fine. On Linux you have to run sglitebrowser with the same rights as the database owner (eg root) else it cannot open it. Just as extra info for Linux. If you have a webserver running then you can use "phpLiteAdmin" and view/change the Domoticz database. And additional, if you make a ...
by waltervl
Monday 20 January 2025 20:25
Forum: Bugs and Problems
Topic: Domotiz not ready for latest Debian?!?
Replies: 5
Views: 166

Re: Domotiz not ready for latest Debian?!?

It works but you need to install libssl1.1 as that is replaced by libssl3
There are other topics about this, a little search will find these. Or use the docker environment to get rid of software requirements.
by waltervl
Monday 20 January 2025 20:22
Forum: dzVents
Topic: Something stupid , a dummy problem "actualWatt"
Replies: 11
Views: 110

Re: Something stupid , a dummy problem "actualWatt"

PeterRozenveld wrote: Monday 20 January 2025 19:21 sorry doesn´t seem to work.
This is not the whole script. Please use common dzvents sense here :-)

And telling it does not work does also not help. Tell exactly what is not working...
by waltervl
Monday 20 January 2025 18:32
Forum: General Discussion
Topic: Telegram Bot plugin
Replies: 2
Views: 66

Re: Telegram Bot

How does this work? What kind of message should be sent to Domoticz?

I have by the way an python Telegram bot that runs a service and you can get status of Domoticz devices and send commands to Domoticz. https://github.com/waltervl/dynamicTelegramBot
by waltervl
Monday 20 January 2025 18:10
Forum: dzVents
Topic: Something stupid , a dummy problem "actualWatt"
Replies: 11
Views: 110

Re: Something stupid , a dummy problem "actualWatt"

That is the description. The dzvents options are:
Electric usage
.actualWatt: Number. Current Watt usage.
.WhActual: Number. Current Watt usage. (please use actualWatt)
.updateEnergy(energy): Function. In Watt.

But also make sure you do not mixup domoticz and dz references....
by waltervl
Monday 20 January 2025 16:01
Forum: dzVents
Topic: Something stupid , a dummy problem "actualWatt"
Replies: 11
Views: 110

Re: Something stupid , a dummy problem "actualWatt"

Can you post a screenshot of the device widget (it shows the device type) or from the Dummy list tell what you have selected: https://wiki.domoticz.com/Dummy_for_virtual_Switches
by waltervl
Monday 20 January 2025 15:41
Forum: dzVents
Topic: Something stupid , a dummy problem "actualWatt"
Replies: 11
Views: 110

Re: Something stupid , a dummy problem "actualWatt"

Check the device type and see what are the available Dzvents properties for that device (dummy or not does not matter): https://wiki.domoticz.com/DzVents:_next ... ic_devices
by waltervl
Monday 20 January 2025 14:24
Forum: Utility
Topic: Rename "Usage 1" and "Usage 2"
Replies: 7
Views: 2143

Re: Rename "Usage 1" and "Usage 2"

The problem is that in every country this can mean something different, depending of the implementation by the energy supplier. For example in Belgium and The Netherlands (both Dutch (NL) speaking) the meaning is reversed....
by waltervl
Monday 20 January 2025 14:21
Forum: Utility
Topic: Rename "Usage 1" and "Usage 2"
Replies: 7
Views: 2143

Re: Rename "Usage 1" and "Usage 2"

Thorgal789 wrote: Monday 20 January 2025 14:18 (And BTW the post have been hijacked to insert a spam url on the file folder)
Fixed, probably a typing error at the time of writing...
by waltervl
Monday 20 January 2025 11:56
Forum: General Discussion
Topic: manual browse, de-bug and restore database?
Replies: 8
Views: 84

Re: manual browse, de-bug and restore database?

Yes, works fine. On Linux you have to run sglitebrowser with the same rights as the database owner (eg root) else it cannot open it.
by waltervl
Monday 20 January 2025 11:51
Forum: Third party and supplementary tools
Topic: Give my home his dedicated calendar
Replies: 5
Views: 107

Re: Give my home his dedicated calendar

I am using telegram bot for this when I want to switch something when outside my home network.
viewtopic.php?p=318894#p318894
by waltervl
Monday 20 January 2025 10:08
Forum: Bugs and Problems
Topic: Thermostat mode and fan modes are incorrectly set as selector switches
Replies: 3
Views: 29

Re: Thermostat mode and fan modes are incorrectly set as selector switches

There is as far as I know no other possibility to set modes....
And what is exactly wrong? It is a switch, where do you expected else than in the switch tab?
If you want to group them use a floorplan and add the related switches and devices to a specific room.
by waltervl
Monday 20 January 2025 10:03
Forum: dzVents
Topic: how to restore my 'generated_scripts'?
Replies: 7
Views: 95

Re: how to restore my 'generated_scripts'?

I dont think there is another way. Perhaps store them directly in the database but it is probably as much as work as using the web interface. I have no clue how to do it. How many scripts do you have?
by waltervl
Sunday 19 January 2025 23:06
Forum: dzVents
Topic: Must be not difficult! Adding two values?? [Solved]
Replies: 5
Views: 80

Re: Must be not difficult! Adding two values?? [Solved]

Change targetDevice = dz.devices('Tot_Fornuis').Usage
In

Code: Select all

targetDevice = dz.devices('Tot_Fornuis')
But look in the dzvents wiki per device type what variables are available to see what you want to calculate.....
by waltervl
Sunday 19 January 2025 16:14
Forum: dzVents
Topic: Must be not difficult! Adding two values?? [Solved]
Replies: 5
Views: 80

Re: Must be not difficult! Adding two values?? [Solved]

You forgot to define the value for ph1 and ph2. If your device is a Watt meter then it should be something like

Code: Select all

local ph1 = dz.devices('Kookplaat_F1_(Rechts)').actualWatt