Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Please add Amazon Echo to the voice output #7

Closed
CKMartens opened this issue Apr 20, 2020 · 13 comments
Closed

Suggestion: Please add Amazon Echo to the voice output #7

CKMartens opened this issue Apr 20, 2020 · 13 comments

Comments

@CKMartens
Copy link

Since I don't have a Sonos, but I do have some Echo devices, it would be helpful if, as an alternative to voice output via the sayit adapter, output via the alexa2 adapter was also possible.

@misanorot
Copy link
Owner

I will check these the next days/weeks.

@misanorot
Copy link
Owner

Hi have tried in the newest github version the alexa support. I have no way to test it! Please can you install these version an give me a feedback?

@CKMartens
Copy link
Author

I installed the version. I chose my alexa instance under the settings for sayit. Unfortunately, no voice output works

@CKMartens
Copy link
Author

CKMartens commented Apr 21, 2020

For the alexa adapter, the device on which the output should take place must be specified. the adapter creates the id of the device from the serial number and is therefore different for everyone. so the user must select the device. The text is then output in the object alexa2.0.Echo-Devices.xxxxxxxxxxx.Commands.ssml (see picture)

image

@misanorot
Copy link
Owner

Hello,

Please let the adapter run in debug mode and print out the logs. Thanks

@CKMartens
Copy link
Author

Good Morning,

here is the debug log for you:

2020-04-22 06:37:31.127 - info: host.iob01 "system.adapter.alarm.0" enabled 2020-04-22 06:37:31.159 - info: host.iob01 instance system.adapter.alarm.0 started with pid 28990 2020-04-22 06:37:31.506 - debug: alarm.0 (28990) Redis Objects: Use Redis connection: 0.0.0.0:9001 2020-04-22 06:37:31.520 - debug: alarm.0 (28990) Objects client ready ... initialize now 2020-04-22 06:37:31.522 - debug: alarm.0 (28990) Objects create System PubSub Client 2020-04-22 06:37:31.522 - debug: alarm.0 (28990) Objects create User PubSub Client 2020-04-22 06:37:31.522 - debug: alarm.0 (28990) Objects client initialize lua scripts 2020-04-22 06:37:31.534 - debug: alarm.0 (28990) Objects connected to redis: 0.0.0.0:9001 2020-04-22 06:37:31.539 - debug: alarm.0 (28990) objectDB connected 2020-04-22 06:37:31.541 - debug: alarm.0 (28990) Redis States: Use Redis connection: 0.0.0.0:9000 2020-04-22 06:37:31.546 - debug: alarm.0 (28990) States create User PubSub Client 2020-04-22 06:37:31.548 - debug: alarm.0 (28990) States create System PubSub Client 2020-04-22 06:37:31.557 - debug: alarm.0 (28990) States connected to redis: 0.0.0.0:9000 2020-04-22 06:37:31.557 - debug: alarm.0 (28990) statesDB connected 2020-04-22 06:37:33.457 - debug: alarm.0 (28990) Messages to: ["telegramm"] 2020-04-22 06:37:33.534 - debug: alarm.0 (28990) {"mihome.0.devices.magnet_158d00022f7ceb.state":false,"mihome.0.devices.magnet_158d00028b5c81.state":false,"mihome.0.devices.magnet_158d0002431ded.state":false,"mihome.0.devices.sensor_motion_aq2_158d0003029359.state":false,"hm-rpc.1.0014DA49924E5C.3.MOTION":false} 2020-04-22 06:37:35.460 - debug: alarm.0 (28990) SUBSCRIBTION for: mihome.0.devices.magnet_158d00022f7ceb.state 2020-04-22 06:37:35.462 - debug: alarm.0 (28990) SUBSCRIBTION for: mihome.0.devices.magnet_158d00028b5c81.state 2020-04-22 06:37:35.462 - debug: alarm.0 (28990) SUBSCRIBTION for: mihome.0.devices.magnet_158d0002431ded.state 2020-04-22 06:37:35.462 - debug: alarm.0 (28990) SUBSCRIBTION for: mihome.0.devices.sensor_motion_aq2_158d0003029359.state 2020-04-22 06:37:35.463 - debug: alarm.0 (28990) SUBSCRIBTION for: hm-rpc.1.0014DA49924E5C.3.MOTION 2020-04-22 06:37:35.469 - debug: alarm.0 (28990) Alarm circuit list: 2020-04-22 06:37:35.470 - debug: alarm.0 (28990) Warning circuit list: 2020-04-22 06:37:35.471 - debug: alarm.0 (28990) Sleep circuit list: 2020-04-22 06:37:35.741 - debug: alarm.0 (28990) state alarm.0.status.enableable changed: true (ack = false) 2020-04-22 06:38:13.092 - debug: alarm.0 (28990) state alarm.0.use.enable changed: true (ack = false) 2020-04-22 06:38:13.093 - info: alarm.0 (28990) Alarmanlage aktiviert 2020-04-22 06:38:13.093 - debug: alarm.0 (28990) speech output: alexa2.0 2020-04-22 06:38:13.093 - debug: alarm.0 (28990) Message for alexa2 instance alexa2.0: Alarmanlage aktiviert 2020-04-22 06:38:13.096 - debug: alarm.0 (28990) state alarm.0.info.log changed: Alarmanlage aktiviert (ack = false) 2020-04-22 06:38:13.099 - debug: alarm.0 (28990) state alarm.0.status.activated changed: true (ack = false) 2020-04-22 06:38:13.102 - debug: alarm.0 (28990) state alarm.0.status.deactivated changed: false (ack = false) 2020-04-22 06:38:13.102 - debug: alarm.0 (28990) state alarm.0.status.activation_failed changed: false (ack = false) 2020-04-22 06:38:13.103 - debug: alarm.0 (28990) state alarm.0.status.state changed: activated (ack = false) 2020-04-22 06:38:26.660 - debug: alarm.0 (28990) state hm-rpc.1.0014DA49924E5C.3.MOTION changed: false (ack = true) 2020-04-22 06:38:29.162 - debug: alarm.0 (28990) state mihome.0.devices.sensor_motion_aq2_158d0003029359.state changed: true (ack = true) 2020-04-22 06:38:29.162 - debug: alarm.0 (28990) Alarm circuit list: mihome.0.devices.sensor_motion_aq2_158d0003029359.state 2020-04-22 06:38:29.163 - debug: alarm.0 (28990) Warning circuit list: 2020-04-22 06:38:29.163 - debug: alarm.0 (28990) Sleep circuit list: mihome.0.devices.sensor_motion_aq2_158d0003029359.state 2020-04-22 06:38:29.163 - debug: alarm.0 (28990) Inside state change: mihome.0.devices.sensor_motion_aq2_158d0003029359.state val: true 2020-04-22 06:38:29.164 - info: alarm.0 (28990) Alarmanlage meldet Einbruch in: Bewegung Buero erkannt 2020-04-22 06:38:29.164 - debug: alarm.0 (28990) Send message to telegramm, message: Alarmanlage meldet Einbruch in: Bewegung Buero erkannt 2020-04-22 06:38:29.165 - debug: alarm.0 (28990) sendTo "send" to system.adapter.telegramm from system.adapter.alarm.0: Alarmanlage meldet Einbruch in: Bewegung Buero erkannt 2020-04-22 06:38:29.179 - debug: alarm.0 (28990) state alarm.0.status.enableable changed: false (ack = false) 2020-04-22 06:38:29.181 - debug: alarm.0 (28990) state alarm.0.info.log changed: Alarmanlage meldet Einbruch in: Bewegung Buero erkannt (ack = false) 2020-04-22 06:38:29.184 - debug: alarm.0 (28990) state alarm.0.status.silent_alarm changed: true (ack = false) 2020-04-22 06:38:29.185 - debug: alarm.0 (28990) state alarm.0.status.state changed: silent alarm (ack = false) 2020-04-22 06:38:29.793 - debug: alarm.0 (28990) state mihome.0.devices.magnet_158d0002431ded.state changed: true (ack = true) 2020-04-22 06:38:29.793 - debug: alarm.0 (28990) Alarm circuit list: mihome.0.devices.magnet_158d0002431ded.state,mihome.0.devices.sensor_motion_aq2_158d0003029359.state 2020-04-22 06:38:29.794 - debug: alarm.0 (28990) Warning circuit list: 2020-04-22 06:38:29.794 - debug: alarm.0 (28990) Sleep circuit list: mihome.0.devices.magnet_158d0002431ded.state,mihome.0.devices.sensor_motion_aq2_158d0003029359.state 2020-04-22 06:38:29.794 - debug: alarm.0 (28990) Inside state change: mihome.0.devices.magnet_158d0002431ded.state val: true 2020-04-22 06:38:29.795 - info: alarm.0 (28990) Alarmanlage meldet Einbruch in: Buerofenster rechts 2020-04-22 06:38:29.796 - debug: alarm.0 (28990) Send message to telegramm, message: Alarmanlage meldet Einbruch in: Buerofenster rechts 2020-04-22 06:38:29.796 - debug: alarm.0 (28990) sendTo "send" to system.adapter.telegramm from system.adapter.alarm.0: Alarmanlage meldet Einbruch in: Buerofenster rechts 2020-04-22 06:38:29.834 - debug: alarm.0 (28990) state alarm.0.status.enableable changed: false (ack = false) 2020-04-22 06:38:29.841 - debug: alarm.0 (28990) state alarm.0.info.log changed: Alarmanlage meldet Einbruch in: Buerofenster rechts (ack = false) 2020-04-22 06:38:29.841 - debug: alarm.0 (28990) state alarm.0.status.silent_alarm changed: true (ack = false) 2020-04-22 06:38:29.842 - debug: alarm.0 (28990) state alarm.0.status.state changed: silent alarm (ack = false) 2020-04-22 06:38:39.165 - debug: alarm.0 (28990) speech output: alexa2.0 2020-04-22 06:38:39.166 - debug: alarm.0 (28990) Message for alexa2 instance alexa2.0: Verlassen Sie sofort das Haus 2020-04-22 06:38:39.173 - debug: alarm.0 (28990) state alarm.0.status.burglar_alarm changed: true (ack = false) 2020-04-22 06:38:39.176 - debug: alarm.0 (28990) state alarm.0.status.siren changed: true (ack = false) 2020-04-22 06:38:39.176 - debug: alarm.0 (28990) state alarm.0.status.state changed: burgle (ack = false) 2020-04-22 06:39:02.592 - debug: alarm.0 (28990) state alarm.0.use.disable changed: true (ack = false) 2020-04-22 06:39:02.593 - debug: alarm.0 (28990) speech output: alexa2.0 2020-04-22 06:39:02.593 - debug: alarm.0 (28990) Message for alexa2 instance alexa2.0: Alarmanlage deaktiviert 2020-04-22 06:39:02.593 - info: alarm.0 (28990) Alarmanlage deaktiviert 2020-04-22 06:39:02.596 - debug: alarm.0 (28990) state alarm.0.info.log changed: Alarmanlage deaktiviert (ack = false) 2020-04-22 06:39:02.600 - debug: alarm.0 (28990) state alarm.0.status.siren changed: false (ack = false) 2020-04-22 06:39:02.601 - debug: alarm.0 (28990) state alarm.0.status.activated changed: false (ack = false) 2020-04-22 06:39:02.606 - debug: alarm.0 (28990) state alarm.0.status.deactivated changed: true (ack = false) 2020-04-22 06:39:02.608 - debug: alarm.0 (28990) state alarm.0.status.activated_with_warnings changed: false (ack = false) 2020-04-22 06:39:02.610 - debug: alarm.0 (28990) state alarm.0.status.activation_failed changed: false (ack = false) 2020-04-22 06:39:02.614 - debug: alarm.0 (28990) state alarm.0.status.siren changed: false (ack = false) 2020-04-22 06:39:02.616 - debug: alarm.0 (28990) state alarm.0.status.burglar_alarm changed: false (ack = false) 2020-04-22 06:39:02.617 - debug: alarm.0 (28990) state alarm.0.status.activation_failed changed: false (ack = false) 2020-04-22 06:39:02.619 - debug: alarm.0 (28990) state alarm.0.status.silent_alarm changed: false (ack = false) 2020-04-22 06:39:02.619 - debug: alarm.0 (28990) state alarm.0.status.state changed: deactivated (ack = false) 2020-04-22 06:39:11.683 - info: host.iob01 "system.adapter.alarm.0" disabled 2020-04-22 06:39:11.686 - info: alarm.0 (28990) Adapter is disabled => stop 2020-04-22 06:39:11.687 - info: alarm.0 (28990) cleaned everything up... 2020-04-22 06:39:11.688 - info: alarm.0 (28990) Got terminate signal TERMINATE_YOURSELF 2020-04-22 06:39:11.697 - info: alarm.0 (28990) terminating 2020-04-22 06:39:11.697 - info: alarm.0 (28990) Terminated (NO_ERROR): Without reason

@CKMartens
Copy link
Author

CKMartens commented Apr 22, 2020

As a workaround, I can manage the announcements via Echo using the links. (see image)
image

@misanorot
Copy link
Owner

Hi, I don't see the image.

Thanks for the log file and I saw the problem but I have to try new things the next days...

@CKMartens
Copy link
Author

@misanorot I updatet my post, sorry about that

@misanorot
Copy link
Owner

hello,

now I tried to add the alex2 speak output. My prblem is, i haven´t alexa. Please can you try install the GitHub Version and tell me a feedback?

@CKMartens
Copy link
Author

Hallo @misanorot
I tested it and it looks like everything is working fine. Thanks for your good work

@huperis
Copy link

huperis commented Apr 30, 2020

Hi,
I have an echo.
The test in the settings works.
I activate the alarm system and then trigger an alarm, but Alexa remains silent.

Edit: I use the GitHub Version for test purposes.
alarm

@misanorot
Copy link
Owner

misanorot commented May 1, 2020

purposes.

Please try the current Version 0.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants