is it possible to let the iframe react on a event beside the refresh by time function?
Currently I have realized it by a script which is observing the snap folder of my cam. When a new snapshot file is created then the file will be moved renamed to an other folder.
The iframe plugin reads every 2 seconds from there.
I am looking for a way to implement such function directly in the plugin, but I have no clue how to do that.
Sorry, have to open this thread again.
My post of yesterday based on a mistake by me. I used the 3B in this test, not the 3B+.
Today now I tried the 3B+, installing node Version 8.15.0 first.
But with this it is not possible to install pimatic, neither 9.42, 9.43 or 9.44.
These are the message:
npm install pimatic --prefix pimatic-app --production
log.progressEnabled = log.gauge.isEnabled()
TypeError: log.gauge.isEnabled is not a function
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57:33)
at Module._compile (module.js:653:30)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:153:3)
Is there a problem with the installation routine or do i something wrong.
Thanks again and have a nice weekend.
All about code
Plugins installed, activated and working:
mobile-frontend 0.9.13 (already in your list)
Unfortunately could not install:
Rules and Scripts
Is it somehow possible to store a variable into database with a specified date? My idea is to monitor my energy consumption manually. I have stored my energy consumption by now within an excel sheet and I want transfer these data to a pimatic variable. In future it would be nice to just read the actual value of the energy meter and store it by a variable input device into database. Afterwards the energy consumption should be calculated by the difference of the last two values and stored dates of the values.