User Tools

Site Tools


arduino:wio-smarthome-fr

This is an old revision of the document!


WIO Smart Home

Dependencies

Player Settings Function
WIO SmartHome I/O
Rocrail SmartHome, Decoder, Output Links it all together
Rocview 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

<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>
arduino/wio-smarthome-fr.1746690001.txt.gz · Last modified: 2025/05/08 09:40 by phil45