Read the statement by Michael Teeuw here.
MMM-ArduPort
-
@Kereknjek that looks good…
looks at the MMM-Arduino module, it shows debugging info on the developers window
ctrl-shift-i on the keyboard, select the tab labeled ‘console’
you can filter out other modules messages by putting part of the module name in the filter field
ardu
also, have to set developerMode:true in the module config.js section
if (self.config.developerMode) { var date = new Date(); var time = date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds(); message = self.name + ": (" + self.data.index + ")(" + time + ") " + message; } else { message = self.name + ": " + message; } switch (type) { case "error": Log.error(this.logPrefix + message); break; case "warn": Log.warn(this.logPrefix + message); break; case "info": Log.info(this.logPrefix + message); break; case "dev": if (self.config.developerMode) { Log.log(this.logPrefix + message); } break; default: Log.log(this.logPrefix + message); }
-
has anyone solved this problem?
I don’t understand anything at all in JS?
error text from console:Uncaught (in promise) TypeError: "({0}) ".format is MMM-ArduPort.js:143 not a function at Class.formatValue (MMM-ArduPort.js:143) at Class.getDom (MMM-ArduPort.js:250) at main.js:111 at new Promise (<anonymous>) at updateDom (main.js:110) at Object.updateDom (main.js:542) at Class.updateDom (module.js:357) at Class.socketNotificationReceived (MMM-ArduPort.js:118) at module.js:243 at r.<anonymous> (socketclient.js:39)
help someone, I’ve been trying to run it for a long time !!!
-
@Crime as I posted the other day, someone posted a fix in the issue for the module
u have to change some code
-
@sdetweil please, more details. I really need help
-
@Crime sorry, other topic
see this issue on the module
https://github.com/Dentrax/MMM-ArduPort/issues/3 -
@sdetweil thank you so much! it really helped! now my sensors are working as they should!
and how I did not notice this topic before -
@Crime could you help this guy
https://forum.magicmirror.builders/topic/13681/is-it-possible-to-ad-an-arduino/53
his sketch and module data don’t match.