edit MMM-Scorebpoard.js and change line 552 to
Log.log("[MMM-MyScoreboard] Updating Scores");
edit MMM-Scorebpoard.js and change line 552 to
Log.log("[MMM-MyScoreboard] Updating Scores");
@dstoneham how do you get it back to 109% manually?
@Skorpionbird cool which solution did u use? Edit file or upgrade on off?
yep, not your fault… new browser restriction…
fix in next version july
workaround
edit
MagicMirror/js/electron.js
add the line marked below
let mainWindow;
function createWindow() {
app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- added
save, and restart Mm
@SH20192 if you open the developers window on the client, ctrl-shift-i, select the console tab and scroll up… do you find any errors? usually red text
@dstoneham said in remote control brightness not saving always goes back to 50%:
remote control brightness
sorry, of what? some module? pi, tv?
@Cr4z33 said in MMM-awesome-alexa:
every other module using sound (ie. MMM-AssistantMk2, MMM-Spotify, etc.) is already working perfectly.
yes, doesn’t mean anything… every module can use their own methods to make sound…
let us know if/when u get there
@Skorpionbird ok… on the issue I posted, the developer says latest onoff version should work too…
4.1.1, hover-nodejs request 1.1.1 and got 1.2.0
so another thing to try after this, is rename the node_modules/onoff folder to onoff-old
then from MagicMirror folder do
npm install onoff
to get the latest
and try running mirror again…
there are some breaking changes in 4.1.0 and above, so its possible to cause more problems…
@nhpunch that is in the node_helper, serial library
looks like serialport.write(data: string|Buffer|Array,
i don’t know anything about serial port api… looks like promise based, so would need callbacks or .then()
@nhpunch said in How to use the 'node_helper', 'serialport':
buttonoff.addEventListener('click', ()=> {
Log.log("button pushed 'on'")
this._isPushed = false;
console.log(this._isPushed);
this.sendSocketNotification(“BUTTON_PUSHED”,this._isPushed)
});
button.addEventListener('click', ()=> {
Log.log("button pushed 'off' ")
this._isPushed = true;
console.log(this._isPushed);
this.sendSocketNotification(“BUTTON_PUSHED”,this._isPushed)
});