Search found 7 matches
- Thursday 26 March 2020 0:52
- Forum: Other questions and discussions
- Topic: ramdisk problem after upgrade to 2020.1
- Replies: 8
- Views: 1343
Re: ramdisk problem after upgrade to 4.2020
Is there any other way to save both files (db-wal and db-shm) to RAM in the new Domoticz version?
- Wednesday 21 August 2019 22:19
- Forum: Utility
- Topic: Updating incremental counter with TIME value / json
- Replies: 44
- Views: 11125
Re: Updating incremental counter with TIME value / json
See below script adjusted for an incremental counter. Please feel free to ask clarification if something is not clear. The script works perfectly and even better than I expected. Very easy to set up and does its job. After a slight modification (multiplication or division of time) for receivers ...
- Tuesday 20 August 2019 1:41
- Forum: Utility
- Topic: Updating incremental counter with TIME value / json
- Replies: 44
- Views: 11125
- Friday 16 August 2019 20:18
- Forum: Utility
- Topic: Updating incremental counter with TIME value / json
- Replies: 44
- Views: 11125
Re: Updating incremental counter with TIME value / json
OK need some time to test if the counter incremental is best suited for this or that using a 'normal'counter is preferable. Might take a couple of days before I have these results. I thought the solution would be to add a few lines of code, which would take you a few minutes. Thanks for your time ...
- Friday 16 August 2019 12:45
- Forum: Utility
- Topic: Updating incremental counter with TIME value / json
- Replies: 44
- Views: 11125
Re: Updating incremental counter with TIME value / json
I would like to pass the results of the script to counter incremental (to have daily, monthly sums etc). Is that possible? Yes but can you please explain what you want to send to the counter incremental. Is that the total On time overall or should it reset to zero daily or something else ? I would ...
- Friday 16 August 2019 2:12
- Forum: Utility
- Topic: Updating incremental counter with TIME value / json
- Replies: 44
- Views: 11125
Re: Updating incremental counter with TIME value / json
The problem was the lack of address 127.0.0.1. Now everything works, thanks for your help and information! I would like to pass the results of the script to counter incremental (to have daily, monthly sums etc). Is that possible? I tried to edit the script, but unfortunately for now it is beyond my ...
- Thursday 15 August 2019 22:20
- Forum: Utility
- Topic: Updating incremental counter with TIME value / json
- Replies: 44
- Views: 11125
Re: Updating incremental counter with TIME value / json
I'm a beginner in scripts. I tried to use the script to calculate the uptime of my heater, but without success. I gave IDX switch, I created Text Device "hourCounter", but after running the script I receive a message: " 1: return: Illegal number: { " Could I ask you to explain how to use the script ...