Non riuscivo ad attivare i Webhook su SmartThings... poi ho fatto così. Iniziamo dalle SmartApps / I couldn't enable Webhooks on SmartThings... then I did this. Let's start with SmartApps ITA ENG

AI Generated

Enabling real-time webhooks on SmartThings to receive events from our devices on openHAB is no walk in the park!
🤯 Unlike other cloud platforms where you simply enter a URL, the Samsung ecosystem requires us to create and register a Webhook Endpoint SmartApp within the Developer Workspace.

In this first video, we'll cover the logical architecture of this system and the entire first, very intricate configuration phase:

  • How to navigate the Developer Workspace.
  • Creating the project as an "Automation for SmartThings App".
  • Configuring the Webhook Endpoint, managing permissions, and saving the Client ID and Secret.
  • Enabling developer mode on your smartphone and installing the app in a test environment to select devices.

⚠️ Important note: In this video, we'll focus exclusively on cloud/smartphone creation and installation. We won't be covering SmartApp lifecycle management via Python script (confirmation POST calls) or subscription activation yet, as they deserve a dedicated video given their complexity!

If you've also been obsessed with the official SmartThings documentation, leave a comment and subscribe so you don't miss the next video where we'll delve into the Python code and MQTT bridge in detail! 👨‍💻

Enjoy the video

***********************************

Attivare i webhook in tempo reale su SmartThings per ricevere gli eventi dei nostri dispositivi su openHAB non è affatto una passeggiata!
🤯 A differenza di altre piattaforme cloud dove basta inserire un URL, l'ecosistema Samsung ci costringe a creare e registrare una vera e propria SmartApp di tipo Webhook Endpoint all'interno del Developer Workspace.

In questo primo video affrontiamo l'architettura logica di questo sistema e tutta la prima, intricatissima fase di configurazione:

  • Come navigare nel Developer Workspace.
  • La creazione del progetto come "Automation for SmartThings App".
  • La configurazione del Webhook Endpoint, la gestione dei permessi e il salvataggio di Client ID e Secret.
  • Abilitare la modalità sviluppatore sullo smartphone e installare l'app in ambiente di test per selezionare i dispositivi.

⚠️ Nota importante: In questo video ci concentriamo esclusivamente sulla creazione e l'installazione lato cloud/smartphone. Non vedremo ancora la gestione del ciclo di vita (lifecycle) della SmartApp tramite lo script Python (chiamate POST di conferma) e l'attivazione delle subscription, perché meritano un video dedicato data la loro complessità!

Se anche voi siete impazziti dietro la documentazione ufficiale di SmartThings, lasciate un commento e iscrivetevi per non perdere il prossimo video in cui scenderemo nel dettaglio del codice Python e del bridge MQTT! 👨‍💻

Buona visione

Video di mia proprietà

My own Video



0
0
0.000
0 comments