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?"
        }
      }
    ]
  }
}

}
}

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

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

I’ll look into webhook solution.

Frans