Thanks for your question. No, i quit the issue for now. Maybe i will come back to it in a few months. And maybe i will ask some questions again :)
Read the statement by Michael Teeuw here.
Latest posts made by newbi
-
RE: SampleCode for Module to read a specific Information from a webpage
-
RE: SampleCode for Module to read a specific Information from a webpage
Thanks a lot.
I will try the suggested Modules. We will see where i will get.
So this topic is solved for me. -
RE: SampleCode for Module to read a specific Information from a webpage
no, an iframe is not exactly waht i wanted, but better than nothing. I struggle a bit to get the iframe to the correct position. Well if i can manage to scroll to the desired position, it would be helpfull, but i did not made it.
@sdetweil , i will chekc the module thanks. It is so much to find out, to test, a big cosmos on its own :) -
RE: SampleCode for Module to read a specific Information from a webpage
@chrisfr1976 thanks for giving me the two modules :)
The first one seems to be promising. But I struggle to get the page been shown.
Is it possible to show a page?
And is it possible just to show the content ofwith a class name thats locatet somehere on the page?
If not, i will stopp my effords and enjoy what i got so far, but it would be nice to get this information on the screen.@rkorell, well newbi to programming or confuguring a mirror. Not now to programming at all, but i do it in a completele different environment (more old school).
I do nothing with webpages, nopthing with javascript, no libraries.
My Configuration does work well, i do it wie ssh. not the best way, but the result is good. -
RE: SampleCode for Module to read a specific Information from a webpage
@sdetweil, ok, thanks so far, i will try to get firm with the basics.
As i am working on my Windows Laptop, having a MagicMirror on a Raspy 3, can i develope on my Laptop or do i need to create a developement environment on my raspy (or on my Windows Laptop)? -
RE: SampleCode for Module to read a specific Information from a webpage
@sdetweil, well on a webpage of a gym, there is an information how many people are in the gym. I want to show this Information on my MagicMirror. Thats all.
Can you provide me a sample code?
I am not firm with programming in javascript an libs. My programming experience is business based.Or is there a module i can use?
How to fetch a html-Page?
How to extract? I thougt i can search the page for a keyword, where the wanted value is nearby. Dirty but hopfuly worky ;) -
SampleCode for Module to read a specific Information from a webpage
Hello,
i want to create a easy module that only reads a specific Information from a web page.
Can someone provide me a simple sample how to do this?
No formating just reading an writing on the MM screen.
I do now basics in programming, but do not want to learn it all from the beginning. I can learn by samples that will help me, in a more better way.
If someone can show me the code that i have to put into the .js file will help me a lot.
Thanks in advance -
RE: Script to stop MagicMirror
@sdetweil , yes it was startet under the wrong User. Now it is working. Thanks :)
-
Script to stop MagicMirror
Hello,
i am working on my MagicMirror, everything is well so far, but sometimes at startup, the connection to my wifi is not established. a roboot does fix this.
So i wanted to create a small script run by crontab, to stop MagicMirror, if there is no wifi connaction.
I can read out the connectionstatus, but “pm2 stop MagicMirror” does not work in my script. Outside the script, this comand does the stop of my MM.
I also tried it using the process ID, same result:
“[PM2][ERROR] Process or Namespace MagicMirror not found”
or
“[PM2][ERROR] Process 0 not found”
Any ideas?Stopping it on my Raspberry is not an option, the restart by pm2 is way to quick!
Thanks in advance