The Assistant-relay gives a broadcasted announcement by interrupting whatever is playing. It uses the official ‘broadcast’ announcement function.
What is the debug info before the error message?
New plugin pimatic-sounds
The Assistant-relay gives a broadcasted announcement by interrupting whatever is playing. It uses the official ‘broadcast’ announcement function.
What is the debug info before the error message?
Thx for your feedback!
Here the debug oputput:
debug [pimatic-sounds]: Setvolume data: {
"level": 0.5
}
11:38:56debug [pimatic-sounds]: Setting volume to 0.5
11:38:55debug [pimatic-sounds]: Casting stopped
11:38:54debug [pimatic-sounds]: Playing announcement on device 'google-nest-hub-wohnzimmer' with volume 50
11:38:52debug [pimatic-sounds]: Setvolume data: {
"level": 0.5
}
11:38:52debug [pimatic-sounds]: Setting volume to 0.5
11:38:51debug [pimatic-sounds]: Sound generated, now casting http://192.168.0.100:8089/google-nest-hub-wohnzimmer_text.mp3
11:38:51debug [pimatic-sounds]: Error: null
11:38:51debug [pimatic-sounds]: Creating sound file... with text: test
Thanks, can you add debug info till ( including) the moment of the error
error [pimatic]: rule tts-googlehome-wohnzimmer error executing an action: Cannot read property 'length' of undefined
At the end there was nothing more then I posted. Here my next try with activated error logging:
20:49:03debug [pimatic-sounds]: Error in playAnnouncement: undefined
20:49:03debug [pimatic-sounds]: Error startReplaying Error: Load failed
20:49:03debug [pimatic-sounds]: Error load replay Error: Load failed
20:49:02debug [pimatic-sounds]: Setvolume data: {
"level": 0.1818181872367859
}
20:49:02debug [pimatic-sounds]: Setting volume to 0.1818181872367859
20:48:59debug [pimatic-sounds]: Casting stopped
20:48:57debug [pimatic-sounds]: Playing announcement on device 'google-home-wohnzimmer' with volume 20
20:48:55debug [pimatic-sounds]: Setvolume data: {
"level": 0.2
}
20:48:55debug [pimatic-sounds]: Setting volume to 0.2
20:48:55error [pimatic]: rule tts-googlehome-wohnzimmer error executing an action: Cannot read property 'length' of undefined
20:48:55debug [pimatic-sounds]: Sound generated, now casting http://192.168.0.100:8089/google-home-wohnzimmer_text.mp3
20:48:55debug [pimatic-sounds]: Error: null
20:48:55debug [pimatic-sounds]: Creating sound file... with text: bla
No more things happens during before, while and after the announcement.
Nothing. The speaker was not in use. I did just the test.
Sorry for my late response. I made the update. After the last restart the error did not occure anymore. Maybe pimatic itself was the reason and the restart did the job. I will further observe if it will come back somehow.
Hi, I like to ask if you could supress the initial “blupp” which is played before every main volume change somehow?
It is the same “blupp” which you can hear when you change the volume manually on the GH device. Each click results in a “blupp” for me.
When using the GoogleDevice of the sounds plugin you can use rules to send text commands like you are using when talking to an assistant device.
This way you can control a device added in google home but not known in Pimatic.
This feature is part of the assistant-relay solution i’m using in the GoogleDevice.
I was wondering, although the plugin is called pimatic sounds, is there a way to send an image to a Google hub?
Would be a nice addition for my doorbell (that’s creating a static image that is shown in pimatic) to show the image also on the hub.
Yes I did, as a file, but it didn’t show on the hub.
Ah yes of course, forgot about the fixed map for sounds. Working now, thanks!
I was wondering if you could make the path to the folder which contains sounds and picture configurable? Further s.th. like play file picture.jpg" for x seconds on device
currently I use play file picture.jpg" on device and play stop on device
which works, but the other one is more intuitive.