Read the statement by Michael Teeuw here.
[MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates
-
@swvalenti the master repo has master and develop as branches
-
@cr4z33 try adding them using the customCommands config setting (see the develop branch README.
-
@shbatm OK thanks I will try that tomorrow.
-
@shbatm said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:
@cr4z33 try adding them using the customCommands config setting (see the develop branch README.
I set the dev branch module like the following:
{ module: 'MMM-Remote-Control', disabled: false, customCommand: { monitorOnCommand: 'echo on 0 | cec-client -s -d 1', monitorOffCommand: 'echo standby 0 | cec-client -s -d 1', monitorStatusCommand: 'echo pow 0 | cec-client -s -d 1' } },
None of the commands are working. :confused_face:
I get the ‘Done’ message, but then nothing happens…The syntax is 100% correct and working if used in the terminal.
-
Hi, I can’t see newsfeed options in Module Controls.
Can you help me please? -
@mohace I can.
Double check if you edited anything or try deleting and reinstalling the module?
-
Hi @shbatm
I already asked this question on git issues on Jopyth’s version but I just figured out that you are the guy behind the custom menu!Would it be possible to have an action item for a menu?
I mean, when you click on the menu, it opens the menu but also as the ability to trigger an action.
Regards
-
@Cr4z33
Please check the output of echo pow when your screen is on and off.
The original setting related to screen status into the node.js was NOK for me. (indeed, it is something like “ON” / “OFF” / “HDMI” etc…) but my TV was answering with “power status: on” and “power status: standby”.
So I had to modify line 610 and 620 with my own.BTW, @shbatm , would be better if those parameters could be configurable also.
Regards
-
@Cr4z33 said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:
@mohace I can.
Double check if you edited anything or try deleting and reinstalling the module?
I meant not in that menu but in
-
@bolish OK, but you have to tell me how to do it. :smiling_face_with_open_mouth_cold_sweat:
By the way I have problems turning on and off my TV too.
Even if I edited files to enter the needed CEC commands somehow it doesn’t work (same commands in terminal work fine).@mohace huh?
I don’t have those menu’s entries at all.
Are you using a custom version of the module or? :confused_face: