CounterFit - Fake IoT Hardware
Connected {% else %} style="color:grey;">Disconnected {% endif %}
Disconnected
Sensors
Create sensor
Sensor Type:
{% for sensor_type in all_sensors %}
{{ sensor_type.sensor_name() }}
{% endfor %}
{% include "pin_sensor_create_settings.html" %}
{% include "serial_sensor_create_settings.html" %}
{% include "binary_sensor_create_settings.html" %}
{% for sensor in sensors %}
{% if sensor.sensor_type().name == "FLOAT": %} {% with sensor=sensor %} {% include "float_sensor.html" %} {% endwith %} {% endif %} {% if sensor.sensor_type().name == "INTEGER": %} {% with sensor=sensor %} {% include "integer_sensor.html" %} {% endwith %} {% endif %} {% if sensor.sensor_type().name == "BOOLEAN": %} {% with sensor=sensor %} {% include "boolean_sensor.html" %} {% endwith %} {% endif %} {% if sensor.sensor_name() == "UART GPS": %} {% with sensor=sensor %} {% include "gps_sensor.html" %} {% endwith %} {% endif %} {% if sensor.sensor_name() == "Camera": %} {% with sensor=sensor %} {% include "camera_sensor.html" %} {% endwith %} {% endif %}
{% endfor %}
Actuators
Create actuator
Actuator Type:
{% for actuator_type in all_actuators %}
{{ actuator_type.actuator_name() }}
{% endfor %}
Pin:
{% for port in ports %}
{{ port }}
{% endfor %}
{% for actuator in actuators %}
{% if actuator.actuator_name() == "LED": %} {% with actuator=actuator %} {% include "led_actuator.html" %} {% endwith %} {% elif actuator.actuator_name() == "Relay": %} {% with actuator=actuator %} {% include "relay_actuator.html" %} {% endwith %} {% endif %}
{% endfor %}