Read the statement by Michael Teeuw here.
[MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates
-
@robiv8 I don’t have a debug mode, but you can try adding:
console.log(notification, payload);
to Line #988 of node_helper.js to print all notifications received by the back-end from other modules; orconsole.log(query)
to Line #644. If you are using the API, you should be getting a response back in the browser or Postman.Looking at your list, I have a sneaking suspicion that
Page-Selector
is causing the issues, just because it may be inadvertently suspending the module. If you troubleshoot and find that to be the case, and can’t find a work around with that module, you can try using MMM-Carousel w/ Navigation which is what Page-Selector was originally based off of. I know there is an option in that module to “exclude” a module from being suspended. -
@shbatm
Thanks for your explanation
I will try it tonight and then report it.And yes, I also suspect that it is the page selector.
Whereby I set “Alert, notification, buttons and podcast2” to exclude. And nevertheless.
I’ll take a look. -
@shbatm I’ve done the Italian translation if you want to add it. ;)
-
@shbatm
are you sure with console.log(notification, payload); to Line #988
my node_helper.js is going only to line 958 -
@cr4z33 thanks! I’ll add it when I get a chance.
-
@robiv8 make sure your are on the
develop
branch (git checkout develop
from a command line inside the module folder).https://github.com/shbatm/MMM-Remote-Control/blob/develop/node_helper.js#L988
-
This post is deleted! -
OK So i can see that:
REMOTE_CLIENT_CONNECTED {} 0|mm | REMOTE_ACTION { data: 'translations' } 0|mm | REMOTE_ACTION { action: 'SHOW_ALERT', 0|mm | type: 'alert', 0|mm | title: 'Test', 0|mm | message: 'This is a test text', 0|mm | timer: '4' }
but nothing happened!
The Devtools says:alert is suspended. updatenotification is suspended.
so I mean you are right with MMM-Page-Selector
Good to know on the one hand,
but on the other SHIT
I spent a lot of time making it look and working with the page selector.
Now I can start over :-( -
One more question!
Now I have 6 pages that I use with physical buttons.
If I restart the setup now with Carousel which example am I taking?
Global, Positional or Slides
I found it out myself. :-)Thank you
-
@shbatm I need to replace the monitor ON / OFF commands with these TV ones from the package ‘cec-client’.
Where do I have to look at?
TV ON:
echo on 0 | cec-client -s -d 1
TV OFF:
echo standby 0 | cec-client -s -d 1
TV Status:
echo pow 0 | cec-client -s -d 1