+ Antworten
Ergebnis 1 bis 3 von 3
  1. #1
    Registriert seit
    Jun 2008
    Ort
    Zeist, Niederlande
    Beiträge
    13

    Standard Problem with google custom action after update to version 5.4

    Hi,
    I've developed a google custom action to show an image (jpeg file) on my ipad.
    The image is placed in the webfront folder and as you can see in the Json code included in the url
    With ip symcon version 5.2 is was working fine, the image was shown on my ipad.

    After update to version 5.4 with moving the jpeg file to map ProgramData/Symcon/Webfront it didn't work anymore.
    I'm wondering in which map I've to place the jpeg file.

    Hopefully somebody can help me out.

    Frans


    Json Code to show the image.

    {
    "payload": {
    "google": {
    "expectUserResponse": True,
    "richResponse": {
    "items": [
    {
    "simpleResponse": {
    "textToSpeech": " Zie hier de foto van de Hal camera"
    }
    },
    {
    "basicCard": {
    "title": "FotoHal",

    "formattedText": "",
    "image": {
    "url": "https://connectionid.ipmagic.de/23112020200828.jpeg",
    "accessibilityText": "Image alternate text"
    },

    "imageDisplayOptions": "CROPPED"
    }
    },
    {
    "simpleResponse": {
    "textToSpeech": "Wat wil je vervolgens vragen?"
    }
    }
    ]
    }
    }
    }
    }

  2. #2
    Registriert seit
    Feb 2005
    Ort
    Lübeck
    Beiträge
    24,515

    You will need to map it inside the /user/ folder inside the ProgramData\WebFront.

    But: The best solution is to use a webhook, which will solve the problem without any file on disk.

    paresy

  3. #3
    Registriert seit
    Jun 2008
    Ort
    Zeist, Niederlande
    Beiträge
    13

    Paresy,
    Thanks. It works with moving the images inside the /user/ folder.

    I'll look into webhook solution.

    Frans

Ähnliche Themen

  1. Symcon 5 Update-Problem innerhalb der Version 5
    Von juergen852 im Forum Allgemeine Diskussion
    Antworten: 8
    Letzter Beitrag: 13.09.19, 13:24
  2. Problem altes PHP Modul ab Version 4.3
    Von WernerL im Forum Entwicklung mit PHP-SDK/Delphi-SDK
    Antworten: 12
    Letzter Beitrag: 20.08.17, 13:31
  3. SetValue and calling custom action
    Von roelv im Forum General Discussion
    Antworten: 1
    Letzter Beitrag: 24.02.17, 21:28
  4. Google Maps Update
    Von Tonic1024 im Forum Off Topic
    Antworten: 3
    Letzter Beitrag: 01.04.15, 11:55

Stichworte