Project

General

Profile

Actions

Feature #44159

open

Feature #45480: * D1 - System Security & Control

** (SF03) ENV - Environment Monitoring (int/ext, observatory & weather) - env_monitor

Added by Pallier Etienne over 3 years ago. Updated over 1 year ago.

Status:
In progress
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
03/24/2021
Due date:
% Done:

59%

Estimated time:
(Total: 0.00 h)

Description

Chapitre dédié dans doc tech

Surveillance de l'environnement :

  • externe : météo...
  • interne : batiment (présence humaine, lumières, portes, onduleurs...)

(EP 1/6/23) :

  • les pages web lisent (Read) le contenu des tables pour afficher l'environnement et la liste des sensors
  • l'agent A_EnvMonitor remplit (Create/Update/Delete) les tables à partir du plc (et autres futurs weather_station et autres sensors...), et fait des synthèses

(AKo) Oui, il y a une petite exception où la page de "weather config" utilise à la fois la configuration de l'observatoire & les tables pour lister les sensors

(EP 2/6/23) OBJECTIF PRÉCIS :

VOIR DIAGRAMME

SF03 - Env Monitoring.jpg

  • Les AgentDevice (celui du PLC, celui de la weather station, et celui de chaque sensor indépendant du plc...) alimentent la table sensors_data

  • A_EnvMonitor fait :

(0) Read config (only if changed)
(1) Get (last) sensors data from sensors_data table (= LSD)
(2) Merge LSD => sensors_data_hist table
(3) Merge (last) env table => env_hist table
(4) Make new synthesis from LSD => env table (contient synthèses meteo et observatoire)

  • Les pages web lisent la table env et affichent le contenu dans un graphique

Files

SF03 - Env Monitoring.jpg (98.1 KB) SF03 - Env Monitoring.jpg Pallier Etienne, 06/02/2023 09:14 AM

Subtasks 41 (35 open6 closed)

Task #44879: *** (SF03) AUTHORIZATIONS (kifekoi) : doc & implIn progress04/29/2021

Actions
Task #44880: *** (SF03) TESTS to validate feature & requirementsIn progress04/29/2021

Actions
Task #44898: *** (SF03) ENTITIES (MODEL) - definition & implIn progress05/22/2023

Actions
Task #57531: **** (SF03) Sensor (capteur) : config, quality, output data(s), unit, monitoring name, ...ResolvedKoralewski Alexis05/22/2023

Actions
Task #57532: **** (SF03) Measure (output data)In progress05/22/2023

Actions
Task #57533: RAW measure (mesure brute sortant du capteur)ResolvedKoralewski Alexis05/22/2023

Actions
Task #57534: Synthesis value (computed synthesis value from raw measures)Resolved05/22/2023

Actions
Task #57526: *** (SF03) GENERAL MENUIn progressKoralewski Alexis05/21/2023

Actions
Task #57527: *** (SF03) USE CASES - ACTIONS (on entities) & VIEWS (web pages) : surtout le Read du CRUDIn progress03/24/2021

Actions
Task #57542: **** (SF03) OTHER actionsIn progress05/22/2023

Actions
Task #57543: EXPORT data (csv) : history data (outside weather & inside observatory)In progress05/22/2023

Actions
Task #57544: **** (SF03) CRUD actions (surtout le Read)In progress03/24/2021

Actions
Task #57541: READ (1 and all)In progress03/24/2021

Actions
Task #53349: OUTSIDE environment (weather) managementIn progress03/24/2021

Actions
Task #44907: Show Weather monitored data (in a convenient way)In progress03/24/2021

Actions
Task #57539: REAL time (current) dataIn progress03/24/2021

Actions
Task #44336: Show current data (faire refonctionner la page web weather, fichier config plc)ResolvedKoralewski Alexis03/24/2021

Actions
Task #44899: Read (from PLC and sensors) OUTSIDE environmental data (weather...) for instruments securityIn progress04/29/2021

Actions
Task #45045: Adaptation à Vue.jsResolvedKoralewski Alexis05/06/2021

Actions
Task #57540: HISTORY dataIn progress05/22/2023

Actions
Task #53350: INSIDE environment (observatory) managementIn progress04/29/2021

Actions
Task #44900: Read (from PLC and sensors) INSIDE environmental data (doors, lights...) for human safetyIn progress04/29/2021

Actions
Task #44901: Get PLC mode changes (off/manu/auto) and alarms (intrusion, e_stop), and save themIn progress04/29/2021

Actions
Task #53354: Show current dataNew10/03/2022

Actions
Task #53355: Show history dataNew10/03/2022

Actions
Task #53357: Compute & Save synthesis data (for Majordome decision)New10/03/2022

Actions
Task #57546: MEASURE Quality & Resilience : for each Monitoring name, always select the first WORKING sensor (and from highest to lowest quality)In progressKoralewski Alexis05/22/2023

Actions
Task #57988: SENSORS list (inventory & status)In progress05/22/2023

Actions
Task #57547: SENSORS list BY SENSOR name (Operator role)ResolvedKoralewski Alexis05/22/2023

Actions
Task #57548: SENSORS list BY MONITORING name (Operator role)New05/22/2023

Actions
Task #57545: Create-Update, Delete => cf AgentsIn progress05/22/2023

Actions
Task #57528: *** (SF03) AGENT(s) (gèrent toutes les actions CRUD sauf Read)In progress04/29/2021

Actions
Task #57529: **** (SF03) Agent A_EnvMonitor (Environment monitoring) : synthèse des AgentDevices data (compute & save higher level (useful) parameters and synthesis from all detectors)In progress04/29/2021

Actions
Task #44906: Compute and save Observing conditionsIn progress04/29/2021

Actions
Task #53356: Compute & Save synthesis data (for Majordome decision)In progress10/03/2022

Actions
Task #57530: **** (SF03) AgentDevices (1 per Sensor) (sensor devices monitoring : PLC, Weather station, doors, light, and other devices) : read config, get device raw data (status), fix & save it, set thresholds (low/high) => in sensors_data tableIn progress05/22/2023

Actions
Task #57536: AD_PLC (PLC device monitoring)New05/22/2023

Actions
Task #57537: AD_WeatherStation (weather station device monitoring)New05/22/2023

Actions
Task #57538: AD_SensorX (other sensor devices monitoring)New05/22/2023

Actions
Task #57940: *** (SF03) MODULE - django module - organization, files, classes (env_monitor)In progress05/31/2023

Actions
Task #58049: *** (SF03) CONFIG (in General config & Observatory config - sensors, output data, units, monitoring names, graphics, history, sampling...)In progress06/05/2023

Actions

Related issues

Related to PyROS - Story #45101: REQ-034 SURETE_080 Coupure électriqueNew05/11/2021

Actions
Related to PyROS - Story #45103: REQ-033 SURETE_050 Prise en compte de la météoNew05/11/2021

Actions
Related to PyROS - Story #45116: REQ-039 SURETE_160 Sauvegarde des pannesNew05/12/2021

Actions
Related to PyROS - Story #45118: REQ-016 informations sur les composants de l'observatoireNew05/12/2021

Actions
Related to PyROS - Story #45122: REQ-032 automatisation du bâtiment et du télescopeNew05/12/2021

Actions
Related to PyROS - Story #45127: REQ-044 SURETE_190 Sécurité des personnes : système d’arrêt d’urgenceNew05/12/2021

Actions
Related to PyROS - Story #45168: REQ-207 Rapports de synthèse, outils de monitoringNew05/12/2021

Actions
Related to PyROS - Story #45183: REQ-110 Arrêt et redémarrage automatique en cas de coupure électriqueNew05/12/2021

Actions
Related to PyROS - Story #45184: REQ-111 Mise en sécurité automatique en cas de cycloneNew05/12/2021

Actions
Actions

Also available in: Atom PDF