@sdetweil Acknowledged to only post in one medium, sorry for that.
Thanks a lot for the code. Can you tell me where this has to be added?
@sdetweil Acknowledged to only post in one medium, sorry for that.
Thanks a lot for the code. Can you tell me where this has to be added?
I am trying to cofigure the calendar module in the following way but cannot make it happen so maybe someone can help me out:
This is what my current config looks like:
module: "calendar",
header: "Termine & Feiertage",
position: "top_left",
config: {
fetchInterval: 300000, //5 Minute
displaySymbol: true,
showLocation: false,
fade: true,
fadePoint: 0.4,
dateFormat: "D. MMM HH:mm",
fullDayEventDateFormat: "D. MMM",
timeFormat: "absolute",
getRelative: 12,
urgency: 0,
maximumEntries: 10,
displayRepeatingCountTitle: true,
hideOngoing: false,
nextDaysRelative: true,
calendars:
...
]
}
I have added nextDaysRelative: true
as a temp solution to get the next day relative and know this should probably be removed.
Any help would be appreciated.
Hi all,
I have issues with the MMM-Pir module. I recently finished my mirror and put it onto the wall which all worked fine but it randomly shutdown. I have no idea why that happend but I found out it happend when I manage the start of Magic Mirror with pm2, but not when manually starting with “npm run” in a screen or with nohup, so I decided to move away from pm2 and created a systemd unit instad. So far, so good.
As I didn’t need pm2 I removed it from the raspi. Starting the Mirror with the Unit work fine but on Startup I see an Error Message from the PIR module that 1 needed Library is not loaded. The popup on top on starting up shows it is onoff
. I tried rebuilding MMM-Pir and also manually installing onoff
with the global flag but no with no avail.
So the main two changes between WAI and not working at all are
localhost
to 0.0.0.0
Config for Pir Module:
{
module: 'MMM-Pir',
position: 'top_right',
config: {
debug: false,
delay: 2 * 60 * 1000,
turnOffDisplay: true,
mode: 9,
ecoMode: true,
displayCounter: true,
displayBar: true,
displayStyle: "Text",
displayLastPresence: tru
lastPresenceTimeFormat:
mode6_gpio: 20,
mode6_clearGpioValue: tr
pir_gpio: 18,
pir_reverseValue: false,
xrandrForceRotation: "no
//wrandrForceRotation: "
}
},
Can anyone help how I can get the Pir Module woring again? Happy to provide logs and config if needed. Thanks!
Hey guys,
so I have basically my Raspi all Set up, have a 21" Screen which I have taken apart - at least already removed the whole frame, still need to separate the circuit boards from the metal frame - an am basically good to start. I also figured where to get my glass from. Either via the Community Order if open at that time or from https://www.glas-star.de where they also have a mirror specific for this project.
Now I come to the “struggle” I have. I would consider myself kind of skilled as craftsmen but if I know what to do. Though, I basically never did something from scratch and not much with wood. In regards of tools I also think I have most basic things which are needed. Now comes the question: How to start planning to build a nice frame?
I would appreciate any suggestion/tip/page to get started with it and finally get my mirror to the wall.
Thanks in advance!
@0m4r much appreciated.
I would like to make a feature request if I may.
Cheers,
Feedy
Doesn’t look like there is an API available, so basically no way to get the data in.
@Cetax
it is not possible to integrate the module right away. What you can do, is to create a local ical file, store in on your device running the magic mirror and call if via localhost. However, this would only help you to display the day of pickup, no different colors for what bins are being picked up.
@sdetweil thanks, will do so later/tomorrow
Edit: done https://github.com/MichMich/MagicMirror/issues/2110 :crossed_fingers_light_skin_tone:
@sdetweil Thanks for your reply. I have specified the timezone now:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Static Birthdays//Some Name//EN
CALSCALE:GREGORIAN
X-WR-CALNAME;VALUE=TEXT:Birthdays_static_short
X-WR-TIMEZONE:Europe/Berlin
BEGIN:VTIMEZONE
TZID:Europe/Berlin
LAST-MODIFIED:20200806T101500Z
BEGIN:STANDARD
DTSTART:20191027T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20200329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
SUMMARY:Max Mustermann
DESCRIPTION:
DTSTAMP:20050806T080000Z
DTSTART;VALUE=DATE:20050806
DTEND;VALUE=DATE:20050806
RRULE:FREQ=YEARLY
END:VEVENT
END:VCALENDAR
Also on your other post, this was just any birthday I pulled. I have created a fake one for today but still the same issue.
I have also played around with my icloud calender and found the following:
The only difference in both Events is the RRULE:
Not Reoccurring:
BEGIN:VEVENT
CREATED:20200806T083628Z
DTEND;VALUE=DATE:20200807
DTSTAMP:20200806T083634Z
DTSTART;VALUE=DATE:20200806
LAST-MODIFIED:20200806T083628Z
SEQUENCE:0
SUMMARY:SingleTestDayEvent
UID:05BF5856-EE12-495C-A681-5D1DE3BD2418
URL;VALUE=URI:
TRANSP:OPAQUE
END:VEVENT
Reoccurring:
BEGIN:VEVENT
CREATED:20200806T083338Z
DTEND;VALUE=DATE:20200807
DTSTAMP:20200806T083339Z
DTSTART;VALUE=DATE:20200806
LAST-MODIFIED:20200806T083338Z
RRULE:FREQ=YEARLY
SEQUENCE:0
SUMMARY:TestDayEvent
UID:7927874B-86FB-494B-AACE-CCA8BD525A3F
URL;VALUE=URI:
TRANSP:OPAQUE
END:VEVENT