{% extends "base.html" %} {% set active_page = "sensors" %} {% block title %} Sensor data {% endblock %} {% block divs %} {% block breadcrumbs %} {{ super() }} {% endblock %}
Select dates
{% if user_can_update_sensor %} {% from "_macros.html" import json_attributes_editor_button %}
Edit sensor

Edit {{ sensor.name }}

Parent asset: {{ sensor.generic_asset.name }} (ID: {{ sensor.generic_asset.id }} )
{{ json_attributes_editor_button(label="Open editor", field_label=attributes_label, field_description=attributes_description) }}
{% endif %} {% if user_can_create_children_sensor %}
Upload data

Upload {{ sensor.name }} data

Belongs to: {{ sensor.generic_asset.name }} (ID: {{ sensor.generic_asset_id }})
Loading...
{% endif %} {% if user_can_trigger_forecasts %}
Forecast

At least two days of sensor data are needed to create a forecast.

More options
Annotate
To annotate some events, pick the select tool above the chart and drag across them, or click to annotate an instant. You can also edit the times below.
The range shown in the chart. Clear selection
{% endif %} {% if user_can_delete_sensor_data %}
Delete data
{% endif %}
{% if user_can_delete_sensor %}
{% endif %}
Loading...
Properties
Name {{ sensor.name }}
Unit {% if sensor.unit == "" %}dimensionless{% else %}{{ sensor.unit }}{% endif %}
Event resolution {{ sensor.event_resolution }}
Timezone {{ sensor.timezone }}
Knowledge horizon type {{ sensor.knowledge_horizon_fnc }}
{% if sensor.attributes %}
Attributes
{% for name, value in sensor.attributes.items() %} {% endfor %}
{{ name }} {{ value }}
{% endif %} {% if feeding_automations %}
Automations
{% for automation in feeding_automations %} {% endfor %}
{{ automation.name }} {{ automation.recurrence_description }} {% if not automation.active %}⚪{% endif %}
{% endif %}
Statistics
This table is showing all-time statistics — the graph still shows the selected time range.
There is no data for this sensor yet.
There was a problem fetching statistics for this sensor's data.

{% import "includes/vendor.html" as vendor %} {{ vendor.litepicker() }} {% include 'includes/graphs.html' %} {% if user_can_update_sensor %} {% from "_macros.html" import json_attributes_editor_modal %} {{ json_attributes_editor_modal( api_url="/api/v3_0/sensors/" ~ sensor.id, initial_attributes=sensor.attributes, entity_name=sensor.name ) }} {% endif %} {% endblock %}