Michael McSharry -- hopfully this is an easy fix.
I found out why I was having really inconsistent results on speaking text. Hubitat app was crashing (logs below). After 1.5 hrs of troubleshooting / trying everything, I determined my device string has a line break in it and when you send that to Hubitat... boom.
I made notes on a few log lines. Took be a while since I set the Device String (to speak) using text pulled from another Homeseer device, which had a line break.
Hubitat crashes and it seems to loop for a while trying to process it or something. Its dead until the system resets/stops erroring on its own (takes about 25 min) or you reboot the Hubitat.
SpeakCommand = working proper
speechCmd = bad
I found out why I was having really inconsistent results on speaking text. Hubitat app was crashing (logs below). After 1.5 hrs of troubleshooting / trying everything, I determined my device string has a line break in it and when you send that to Hubitat... boom.
I made notes on a few log lines. Took be a while since I set the Device String (to speak) using text pulled from another Homeseer device, which had a line break.
Hubitat crashes and it seems to loop for a while trying to process it or something. Its dead until the system resets/stops erroring on its own (takes about 25 min) or you reboot the Hubitat.
SpeakCommand = working proper
speechCmd = bad
Code:
[URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 05:10:50.922 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (Greg Unlocked) | Runtime: (4 sec) | QueueItems: (0) *** worked correctly; text puleld from device without line break [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 05:10:35.153 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (Greg Unlocked) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev13"]dev:13[/URL]2021-01-17 05:09:45.198 pm [URL="http://192.168.2.46/device/edit/13"]info[/URL] Socket (v3.3.1.1) | Alexa WS Connection is Open [URL="http://192.168.2.46/logs/past#dev13"]dev:13[/URL]2021-01-17 05:09:16.495 pm [URL="http://192.168.2.46/device/edit/13"]info[/URL]initialize() called [URL="http://192.168.2.46/logs/past#dev13"]dev:13[/URL]2021-01-17 05:06:48.837 pm [URL="http://192.168.2.46/device/edit/13"]warn[/URL] Socket (v3.3.1.1) | WebSocket connection closing. *** rebooted Hubitat [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 05:06:45.743 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 05:06:41.703 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 05:06:37.681 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 05:06:33.637 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null ******GOES ON FOR A WHILE****** ******GOES ON FOR A WHILE****** [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:51:04.343 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:51:00.317 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:50:54.198 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:50:47.173 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:50:43.151 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:50:39.144 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null *** crash : text sent from HS3 event [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:48:44.059 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (test) | Runtime: (4 sec) | QueueItems: (0) *** worked correctly; text entered manually & device Submit button clicked [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:46:52.121 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:46:48.085 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:46:44.034 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null ******GOES ON FOR A WHILE****** ******GOES ON FOR A WHILE****** [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:34:48.888 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:34:44.827 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:34:40.821 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null *** crash : text sent from HS3 event [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:34:29.345 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (test) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:33:57.852 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:26:23.237 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:26:19.184 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:26:15.113 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null ******GOES ON FOR A WHILE****** ******GOES ON FOR A WHILE****** [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:17:48.738 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:17:42.572 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:17:38.587 pm [URL="http://192.168.2.46/device/edit/8"]error[/URL]Echo (v3.6.4.1) | speechCmd | Status: (400) | Message: Bad Request | Data: null [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:17:21.099 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (testing) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 04:01:52.181 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (take a shower smelly lady) | Runtime: (3 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 03:58:56.279 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (take a shower smelly lady) | Runtime: (3 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 03:58:49.970 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (take a shower smelly lady) | Runtime: (3 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 01:28:54.801 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (take a shower smelly lady) | Runtime: (3 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 01:26:45.475 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (lift that ***) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 01:25:52.667 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (nice job mom... so proud of you) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 01:25:34.525 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (good workout) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 01:24:56.629 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#app4"]app:4[/URL]2021-01-17 11:24:45.226 am [URL="http://192.168.2.46/installedapp/configure/4"]info[/URL] EchoApp (v3.6.4.4) | wakeupServer Completed... | Process Time: (10697ms) | Source: (healthCheck) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 11:18:36.420 am [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 11:18:25.885 am [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 11:18:18.529 am [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 11:17:55.589 am [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-17 11:17:43.822 am [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev13"]dev:13[/URL]2021-01-17 11:16:04.300 am [URL="http://192.168.2.46/device/edit/13"]info[/URL] Socket (v3.3.1.1) | Alexa WS Connection is Open [URL="http://192.168.2.46/logs/past#dev13"]dev:13[/URL]2021-01-17 11:15:41.699 am [URL="http://192.168.2.46/device/edit/13"]info[/URL]initialize() called [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:48:13.653 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (Hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:48:06.309 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (Hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:47:58.934 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (Hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:47:50.232 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hi) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:47:40.815 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hi) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:43:20.757 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0) [URL="http://192.168.2.46/logs/past#dev8"]dev:8[/URL]2021-01-16 10:42:33.849 pm [URL="http://192.168.2.46/device/edit/8"]info[/URL] Echo (v3.6.4.1) | SpeakCommand Sent | (hello) | Runtime: (4 sec) | QueueItems: (0)
Comment