
Shall I post some code later?
Moderator: leecollings
Damn... You completely redesigned pass2php since december 2016....Egregius wrote: ↑Friday 08 September 2017 19:01 It's on my github already![]()
https://github.com/Egregius/LUA-Pass2PH ... /cache.php
Usage:
cache.php?fetch=devicename returns the value of that cache
cache.php?store=devicename&value=Off = store that value in cache
I only need it internally so my file is in my secure folder.
If you make this available from internat you could ad forexample &token=anystring and use that as a security measurement.
haha Mr innovator.Egregius wrote: ↑Saturday 09 September 2017 16:25 apcu wasn't stable here on Jessie. Did some very strange things.
My floorplan is based completely on the cache from pass2php. First evening after the update to Jessie it showed 9 of 10 times the good status but 1 of 10 times like a status of half hour before. Of course resulting in some serious flipping of the automated lights.
I instantly started to work on file based cache, have used that before.
Another advantage of this is that you can sync the cache to SD when domoticz stops. So even after a reboot you still have the cache from before.
Also updated cron604800 on github![]()
Hear hear!
I was already running Domoticz on a Ubuntu VM on an ESXi NUCEgregius wrote: ↑Friday 22 December 2017 8:48 Nice, and you're welcome
I do wonder how far you go with it?
Speeking of fast: I recently moved from a RPi2 to a oversized Intel NUC and virtualized Debian with Domoticz in Proxmox...
In the beginning of this topic I was so happy to get response times lower than 80msec. Now they're down to 6 msec![]()
Users browsing this forum: No registered users and 1 guest