Search found 34 matches
- Thursday 30 November 2023 16:41
- Forum: Bugs
- Topic: After upgrade from 2022.2 to 2023.2 updateCounter stooped working on managed counter [SOLVED]
- Replies: 11
- Views: 3592
After upgrade from 2022.2 to 2023.2 updateCounter stooped working on managed counter [SOLVED]
I have a few managed counters to calculate my GAS and Energy. But they stopped updating the counters when I updated from 2022.2 to 2023.2. return { on = { -- timer = { 'every hour' } timer = { 'every 5 minutes' } -- timer = { 'every minute' } }, --[[logging = { level = domoticz.LOG_DEBUG, marker ...
- Tuesday 14 March 2023 10:25
- Forum: Examples & Solutions
- Topic: dzVents get garbage collection dates (various) [SOLVED]
- Replies: 123
- Views: 25379
Re: dzVents get garbage collection dates (various) [SOLVED]
I've found the new RMN app and did some certificate unpinning with frida and http toolkit. The new URL is for an adress in IJsselstein for example: 3402ta 17 https://europe-west3-burgerportaal-production.cloudfunctions.net/exposed/organisations/138204213564933597/address/206321157929710806/calendar ...
- Friday 24 January 2020 12:55
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: trigger GPIO for max 250mSec (remote press)
- Replies: 1
- Views: 1600
Re: trigger GPIO for max 250mSec (remote press)
Got the dzVents code solved. Now I have a new hurdle. Before Domoticz starts I have to set the GPIO pins to the correct mode. When I change the behavior of the GPIO ports; the port is active / high and can't be changed instantly (after 200 milliseconds I can make a change). Even when I set it to low ...
- Thursday 23 January 2020 17:14
- Forum: dzVents
- Topic: dzVents and trigger of GPIO for max 250mSec [Solved]
- Replies: 5
- Views: 1348
Re: dzVents and trigger of GPIO for max 250mSec [Solved]
Thanks; this works like a charm. Why I haven't tought about that myself. dzVents code is solved. Now I have to find out why the LED flashes for a while when I enable the GPIO ports. This is done prior to loading Domoticz, with the following: sudo echo 17 > /sys/class/gpio/export ; sleep 0.2; sudo ...
- Tuesday 21 January 2020 13:48
- Forum: dzVents
- Topic: dzVents and trigger of GPIO for max 250mSec [Solved]
- Replies: 5
- Views: 1348
Re: dzVents and trigger of GPIO for max 250mSec [Solved]
Here is an update to my current script. I am able to turn it off for .150 milliseconds, after the switchOn and it appears to only press the button once. But how can I use this in a switchselector or have its state show the right value if I am unable to use it as a simple button. So the bold code ...
- Tuesday 21 January 2020 13:36
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: trigger GPIO for max 250mSec (remote press)
- Replies: 1
- Views: 1600
trigger GPIO for max 250mSec (remote press)
I have 2 remotes which I want to control from my Pi3 with Domoticz. The problem is that I need to simulate a press once instead of continous, to overcome strange behaviour. Therefore I need a maximum trigger of 200 milliseconds approximately. Is this possible with a Pi and what do I need to do? I ...
- Tuesday 21 January 2020 13:11
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: Switch off time
- Replies: 1
- Views: 2151
- Friday 20 December 2019 12:41
- Forum: dzVents
- Topic: attempt to index local 'variable' (a number value) [Solved]
- Replies: 8
- Views: 4504
Re: attempt to index local 'variable' (a number value) [Solved]
Thanks as always waaren and happy Christmas!
- Friday 20 December 2019 10:38
- Forum: dzVents
- Topic: attempt to index local 'variable' (a number value) [Solved]
- Replies: 8
- Views: 4504
Re: attempt to index local 'variable' (a number value) [Solved]
Damn; I thought I had solved my problem. But it still doesn't work exactly. I must be doing something wrong with the persistent data. Could someone have a look. --[[ wii charger if last seen more than 5 days ago, then turn on for 1 hour. If wii is turned off; then turn on for 2 hours. wii heet Wii ...
- Thursday 19 December 2019 11:38
- Forum: Examples & Solutions
- Topic: random on / random duration
- Replies: 2
- Views: 1222
Re: random on / random duration
Well; as you have already found. The randomised duration is within! There is: withinMin(minutes); this enables to switch off or on within a random time. But I guess it might influence too much with your current idea. If you have: dz.devices(15).switchOn().withinMin(15) dz.devices(15).switchOff ...
- Friday 13 December 2019 9:28
- Forum: dzVents
- Topic: attempt to index local 'variable' (a number value) [Solved]
- Replies: 8
- Views: 4504
Re: attempt to index local 'variable' (a number value) [Solved]
Are you sure you show us the same script that produced this error? Line 29 of this script cannot have this error because line 29 does not contain code that concatenates anything. (local wiion = false -- is not a concatenation) You also commented the declaration of the wii as domoticz.devices(62)in ...
- Tuesday 10 December 2019 20:20
- Forum: dzVents
- Topic: attempt to index local 'variable' (a number value) [Solved]
- Replies: 8
- Views: 4504
Re: attempt to index local 'variable' (a number value) [Solved]
Have an update question about this code. I have too many false charges due to the sonoff which sends it's status. Therefore I modified my script to check whether a boolean has been set --[[ wii charger if last seen more than 5 days ago, then turn on for 1 hour. If wii is turned off; then turn on for ...
- Thursday 17 October 2019 15:14
- Forum: dzVents
- Topic: dzVents and trigger of GPIO for max 250mSec [Solved]
- Replies: 5
- Views: 1348
Re: dzVents and trigger of GPIO for max 250mSec [Solved]
Great; that works, I had to play with the timeout and changed it to 150 though. Now I get it; while looking at the Availability this is only applicable for afterXXX. Next problem however is that it doesn't work inside a switchselector with GPIOx.switchOn() and direcly underneath the GPIOx.switchOff ...
- Wednesday 16 October 2019 20:07
- Forum: dzVents
- Topic: dzVents and trigger of GPIO for max 250mSec [Solved]
- Replies: 5
- Views: 1348
dzVents and trigger of GPIO for max 250mSec [Solved]
Is it possible to trigger a hardware (sysfs GPIO) connected remote control only for a short period of time. I now have added the sysfs underneath hardware and get the exposed ports that I have configured as a regular on/off switch. I only managed to switch off the device after 1 sec in the GUI ...
- Thursday 18 July 2019 8:58
- Forum: Design, usability and languages
- Topic: Aurora theme
- Replies: 466
- Views: 168229
Re: Aurora theme
I'm using this theme/skin for some time now; but I experience two strange things. The first is the CPU usage on my rPi3 stays above 1.2 while one of my browsers is on the domoticz page. Is there some way to disable this? Secondly; I have never seen the configuration menu although I'm on the latest ...
- Tuesday 16 July 2019 13:18
- Forum: dzVents
- Topic: dzVents for-loop doesn't trigger [Solved]
- Replies: 1
- Views: 2938
dzVents for-loop doesn't trigger [Solved]
Hi all, I'm trying to get this function to work; but it doesn't trigger due to some logic problem or other error. Someone who could help me out with this. When I change the timer to every minute and turn on debug I only get the following information. Status: dzVents: Info: Nintendo: ------ Start ...
- Wednesday 03 July 2019 16:44
- Forum: dzVents
- Topic: dzvents and z-wave siren/strobe [Solved]
- Replies: 9
- Views: 3048
Re: dzvents and z-wave siren/strobe [Solved]
Great; the script works as expected and I have learned a bit more. I have changed some triggers and disabled some commands to not actually trigger the alarm; but still sending the Z-wave commands. But totally missed the nuance between these two calls: dz.openURL(baseURL .. strobe) triggerJSON ...
- Tuesday 02 July 2019 13:55
- Forum: dzVents
- Topic: dzvents and z-wave siren/strobe [Solved]
- Replies: 9
- Views: 3048
Re: dzvents and z-wave siren/strobe [Solved]
Okay; had some time to look at the script again and made some modifications. Furthermore I have commented it a bit inside the code. The script should be triggered only when the dummy switch (local alarmStatus = dz.devices('ALARMSTATUS')) is active. Furthermore the alarm (local alarmState = dz ...
- Friday 14 June 2019 10:37
- Forum: dzVents
- Topic: attempt to index local 'variable' (a number value) [Solved]
- Replies: 8
- Views: 4504
Re: attempt to index local 'variable' (a number value) [Solved]
2019-06-14 10:20:00.554 Status: dzVents: Info: wii charger: ------ Start external script: wii.lua:, trigger: at 10:20 2019-06-14 10:20:00.579 Status: dzVents: Debug: wii charger: Processing device-adapter for Wii-charger: Switch device adapter 2019-06-14 10:20:00.581 Status: dzVents: Debug: wii ...
- Thursday 13 June 2019 20:30
- Forum: dzVents
- Topic: attempt to index local 'variable' (a number value) [Solved]
- Replies: 8
- Views: 4504
attempt to index local 'variable' (a number value) [Solved]
--[[ wii charger if last seen more than 5 days ago, then turn on for 1 hour. If wii is turned off; then turn on for 2 hours. wii heet Wii en heeft IDX: 62 wii charger heet Wii-charger en heeft IDX: 63 --]] return { on = { timer = { 'at 00:58' }, -- wii heet Wii en heeft IDX: 62 devices = { 'Wii ...