CounterFit - Virtual IoT Hardware
Source
Sensors
Create sensor
Sensor Type:
{% for sensor_type in all_sensors %}
{{ sensor_type.sensor_name() }}
{% endfor %}
Units:
Pin:
{% for pin in pins %}
{{ pin }}
{% endfor %}
{% 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
Create actuator
Actuator Type:
{% for actuator_type in all_actuators %}
{{ actuator_type.actuator_name() }}
{% endfor %}
Pin:
{% for pin in pins %}
{{ pin }}
{% endfor %}
{% for actuator in actuators %}
{% if actuator.actuator_name() == "LED": %} {% with actuator=actuator %} {% include "led_actuator.html" %} {% endwith %} {% endif %}
{% endfor %}