A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
[MMM-Buttons] Not recognizing button presses
-
-
@istepgueu Well thank you for trying to help, its much appreciated.
-
So seems like I only ever get to the “Initialize button power on PIN X” log statement when accessing the MM from a remote browser. Otherwise the pi doesnt hit this part of the script on its own.
Only error I can see so far is this when loading midori from command line (though still initializes the pin via the browser so maybe midori doesnt like this line but chrome ignores it?
** Message: console message: http://localhost:8080/modules/MMM-Buttons//MMM-Buttons.js @86: SyntaxError: Unexpected token '('. Expected a ':' following the property name 'sendAction'.
-
@istepgueu @Jopyth Whoo hoo got it.
MMM-Buttons.js: Semi colons on line 71/72 and line 86 needs to be changed to:
sendAction: function(description) {
where as it currently just reads:
sendAction(description) {
-
@Mar Good thing you found this error. Very strange, that it did not complain on my Pi before.
-
This post is deleted!