Virtual IoT Device
Create new sensor:
Sensor Type:
Units:
Pin:
Create new actuator:
Actuator Type:
Pin:
Sensors:
{% for sensor in sensors %}
{% if sensor.sensor_type().name == "FLOAT": %}
{% with sensor=sensor %}
{% include "float_sensor.html" %}
{% endwith %}
{% endif %}
{% if sensor.sensor_type().name == "BOOLEAN": %}
{% with sensor=sensor %}
{% include "boolean_sensor.html" %}
{% endwith %}
{% endif %}
{% endfor %}
Actuators:
{% for actuator in actuators %}
{% if actuator.actuator_name() == "LED": %}
{% with actuator=actuator %}
{% include "led_actuator.html" %}
{% endwith %}
{% endif %}
{% endfor %}