<?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[Notification issued from MMM-MQTTbridge but nothing happens]]></title><description><![CDATA[<p dir="auto">As I posted elsewhere, after find the logs, I could get the errors removed, so now it posts the notification to REMOTE_ACTION, but nothing happens:</p>
<p dir="auto">It does receive the MQTT command, but nothing happens on the NOTI:</p>
<pre><code>0|mm     | [MQTT bridge] MQTT message received. Topic: bathroom/mirror, message: MONITOROFF
0|mm     | [2020-10-16 09:23:53.728] [LOG]
0|mm     | [MQTT bridge] MQTT -&gt; NOTI issued: 'REMOTE_ACTION', payload: {action: 'MONITOROFF' }
</code></pre>
<p dir="auto">Same thing happens for MONITORON, DIM and UNDIM.</p>
<p dir="auto">The mqttdictionary file looks like this now:</p>
<pre><code>var mqttHook = [
    {
      mqttTopic: "bathroom/mirror",
      mqttPayload: [
        {
          payloadValue: "MONITOROFF",
          mqttNotiCmd: ["MONITOROFF"]
        },
        {
          payloadValue: "MONITORON",
          mqttNotiCmd: ["MONITORON"]
        },
        {
          payloadValue: "UNDIM",
          mqttNotiCmd: ["UNDIM"]
        },
        {
          payloadValue: "DIM",
          mqttNotiCmd: ["DIM"]
        },
      ],
    },
  ];
var mqttNotiCommands = [
    {
      commandId: "MONITOROFF",
      notiID: "'REMOTE_ACTION'",
      notiPayload: "{action: 'MONITOROFF' }"
    },
    {
      commandId: "MONITORON",
      notiID: "'REMOTE_ACTION'",
      notiPayload: "{action: 'MONITORON' }"
    },
    {
      commandId: "DIM",
      notiID: "'REMOTE_ACTION'",
      notiPayload: "{action: 'BRIGHTNESS', value: '50')"
    },
    {
      commandId: "UNDIM",
      notiID: "'REMOTE_ACTION'",
      notiPayload: "action: 'BRIGHTNESS', value: '255'}"
    },
  ];

  module.exports = { mqttHook,  mqttNotiCommands};
</code></pre>
<p dir="auto">And the notification looks just like the one here in the documentation example <a href="https://github.com/Jopyth/MMM-Remote-Control" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>:</p>
<pre><code>this.sendNotification('REMOTE_ACTION', {action: 'RESTART'});
</code></pre>
<p dir="auto">The ipWhitelisting has been both tried with [(“127.0.0.1”,“localhost”,“my.ip.range.0/24”)] and also with just [].<br />
I can issue the commands MONITOROFF/MONITORON directly in the Remote-Control menu at /remote.html</p>
<p dir="auto">Any input from the developers on this? <a class="plugin-mentions-user plugin-mentions-a" href="/user/serge" aria-label="Profile: Serge">@<bdi>Serge</bdi></a> , <a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: Bugsounet">@<bdi>Bugsounet</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/jopyth" aria-label="Profile: Jopyth">@<bdi>Jopyth</bdi></a> :-)</p>
<p dir="auto">Is it a MMM-MQTTbridge problem or a MMM-Remote-Control problem?</p>
]]></description><link>https://forum.magicmirror.builders/topic/13852/notification-issued-from-mmm-mqttbridge-but-nothing-happens</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 01:19:55 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13852.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Oct 2020 07:43:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notification issued from MMM-MQTTbridge but nothing happens on Sun, 18 Oct 2020 14:19:22 GMT]]></title><description><![CDATA[<p dir="auto">And again, Serge sharp eyes found the errors. I was somply trying to hard to add quotes and stuff so it got messed up.<br />
The working config for receiving commands from Home Assistant looks like this now:</p>
<pre><code>var mqttHook = [
    {
      mqttTopic: "cmnd/bathroom/mirror",
      mqttPayload: [
        {
          payloadValue: "MONITOROFF",
          mqttNotiCmd: ["MONITOROFF"]
        },
        {
          payloadValue: "MONITORON",
          mqttNotiCmd: ["MONITORON"]
        },
        {
          payloadValue: "UNDIM",
          mqttNotiCmd: ["UNDIM"]
        },
        {
          payloadValue: "DIM",
          mqttNotiCmd: ["DIM"]
        },
      ],
    },
  ];
var mqttNotiCommands = [
    {
      commandId: "MONITOROFF",
      notiID: 'REMOTE_ACTION',
      notiPayload: {action: 'MONITOROFF'}
    },
    {
      commandId: "MONITORON",
      notiID: 'REMOTE_ACTION',
      notiPayload: {action: 'MONITORON'}
    },
    {
      commandId: "DIM",
      notiID: 'REMOTE_ACTION',
      notiPayload: {action: 'BRIGHTNESS', value: '50'}
    },
    {
      commandId: "UNDIM",
      notiID: 'REMOTE_ACTION',
      notiPayload: {action: 'BRIGHTNESS', value: '255'}
    },
  ];

  module.exports = { mqttHook,  mqttNotiCommands};
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/83678</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/83678</guid><dc:creator><![CDATA[fribse]]></dc:creator><pubDate>Sun, 18 Oct 2020 14:19:22 GMT</pubDate></item><item><title><![CDATA[Reply to Notification issued from MMM-MQTTbridge but nothing happens on Sun, 18 Oct 2020 14:00:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> resolved on <a href="https://github.com/sergge1/MMM-MQTTbridge/issues/10" target="_blank" rel="noopener noreferrer nofollow ugc">GitHub</a>.</p>
]]></description><link>https://forum.magicmirror.builders/post/83675</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/83675</guid><dc:creator><![CDATA[Serge]]></dc:creator><pubDate>Sun, 18 Oct 2020 14:00:04 GMT</pubDate></item><item><title><![CDATA[Reply to Notification issued from MMM-MQTTbridge but nothing happens on Sun, 18 Oct 2020 06:14:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> said in <a href="/post/83524">Notification issued from MMM-MQTTbridge but nothing happens</a>:</p>
<blockquote>
<p dir="auto">notiID: “‘REMOTE_ACTION’”,</p>
</blockquote>
<p dir="auto">Try to remove double quotes here in config</p>
]]></description><link>https://forum.magicmirror.builders/post/83655</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/83655</guid><dc:creator><![CDATA[Serge]]></dc:creator><pubDate>Sun, 18 Oct 2020 06:14:18 GMT</pubDate></item><item><title><![CDATA[Reply to Notification issued from MMM-MQTTbridge but nothing happens on Sun, 18 Oct 2020 06:12:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fribse" aria-label="Profile: fribse">@<bdi>fribse</bdi></a> said in <a href="/post/83524">Notification issued from MMM-MQTTbridge but nothing happens</a>:</p>
<blockquote>
<p dir="auto">0|mm     | [MQTT bridge] MQTT message received. Topic: bathroom/mirror, message: MONITOROFF<br />
0|mm     | [2020-10-16 09:23:53.728] [LOG]<br />
0|mm     | [MQTT bridge] MQTT -&gt; NOTI issued: ‘REMOTE_ACTION’, payload: {action: ‘MONITOROFF’ }</p>
</blockquote>
<p dir="auto">Seems that mqttbridg isseued the predefined noti so the problem is with nite receiving by remcontrol or with noti processing by remote control.<br />
Send as well console log here</p>
]]></description><link>https://forum.magicmirror.builders/post/83654</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/83654</guid><dc:creator><![CDATA[Serge]]></dc:creator><pubDate>Sun, 18 Oct 2020 06:12:51 GMT</pubDate></item></channel></rss>