<?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[Trigger rule on empty MQTT message?]]></title><description><![CDATA[<p dir="auto">Is anyone aware of any way at all to trigger a rule to execute if openHAB receives a blank message via MQTT?</p>
<p dir="auto">At the moment the below code works but only if the message contained a value, i need it to trigger if the message is blank.</p>
<pre><code>rule "solve"
        when
                Item monitor1 received update
        then
                V_VAR1send.postUpdate(V_VAR1.state)
end
</code></pre>
<p dir="auto">I have a open question on the openHAB forum but wondered if anyone around here has done something similar?</p>
]]></description><link>https://forum.mysensors.org/topic/6753/trigger-rule-on-empty-mqtt-message</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 16:33:49 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/6753.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 May 2017 10:13:31 GMT</pubDate><ttl>60</ttl></channel></rss>