#Open a URL?

1 messages · Page 1 of 1 (latest)

robust pike
#

Question: Is there a way to get HA to open a URL with a service (now called actions I guess)?

I've tried a rest command and shell command in my config yaml, but these don't actually OPEN the URL.

Use Case: I'm creating an NFC Tag / QR code storage organization system with HA and want to have tags open a Proton Drive link that lists the contents of the storage bin. I realize HA may be an unnecessary middle man here, but wondering if I can get it to work so I can manage the tags through HA.

fierce kettle
#

You might be able to do this with browser mod.

unborn kestrel
#

You didn't mention the OS, but if you're scanning it from an Android device, you can use the corresponding notify action of the device to send a command_webview message.

https://companion.home-assistant.io/docs/notifications/notification-commands/#webview

The Companion apps offer a lot of different notification options. In place of posting an actual notification on the device you can instead send a command as the message to trigger certain actions on your phone. Read below to find out what commands are supported on each platform.

#

Otherwise yeah, bypassing HA and just writing the link directly on the tag would probably be easier and more universal if that's all you're looking for

#

FWIW: I do something similar, not using HA at all, and write URL shortened links to the tags to make it easy to update the destination, if needed.

robust pike