<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>http://wiki.fhem.de/w/index.php?action=history&amp;feed=atom&amp;title=Set_magic</id>
	<title>Set magic - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.fhem.de/w/index.php?action=history&amp;feed=atom&amp;title=Set_magic"/>
	<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;action=history"/>
	<updated>2026-05-15T10:03:51Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in FHEMWiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=38531&amp;oldid=prev</id>
		<title>Cwagner: ReadingsVal durch ReadingsNum ersetzt, weil in den Parametern die 0 schon als Zahl eingetragen wurde und es um eine numerische Operation geht.</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=38531&amp;oldid=prev"/>
		<updated>2023-08-07T08:40:07Z</updated>

		<summary type="html">&lt;p&gt;ReadingsVal durch ReadingsNum ersetzt, weil in den Parametern die 0 schon als Zahl eingetragen wurde und es um eine numerische Operation geht.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. August 2023, 10:40 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot;&gt;Zeile 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In einem [[Gerät]] &amp;#039;&amp;#039;PIR&amp;#039;&amp;#039; wird das [[Readings|Reading]] &amp;#039;&amp;#039;Count&amp;#039;&amp;#039; um den Wert 1 erhöht.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In einem [[Gerät]] &amp;#039;&amp;#039;PIR&amp;#039;&amp;#039; wird das [[Readings|Reading]] &amp;#039;&amp;#039;Count&amp;#039;&amp;#039; um den Wert 1 erhöht.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;setreading PIR Count {(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ReadingsVal&lt;/del&gt;(&quot;PIR&quot;,&quot;Count&quot;,0) + 1)}&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;setreading PIR Count {(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ReadingsNum&lt;/ins&gt;(&quot;PIR&quot;,&quot;Count&quot;,0) + 1)}&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Verweise ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Verweise ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-36498:rev-38531:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Cwagner</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=36498&amp;oldid=prev</id>
		<title>Ph1959de: Link auf nicht existierende Seite(n) entfernt</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=36498&amp;oldid=prev"/>
		<updated>2021-12-03T12:11:49Z</updated>

		<summary type="html">&lt;p&gt;Link auf nicht existierende Seite(n) entfernt&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 3. Dezember 2021, 14:11 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Zeile 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Schreibweise steht seit Featurelevel 5.7 zur Verfügung.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Schreibweise steht seit Featurelevel 5.7 zur Verfügung.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[set magic]] kann verwendet werden für die Befehle&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[set magic]] kann verwendet werden für die Befehle&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;set&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=set|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* set&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=set|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;setreading&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=setreading|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* setreading&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=setreading|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;und als Sonderfälle für&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;und als Sonderfälle für&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=attr|Lang=de}}&amp;lt;/ref&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;stateFormat&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=stateFormat|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=attr|Lang=de}}&amp;lt;/ref&amp;gt; stateFormat&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=stateFormat|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]] wu_dataValues im [[Modul]] [[HP1000]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=HP1000|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]] wu_dataValues im [[Modul]] [[HP1000]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=HP1000|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dazu zählen auch [[Modul|Module]], die Teile der Syntax verwenden&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dazu zählen auch [[Modul|Module]], die Teile der Syntax verwenden&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-30382:rev-36498:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ph1959de</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=30382&amp;oldid=prev</id>
		<title>Justme: /* Verwendungsbereich */</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=30382&amp;oldid=prev"/>
		<updated>2019-05-03T16:18:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Verwendungsbereich&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 3. Mai 2019, 18:18 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Zeile 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   {fhem(&amp;quot;setreading &amp;lt;Gerätename&amp;gt; &amp;lt;Readingname&amp;gt; &amp;quot;.ReadingsNum(&amp;quot;&amp;lt;Gerätename&amp;gt;&amp;quot;,&amp;quot;&amp;lt;Readingname&amp;gt;&amp;quot;,&amp;quot;&amp;lt;Defaultwert&amp;gt;&amp;quot;))}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   {fhem(&amp;quot;setreading &amp;lt;Gerätename&amp;gt; &amp;lt;Readingname&amp;gt; &amp;quot;.ReadingsNum(&amp;quot;&amp;lt;Gerätename&amp;gt;&amp;quot;,&amp;quot;&amp;lt;Readingname&amp;gt;&amp;quot;,&amp;quot;&amp;lt;Defaultwert&amp;gt;&amp;quot;))}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zu&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   setreading &amp;lt;Gerätename&amp;gt; &amp;lt;Readingname&amp;gt; [&amp;lt;Gerätename&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;,&lt;/del&gt;&amp;lt;Readingname&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;,&lt;/del&gt;d]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   setreading &amp;lt;Gerätename&amp;gt; &amp;lt;Readingname&amp;gt; [&amp;lt;Gerätename&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;&amp;lt;Readingname&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;d]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax 1 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax 1 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-30379:rev-30382:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Justme</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=30379&amp;oldid=prev</id>
		<title>Krikan: /* Verwendungsbereich */</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=30379&amp;oldid=prev"/>
		<updated>2019-05-03T14:36:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Verwendungsbereich&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 3. Mai 2019, 16:36 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Zeile 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;und als Sonderfälle für&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;und als Sonderfälle für&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=attr|Lang=de}}&amp;lt;/ref&amp;gt; [[stateFormat]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=stateFormat|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=attr|Lang=de}}&amp;lt;/ref&amp;gt; [[stateFormat]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=stateFormat|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/del&gt;wu_dataValues&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;im [[Modul]] [[HP1000]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=HP1000|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[attr]] wu_dataValues im [[Modul]] [[HP1000]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=HP1000|Lang=de}}&amp;lt;/ref&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dazu zählen auch [[Modul|Module]], die Teile der Syntax verwenden&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;dazu zählen auch [[Modul|Module]], die Teile der Syntax verwenden&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[readingsGroup]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=readingsGroup|Lang=de}}&amp;lt;/ref&amp;gt; verwendet Präfix und Suffix&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[readingsGroup]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=readingsGroup|Lang=de}}&amp;lt;/ref&amp;gt; verwendet Präfix und Suffix&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-27680:rev-30379:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Krikan</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=27680&amp;oldid=prev</id>
		<title>Trelle: /* Begriff */</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=27680&amp;oldid=prev"/>
		<updated>2018-08-13T20:45:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Begriff&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 13. August 2018, 22:45 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Begriff ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Begriff ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der Begriff [[set magic]]&amp;lt;ref&amp;gt;{{Link2Forum|Topic=38276}}&amp;lt;/ref&amp;gt; steht für die besondere Schreibweise einer Funktion zum Auslesen von [[Gerätevariable|Gerätevariablen]] im Argument einiger FHEM-Befehle. Er ist im Zusammenhang mit der Entstehung dieser Schreibweise geprägt worden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der Begriff [[set magic]]&amp;lt;ref&amp;gt;{{Link2Forum|Topic=38276&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|LinkText=Einfache Angabe von Reading-Values in notify Commands&lt;/ins&gt;}}&amp;lt;/ref&amp;gt; steht für die besondere Schreibweise einer Funktion zum Auslesen von [[Gerätevariable|Gerätevariablen]] im Argument einiger FHEM-Befehle. Er ist im Zusammenhang mit der Entstehung dieser Schreibweise geprägt worden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Verwendungsbereich ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Verwendungsbereich ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-27679:rev-27680:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Trelle</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=27679&amp;oldid=prev</id>
		<title>Trelle: /* Begriff */</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=27679&amp;oldid=prev"/>
		<updated>2018-08-13T20:43:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Begriff&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 13. August 2018, 22:43 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Begriff ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Begriff ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der Begriff [[set magic]] steht für die besondere Schreibweise einer Funktion zum Auslesen von [[Gerätevariable|Gerätevariablen]] im Argument einiger FHEM-Befehle. Er ist im Zusammenhang mit der Entstehung dieser Schreibweise geprägt worden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der Begriff [[set magic]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref&amp;gt;{{Link2Forum|Topic=38276}}&amp;lt;/ref&amp;gt; &lt;/ins&gt;steht für die besondere Schreibweise einer Funktion zum Auslesen von [[Gerätevariable|Gerätevariablen]] im Argument einiger FHEM-Befehle. Er ist im Zusammenhang mit der Entstehung dieser Schreibweise geprägt worden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Verwendungsbereich ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Verwendungsbereich ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1fhemwiki:diff:1.41:old-27629:rev-27679:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Trelle</name></author>
	</entry>
	<entry>
		<id>http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=27629&amp;oldid=prev</id>
		<title>Trelle: Die Seite wurde neu angelegt: „== Begriff == Der Begriff set magic steht für die besondere Schreibweise einer Funktion zum Auslesen von Gerätevariablen im Argument…“</title>
		<link rel="alternate" type="text/html" href="http://wiki.fhem.de/w/index.php?title=Set_magic&amp;diff=27629&amp;oldid=prev"/>
		<updated>2018-08-08T12:30:04Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== Begriff == Der Begriff &lt;a href=&quot;/wiki/Set_magic&quot; title=&quot;Set magic&quot;&gt;set magic&lt;/a&gt; steht für die besondere Schreibweise einer Funktion zum Auslesen von &lt;a href=&quot;/wiki/Ger%C3%A4tevariable&quot; title=&quot;Gerätevariable&quot;&gt;Gerätevariablen&lt;/a&gt; im Argument…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Begriff ==&lt;br /&gt;
Der Begriff [[set magic]] steht für die besondere Schreibweise einer Funktion zum Auslesen von [[Gerätevariable|Gerätevariablen]] im Argument einiger FHEM-Befehle. Er ist im Zusammenhang mit der Entstehung dieser Schreibweise geprägt worden.&lt;br /&gt;
&lt;br /&gt;
== Verwendungsbereich ==&lt;br /&gt;
Die Schreibweise steht seit Featurelevel 5.7 zur Verfügung.&lt;br /&gt;
[[set magic]] kann verwendet werden für die Befehle&lt;br /&gt;
* [[set]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=set|Lang=de}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[setreading]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=setreading|Lang=de}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
und als Sonderfälle für&lt;br /&gt;
* [[attr]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=attr|Lang=de}}&amp;lt;/ref&amp;gt; [[stateFormat]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=stateFormat|Lang=de}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [[attr]] [[wu_dataValues]] im [[Modul]] [[HP1000]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=HP1000|Lang=de}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
dazu zählen auch [[Modul|Module]], die Teile der Syntax verwenden&lt;br /&gt;
* [[readingsGroup]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=readingsGroup|Lang=de}}&amp;lt;/ref&amp;gt; verwendet Präfix und Suffix&lt;br /&gt;
oder [[Modul|Module]] mit einer erweiterten Anwendung&lt;br /&gt;
* [[DOIF]]&amp;lt;ref&amp;gt;{{Link2CmdRef|Anker=DOIF|Lang=de}}&amp;lt;/ref&amp;gt; inhaltliche und funktionale Erweiterungen, wie [[DOIF/Einsteigerleitfaden,_Grundfunktionen_und_Erl%C3%A4uterungen#Ausl.C3.B6ser|Auslöser]]&lt;br /&gt;
[[set magic]] vereinfacht Schreibweisen wie&lt;br /&gt;
  {fhem(&amp;quot;setreading &amp;lt;Gerätename&amp;gt; &amp;lt;Readingname&amp;gt; &amp;quot;.ReadingsNum(&amp;quot;&amp;lt;Gerätename&amp;gt;&amp;quot;,&amp;quot;&amp;lt;Readingname&amp;gt;&amp;quot;,&amp;quot;&amp;lt;Defaultwert&amp;gt;&amp;quot;))}&lt;br /&gt;
zu&lt;br /&gt;
  setreading &amp;lt;Gerätename&amp;gt; &amp;lt;Readingname&amp;gt; [&amp;lt;Gerätename&amp;gt;,&amp;lt;Readingname&amp;gt;,d]&lt;br /&gt;
&lt;br /&gt;
== Syntax 1 ==&lt;br /&gt;
  [&amp;lt;Präfix&amp;gt;:&amp;lt;Gerätename&amp;gt;:&amp;lt;Name des [[Gerätevariable]]&amp;gt;:&amp;lt;Suffix&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Der optionale Präfix schränkt die Suche auf bestimmte [[Gerätevariable|Gerätevariablen]] ein.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039; beschränkt die Suche auf [[Attribute]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039; beschränkt die Suche auf [[Internals]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; beschränkt die Suche auf [[Readings]]&lt;br /&gt;
&lt;br /&gt;
Es muss ein gültiger [[Gerätename]] für ein existierendes Gerät angegeben werden.&lt;br /&gt;
&lt;br /&gt;
Es muss eine existierende, nicht leere [[Gerätevariable]] angegeben werden.&lt;br /&gt;
&lt;br /&gt;
Der optionale Suffix extrahiert bestimmte Werte der [[Gerätevariable|Gerätevariablen]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; extrahiert die erste Zahl.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;#039; extrahiert die erste Zahl als Ganzzahl.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;&amp;lt;&amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;&amp;gt; extrahiert die erste Zahl, und rundet sie auf &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; Dezimalstellen, ohne &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; auf eine Stelle.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;sec&amp;#039;&amp;#039;&amp;#039; liefert die Zeit in Sekunden seit Änderung des Readings.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;t&amp;#039;&amp;#039;&amp;#039; liefert den Zeitstempel des Readings&lt;br /&gt;
&lt;br /&gt;
== Syntax 2 ==&lt;br /&gt;
  {(&amp;lt;Perlausdruck&amp;gt;)}&lt;br /&gt;
Der [[Gerätename]] kann im Perlausdruck mit $DEV angegeben werden.&lt;br /&gt;
&lt;br /&gt;
== Verwendung ==&lt;br /&gt;
Mit [[set magic#Syntax 1|Syntax 1]] im Gegensatz zu [[set magic#Syntax 2|Syntax 2]], ist es möglich ohne Perlkenntnis variable Inhalte zu setzen.&lt;br /&gt;
&lt;br /&gt;
=== Beispiel Syntax 1: Formatieren eines Readingwertes zu einer Ganzzahl ===&lt;br /&gt;
In einem [[Gerät]] &amp;#039;&amp;#039;sensor&amp;#039;&amp;#039; wird der Wert des [[Readings|Reading]] &amp;#039;&amp;#039;brightness&amp;#039;&amp;#039; zu einer Ganzzahl umgewandelt und in das [[Readings|Reading]] &amp;#039;&amp;#039;brightness&amp;#039;&amp;#039; des Gerätes &amp;#039;&amp;#039;Anzeige&amp;#039;&amp;#039; geschrieben.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;setreading Anzeige brightness [sensor:brightness:i]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Beispiel Syntax 2: Inkrementieren eines Readingwertes ===&lt;br /&gt;
In einem [[Gerät]] &amp;#039;&amp;#039;PIR&amp;#039;&amp;#039; wird das [[Readings|Reading]] &amp;#039;&amp;#039;Count&amp;#039;&amp;#039; um den Wert 1 erhöht.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;setreading PIR Count {(ReadingsVal(&amp;quot;PIR&amp;quot;,&amp;quot;Count&amp;quot;,0) + 1)}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Verweise ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Glossary]]&lt;/div&gt;</summary>
		<author><name>Trelle</name></author>
	</entry>
</feed>