<?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[(gelöst)Probleme bei Aliaserstellung mit &quot;states&quot;]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">ich versuche mir gerade ein Alias mit "states" zu erstellen.</p>
<p dir="auto">Leider scheitere ich da ein wenig.<br />
Habe es wie folgt versucht:</p>
<pre><code>{
  "type": "state",
  "common": {
    "name": "Alias",
    "type": "number",
    "read": true,
    "write": true,
    "alias": {
      "id": {
        "read": "mein.state",
        "write": "mein.state",
    "states": {
      "0": "aaa",
      "1": "bbb"
      }
    }
  },
  "_id": "alias.0.mein.state",
  "native": {},
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  },
  "from": "system.adapter.admin.0",
  "user": "system.user.admin",
  "ts": 1677582172209
}
</code></pre>
<p dir="auto">Allerdings meckert der Editor über die letzte Zeile (rotes x).<br />
Habe ich ein Fehler eingebaut oder unterstutzt ein Alias keine states?</p>
<p dir="auto">EDIT</p>
<p dir="auto">So zeigt er keinen Fehler an.<br />
Allerding bekomme ich im Admin die States nciht angezeigt.</p>
<pre><code>{
  "type": "state",
  "common": {
    "name": "Saugleistung",
    "type": "number",
    "read": true,
    "write": true,
    "alias": {
      "id": {
        "read": "roborock.0.Devices.7UreppMhwYr4WlSbCtcsno.deviceStatus.fan_power",
        "write": "roborock.0.Devices.7UreppMhwYr4WlSbCtcsno.commands.set_custom_mode",
     "states": {
       "101": "bbb",
        "102": "aaa"
        }
      }
    }
  },
  "_id": "alias.0.Geraete.Mobbie.Saugleistung",
  "native": {},
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  },
  "from": "system.adapter.admin.0",
  "user": "system.user.admin",
  "ts": 1677587674625
}
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/63441/gelöst-probleme-bei-aliaserstellung-mit-states</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 13:05:50 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/63441.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Feb 2023 11:45:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 15:04:45 GMT]]></title><description><![CDATA[<p dir="auto">@david-g vllt dann das topic auf gelöst stellen? ;)</p>
]]></description><link>https://forum.iobroker.net/post/955316</link><guid isPermaLink="true">https://forum.iobroker.net/post/955316</guid><dc:creator><![CDATA[da_Woody]]></dc:creator><pubDate>Tue, 28 Feb 2023 15:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 14:59:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/haus-automatisierung" aria-label="Profile: haus-automatisierung">@<bdi>haus-automatisierung</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/paul53" aria-label="Profile: paul53">@<bdi>paul53</bdi></a></p>
<p dir="auto">Es war die Kombination aus euren Lösungen.<br />
Jetzt klappt es.</p>
<p dir="auto">Vielen Dank.</p>
]]></description><link>https://forum.iobroker.net/post/955313</link><guid isPermaLink="true">https://forum.iobroker.net/post/955313</guid><dc:creator><![CDATA[David G.]]></dc:creator><pubDate>Tue, 28 Feb 2023 14:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 14:55:45 GMT]]></title><description><![CDATA[<p dir="auto">@david-g sagte in <a href="/post/955220">Probleme bei Aliaserstellung mit "states"</a>:</p>
<blockquote>
<p dir="auto">Leider scheitere ich da ein wenig.</p>
</blockquote>
<p dir="auto">Du hast ja auch mehrere Klammerfehler da drin?! <code>states</code> ist eine Eigenschaft von <code>common</code>, nicht von alias.</p>
<pre><code>{
  "type": "state",
  "common": {
    "name": "Alias",
    "type": "number",
    "read": true,
    "write": true,
    "alias": {
      "id": {
        "read": "mein.state",
        "write": "mein.state"
      }
    },
    "states": {
      "0": "aaa",
      "1": "bbb"
    }
  },
  "_id": "alias.0.mein.state",
  "native": {},
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  },
  "from": "system.adapter.admin.0",
  "user": "system.user.admin",
  "ts": 1677582172209
}
</code></pre>
]]></description><link>https://forum.iobroker.net/post/955310</link><guid isPermaLink="true">https://forum.iobroker.net/post/955310</guid><dc:creator><![CDATA[haus-automatisierung]]></dc:creator><pubDate>Tue, 28 Feb 2023 14:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 14:53:44 GMT]]></title><description><![CDATA[<p dir="auto">@david-g sagte: im Admin die States nciht angezeigt.</p>
<p dir="auto">Browser-Refresh?</p>
]]></description><link>https://forum.iobroker.net/post/955309</link><guid isPermaLink="true">https://forum.iobroker.net/post/955309</guid><dc:creator><![CDATA[paul53]]></dc:creator><pubDate>Tue, 28 Feb 2023 14:53:44 GMT</pubDate></item><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 14:53:35 GMT]]></title><description><![CDATA[<p dir="auto">@david-g sagte in <a href="/post/955220">Probleme bei Aliaserstellung mit "states"</a>:</p>
<blockquote>
<p dir="auto">ich versuche mir gerade ein Alias mit "states" zu erstellen.</p>
</blockquote>
<p dir="auto">für den alias..</p>
<p dir="auto">oder von wo versuchst du den alias anzulegen..</p>
]]></description><link>https://forum.iobroker.net/post/955307</link><guid isPermaLink="true">https://forum.iobroker.net/post/955307</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Tue, 28 Feb 2023 14:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 14:52:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arteck" aria-label="Profile: arteck">@<bdi>arteck</bdi></a></p>
<p dir="auto">Welchen Adapter wo für?</p>
]]></description><link>https://forum.iobroker.net/post/955306</link><guid isPermaLink="true">https://forum.iobroker.net/post/955306</guid><dc:creator><![CDATA[David G.]]></dc:creator><pubDate>Tue, 28 Feb 2023 14:52:14 GMT</pubDate></item><item><title><![CDATA[Reply to (gelöst)Probleme bei Aliaserstellung mit &quot;states&quot; on Tue, 28 Feb 2023 13:10:09 GMT]]></title><description><![CDATA[<p dir="auto">@david-g warum nimmst du den adapter nicht dafür ?</p>
]]></description><link>https://forum.iobroker.net/post/955253</link><guid isPermaLink="true">https://forum.iobroker.net/post/955253</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Tue, 28 Feb 2023 13:10:09 GMT</pubDate></item></channel></rss>