User Tools

Site Tools


start:utils:cockpit:p1:cpu

Microprocessor Unit

On accède à la carte Arduino Q avec Arduino App Lab. Une fois la carte mise à jour, il faut créer un nouveau projet. Je l'ai appelé “P1Notification4CockpitITSM”.

Bricks

Il faut ensuite ajouter 2 briques au projet:

  1. Database - SQL - Ce module permet de gérer facilement les bases de données SQLite et offrent une interface simple pour créer des tables, insérer des données et gérer les connexions à la base de données.
  2. WebUI - HTML - Ce module est un serveur web simplifié et intégrable, conçu pour héberger des applications frontales et mettre à disposition des API ou des canaux de communication WebSocket.

Structure du programme

┌──────────────────────────────────────────────────────┐
│                 Arduino App Lab                      │
│                                                      │
│  main.py ──► CockpitITSM.py ──► API Cockpit ITSM     │
│     │                                                │
│     ├──► WebIndex.py       ──► index.html            │
│     ├──► WebCockpitITSM.py ──► CockpitTSM.html       │
│     ├──► WebOrganizations.py ──► Organizations.html  │
│     ├──► WebStatus.py      ──► Status.html           │
│     └──► WebPriority.py    ──► Priority.html         │
│                                                      │
│  PersistentData.py ──► cockpit_config.db (SQLite)    │
└──────────────────┬───────────────────────────────────┘
                   │ Bridge (get_open_tickets / get_datetime)
             ┌─────▼───────┐
             │   Arduino   │
             │  sketch.ino │
             └─────────────┘
             

Sources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
start/utils/cockpit/p1/cpu.txt · Last modified: by admin_wiki