@OwenLars I was able to get the proper project ID by running this command in the terminal. I just set it the module yesterday.
curl -s \
-H "Authorization: Bearer xxxxyourapikeyxxxx" \
https://api.todoist.com/rest/v2/projects
@OwenLars I was able to get the proper project ID by running this command in the terminal. I just set it the module yesterday.
curl -s \
-H "Authorization: Bearer xxxxyourapikeyxxxx" \
https://api.todoist.com/rest/v2/projects
@sdetweil yeah that’s what I ended up doing. Thank you again for all your help the last few days! Glad to have everything back to normal.
you can see on the right module it says “America/New_York” which is my timezone city, but my lat/lon is set to my home many states south. They used to both say that, but I added the “appendLocationNameToHeader” parameter to the left one to see what it would look like.
Before the API update, it would properly display my home city. I’m pretty sure it’s displaying the correct weather information, but we surprisingly have similar weather to NY right now so it’s hard to confidently confirm.
@sdetweil not going to lie, but I don’t see anywhere saying we have to use /onecall as the endpoint, but that worked for me for both of my current and forecast modules. The location is stating my time zone city (which is 8 hours north) , but the information seems to be correct when comparing it to a weather website. Thank you for the help.
@sdetweil After 24 hours, I’m still stuck at “loading…” could you confirm if I have the config set up properly? I signed up for the Onecall 3.0 API subscription, and it says it’s active.
{
module: "weather",
position: "top_left",
config: {
weatherProvider: "openweathermap",
apiVersion: "3.0",
type: "forecast",
weatherEndpoint: "/forecast",
lat: "xxx",
lon: "-xxx",
apiKey: "cxxx",
roundTemp: true,
showPrecipitationAmount: true,
tableClass: "medium",
colored: true,
}
},
{
module: "weather",
position: "top_right",
config: {
weatherProvider: "openweathermap",
apiVersion: "3.0",
type: "current",
weatherEndpoint: "/weather",
lat: "xxx",
lon: "-xxx",
apiKey: "cxxx",
showWindDirectionAsArrow: true,
showSun: false,
roundTemp: true,
}
},
@sdetweil not sure what happened, but I added events to the calendars that weren’t showing up to try and troubleshoot, and now they’re all populated properly… Thanks for all your help with this. Now it’s on to fixing the weather widget.
@angeliKITTYx said in Version 2.30.0 Calendar fix for clipping broadcast events:
@sdetweil I used the command on the MM documents page
git pull && npm run install-mmBut I always had to remove the package-lock.json and package.json too
I just tried it now and it’s not working since I’m in the fix clipping branch. It’s asking me to confirm branch.
@sdetweil I used the command on the MM documents page
git pull && npm run install-mm
But I always had to remove the package-lock.json and package.json too
@sdetweil I deleted it off my Pi and then followed the Manual Install. Then I reinstalled all of my modules. It was a fresh install - I didn’t upgrade it.
@sdetweil I deleted it off my Pi and then followed the Manual Install. Then I reinstalled all of my modules. It was a fresh install - I didn’t upgrade it.
@sdetweil It’s on pi.
I used these instructions, and I also did the “Not Working?” section.
@sdetweil I signed up for the new subscription and regenerated my API key (just to be safe). I remember it taking some time to show up the first time,so hopefully it will be back to normal in the morning! Thanks for the information.
@sdetweil so I decided to do a clean install of my MM, and the timezone thing fixed itself. However, it’s still not displaying all of my calendars. Two show up immediately, one shows up after the refreshinterval, and the rest don’t show up at all. I tried re-entering all of the private ical URLs, but those didn’t change anything. The log still shows it’s pulling x events from each URL, but they’re not displaying. Did you still want me to email you the logs?
@sdetweil my raspberry pi desktop has the correct timezone, my Google calendars are all set right, and the clock module is showing the right time. Would ext3 have a different time zone set?
@sdetweil how do I change the timezone in MM? This issue only came up once I did the fix clipping commands on this thread. And what about all the calendars that aren’t showing?
I also just noticed my weather module stopped working too.
@sdetweil I put the refresh interval back down to 100500, and the calendar refreshed. The 3rd calendar showed back up, but they’re all displaying at 5AM and going into the following day even though everything is an “all day” event in my Google calendar. It looks the same as the screenshot I shared earlier.
@sdetweil I’m confused then…i was just using the values you provided. Do I need to go back to my refresh of 1.75min? Do I keep the fetch value at 5000?
@sdetweil I changed the Ext3 parameter to refreshInterval: “3601000”, and it still looks the same. Do I need to let it sit for an hour to refresh?
@sdetweil that link fixed the module, thank you! Now just the issue of the calendar. Here’s my config file - did I add those parameters correctly? My Ext3 refreshinterval used to be 105000. Once I changed that and added the fetch, the “all day” events are still showing wrong and I’m down to 2 of 7 calendars showing.
{
module: "calendar",
header: "Family Calendar",
hiddenOnStartup: "true",
position: "top_left",
config: {
broadcastPastEvents: true,
displaySymbol: false,
showEnd: false,
fetchInterval: 100000,
calendars: [
{
url: "https://calendar.google.com/calendar/ical/an.jusino%40gmail.com/private-74d08680c977c48e69171dadae3346d1/basic.ics",
name: "family_cal",
color: "mediumpurple"
},
{
url: "https://calendar.google.com/calendar/ical/omtoia6f8j37jran5mb17op4ds%40group.calendar.google.com/private-16234c84cba91dcd115a1520c7d4a6d1/basic.ics",
name: "alecwork_cal",
color: "darkgrey"
},
{
url: "https://calendar.google.com/calendar/ical/alec.ricks%40gmail.com/private-1057e398b749e4a4bd8d89428196701d/basic.ics",
name: "alec_cal",
color: "cyan"
},
{
url: "https://calendar.google.com/calendar/ical/0b6c8d6f8c3228633df24f5a2e1a82ee6e26fb2f83149c1e7f23db663a1723fc%40group.calendar.google.com/private-b27c85d7ac15b1b3720cbc02b5dc379c/basic.ics",
name: "days_off",
color: "black"
},
{
url: "https://calendar.google.com/calendar/ical/1edbd1beaf928e2704be3df763e9b319577876e1bcb207b7904a9c4f06ffb943%40group.calendar.google.com/private-76c28d9a0ee7ab9f1b64a9d566a850ed/basic.ics",
name: "birthdays",
color: "palevioletred"
},
{
url: "https://calendar.google.com/calendar/ical/0f7edded062436e88c439f02088314c458c640c02e562fb692933af418d0abc4%40group.calendar.google.com/private-e796d5dfb492112678768352ffc3fbb8/basic.ics",
name: "Recycling",
color: "blue"
},
{
url: "https://calendar.google.com/calendar/ical/f66c575019a70fc8b261642986e5db02b70a923eaa2c24ce3cef72adc9f500c2%40group.calendar.google.com/private-22e483fee9be4ff5c366069093ee2445/basic.ics",
name: "Trash",
color: "green"
},
]
}
},
{
module: "MMM-CalendarExt3",
position: "bottom_bar",
config: {
mode: "week",
useSymbol: false,
showMore: true,
refreshInterval: "1800000",
waitFetch: "5000",
weekIndex: "0",
instanceId: "basicCalendar",
fontSize: "22px",
maxEventLines: 5,
firstDayOfWeek: 7,
calendarSet: ['family_cal', 'alecwork_cal', 'alec_cal', 'days_off', 'birthdays', 'Recycling', 'Trash'],
}
},
@sdetweil the install command went through properly, but I’m still getting the same results when I launch MM.