projects:internetofthings:esphome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:esphome [2021/07/05 14:29] – [ESPHOME] scipioprojects:internetofthings:esphome [2021/07/06 07:26] (current) – [ESP32 cam] scipio
Line 3: Line 3:
 ===== ESP32 cam ===== ===== ESP32 cam =====
  
 +  * [[https://github.com/esphome/esphome/pull/1905|rtsp into esp32cam progress]]
  
-<code>+ 
 + 
 +<code bash>
 #!/bin/sh #!/bin/sh
  
Line 17: Line 20:
   -H "Content-Type: application/json" \   -H "Content-Type: application/json" \
   http://localhost:8123/api/alexa/smart_home | jq '.event.payload.endpoints[] | select(.displayCategories[0]=="CAMERA")'   http://localhost:8123/api/alexa/smart_home | jq '.event.payload.endpoints[] | select(.displayCategories[0]=="CAMERA")'
 +</code>
 +
 +in esp32 cam this section is missing in "capabilities"
 +<code javascript>
 +{
 +      "type": "AlexaInterface",
 +      "interface": "Alexa.CameraStreamController",
 +      "version": "3",
 +      "cameraStreamConfigurations": [
 +        {
 +          "protocols": [
 +            "HLS"
 +          ],
 +          "resolutions": [
 +            {
 +              "width": 1280,
 +              "height": 720
 +            }
 +          ],
 +          "authorizationTypes": [
 +            "NONE"
 +          ],
 +          "videoCodecs": [
 +            "H264"
 +          ],
 +          "audioCodecs": [
 +            "AAC"
 +          ]
 +        }
 +      ]
 +    },
 </code> </code>
  
 esp32 entry (missing some values) esp32 entry (missing some values)
  
-<code json>+<code javascript>
 { {
   "displayCategories": [   "displayCategories": [
Line 63: Line 97:
  
 valid stream camera working in alexa valid stream camera working in alexa
-<code json>+<code javascript>
 { {
   "displayCategories": [   "displayCategories": [
  • projects/internetofthings/esphome.1625488160.txt.gz
  • Last modified: 2021/07/05 14:29
  • by scipio