<?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[MQTT und Binärdaten]]></title><description><![CDATA[<p dir="auto">Ich versuche per mqtt eine Nachricht mit binary data zu versenden.<br />
Aktuell mache ich sowas:</p>
<pre><code>var fs = require('fs');
var binary = fs.readFileSync(&lt;the_file&gt;);
sendTo('mqtt.0', 'sendMessage2Client', {topic: 'hermes/audioServer/living-room/playBytes/'+Math.random().toString(36).slice(-5), message: binary});
</code></pre>
<p dir="auto">Das soll eine wav Datei über snips ausgeben. Es kommt aber schlichtweg gar nichts an und auch im iobroker Logfile steht nichts.</p>
]]></description><link>https://forum.iobroker.net/topic/24874/mqtt-und-binärdaten</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 23:11:50 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/24874.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Sep 2019 14:00:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MQTT und Binärdaten on Wed, 04 Sep 2019 14:27:26 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, mein Fehler. Der Code funktioniert tatsächlich :)</p>
]]></description><link>https://forum.iobroker.net/post/297049</link><guid isPermaLink="true">https://forum.iobroker.net/post/297049</guid><dc:creator><![CDATA[cburghardt]]></dc:creator><pubDate>Wed, 04 Sep 2019 14:27:26 GMT</pubDate></item></channel></rss>