Read the statement by Michael Teeuw here.
MMM-NewsAPI
-
@swvalenti The module will not stop working.
-
@mumblebaj Whatever you do don’t update the module, mmm remote control showed update I just did that and it deprecated the module and no longer works!
-
@swvalenti You can clone the module from here:
MMM-News
The config should still work. -
@mumblebaj gave yours a try but get this error?
MMM-NewsAPI.js:129 Uncaught TypeError: Cannot read property 'sourceId' of undefined at Class.draw (MMM-NewsAPI.js:129) at Class.socketNotificationReceived (MMM-NewsAPI.js:96) at module.js:245 at Socket.<anonymous> (socketclient.js:38) at Socket../node_modules/component-emitter/index.js.Emitter.emit (index.js:145) at Socket.emit (typed-events.js:46) at Socket.emitEvent (socket.js:263) at Socket.onevent (socket.js:250) at Socket.MMSocket.socket.onevent (socketclient.js:32) at Socket.onpacket (socket.js:214)
Config
module: "MMM-NewsAPI", header: "news", position: "bottom_bar", config: { apiKey: "super duper secret", type: "horizontal", choice: "headlines", pageSize: 9, className: "NEWS", drawInterval: 1000*30, templateFile: "template.html", fetchInterval: 1000*60*60, query: { country: "us", //category: "", //q: "covid", //qInTitle: "", sources: "Fox News", domains: "foxnews.com", //excludeDomains: "", language: "en" }, } },
-
@swvalenti said in MMM-NewsAPI:
The issue is with sources “Fox News”. That is not a valid source. Remove it and it should work fine with just the domain of foxnews.com -
@mumblebaj said in MMM-NewsAPI:
@swvalenti said in MMM-NewsAPI:
The issue is with sources “Fox News”. That is not a valid source. Remove it and it should work fine with just the domain of foxnews.comUnderstood, works great now. Nice module good job!!!
-
@mumblebaj, perfect, that i see Transfert is now done ;)
Happy coding,
@bugsounet -
@bugsounet Thank you. I have received.
-
@mumblebaj Module stopped working you working on it?
-
No errors just doesn’t show in region