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”.
Il faut ensuite ajouter 2 briques au projet:
┌──────────────────────────────────────────────────────┐
│ 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 │
└─────────────┘