-string">'On'</span>;
        $sensor-&gt;rlay_2 = <span class="hljs-string">'Off'</span>;
        $sensor-&gt;rlay_3 = <span class="hljs-string">'On'</span>;
        $sensor-&gt;rlay_4 = <span class="hljs-string">'Off'</span>;
        $sensor-&gt;text = <span class="hljs-string">'sensor demo'</span>;
        $sensor-&gt;save();

    }
}
</code></pre>
<p><a name="models"></a></p>
<h2 id="modelo">Modelo</h2>
<p>Comando <code>php artisan make:model Sensor</code> ejecutar en consola dentro del proyecto.</p>
<b