also should I have posted those Ip Adresses?
Read the statement by Michael Teeuw here.
Posts
-
Config Error
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information on how you can configure this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "en", timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "alert", Position: "right" Welcome_message "string" }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] } }, { disabled,true, module: "compliments", position: "lower_third"config: { compliments: { morning: [ "Good Morning My Lord", "Have The Best Day Ever:)", "Ten is such a weird number..." ], afternoon: [ "Good Afternoon!", "Welcome to Apollonis!", "I am under maintainance please excersise caution" ], evening: [ "Good Evening, Sir!", "You Are In Control, Sir." ] }, updateInterval:50000, remoteFile: null, fadeSpeed: 4000, morningStartTime: 3, morningEndTime: 12, afternoonStartTime: 12, afternoonEndTime: 17 } }, { module: "currentweather", position: "top_right", config: { location: "West Des Moines", locationID: "4881346", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "4900f833e3e07ddd3b769d933245d37a" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "West Des Moines", locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "4900f833e3e07ddd3b769d933245d37a" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} I keep getting error screens and it wont even let me run the magic mirror! I changed the weather stuff and the compliments. I have no experience with coding. I also get this when i ran a check. pi@raspberrypi:~ $ npm run config:check npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-05-20T01_00_43_703Z-debug.log
Thanks in advance!!!
-
RE: dead SD-card every aprox. 6 months
@MoreLinux said in dead SD-card every aprox. 6 months:
tmpfs /tmp tmpfs defaults,noatime,nosuid,size=100m 0 0
tmpfs /var/tmp tmpfs defaults,noatime,nosuid,size=30m 0 0
tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=100m 0 0
tmpfs /var/run tmpfs defaults,noatime,nosuid,mode=0755,size=2m 0 0
tmpfs /var/spool/mqueue tmpfs defaults,noatime,nosuid,mode=0700,gid=12,size=30m 0 0could you potentilally give a more in-depth guide to doing this?
-
RE: dead SD-card every aprox. 6 months
@MoreLinux so how do you edit this text file using root?
-
Raspberry Pi4 Power Supply Help
Hello! So I got a raspberry pi 4 (with 4 gb RAM) and i was wondering if it was possible to power the raspberry pi with a 12 W or 18W apple power supply. I have the USB cords for both, as well as all the other adapters and Rasbian downloaded on an SD card inside the Pi itself. I would prefer to not buy any more accessories for it so I’m trying to reuse everything I can. The screen is older so it uses VGA and I don’t know if that affects anything.
TL;DR Can I use a 12W apple charger to power my RasPi 4?
-
Raspberry Pi 4 powersupply
Hello,
I have an apple 12 w power supply and a apple 5v=3A power supply.
Will any of those work at charging a Raspberry pi 4? -
PIR Sensor help
Re: MagicMirror² made as Picture In frame
so do you need a breadboard for this to work?
-
PIR sensor help please
Hello,
So how would you connect a PIR sensor to the raspberry pi four?
would i need like those connector things or like one of those weird board things? Im new so i have no idea how to do this, thanks in advance!!