CounterFit logo CounterFit - Fake IoT Hardware

Connected {% else %} style="color:grey;">Disconnected {% endif %} Disconnected

Sensors

Create sensor

{% include "pin_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_type().name == "I2C": %} {% if sensor.sensor_unit_type().name == "FLOAT" %} {% with sensor=sensor %} {% include "i2c_float_sensor.html" %} {% endwith %} {% endif %} {% if sensor.sensor_unit_type().name == "INTEGER" %} {% with sensor=sensor %} {% include "i2c_integer_sensor.html" %} {% endwith %} {% endif %} {% 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

{% 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 %}