is there a possibility to take a picture from the url by rule and safe this at pi?
-
pimatic-iframe Plugin
-
@christoph.ch Yes if you are using https://github.com/billw2/pikrellcam
create a button in pimatic and add this ruleif snap is pressed then execute \"echo 'still' >> /home/pi/pikrellcam/www/FIFO\"
pimatic rocks!
-
Follow my domotica project on http://maredana.nl
-
Is it also possible to have a width of 100% to make it more dynamic?
-
@bvduijv Did you check the configuration options? See https://github.com/Oitzu/pimatic-iframe
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig said:
@bvduijv Did you check the configuration options? See https://github.com/Oitzu/pimatic-iframe
Yes, but I see nothing there about a width in percentages?
-
is it possible to add buttons in the iframe windows?
-
@noxx said:
is it possible to add buttons in the iframe windows?
What kind of buttons? The whole idea is to run a page in the iFrame that has nothing to do with pimatic.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
reload button, dummy button don’t reload my page
-
I got problem with this plugin.
Try to delete pimatic-app folder and make new with npm install --prefix … --production (from user account)
(some errors when instaling sqlite3 but it is working).
When i try to add iframe on page i got error:14:54:49.952 [pimatic] info: New device "pogoda-iframe"... 14:55:06.797 [pimatic-mobile-frontend] error: Client error: Cannot read property '__ko__1491222204343' of null 14:55:07.086 [pimatic-mobile-frontend] error: Client error: Unable to process binding "if: function (){return !$root.isGroupCollapsed($parent,$data) }" 14:55:07.086 [pimatic-mobile-frontend] error:>Message: Unable to process binding "template: function (){return { name:$root.getItemTemplate,foreach:$parent.getDevicesInGroup($data.id),afterRender:$parent.afterRenderDevice} }" 14:55:07.086 [pimatic-mobile-frontend] error:>Message: Cannot read property '__ko__1490735207033' of null
My config is:
{ "plugin": "iframe", "active": true }
{ "url": "http://webpageaddress", "width": 460, "height": 430, "scrolling": "no", "id": "pogoda-iframe", "name": "pogoda-iframe", "class": "iframeDevice" }
And when deleting iframe from page i got:
15:04:18.082 [pimatic-mobile-frontend] error: Client error: Cannot read property 'length' of undefined
I run pimatic on rpi2
-
@kolorek said in pimatic-iframe Plugin:
When i try to add iframe on page i got error:
I have also seen these error messages. Did you try again? For me it worked reloading the web app.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig yes I try many times. Refresh page. Try different browser that never use to pimatic.
Always end with error but it is working.White frame was because I use pimatic in https
-
Hey,
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.while inotifywait -e create "/$snapTerrasse" do cd /$snapTerrasse cp -f `ls -rt1 | tail -1` /$picTarget/terrasse.jpg done
I am looking for a way to implement such function directly in the plugin, but I have no clue how to do that.