User Tools

Site Tools


arduino:wio-smarthome-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arduino:wio-smarthome-en [2025/05/07 16:25] – created rjversluisarduino:wio-smarthome-en [2025/05/08 21:48] (current) rjversluis
Line 1: Line 1:
 ======WIO Smart Home====== ======WIO Smart Home======
  
 + \\
 +^  WIP -- Do not translate.  ^
 + \\
  
 =====Dependencies===== =====Dependencies=====
Line 9: Line 12:
 | RocControl | | Visualizing & Control | | RocControl | | Visualizing & Control |
  
 +====Smart Home option====
 +The Smart Home option is only for selecting a server over R2RNet; WIO Auto Server.\\
 +If a Rocrail server has this option set, only WIOs with Smart Home will connect to this server.\\
 +WIOs with this option set will not receive a response over R2RNet from a standard Rocrail server.\\
 +Clients who do not use R2RNet, but connect by IP or mDNS, are not affected by this option.\\
 +
 +=====SVG=====
 +A Smart Home capable SVG must contain the attribute smarthome="true" and must provide g-states "on,off,undef".\\
 +====Example====
 +<code xml>
 +<svg name="accessory-61" ledsupport="true" smarthome="true" width="100%" viewBox="0 0 192 64" xmlns="http://www.w3.org/2000/svg">
 +  <g state="straight,on">
 +    <rect x="2" y="2" rx="8" width="188" height="60" stroke-width="2" stroke="black" fill="white"/>
 +    <circle cx="29" cy="31" r="25" fill="#AAAAAA" stroke="#AAAAAA"/>
 +    <circle cx="29" cy="31" r="12" fill="white" stroke="black"/>
 +    <circle cx="23" cy="31" r="2" fill="black" stroke="black"/>
 +    <circle cx="35" cy="31" r="2" fill="black" stroke="black"/>
 +    <rect txt="1" ps="16" x="56" y="6" rx="0" width="131" height="24" stroke="none" fill="none"/>
 +    <rect txt="2" ps="14" x="56" y="33" rx="0" width="131" height="24" stroke="none" fill="none"/>
 +  </g>
 +  <g state="turnout,off">
 +    <rect x="2" y="2" rx="8" width="188" height="60" stroke-width="2" stroke="black" fill="#AAAAAA"/>
 +    <circle cx="29" cy="31" r="25" fill="#CCCCCC" stroke="#CCCCCC"/>
 +    <circle cx="29" cy="31" r="12" fill="#AAAAAA" stroke="black"/>
 +    <circle cx="23" cy="31" r="2" fill="black" stroke="black"/>
 +    <circle cx="35" cy="31" r="2" fill="black" stroke="black"/>
 +    <rect txt="1" ps="16" x="56" y="6" rx="0" width="131" height="24" stroke="none" fill="none"/>
 +    <rect txt="2" ps="14" x="56" y="33" rx="0" width="131" height="24" stroke="none" fill="none"/>
 +  </g>
 +  <g state="undef">
 +    <rect x="2" y="2" rx="8" width="188" height="60" stroke-width="2" stroke="black" fill="#CCAAAA"/>
 +    <circle cx="29" cy="31" r="25" fill="#CCCCCC" stroke="#CCCCCC"/>
 +    <circle cx="29" cy="31" r="12" fill="#AAAAAA" stroke="black"/>
 +    <circle cx="23" cy="31" r="2" fill="black" stroke="black"/>
 +    <circle cx="35" cy="31" r="2" fill="black" stroke="black"/>
 +    <line state="" led="0" x1="13" y1="47" x2="45" y2="15" stroke="#444444" stroke-width="5"/>
 +    <rect txt="1" ps="16" x="56" y="6" rx="0" width="131" height="24" stroke="none" fill="none"/>
 +    <rect txt="2" ps="14" x="56" y="33" rx="0" width="131" height="24" stroke="none" fill="none"/>
 +  </g>
 +</svg>
 +</code>
  
arduino/wio-smarthome-en.1746627926.txt.gz · Last modified: 2025/05/07 16:25 by rjversluis