Hi guys,
I install module but never worked. I don’t understand why :)
Here is below terminal logs from debug mode :
Is anyone understand what is going on ?
thank you very much guys :)
Connecting socket for: MMM-Toulouse-Transports
ERROR MMM-Toulouse-Transports - logger - configuration NOT SET YET. Logging anyway.
TRACE MMM-Toulouse-Transports - start - start
ERROR MMM-Toulouse-Transports - logger - configuration NOT SET YET. Logging anyway.
TRACE MMM-Toulouse-Transports - start - busScheduleData.lastUpdate Sun Feb 10 2019 15:08:50 GMT+0100 (CET)
ERROR MMM-Toulouse-Transports - logger - configuration NOT SET YET. Logging anyway.
TRACE MMM-Toulouse-Transports - start - busScheduleData.lastUpdate minus 01h00 Sun Feb 10 2019 14:08:50 GMT+0100 (CET)
ERROR MMM-Toulouse-Transports - logger - configuration NOT SET YET. Logging anyway.
TRACE MMM-Toulouse-Transports - start - end
...
TRACE MMM-Toulouse-Transports - socketNotificationReceived - received: SET_CONFIG
DEBUG MMM-Toulouse-Transports - *** config set in node_helper:
DEBUG MMM-Toulouse-Transports - {"maxTimeOffset":200,"useRealtime":true,"updateInterval":120000,"animationSpeed":2000,"convertToWaitingTime":true,"initialLoadDelay":0,"apiBaseSchedules":"https://api.tisseo.fr/v1/stops_schedules.json?","maxLettersForDestination":22,"concatenateArrivals":true,"showSecondsToNextUpdate":true,"showLastUpdateTime":false,"oldUpdateOpacity":0.5,"oldThreshold":0.1,"retryDelay":1000,"debug":true,"apiKey":"*****","stopSchedules":[{"lineNumber":"L7","stopCode":"06701","maxEntries":"3"}]}
TRACE MMM-Toulouse-Transports - socketNotificationReceived - received: UPDATE_GLOBAL_TISSEO_DATA
TRACE MMM-Toulouse-Transports - *** call Update Lines list
TRACE MMM-Toulouse-Transports - updateAllTisseoData - start
DEBUG MMM-Toulouse-Transports - updateAllTisseoData - itreations to do: 1
TRACE MMM-Toulouse-Transports - updateLineInfo - start
DEBUG MMM-Toulouse-Transports - updateLineInfo - iteration:0 get Line data for: L7
TRACE MMM-Toulouse-Transports - updateLineInfo - end
TRACE MMM-Toulouse-Transports - updateAllTisseoData - end
TRACE MMM-Toulouse-Transports - updateBusScheduleTimetable - start - parameter: index=0
DEBUG MMM-Toulouse-Transports - updateBusScheduleTimetable - not all relevant Tisseo Data is present ==> reschedule
DEBUG MMM-Toulouse-Transports - updateBusScheduleTimetable - self.loaded=function (callback) {
console.log("Module helper loaded: " + this.name);
callback();
}
Here is my config file :
{
module: "MMM-Toulouse-Transports",
position: "top_right",
header: "Transports en commun",
config: {
apiKey : "*****",
updateInterval : 120000,
debug : true,
stopSchedules : [
{
lineNumber: "L7",
stopCode : "06701",
maxEntries: "3",
},
],
},
},