{% extends 'base.html' %} {% load static %} {% load custom_tags %} {% block title %}Ibertec IT | {{device.device_8266_name}}{% endblock %} {% block content %} {% comment %} {% include 'includes/device_menu.html' %} {% endcomment %} {% csrf_token %} {% if user.is_authenticated %} {% has_device_grop request.user device.device_user as is_in_grop_user %} {% if is_in_grop_user %}
Datos Generales:

{{ device.device_name }}

{{ device.device_description}}

Estado equipo:
?¿
Información:

Alias: {{device.device_alias}}
MQTTID: {{device.device_MQTT_ID}}
ID: {{device.id}}
Creado: {{device.device_created_at}}
Dueño: {{device.device_user}}

Acciones Establecidas:

Temperatura | Entrada | Salida | Temperatura+Humedad | Intensidad

{% for act in device.action_set.all %} {% endfor %}
Nombre Pin Valor Aplicación Accion Ultimo Datos
{% if act.pin_type_id == 'readtemp' %} {% endif %} {% if act.pin_type_id == 'readinput' %} {% endif %} {% if act.pin_type_id == 'action' %} {% endif %} {% if act.pin_type_id == 'readdht22' %} {% comment %} {% endcomment %} {% endif %} {% if act.pin_type_id == 'readrpict3v1' %} {% endif %} {{ act.pin_name }} {{ act.pin_number }} {% if act.pin_type_id == 'readtemp' %}

¿?

{% endif %} {% if act.pin_type_id == 'readinput' %}

¿?

{% endif %} {% if act.pin_type_id == 'action' %}

¿?

{% endif %} {% if act.pin_type_id == 'readdht22' %}

¿?

{% endif %}
{{ act.aplication.name }} {% if act.pin_type_id == 'readtemp' %} {% endif %} {% if act.pin_type_id == 'readinput' %} {% endif %} {% if act.pin_type_id == 'action' %}
{% endif %} {% if act.pin_type_id == 'readdht22' %} {% endif %}
{% if act.pin_type_id == 'readtemp' %}

¿?

{% endif %} {% if act.pin_type_id == 'readinput' %}

¿?

{% endif %} {% if act.pin_type_id == 'action' %}

¿?

{% endif %} {% if act.pin_type_id == 'readdht22' %}

¿?

{% endif %}

{% endif %} {% else %}

No estas autenticado, por favor, inicia sesion.

Iniciar Sesion {% endif %} {% endblock %}