Hello willemd, thanks a lot for hint. ;)
Here is my snap of code - wait 60 minutes after user change...
local command = 'sqlite3 /path/to/domoticz.db \"SELECT User, Date FROM LightingLog WHERE DeviceRowID = 145 ORDER BY Date DESC LIMIT 1\" ' -- 145 is IDX of device
local handle = assert(io ...
Search found 7 matches
- Saturday 19 November 2022 17:46
- Forum: dzVents
- Topic: Get user who changed the state of a switch [Solved]
- Replies: 7
- Views: 1441
- Saturday 19 November 2022 11:10
- Forum: dzVents
- Topic: Get user who changed the state of a switch [Solved]
- Replies: 7
- Views: 1441
Re: Get user who changed the state of a switch [Solved]
Hello, any updates please?
Get username of last change could be pretty good to block changes by dzvents for a hour after user exceptional change...
Or is it possible detect that last change of device was not performed by dzvents?
Get username of last change could be pretty good to block changes by dzvents for a hour after user exceptional change...
Or is it possible detect that last change of device was not performed by dzvents?
- Tuesday 16 March 2021 21:15
- Forum: Utility
- Topic: Power meter counter reset
- Replies: 8
- Views: 2867
Re: Power meter counter reset
That delete function with Shift-left click is only working in the graphs on device log page and not in the device report page. Your screenshot shows the report page..... https://www.domoticz.com/wiki/Managing_Devices#Show_Device_Log
So if you want to remove a really old value, older than 1 year ...
- Tuesday 16 March 2021 7:40
- Forum: Utility
- Topic: Power meter counter reset
- Replies: 8
- Views: 2867
Re: Power meter counter reset
Hello, I have same problem - so high consumption after counter reset. I've tried SHIFT+"left/right click", and a lot of another combinations and no action. I've clicked on value row and also in graph and nothing happend. Where should I click? Some special setting? (I think I'm the only one ...
- Sunday 21 February 2021 21:15
- Forum: Python
- Topic: Python plugin: PZEM-017
- Replies: 1
- Views: 909
Python plugin: PZEM-017
Hello everybody :-)
For my personal use I've developed PZEM-017 plugin and I want to share it with you: https://github.com/mar-svo/PZEM-017
Developed and tested with PZEM-017 model (monitoring small photovoltaic power plant), probably it will be operate also with other models PZEM-####. Plugin ...
For my personal use I've developed PZEM-017 plugin and I want to share it with you: https://github.com/mar-svo/PZEM-017
Developed and tested with PZEM-017 model (monitoring small photovoltaic power plant), probably it will be operate also with other models PZEM-####. Plugin ...
- Wednesday 10 February 2021 21:55
- Forum: Python
- Topic: Python plugin: Atrea
- Replies: 1
- Views: 236
Python plugin: Atrea
Hello everybody
For my personal use I've developed Atrea plugin and I want to share it with you: https://github.com/mar-svo/atrea
PS: Could anybody write PM to user waaren to update wiki plugins list? (I'm newbee and I can't write PM yet.)
For my personal use I've developed Atrea plugin and I want to share it with you: https://github.com/mar-svo/atrea
PS: Could anybody write PM to user waaren to update wiki plugins list? (I'm newbee and I can't write PM yet.)
- Sunday 24 January 2021 20:41
- Forum: Android
- Topic: Status of Switch in Domoticz Android App
- Replies: 5
- Views: 3785
Re: Status of Switch in Domoticz Android App
Same problem, anybody some solution?