universal_notifier icon indicating copy to clipboard operation
universal_notifier copied to clipboard

Not work any service

Open annonifausto opened this issue 6 months ago • 17 comments

What version of Universal Notifier are you using?

0.7.1

What version of Home Assistant are you using?

2026.3.4

The problem

Hi. i need to change notify center from appdaemon notifier to uiniversal notify, i hve this channel configured: name : alexacorridoio service: notify.alexa_media entity_id or chat ... : empty voice channel: true suitable services: empty default media player: media_player.echo_1_c

and the test in developer actions is :

action: universal_notifier.send data: message: "The laundry is finished." priority: true targets: - alexacorridoio but nothing is played on alexa. (if i use service: alexa_media in action developer (without universal send)work correctly)

Anything in the logs? Paste it here!

Registratore: homeassistant.core
Fonte: core.py:2837
Prima occorrenza: 13 maggio 2026 alle ore 22:20:58 (9 occorrenze)
Ultimo accesso: 17:57:12

Error executing service: <ServiceCall notify.alexa_media (c:01KRVA0YFG31906ZBGSJPWP0QJ): message=Buon pomeriggio. The laundry is finished.>
Error executing service: <ServiceCall notify.alexa_media (c:01KRVA5479A5HTBCQY7WNA0TDH): message=Ben ritrovato. The laundry is finished.>
Error executing service: <ServiceCall notify.alexa_media (c:01KRVA9F03NB6R6CJ5ZS850HKT): message=Ben ritrovato. The laundry is finished.>
Error executing service: <ServiceCall notify.alexa_media (c:01KRVA9MXKV2JAYEKFHQDXTZJJ): message=Ben ritrovato. The laundry is finished.>
Error executing service: <ServiceCall notify.alexa_media (c:01KRVAFR3MS3JYEE5APK9CCGZV): message=Ben ritrovato. The laundry is finished.>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2860, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/notify/legacy.py", line 256, in _async_notify_message_service
    await self.async_send_message(**kwargs)
  File "/config/custom_components/alexa_media/notify.py", line 217, in async_send_message
    for target in targets:
                  ^^^^^^^
TypeError: 'NoneType' object is not iterable

annonifausto avatar May 17 '26 16:05 annonifausto

Ciao, puoi farmi vedere come è configurato il canale Alexa?

could you let me see the ALexa channel configuration?

jumping2000 avatar May 27 '26 08:05 jumping2000

Allego screenshot, grazie mille

Il giorno mer 27 mag 2026 alle ore 10:12 Gianpiero @.***> ha scritto:

jumping2000 left a comment (jumping2000/universal_notifier#22) https://github.com/jumping2000/universal_notifier/issues/22#issuecomment-4552702759

Ciao, puoi farmi vedere come è configurato il canale Alexa?

could you let me see the ALexa channel configuration?

— Reply to this email directly, view it on GitHub https://github.com/jumping2000/universal_notifier/issues/22?email_source=notifications&email_token=AVECOSFUGDI2PHPXB7BES4L442PPLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJVGI3TAMRXGU42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4552702759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVECOSA2MOF7664VPOV2TBD442PPLAVCNFSM6AAAAACZBR7NLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKNJSG4YDENZVHE . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

annonifausto avatar May 27 '26 10:05 annonifausto

Allego screenshot, grazie mille

Il giorno mer 27 mag 2026 alle ore 10:12 Gianpiero @.***> ha scritto: …

non vedo lo screenshoot, nel senso che non c'e'

jumping2000 avatar May 27 '26 17:05 jumping2000

Chiedo scusa ma mi sembrava fosse partito anche l’allegato Buona serata e Grazie Mille

Il giorno 27 mag 2026, alle ore 19:44, Gianpiero @.***> ha scritto:

jumping2000 left a comment (jumping2000/universal_notifier#22) https://github.com/jumping2000/universal_notifier/issues/22#issuecomment-4557085278 Allego screenshot, grazie mille

Il giorno mer 27 mag 2026 alle ore 10:12 Gianpiero @.***> ha scritto: … x-msg://1/# non vedo lo screenshoot, nel senso che non c'e'

— Reply to this email directly, view it on GitHub https://github.com/jumping2000/universal_notifier/issues/22?email_source=notifications&email_token=AVECOSGA324Q4EM7UIA5WPT444SO3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJVG4YDQNJSG44KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4557085278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVECOSEDHGO6AHUT5NX3BBT444SO3AVCNFSM6AAAAACZBR7NLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKNJXGA4DKMRXHA. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AVECOSFCJYLFKAQKHEQ7VST444SO3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJVG4YDQNJSG44KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AVECOSGOPFZL3V2KST3AORT444SO3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJVG4YDQNJSG44KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.



annonifausto avatar May 27 '26 20:05 annonifausto

Sorry, i don't have seen any new... Thank you

annonifausto avatar Jun 07 '26 10:06 annonifausto

Sorry, i don't have seen any new... Thank you

non hai allegato lo screenshot, mi serve capire cosa hai configurato, cmq con altri canali come telegram o altro ti funziona?

jumping2000 avatar Jun 07 '26 13:06 jumping2000

Lìho allegato in tutte e due le mail precedenti ora lo riallego

Il giorno 7 giu 2026, alle ore 15:22, Gianpiero @.***> ha scritto:

jumping2000 left a comment (jumping2000/universal_notifier#22) https://github.com/jumping2000/universal_notifier/issues/22#issuecomment-4642798752 Sorry, i don't have seen any new... Thank you

non hai allegato lo screenshot, mi serve capire cosa hai configurato, cmq con altri canali come telegram o altro ti funziona?

— Reply to this email directly, view it on GitHub https://github.com/jumping2000/universal_notifier/issues/22?email_source=notifications&email_token=AVECOSESP4NYJQTKPQ3JALT46VUDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGI3TSOBXGUZKM4TFMFZW63VGNVQW45LBNSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4642798752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVECOSF6G3V3VNA7QXSQS4D46VUDFAVCNFSM6AAAAACZBR7NLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMNBSG44TQNZVGI. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AVECOSE3JPHMBAD3HXRCYWT46VUDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGI3TSOBXGUZKM4TFMFZW63VGNVQW45LBNSSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AVECOSH6UP3IBDMJ23BXJST46VUDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGI3TSOBXGUZKM4TFMFZW63VGNVQW45LBNSSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you are subscribed to this thread.

annonifausto avatar Jun 07 '26 14:06 annonifausto

Si con persistent telegrambot e mobileapp si , con alexa devices o Alexa media niente da fare

Il giorno 7 giu 2026, alle ore 15:22, Gianpiero @.***> ha scritto:

jumping2000 left a comment (jumping2000/universal_notifier#22) https://github.com/jumping2000/universal_notifier/issues/22#issuecomment-4642798752 Sorry, i don't have seen any new... Thank you

non hai allegato lo screenshot, mi serve capire cosa hai configurato, cmq con altri canali come telegram o altro ti funziona?

— Reply to this email directly, view it on GitHub https://github.com/jumping2000/universal_notifier/issues/22?email_source=notifications&email_token=AVECOSESP4NYJQTKPQ3JALT46VUDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGI3TSOBXGUZKM4TFMFZW63VGNVQW45LBNSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4642798752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVECOSF6G3V3VNA7QXSQS4D46VUDFAVCNFSM6AAAAACZBR7NLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMNBSG44TQNZVGI. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AVECOSE3JPHMBAD3HXRCYWT46VUDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGI3TSOBXGUZKM4TFMFZW63VGNVQW45LBNSSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AVECOSH6UP3IBDMJ23BXJST46VUDFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGI3TSOBXGUZKM4TFMFZW63VGNVQW45LBNSSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you are subscribed to this thread.

annonifausto avatar Jun 07 '26 15:06 annonifausto

Image

annonifausto avatar Jun 08 '26 20:06 annonifausto

Si con persistent telegrambot e mobileapp si , con alexa devices o Alexa media niente da fare …

prova la pre-release v0.8.1 e fammi sapere, purtroppo non ho alexa e ho qualche difficoltà a trovare qualcuno che mi fa dei test.

jumping2000 avatar Jun 14 '26 22:06 jumping2000

ciao, provato ma il risultato e' uguale, se metto come action il media player di alexa e il resto del codice uguale funziona se passo dal canale che ti ho mostrato no. ma anche se uso l'integrazione alexa_devices ho lo stesso risultato,mentre usando appdaemon notify mi funziona sempre e solo con una delle 6 alexa che ho in casa (qualsiasi seleziono funzona sempre la stessa). tutto questo disturbo per eliminare appdaemon che e' l'unico che funziona con il package natural events

annonifausto avatar Jun 15 '26 20:06 annonifausto

Per fare una ulteriore analisi dovresti

  1. alzare il livello di log a debug, è scritto come fare nelle istruzioni, poi
  2. manda un messaggio ad Alexa, e scrivi qui nei commenti sia l'errore che dà HA che l'errore nel log

jumping2000 avatar Jun 16 '26 19:06 jumping2000

Ciao, log all'invio del messaggio :

2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Channel Configuration {'alt_services': {}, 'default_media_player': 'media_player.echo_1_c', 'is_voice': True, 'service': 'notify.alexa_media', 'target': 'echo_1_c'} 2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Full Service Name notify.alexa_media 2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Messaggio per alexacorridoio accodato. 2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Target 'alexacorridoio_dev' sconosciuto. 2026-06-16 22:00:51.120 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: [] 0.6 alexa_media {'message': "Sogni d'oro. TTS 2026-06-16 22:00", 'target': ['echo_1_c'], 'data': {'tts_text': 'The postman is at the door.', 'media_stream': 'alarm_stream_max'}}

Configurazione chiamate al notify:

action: universal_notifier.send data: message: "TTS {{ now().strftime('%Y-%m-%d %H:%M') }}" priority: true # <--- FORCES SENDING AND MAX VOLUME (0.9) skip_greeting: false # <--- Avoids greetings like "Good night" during an alarm targets: #- devicesapp #- telegram_351 #- telegram_348 #- telegram_347 - alexacorridoio #- alexacorridoio_dev #- persistenti target_data: devicesapp: tts_text: "The postman is at the door." media_stream: alarm_stream_max clickAction: /lovelace/main telegram_351: type: photo url: "https://www.home-assistant.io/images/default-social.png" telegram_348: message: "{{ now().strftime('%Y-%m-%d %H:%M') }} Test" type: photo url: "https://www.home-assistant.io/images/default-social.png" telegram_347: type: photo url: "https://www.home-assistant.io/images/default-social.png" alexacorridoio_dev: tts_text: "The postman is at the door." media_stream: alarm_stream_max alexacorridoio: tts_text: "The postman is at the door." media_stream: alarm_stream_max persistenti: message: "The postman is at the door. "

annonifausto avatar Jun 16 '26 20:06 annonifausto

Ciao, log all'invio del messaggio :

2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Channel Configuration {'alt_services': {}, 'default_media_player': 'media_player.echo_1_c', 'is_voice': True, 'service': 'notify.alexa_media', 'target': 'echo_1_c'} 2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Full Service Name notify.alexa_media 2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Messaggio per alexacorridoio accodato. 2026-06-16 22:00:51.119 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Target 'alexacorridoio_dev' sconosciuto. 2026-06-16 22:00:51.120 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: [] 0.6 alexa_media {'message': "Sogni d'oro. TTS 2026-06-16 22:00", 'target': ['echo_1_c'], 'data': {'tts_text': 'The postman is at the door.', 'media_stream': 'alarm_stream_max'}}

Configurazione chiamate al notify:

Prova a mandarmi la chiamata specifica che hai fatto, e l'errore nel log e confermami che la conf di alexa e' quella dell'immagine fai una chiamata semplice tipo:

action: universal_notifier.send data: targets: - alexa_cucina message: questa e' una prova

jumping2000 avatar Jun 17 '26 11:06 jumping2000

Ciao, grazie mille ho fatto prova come da richiesta: Config canale: vedi foto

Image

chiamata come da tuo esempio:

action: universal_notifier.send data: targets: - alexacorridoio message: questa e' una prova

log:

2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Channel Configuration {'alt_services': {}, 'default_media_player': 'media_player.echo_1_c', 'is_voice': True, 'service': 'notify.alexa_media', 'target': 'echo_1_c'} 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Specific Data {} 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Dynamic Entities ['echo_1_c'] 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Service type None 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Service alt {} 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Full Service Name notify.alexa_media 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: final_title 'None' 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Media players coinvolti []. 2026-06-17 13:46:00.143 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Messaggio per alexacorridoio accodato. 2026-06-17 13:46:00.144 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Elaborazione messaggio vocale: Buon pomeriggio. questa e' una prov... 2026-06-17 13:46:00.144 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: [] 0.4 alexa_media {'message': "Buon pomeriggio. questa e' una prova", 'target': ['echo_1_c']} 2026-06-17 13:46:00.144 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Attesa di 6.50s per fine messaggio.

annonifausto avatar Jun 17 '26 11:06 annonifausto

2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: START, Channel Configuration {'alt_services': {}, 'default_media_player': 'media_player.echo_1_c', 'is_voice': True, 'service': 'notify.alexa_media', 'target': 'echo_1_c'} 2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione A, Specific Data {} 2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione A, Dynamic Entities ['echo_1_c'] 2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione B, Service type None 2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione B, Service alt {} 2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione B, Full Service Name notify.alexa_media 2026-06-17 16:58:13.555 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione C, Is Command Message False 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione D, Final message 'Ben ritrovato. questa e' una prova' 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione G, final_title 'None' 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione G, service_payload '{'message': "Ben ritrovato. questa e' una prova"}' 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione H, service_payload '{'message': "Ben ritrovato. questa e' una prova", 'target': 'echo_1_c'}' 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione I, service_payload '{'message': "Ben ritrovato. questa e' una prova", 'target': 'echo_1_c'}' 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione J, Media players coinvolti []. 2026-06-17 16:58:13.556 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Sezione J, Messaggio per alexacorridoio accodato. 2026-06-17 16:58:13.557 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Elaborazione messaggio vocale: Ben ritrovato. questa e' una prova... 2026-06-17 16:58:13.557 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: [] 0.4 alexa_media {'message': "Ben ritrovato. questa e' una prova", 'target': ['echo_1_c']} 2026-06-17 16:58:13.557 DEBUG (MainThread) [custom_components.universal_notifier] UniNotifier: Attesa di 6.50s per fine messaggio.

annonifausto avatar Jun 17 '26 14:06 annonifausto

SOLVED

jumping2000 avatar Jun 17 '26 23:06 jumping2000