<?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[Zigbee-Adapter: Wie States auswerten?]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,</p>
<p dir="auto">bin gerade dabei die Scripte für die Sensoren die vorher in Deconz waren an den Zigbee-Adapter anzupassen. Dabei habe ich das folgende Problem. Wenn ich den Philips Hue Dimmschalter</p>
<p dir="auto"><img src="/assets/uploads/files/1661625419589-df89ebb0-1951-4c7d-b90f-8825547f058f-image.png" alt="df89ebb0-1951-4c7d-b90f-8825547f058f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">benutze, konnte ich früher den Tastendruck als Dezimalzahl (buttonpressed) bekommen und auswerten.<br />
Jetzt bekomme ich nur:</p>
<p dir="auto"><img src="/assets/uploads/files/1661625548037-d03f77d5-3b49-4c30-979e-5f0b8003bd97-image.png" alt="d03f77d5-3b49-4c30-979e-5f0b8003bd97-image.png" class=" img-fluid img-markdown" /><br />
Nur der up- und downbutton sind noch auswertbar, on- und offbutton nicht angezeigt. Dafür gibt es jetzt ein "msg_von_zigbee":</p>
<pre><code>{"type":"commandHueNotification","data":{"button":1,"unknown1":3145728,"type":2,"unknown2":0,"time":0},"linkquality":76,"groupID":0,"cluster":"manuSpecificPhilips","meta":{"zclTransactionSequenceNumber":12,"manufacturerCode":4107,"frameControl":{"frameType":1,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0}},"endpoint_id":2}
</code></pre>
<p dir="auto">Wie komme ich denn unter Blockly an die Infos aus diesem "msg_von_zigbee"?</p>
]]></description><link>https://forum.iobroker.net/topic/57525/zigbee-adapter-wie-states-auswerten</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 07:05:25 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/57525.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Aug 2022 18:42:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sun, 28 Aug 2022 06:47:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rushmed" aria-label="Profile: rushmed">@<bdi>rushmed</bdi></a></p>
<p dir="auto">Supi, habe es gerade verifiziert. Damit kann ich auf jeden Fall was basteln :-)</p>
]]></description><link>https://forum.iobroker.net/post/848750</link><guid isPermaLink="true">https://forum.iobroker.net/post/848750</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sun, 28 Aug 2022 06:47:42 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 21:24:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> Ne so isses bei mir nicht, ich drücke on, der State wird (und bleibt) true, ich drücke of, der State wird (und bleibt) false.<br />
Lediglich den Longpress der Statebuttons bekommst du nicht ausgewertet. Release der Buttons ist ja eh nicht nutzbar.<br />
Dafür gibts zusätzlich den Clickcount und die Duration, damit lassen sich bestimmt irgendwelche Mehrfachbelegungen realisieren.</p>
]]></description><link>https://forum.iobroker.net/post/848639</link><guid isPermaLink="true">https://forum.iobroker.net/post/848639</guid><dc:creator><![CDATA[Rushmed]]></dc:creator><pubDate>Sat, 27 Aug 2022 21:24:47 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 21:07:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rushmed" aria-label="Profile: rushmed">@<bdi>rushmed</bdi></a></p>
<p dir="auto">Das macht eigentlich keinen Sinn, oder? Zumal doch der off_press (s. weiter oben) da sein müsste.</p>
<p dir="auto">Wenn ich z. B. on_press drücke, geht der state von false auf true und fällt dann wieder auf false zrück. Damit triggert er mir dann den off_state, den ich gar nicht gedrückt hatte.</p>
]]></description><link>https://forum.iobroker.net/post/848634</link><guid isPermaLink="true">https://forum.iobroker.net/post/848634</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sat, 27 Aug 2022 21:07:25 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 21:04:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> off_press ist state=false</p>
]]></description><link>https://forum.iobroker.net/post/848632</link><guid isPermaLink="true">https://forum.iobroker.net/post/848632</guid><dc:creator><![CDATA[Rushmed]]></dc:creator><pubDate>Sat, 27 Aug 2022 21:04:03 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 21:02:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rushmed" aria-label="Profile: rushmed">@<bdi>rushmed</bdi></a></p>
<p dir="auto">Heißt das, on_press gedrückt bedeutet state = true? Wie kann ich dann den Tastendruck off_press testen?</p>
]]></description><link>https://forum.iobroker.net/post/848630</link><guid isPermaLink="true">https://forum.iobroker.net/post/848630</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sat, 27 Aug 2022 21:02:18 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:55:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> on_press und off_press wird in State als true oder false ausgegeben.</p>
]]></description><link>https://forum.iobroker.net/post/848626</link><guid isPermaLink="true">https://forum.iobroker.net/post/848626</guid><dc:creator><![CDATA[Rushmed]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:55:57 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:29:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgothian" aria-label="Profile: asgothian">@<bdi>asgothian</bdi></a></p>
<p dir="auto">Wie gesagt, das sind ALLE states; mehr sind da nicht.</p>
<p dir="auto"><img src="/assets/uploads/files/1661632138193-d019d855-f110-4d9c-9c1d-09ca2718fe1e-image.png" alt="d019d855-f110-4d9c-9c1d-09ca2718fe1e-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/848624</link><guid isPermaLink="true">https://forum.iobroker.net/post/848624</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:27:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> die heissen anders. Zeig doch mal alle states, nicht nur den ausschnitt den du da hast.</p>
]]></description><link>https://forum.iobroker.net/post/848623</link><guid isPermaLink="true">https://forum.iobroker.net/post/848623</guid><dc:creator><![CDATA[Asgothian]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:27:16 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:26:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgothian" aria-label="Profile: asgothian">@<bdi>asgothian</bdi></a></p>
<p dir="auto">Das habe ich verstanden, aber wie gesagt, z. B. die <em><strong>on_press, on_hold, on_hold_release, off_press, off_hold, off_hold_release</strong></em> States sind NICHT vorhanden; also kann ich nicht auf diese triggern, da nicht da.</p>
<p dir="auto">Die Frage ist nur, warum sind die nicht da obwohl sie vorhanden sein müssten?</p>
]]></description><link>https://forum.iobroker.net/post/848622</link><guid isPermaLink="true">https://forum.iobroker.net/post/848622</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:26:32 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:17:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> du hast einzelne Stats.. z.Bsp. up_button. Auf diesen state legst du einen Trigger, "ist grösser als vorher". in dem Trigger machst du dann die Aktion die du für den "up_press" event haben willst.</p>
<p dir="auto">Entsprechende states gibt es für up_hold, etc. Wobei da der Trigger auf "wurde geändert" besser ist. Wenn der Wert wahr ist wurde der Knopf gehalten, sonst wurde er gerade losgelassen.</p>
<p dir="auto">A.</p>
<p dir="auto"><img src="/assets/uploads/files/1661631419802-81a91c1b-fc1c-4725-82b4-51ce4a709090-image.png" alt="81a91c1b-fc1c-4725-82b4-51ce4a709090-image.png" class=" img-fluid img-markdown" /> <a href="https://forum.iobroker.net/assets/uploads/files/1661625548037-d03f77d5-3b49-4c30-979e-5f0b8003bd97-image.png">https://forum.iobroker.net/assets/uploads/files/1661625548037-d03f77d5-3b49-4c30-979e-5f0b8003bd97-image.png</a></p>
]]></description><link>https://forum.iobroker.net/post/848620</link><guid isPermaLink="true">https://forum.iobroker.net/post/848620</guid><dc:creator><![CDATA[Asgothian]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:17:18 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:09:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgothian" aria-label="Profile: asgothian">@<bdi>asgothian</bdi></a></p>
<p dir="auto">Also entweder bin ich zu dumm oder es ist schon zu spät :-) Was meinst du genau? Wie setze ich das in meinem Fall praktisch um?</p>
]]></description><link>https://forum.iobroker.net/post/848619</link><guid isPermaLink="true">https://forum.iobroker.net/post/848619</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:09:04 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:06:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> sagte in <a href="/post/848616">Zigbee-Adapter: Wie States auswerten?</a>:</p>
<blockquote>
<p dir="auto">Action (enum):<br />
Triggered action (e.g. a button click). Value can be found in the published state on the action property. It's not possible to read (/get) or write (/set) this value. The possible values are: on_press, on_hold, on_hold_release, up_press, up_hold, up_hold_release, down_press, down_hold, down_hold_release, off_press, off_hold, off_hold_release</p>
</blockquote>
<p dir="auto">diese werden vom Zigbee-Adapter in die Entsprechenden States geparsed, so das man mit einem einfachen trigger auf die Aktionen reagieren kann.</p>
<p dir="auto">A.</p>
]]></description><link>https://forum.iobroker.net/post/848618</link><guid isPermaLink="true">https://forum.iobroker.net/post/848618</guid><dc:creator><![CDATA[Asgothian]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:06:28 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 20:05:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgothian" aria-label="Profile: asgothian">@<bdi>asgothian</bdi></a></p>
<p dir="auto">Ok, verstanden, Aber laut: <a href="https://www.zigbee2mqtt.io/devices/324131092621.html" rel="nofollow ugc">Zigbee2MQTT</a> sollte es für dieses Device die folgenden States geben:</p>
<p dir="auto"><strong>Action (enum):</strong><br />
Triggered action (e.g. a button click). Value can be found in the published state on the action property. It's not possible to read (/get) or write (/set) this value. The possible values are: <em><strong>on_press, on_hold, on_hold_release, up_press, up_hold, up_hold_release, down_press, down_hold, down_hold_release, off_press, off_hold, off_hold_release</strong></em></p>
<p dir="auto">Die finden sich aber nicht (s. mein letzter Post) nicht unter Zigbee.0.</p>
<p dir="auto">Vlt. sollte ich sagen, das ich alle Sensoren nicht vorher von Deconz abgelernt, bzw. entfernt habe. Sollte aber, so wie ich es verstanden habe, auch kein Problem sein, oder doch?</p>
]]></description><link>https://forum.iobroker.net/post/848616</link><guid isPermaLink="true">https://forum.iobroker.net/post/848616</guid><dc:creator><![CDATA[qqolli]]></dc:creator><pubDate>Sat, 27 Aug 2022 20:05:21 GMT</pubDate></item><item><title><![CDATA[Reply to Zigbee-Adapter: Wie States auswerten? on Sat, 27 Aug 2022 19:54:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qqolli" aria-label="Profile: qqolli">@<bdi>qqolli</bdi></a> sagte in <a href="/post/848599">Zigbee-Adapter: Wie States auswerten?</a>:</p>
<blockquote>
<p dir="auto">Hallo zusammen,</p>
<p dir="auto">bin gerade dabei die Scripte für die Sensoren die vorher in Deconz waren an den Zigbee-Adapter anzupassen. Dabei habe ich das folgende Problem. Wenn ich den Philips Hue Dimmschalter</p>
<p dir="auto"><img src="/assets/uploads/files/1661625419589-df89ebb0-1951-4c7d-b90f-8825547f058f-image.png" alt="df89ebb0-1951-4c7d-b90f-8825547f058f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">benutze, konnte ich früher den Tastendruck als Dezimalzahl (buttonpressed) bekommen und auswerten.<br />
Jetzt bekomme ich nur:</p>
<p dir="auto"><img src="/assets/uploads/files/1661625548037-d03f77d5-3b49-4c30-979e-5f0b8003bd97-image.png" alt="d03f77d5-3b49-4c30-979e-5f0b8003bd97-image.png" class=" img-fluid img-markdown" /><br />
Nur der up- und downbutton sind noch auswertbar, on- und offbutton nicht angezeigt. Dafür gibt es jetzt ein "msg_von_zigbee":</p>
<pre><code>{"type":"commandHueNotification","data":{"button":1,"unknown1":3145728,"type":2,"unknown2":0,"time":0},"linkquality":76,"groupID":0,"cluster":"manuSpecificPhilips","meta":{"zclTransactionSequenceNumber":12,"manufacturerCode":4107,"frameControl":{"frameType":1,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0}},"endpoint_id":2}
</code></pre>
<p dir="auto">Wie komme ich denn unter Blockly an die Infos aus diesem "msg_von_zigbee"?</p>
</blockquote>
<p dir="auto">im Zweifelsfall gar nicht. Das was in msg_von_zigbee drin steht ist hardwarespezifisch und kann für jedes Gerät anders sein. Dementsprechend müsstest du um da die korrekten Informationen heraus zu suchen das ganze systematisch mit loggen und auseinander nehmen. Ich rate davon ab.</p>
<p dir="auto">Wenn du Tastendrücke auswerten willst solltest du auf die entsprechenden States trigger, jeweils mit 'ist grösser als vorher'</p>
]]></description><link>https://forum.iobroker.net/post/848611</link><guid isPermaLink="true">https://forum.iobroker.net/post/848611</guid><dc:creator><![CDATA[Asgothian]]></dc:creator><pubDate>Sat, 27 Aug 2022 19:54:57 GMT</pubDate></item></channel></rss>