User Tools

Site Tools


arduino:wio-smarthome-fr

WIO Smart Home

Dépendances

Player Réglages Fonction
WIO SmartHome E/S
Rocrail SmartHome, Décodeur, Sortie Relie tout ensemble
Rocview Visualisation & Contrôle
RocControl Visualisation et Contrôle

Option Smart Home

L'option Smart Home est seulement pour la sélection d'un serveur à travers R2RNet; Serveur Auto WIO.
Si un serveur Rocrail a cette option définie, seulement les WIOs avec Smart Home seront connectés à ce serveur.
Les WIOs avec cette option définie ne recevra pas une réponse à travers R2RNet à partir d'un serveur Rocrail standard.
Les clients qui n'utilisent pas R2RNet, mais connectés par IP ou mDNS, ne sont pas affectés par cette option.

SVG

Un SVG compatible Smart Home contient l'attribut smarthome="true" et doit fournir un g-states "on,off,undef".

Exemple

<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.txt · Last modified: 2025/05/08 09:49 by phil45