Read the statement by Michael Teeuw here.
[MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates
-
@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: -
@Cr4z33
Make trials with your terminal :- Turn screen on by pasting that in your terminal : echo on 0 | cec-client -s -d 1
- Check the feedback status sent by the TV by putting that in terminal : echo pow 0 | cec-client -s -d 1
- Remind the result
Do exactly the same with turn off :
- Turn screen on by pasting that in your terminal : echo standby 0 | cec-client -s -d 1
- Check the feedback status sent by the TV by putting that in terminal : echo pow 0 | cec-client -s -d 1
- Remind the result
The 2 results you will get should be updated in node.js line 610 / 620.
-
@bolish as I wrote before that’s EXACTLY what I already did. ;)
Terminal commands work straight away while the same commands in MMM-Remote-Control have no effect when used by tapping the buttons in the menu.
-
@Cr4z33
So, the ouput you got in the terminal by sending the “pow 0” command is in line with what is written into node helper.js line 610 / 620? -
-
@Cr4z33
Strange, it worked for me… FMI, what output do you get in the terminal with “echo pow 0 | cec-client -s -d 1”.
When the screen is ON? When the screen is “OFF”? -
@bolish depending wheter the TV is on or off it says
power status: on
orpower status: standby
. -
@Cr4z33 same as me…let’s try to cross check our node helper .js to see if they are written the same on line 610 and 620.