question

newuser-28a4ed91-e0d2-42bd-900b-e14b99aac9b8 avatar image

how can i publish mqtt message from alexa to a local devices like raspberry pi

We are doing an home automation in this we already have mqtt server and we want alexa to publish payload on particular topic on the mqtt broker in the local network after it recieves particular voice commands.How can i make it happen with alexa is ther any particular was with alexa itself or i should approach any 3rd parties for it?

alexa smart homehelpsmart-homeskills-api
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Gaetano@Amazon avatar image
Gaetano@Amazon answered

Hello and thanks for posting.

Can you please clarify the behaviour you want to achieve?

In general, an Alexa skill requires a publicly-accessible endpoint so It can't communicate with your local network.

I would suggest looking into some tunnelling solutions like this.

Kind regards,
Gaetano

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.