Supergiovane / node-red-contrib-sonospollytts

Play speech TTS using Sonos.
https://www.facebook.com/supergiovaneDev
MIT License
12 stars 6 forks source link

Pausing Error #14

Closed Exit2Studios closed 5 years ago

Exit2Studios commented 5 years ago

I get a "pausing error" any time I try to run this node. I have set up the appropriate AWS credentials and have pasted the included code into a flow (and made IP changes). I have yet to get this node to work.

Supergiovane commented 5 years ago

Hello What kind of sonos device are you using? Are you running node-red on raspberry pi? Can you copy and paste here the node-red log? Thanks

Exit2Studios commented 5 years ago

I am running node-red via Hassio (on a Rpi).

Log: [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /red/images/deploy-full.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /red/images/deploy-flows.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /red/images/deploy-nodes.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /red/images/deploy-reload.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) 30 May 10:32:42 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /red/images/grip.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /vendor/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /debug/view/debug-utils.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /ui_base/js/tinycolor-min.js HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) 30 May 10:32:42 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /uisettings HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/arrow-right-bold.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/arrow-right-bold-hexagon-outline.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/trigger.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/timer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/router-wireless.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/radiotower.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:42 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/code.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/pagesearch.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/history.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/parser-json.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/wait-until.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-home-assistant-websocket/plane.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/inject.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/alert.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/link-out.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/bridge.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/white-globe.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/bridge-dash.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red-contrib-sunevents/white_golden_sun.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/light.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/serial.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/debug.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/function.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) 30 May 10:32:43 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/template.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/timer.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/trigger.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) [30/May/2019:10:32:43 -0500] 200 192.168.1.171, 172.30.32.1(172.30.32.2) GET /icons/node-red/comment.png HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15) 30 May 10:32:56 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:56 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:56 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:57 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:57 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:57 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:57 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:58 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:58 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:58 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:59 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:59 - [error] [particle-SSE:e9fdefb9.e1ee3] [object Object] 30 May 10:32:59 - [error] [particle-SSE:836a819e.6c2168] [object Object] 30 May 10:32:59 - [error] [particle-SSE:860e3ebe.5c524] [object Object] 30 May 10:32:59 - [error] [particle-SSE:676c49b2.b9072] [object Object] 30 May 10:32:59 - [error] [particle-SSE:1584fa69.290e1e] [object Object] 30 May 10:32:59 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:59 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:32:59 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:00 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:00 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 [30/May/2019:10:33:00 -0500] 400 -(192.168.1.10) GET /tts/tts.mp3?f=%2Ftmp%2FCiao-Mondoem-Come-stai_qm__Kimberly.mp3 HTTP/1.1 (Linux UPnP/1.0 Sonos/50.1-65071 (ZPS9)) 30 May 10:33:00 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:01 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:01 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:01 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:01 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:02 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:02 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:02 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:02 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:03 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:03 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:03 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:04 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:04 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:04 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:05 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:05 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:05 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:05 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:06 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:06 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:06 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:06 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:07 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:07 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:07 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:08 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:08 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:08 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:08 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:09 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:09 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:09 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:10 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:10 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:10 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 [30/May/2019:10:33:10 -0500] 400 -(192.168.1.10) GET /tts/tts.mp3?f=%2Ftmp%2FCiao-Mondoem-Come-stai_qm__Kimberly.mp3 HTTP/1.1 (Linux UPnP/1.0 Sonos/50.1-65071 (ZPS9)) 30 May 10:33:10 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400 30 May 10:33:11 - [info] HandleQueue2 - stopping: playing Track:x-rincon:RINCON_B8E937D8BB4801400

Supergiovane commented 5 years ago

Hello You must assure that the sonos device can reach node-red through Hass.io IP address. The problem seems that Sonos cannot reach node-red due to some sort of firewall or due to the fact that hass.io “hides” nodered behind it. Please check if you can forward ports from hassio to the embedded nodered and let me know. Thanks.

Exit2Studios commented 5 years ago

I can access Sonos with Node-Red via the Sonos and BetterSonos nodes (using both Sonos IP and Device ID). However, I get the following error in the Sonos app when trying to access via polly:

"Unable to play 'tts.mp3?f=/tmp/hailing.mp3' - unable to connect to 192.168.x.xxx:1880"

Supergiovane commented 5 years ago

Hello The problem is not accessing sonos from node red. The problem is accessing nodered from sonos. Sonos must be able to contact nodered on port 1880. In your case, it can’t. Please ask hass.io forum on how to allow external endpoint to access nodered behing hass.io.

Supergiovane commented 5 years ago

Version 1.0.15 is out with an option to change the Temp Folder. Check that the node-red process is running under an user account, able to write to the filesystem.