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

Both sides previous revisionPrevious revision
arduino:wio-smarthome-en [2025/05/07 16:30] rjversluisarduino:wio-smarthome-en [2025/05/07 16:33] (current) rjversluis
Line 14: Line 14:
 WIOs with this option set will not receive a response over R2RNet from a standard Rocrail 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.\\ 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.txt · Last modified: 2025/05/07 16:33 by rjversluis