You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because I have given the origin and destination the module loads that as default route on raspberry pi once.
I expected that when my calendar module sends an event as notification, then the location is used and route gets displayed based on the event location. This works on my laptop when i forcefully reload the page, and never on my raspberry pi, even though the route module receives the calendar notification correctly ( i printed the event info in the route module, I can see it in console). But the module on screen does not auto refreshes. The status is Google Direction service status : ZERO_RESULTS
Step1. Config as above and start MM2
Step2. Raspi and laptop still shows the default/old route for the origin and destination mentioned in the directionRequest config.
Step3. manually reload the page on browser on laptop, it still shows the default/old route for the origin and destination mentioned in the directionRequest config.
Step4. Wait for sometime, manually reload the page on browser on laptop - Shows the route based on calendar event on laptop suddenly. Nothing changes on raspi.
Add a new Google calendar event occurring in next hour with new destination. Nothing changes.
Step5. Wait for sometime, manually reload the page on browser on laptop - Shows the route based on calendar event on laptop suddenly. Nothing changes on raspi.
The text was updated successfully, but these errors were encountered:
Hi, it seems to be an issue in the configuration, the listen parameter should be an array of strings.
So please try using listen: ['CALENDAR_EVENTS'],
instead of listen: '[CALENDAR_EVENTS]',
When running the module on a raspberry pi installation of MagicMirror2 the module is only able to load once when using the configuration.
Because I have given the origin and destination the module loads that as default route on raspberry pi once.
I expected that when my calendar module sends an event as notification, then the location is used and route gets displayed based on the event location. This works on my laptop when i forcefully reload the page, and never on my raspberry pi, even though the route module receives the calendar notification correctly ( i printed the event info in the route module, I can see it in console). But the module on screen does not auto refreshes. The status is Google Direction service status : ZERO_RESULTS
Step1. Config as above and start MM2
Step2. Raspi and laptop still shows the default/old route for the origin and destination mentioned in the directionRequest config.
Step3. manually reload the page on browser on laptop, it still shows the default/old route for the origin and destination mentioned in the directionRequest config.
Step4. Wait for sometime, manually reload the page on browser on laptop - Shows the route based on calendar event on laptop suddenly. Nothing changes on raspi.
Add a new Google calendar event occurring in next hour with new destination. Nothing changes.
Step5. Wait for sometime, manually reload the page on browser on laptop - Shows the route based on calendar event on laptop suddenly. Nothing changes on raspi.
The text was updated successfully, but these errors were encountered: