PERFECT
Read the statement by Michael Teeuw here.
Posts
-
ServerStatus from IP list: up or down?
I’d love a module where I submit a list of IP addresses
(internal & external; let’s say 10 or so) and I get a reply “up” or “down”ServerStatus:
192.168.1.255 - up
192.168.1.205 - down
2.3.4.5 - up
4.5.6.7 - downOR, better still, something like
-All servers on list up - have a nice day-
vs
-192.168.1.205 & 4.5.6.7 are down - GET TO WORK
(don’t really need to know who is up…)Ideally the display would be pretty small, but RED for problems.
Thanks
-
RE: Local IP address
@strawberry-3.141
Would you mind making that a module for everyone to use? (and I like the idea of “discreet” -
RE: Email
Just did a clean install on a brand new pi in about 5 minutes flat. COOL MODULE.
(still need to work on 2-auth, please. Plus I’ll want to change your config to make the display single line etc. I’ll look at the js file) -
RE: Email
@ronny3050
Sorry - pasted only partial copy; I had the trailing }.
My Config.js was correct…Just to be on the safe side, I tested it as if config.js had been what I posted - and that failed with a “please create a config file”. As it should have.
So - I think the problem is elsewhere. Sorry
-
RE: Email
@ronny3050
Thx for updating the README.
Followed instructions (requested app-pwd since I have 2-factor authentication).
My config.js:{ module: 'email', position: 'bottom_left', header: 'Email', config:{ user: 'XXX@gmail.com', password: '****************', host: 'imap.gmail.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 5, fade: true }Restarted (NOT REBOOTED) Pi.
Got this:

Rebooted (just to be safe) - same result.
-
RE: Email
pi@MagicMirror2:~/MagicMirror/modules $ npm install npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/packa ge.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field. pi@MagicMirror2:~/MagicMirror/modules $ ^C pi@MagicMirror2:~/MagicMirror/modules $ cd .. pi@MagicMirror2:~/MagicMirror $ cd config/ pi@MagicMirror2:~/MagicMirror/config $ ls config.1 config.2 config.5.keep config.good config.good.js config.good.swap config.js config.js.sample config.js.save config.js.save.1 pi@MagicMirror2:~/MagicMirror/config $ sudo nano config.js pi@MagicMirror2:~/MagicMirror/config $ cd .. pi@MagicMirror2:~/MagicMirror $ cd modules/ pi@MagicMirror2:~/MagicMirror/modules $ ls default email MMM-HTTPRequestDisplay MMM-wordnik MMM-WunderGround MMM-Wunderlist node_modules README.md TR_swap pi@MagicMirror2:~/MagicMirror/modules $ cd email/ pi@MagicMirror2:~/MagicMirror/modules/email $ npm install email@0.0.1 /home/pi/MagicMirror/modules/email ├─┬ debug@2.2.0 │ └── ms@0.7.1 ├─┬ imap@0.8.17 │ ├─┬ readable-stream@1.1.14 │ │ ├── core-util-is@1.0.2 │ │ ├── inherits@2.0.1 │ │ ├── isarray@0.0.1 │ │ └── string_decoder@0.10.31 │ └── utf7@1.0.0 ├─┬ mailparser@0.4.9 │ ├─┬ encoding@0.1.12 │ │ └── iconv-lite@0.4.13 │ ├── mime@1.3.4 │ ├─┬ mimelib@0.2.19 │ │ └── addressparser@0.3.2 │ └── uue@1.0.0 └── underscore@1.8.3 npm WARN email@0.0.1 No repository field. npm WARN email@0.0.1 No license field.
Note from admin: Please use Markdown on code and shell snippets!
-
RE: Email
Git pull was easy.
npm install yieldedpi@MagicMirror2:~/MagicMirror/modules $ npm install npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/packa ge.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field.I’ll go ahead, but thought you might want to know.
Note from admin: Please use Markdown on code and shell snippets!
-
RE: Email
Thx. In the meanwhile: I’d like to change the font size you use for display to small/tiny (I have about a zillion emails in 12+ different accounts)… so I have to fix my custom.css
Judging from previous problems (look at the bottom of
https://forum.magicmirror.builders/topic/254/sachin-s-mirror/21
) I stink at finding the properties myself - any hints would be most welcome.