Closed Rvnbrg closed 2 months ago
Hi! You have to split intervals one by one like this:
schedules: [
{
days: [], // Display at all times
startHH: "05",
startMM: "00",
endHH: "09",
endMM: "00"
},
{
days: [],
startHH: "13",
startMM: "00",
endHH:"15",
endMM: "00"
},
{
days: [],
startHH:"21",
startMM: "00",
endHH:"23",
endMM: "10"
}
]
Thank you very much, I will try that
I can't get the module showing now at all. My config is
{
module: 'MMM-GoogleTrafficTimes',
position: 'top_left',
config: {
key: '**GOOGLE API**',
origin: 'home adress',
destinations: [
{
name: "work 1",
address: "work adress 1"
},
{
name: "work 2",
address: "work adress 2"
},
{
name: "work 3",
address: "work adress3"
},
{
name: "(name of school)",
adress: "adress of school"
},
],
updateInterval: 900000,
avoidHighways: false,
avoidTolls: false,
mode: 'driving',
language: "en-EN",
offsetTime: 25,
lastUpdate: true,
timeLastUpdateWarning: 1,
horizontalLayout: true,
schedules: [
{
days: [],
startHH: "05",
startMM: "00",
endHH: "11",
endMM: "45"
},
{
days: [],
startHH: "13",
startMM: "00",
endHH:"15",
endMM: "00"
},
{
days: [],
startHH:"21",
startMM: "00",
endHH:"23",
endMM: "00"
},
],
debug: false
},
Try with last update. It should be fixed now! Thanks! :)
Unfortunately not working yet. But I also cannot get the module working if I delete the schedule.
Have you have execute the install command after download? Once in ~/MagicMirror/modules/MMM-GoogleTrafficTimes run:
npm install
Have you checked the logs? They might provide some information.
May I ask, how to view the logs? I am pretty new at this
Op vr 19 jul 2024 15:31 schreef Jacopo Campani @.***>:
Have you have execute the install command after download? Once in ~/MagicMirror/modules/MMM-GoogleTrafficTimes run:
npm install
Have you checked the logs? They might provide some information.
— Reply to this email directly, view it on GitHub https://github.com/Jacopo1891/MMM-GoogleTrafficTimes/issues/7#issuecomment-2239188892, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ3C7N7ASY7ZQFUOVDWES73ZNEILHAVCNFSM6AAAAABLD6PMPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGE4DQOBZGI . You are receiving this because you authored the thread.Message ID: @.***>
Never mind! Read here
I get a NPM error missing script "start"
I don't understand... could you paste the logs here?
Are you running the start command
npm start dev | grep MMM-GoogleTrafficTimes
in the main project directory to execute MM in dev mode?
All the other modules work except this one, right?
Yes that is correct. I ran MM in dev mode. Where can I find the log file?
I will try to reinstall the module because I had it working the first day I installed it.
Op za 20 jul 2024 00:33 schreef Jacopo Campani @.***>:
I don't understand... could you paste the logs here? Are you running the start command npm start dev | grep MMM-GoogleTrafficTimes in the main project directory to execute MM in dev mode? All the other modules work except this one, right?
— Reply to this email directly, view it on GitHub https://github.com/Jacopo1891/MMM-GoogleTrafficTimes/issues/7#issuecomment-2240423121, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ3C7N66HDEHKT7JGU4PRPLZNGH3VAVCNFSM6AAAAABLD6PMPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBQGQZDGMJSGE . You are receiving this because you authored the thread.Message ID: @.***>
Can it be that the Google API causes this issue?
I woke up today and it is suddenly working! Thank you!
Oh... Cool! 💯
Hello,
I am trying to show the moduke at times between 05:00 - 09:00, 13:00 - 15:00, 21:00 - 23:00. In my config I have starttines "05, 13, 21" and at endtimes I have "09, 15, 23". But now the module doesn't display at any time.
Do you know how I can solve this?
Thank you