{% extends 'base.html' %} {% load static %} {% block title %}Ibertec IT | CPDS{% endblock %} {% block content %} {% csrf_token %} {% if user.is_authenticated %} {% load custom_tags %} {% get_all_cpds_temperature_by_group request.user '_temp' 3 as values_temp %} {% get_all_cpds_temperature_by_group request.user '_hum' 3 as values_hum %}

Días Gráfica:

Temperaturas en los CPD`s

Humedad en los CPD`s


{% for cpd in object_list %} {% for action in cpd.device.action_set.all %} {% if action.aplication.name == 'cpds_monitor' %} {% if action.pin_type_id == 'readdht22' %} {% endif %} {% endif %} {% endfor %} {% endfor %}
Nombre Sensor Valor
{{cpd.name}}{{action.pin_description}}

{% last_temperature action as temperature%} {% last_humidity action as humidity%} {{temperature}} {{humidity}}



{% else %}

No estas autenticado, por favor, inicia sesion.

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