Read the statement by Michael Teeuw here.
-
@Mr.Meeseeks What do you mean? Like offer alert sending in the menu only if an alert module is running? Are there any other things which depend on installed modules?
-
@Jopyth like support a backend/menu for say a gallery module, but only if it’s installed. It would be very beneficial but might add bloat and future compatibility issues. Alert is fine because it’s a default.
-
@Mr.Meeseeks Its installed by default, but not neccesarily in the config and on the mirror. :)
That is something I also wanted, but I was not clear on the specification of it. My first draft.
The actions must definitely be offered by the modules themselves.
-
Right, ya, or have yet another module directory inside remote to inject menu definitions node/remote/module code for module’s remote backend, like magic mirror… Damn getting complex, ha. But your right maybe for now needs to hide alert menu if not installed.
-
Hi Jopyth,
First, thanks for a great module that I have a lot of benefit of. Super well done!
However, I have an idea that I would inquire if you could possibly help with.
It concerns that I have a Smart Home Controller (Zipato Tile) where it is possible to send http get / post / put / delete.
At this sitting blah. Z-Wave PIR Sensor, which is in the same room as my Magic Mirror, which through rule in Zipato Tile could send http post to your module and for example, “Turn Monitor ON”
Will this be possible? If so, how would the syntax look like? (I’m definitely not strong in coding javascript)
I would think it must be something along the: http://[Magic Mirror IP]/remote?Action= MONITORON
Or am I way off?
Thanks in advance
-
@Manmachine action should be lowercase and dont forget to add the port specified in the config behind the ip
-
Super! thanks i’ll give it a change.
Will return soon with an update within the next few days =) -
DOH! - it has indeed been in the documentation all the time! (How the heck could I miss it?)
there I sat and tried to find out how the code worked!
how stupid of me!
-
Hi, that’s great what u have done.
Why it doesn’t work on PC Browser? http://192.168.xxx.xx:8080/
On my HDMI monitor all thinks ok.
-
@lolobyte It should work with any browser. Did you replace the 192.168.xxx.xxx with the IP of your raspberry pi? If you set a position for the module, you should also be able to see the URL on your mirror, for example the following should show the URL to the remote inf the bottom left:
{ module: 'MMM-Remote-Control', position: 'bottom_left' },