Read the statement by Michael Teeuw here.
Adding new Module in Config
-
thank you very much for your reply… Yes my MM was working before i added the new module…
Still doesn’t seem to want to work.
Ive added the module like you said and still doesn’t load up…This is how my config looks now.
Thanks
title: 'BBC', url: 'http://feeds.bbci.co.uk/news/rss.xml' } ], startTags: [], endTags: [], prohibitedWords: [] } } ], paths: { modules: 'modules', vendor: 'vendor' } } { module: 'MMM-Tado', position: 'top_right', // This can be any of the regions. config: { username: '***', password: '***', updateInterval: 300000 } },
-
Try putting a comma after the curly bracket at the end of the news entry, like so:
paths: { modules: 'modules', vendor: 'vendor' } },
then your tado entry after that
-
still nothing after adding the , to the bracket…
-
@Mykle1 practice, line up the {} and {} vertically… when u create a {
add a } in the same column on a new line, put stuff between them
each module should end with },
after the last module is the ] of the modules:[ list started at the top
each module has AT LEAST
{ module:"???name???", config: { } },
all config stuff for the module goes between the {} and close of the config: section
-
Sorry does this help at all?
Line 155 col 2 ‘destructuring binding’ is available in ES6 (use ‘esversion: 6’) or Mozilla JS extensions (use moz).
Line 159 col 17 Expected an identifier and instead saw ‘MMM-Tado’.
Line 160 col 19 Expected an identifier and instead saw ‘top_right’.
Line 162 col 23 Expected an identifier and instead saw ‘*****’.
Line 163 col 23 Expected an identifier and instead saw ‘*******’.
Line 164 col 29 Expected an identifier and instead saw ‘300000’.
Line 174 col 1 Unexpected ‘if’.
Line 174 col 1 Expected an identifier and instead saw ‘if’ (a reserved word).
Line 174 col 3 Missing semicolon.
Line 174 col 34 Expected an assignment or function call and instead saw an expression.
Line 174 col 35 Missing semicolon. -
@jakuk said in Adding new Module in Config:
Line 159 col 17 Expected an identifier and instead saw ‘MMM-Tado’.
so, lets look on the line BEFORE 159, cause there was a problem (it is NOT expecting to see )
} // < --- what is this? { // < mmm-tado module start module: 'MMM-Tado', position: 'middle', config: { username: '********', password: '*******', updateInterval: 300000 } } // < mm-tado end
end of all modules is ], but I don’t see that either