Giter Club home page Giter Club logo

package-notification-hub-appdaemon's Introduction

Hi there 😃

🔭 I’m currently working on Notifier - Centro Notifiche

⚡ Fun fact: I'm not a programmer 😄

📫 How to reach me:

Websitebadge Forum telegrambadge facebookbadge


⚡ Recent Activity

  1. 🗣 Commented on #2453 in alandtse/alexa_media_player
  2. 🗣 Commented on #31 in caiosweet/Home-Assistant-custom-components-INGV
  3. 🔒 Closed issue #31 in caiosweet/Home-Assistant-custom-components-INGV
  4. 🚀 Published release Updated image url pattern in caiosweet/Home-Assistant-custom-components-INGV
  5. 🚀 Published release Fix "platform" in square brackets in caiosweet/Home-Assistant-custom-components-DPC-Alert



caiosweet

caiosweet


$$\textbf{\color{#0099ff} \huge Enjoy Yourself \unicode{x1f973} Caio Sweet}$$



package-notification-hub-appdaemon's People

Contributors

caiosweet avatar jokerigno avatar jumping2000 avatar marcogazzola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

package-notification-hub-appdaemon's Issues

tts.speak nabu casa

ciao volevo usare nabucasa non centro notifiche ma ho notato che il sistema del servizio risulta diverso da tts, si puo implementare nel codice, ti scrivo i due servizi per capire. magari c'è un modo nel servizio script.my_notify per utilizzare speak?

vecchio sistema che funziona con script.my_notify
service: tts.google_translate_say data: message: prova messaggio entity_id: media_player.soggiorno

il tts.speak invece è cosi e non. funziona im script.my_notify
service: tts.speak target: entity_id: tts.home_assistant_cloud data: media_player_entity_id: media_player.soggiorno message: prova messaggio

in pratica utilizza target e media_player_entity_id

Problemi con AppDaemon 0.15.2

Con la versione 0.15.2 di AppDaemon
If you have this in your appdaemon.yaml file:
secrets: /config/secrets.yaml
You will need to adjust this to:
secrets: /homeassistant/secrets.yaml

e quindi

WARNING Notifier_Dispatch: Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
await utils.run_in_executor(self, init)
File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
response = future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/apps/notifier/notifier_dispatch.py", line 51, in initialize
with open(secretsFile, "r") as ymlfile:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/config/packages/secrets.yaml'

secrets.yaml

_#----------------------------------------------------------------------------------------------------#

SECTION 3 - In questa sezione ci sono altre entità lette da Home Assistant per Extra Feautures

#----------------------------------------------------------------------------------------------------#

Group (group.media_player_alexa)_

in secrets. yaml the sintiax is:

media_player_alexa: [
"media_player.echo_dot_di_matteo",
]

or

media_player_alexa: [

  • media_player.echo_dot_di_matteo

the error Alexa Manager - Warker Error what means?

Cloud TTS service is wrong in wiki

Nella wiki c'è scritto che per aggiungere il TTS cloud di Google bisogna aggiungere

"tts_google_cloud: google_cloud"

In realtà il nome completo del servizio è diverso quindi con me funziona

"tts_google_cloud: google_cloud_say"

Ciao !

Error in secret

Ciao Caio,

solo una nota: nella wiki dici che se non uso alexa posso eliminare il file e la sezione nel secret.

Input Select Alexa Media Player
Media Player Alexa to use as Default. Enter your 'media_player' and/or 'group' and/or Sensor devices with friandly_name. NB: If you do not have Alexa devices, you can delete the file hub_alexa.yaml and the code below.

(Ref. input_select.notification_media_player_alexa)

notification_media_player_alexa_hub:

  • Sala
  • Studio
  • Echo Dot di Caio
  • Gruppo Alexa
  • Last Alexa

In realtà posso solo eliminare l'hub alexa.

Se tolgo "notification_media_player_alexa_hub" mi da errore.

If the device name google contains spaces it is not resolved as entity_id.

Ciao,

sono sempre io.

Nuovo errore sempre relativo al secret:

Questa è sezione dove elenco i miei google mini sparsi per la casa:

notification_media_player_google_hub:
  # - Google Home Mini
  - Corridoio
  - Broadcast
  # - Casa Concordia
  - Gminis

Come vedi ce ne sono due commentati. Questo perchè se uno di loro è dentro il gruppo ricevo un errore e le notifiche con script.my_notify non partono (l'interfono invece funziona!).

Ecco l'errore:

Dettagli registro (ERROR)
Logger: aiohttp.server
Source: core.py:865
First occurred: 16:38:25 (2 occurrences)
Last logged: 16:38:25

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/api/init.py", line 274, in post
hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1183, in async_set
state = State(
File "/usr/src/homeassistant/homeassistant/core.py", line 865, in init
raise InvalidEntityFormatError(
homeassistant.exceptions.InvalidEntityFormatError: Invalid entity id encountered: media_player.google home mini. Format should be .<object_id>

Ho controllato l'integrazione e i nomi dei devices sono

media_player.casa_concordia ------ friedly name: Casa Concordia
media_player.google_home_mini ------ friedly name: Google Home Mini

Alexa Manager - Worker Error

in frontend till some days, there is this error:
Alexa Manager - Worker Error
there are some solution?
and alexa not work..
image
Alexa_Manager: Querying a specific attribute is only possible for a single entity

URL compatibile con Image (companion app)

Ciao,

ho questa automazione che funziona se come text notification uso telegram:

service: script.my_notify
data:
  call_no_annuncio: 1
  title: Telecamere
  google: true
  message: >-
    Una persona è stata rilevata in {{ trigger.payload_json['after']['camera']
    }}.
  url: >-
    http://192.168.2.100:5000/api/events/{{trigger.payload_json["after"]["id"]}}/thumbnail.jpg
  caption: >-
    Una persona è stata rilevata in {{ trigger.payload_json['after']['camera']
    }} alle ore {{ states('sensor.time_date') }}

Mentre non funziona se uso come text notification notify.mioiphone.

O meglio funziona il message ma non l'url.

Leggendo i docs della companion app ho visto che sono state da poco rimaneggiate uniformando ios e android. Per l'invio delle immagini usano "image" con questa struttura:

service: notify.mioiphone
data:
  message: "Una persona è stata rilevata in prova"
  data:
    # an example of an absolute url
    image: "http://192.168.2.100:5000/clips/veranda-1625310307.36589-sf2mpx.jpg"

Se però sostitusco notify.mioiphone con script.my_notify non ricevo l'immagine.

E' possibile uniformarlo?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.