#want to use ring mobile app for uri.

1 messages · Page 1 of 1 (latest)

rugged minnow
#

I have created an script when someone rings my doorbell i get a notification. I want to add an actionable notification to open my ring app to answer the door. I read on the HA website for ex: uri: "app://com.twitter.android" I used uri: app://com.ring.android and it didnt work?

surreal torrent
#

Are you sure that’s the actual package name?

rugged minnow
surreal torrent
#

I don’t see the package name there. You need the actual system package name.

rugged minnow
surreal torrent
#

Should be able to find it using the Google store’s listing. Not entirely sure though. But, if you look at the app on the web store, it’ll be the last part of the url.

rugged minnow
surreal torrent
#

Yup. Try com.ringapp

rugged minnow
#

action: notify.mobile_app_luffy1987 data: data: image: https://homeking.smartcasa.homes/local/doorbell/camera_snapshot.jpg entity_id: camera.ring_doorbell_camera actions: - action: URI title: View Doorbell uri: app://com.ringapp.android title: Someone is at the Front Door! message: "{{response.response_text}}"

surreal torrent
#

Why are you adding .android?

rugged minnow
#

that was the example. i thought i have to add that

surreal torrent
#

Nope. Just the actual package name.

rugged minnow
#

uri: app://com.ringapp???

surreal torrent
#

Yup

#

should work

#

I don’t have android, so I’m just going based off the docs.

rugged minnow
#

That worked. Thank you.

#

last one with same script i have a text response that goes off my script to give me a description of the person. but when i run the script the text back is

#

`alias: LLM doorbell
sequence:

  • action: llmvision.image_analyzer
    metadata: {}
    data:
    provider: OpenAI
    model: gpt-4o-mini
    detail: low
    max_tokens: 60
    temperature: 0.5
    message: Describe what you see. Be short and brief.
    image_entity:
    - camera.ring_front_doorbell_snapshot
    response_variable: response
  • action: input_text.set_value
    metadata: {}
    data:
    value: "{{response.response_text}}"
    target:
    entity_id: input_text.llmvision_response
  • action: notify.mobile_app_luffy1987
    data:
    data:
    image: https://homeking.smartcasa.homes/local/doorbell/camera_snapshot.jpg
    entity_id: camera.ring_doorbell_camera
    actions:
    - action: URI
    title: View Doorbell
    uri: app://com.ringapp
    title: Someone is at the Front Door!
    message: "{{response.response_text}}"
    description: ""
    icon: phu:ring`
surreal torrent
#

Anytime. 😊

rugged minnow
surreal torrent
#

Hmmmm not sure on the second one. I’m driving. Give me an hour to get home and we can figure it out.

surreal torrent
#

Hey, sorry... got caught up in some things yesterday. Change this: value: "{{response.response_text}}" to {{ response['response_text'] }} and it should work. Maybe. Check the output of the action llmvision.image_analyzer and make sure that's what it is actually returning.