<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Module status]]></title><description><![CDATA[<p dir="auto">I was trying to implement module controls using homebridge running on a pi and magic mirror. So far using the mmm-HomeKit module, I have been able to implement the magicmirror display controls. When I tried that with the modules I’m not able to get the status of the module if it is hidden or shown. Can anyone tell me if there’s any curl command to get the status.</p>
]]></description><link>https://forum.magicmirror.builders/topic/15303/module-status</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 00:58:21 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15303.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Jul 2021 17:08:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Module status on Sun, 25 Jul 2021 02:09:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdmydbr9" aria-label="Profile: sdmydbr9">@<bdi>sdmydbr9</bdi></a> said in <a href="/post/93063">Module status</a>:</p>
<blockquote>
<p dir="auto">I am not able to get the state command because I couldn’t find any so my set up is incomplete.</p>
</blockquote>
<p dir="auto">so, your statement is that the MMM-RemoteControl module does not provide a mechanism to determine if a module (by name)  is hidden or not</p>
<p dir="auto">sorry, don’t know about the internals of MMM-RemoteControl</p>
]]></description><link>https://forum.magicmirror.builders/post/93064</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93064</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 Jul 2021 02:09:22 GMT</pubDate></item><item><title><![CDATA[Reply to Module status on Sun, 25 Jul 2021 02:07:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>{
    "bridge": {
        "name": "Homebridge 7481",
        "username": "0E:4A:31:A4:44:11",
        "port": 51891,
        "pin": "740-38-278"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config",
            "sudo": true,
            "log": {
                "method": "native",
                "path": "/var/lib/homebridge/homebridge.log"
            },
            "sessionTimeout": 28800
        },
        {
            "platform": "cmdSwitch2",
            "name": "Raspberry Pi",
            "switches": [
                {
                    "name": "Mirror",
                    "on_cmd": "vcgencmd display_power 1",
                    "off_cmd": "vcgencmd display_power 0",
                    "state_cmd": "tvservice -s",
                    "manufacturer": "Raspberry Pi Foundation",
                    "model": "Raspberry Pi 4 Model B"
                }
            ]
        }
    ]
}
</code></pre>
<p dir="auto">This is my home bridge configuration file. I use homebridge to connect the magicmirror to my iOS home app and control it using my phone. To implement this mainly 3 things is needed, the “on command” ; “the off command” and “the command to get the status”<br />
When I tried this using a module I used the following config, using mmm-strava as an example</p>
<pre><code>On_cmd = curl 
http://192.168.29.202:8080/remote?action=SHOW&amp;force=true&amp;module=MMM-Strava

Off_cmd=http://192.168.29.202:8080/remote?action=HIDE&amp;force=true&amp;module=MMM-Strava
</code></pre>
<p dir="auto">I am not able to get the state command because I couldn’t find any so my set up is incomplete.</p>
]]></description><link>https://forum.magicmirror.builders/post/93063</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93063</guid><dc:creator><![CDATA[sdmydbr9]]></dc:creator><pubDate>Sun, 25 Jul 2021 02:07:44 GMT</pubDate></item><item><title><![CDATA[Reply to Module status on Sat, 24 Jul 2021 21:23:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdmydbr9" aria-label="Profile: sdmydbr9">@<bdi>sdmydbr9</bdi></a> tell me more</p>
]]></description><link>https://forum.magicmirror.builders/post/93045</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/93045</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 24 Jul 2021 21:23:56 GMT</pubDate></item></channel></rss>