So, I am trying to get things set up with IFTTT and ultimately with Alexa. I have everything in place and all looks good but i'm having an issue with one part. My json is returning and error. Here's my line I am using.
{"command":"componentstate", "componentstate":{"component":"ALL", "state":false}}
If i send this through Postman then it works just fine, but if I try the same line in IFTTT as a webhook then it returns a 405 error in IFTTT. See the picture below.
Here is what I am sending in IFTTT
I turned the logging all the way up in Hyperion but nothing is showing up in there.
Here is the logs. I can put them in pastebin if you like but it was a small bit so I just figured I would post it here. I tried all the different content types in IFTTT. Any Thought?
2021-09-08T15:37:56.988Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
2021-09-08T15:37:57.608Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:MY-EXTERNAL-IP
2021-09-08T15:37:57.609Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:MY-EXTERNAL-IP' switch to Hyperion instance 0
2021-09-08T15:37:57.842Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:MY-EXTERNAL-IP
2021-09-08T15:37:57.871Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:MY-EXTERNAL-IP
2021-09-08T15:38:44.446Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
2021-09-08T15:38:45.060Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:MY-EXTERNAL-IP
2021-09-08T15:38:45.060Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:MY-EXTERNAL-IP' switch to Hyperion instance 0
2021-09-08T15:38:45.310Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:MY-EXTERNAL-IP
2021-09-08T15:38:45.335Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:MY-EXTERNAL-IP
2021-09-08T15:51:10.239Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
2021-09-08T15:51:10.824Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:MY-EXTERNAL-IP
2021-09-08T15:51:10.825Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:MY-EXTERNAL-IP' switch to Hyperion instance 0
2021-09-08T15:51:11.118Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:MY-EXTERNAL-IP
2021-09-08T15:51:11.148Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:MY-EXTERNAL-IP
2021-09-08T15:57:03.424Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.65
2021-09-08T15:57:03.425Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.1.65' switch to Hyperion instance 0
2021-09-08T15:57:15.269Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.65
2021-09-08T15:57:15.281Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.65
2021-09-08T16:01:09.539Z [hyperiond HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:MY-EXTERNAL-IP' switch to Hyperion instance 0
2021-09-08T16:01:19.194Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
2021-09-08T16:01:19.600Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.65
2021-09-08T16:01:19.600Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.1.65' switch to Hyperion instance 0
2021-09-08T16:01:19.925Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.65
2021-09-08T16:01:19.937Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.65
2021-09-08T16:02:42.575Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:50:handleCompStateChangeRequest()) Disable Hyperion, store current component states
2021-09-08T16:02:42.579Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Hyperion: disabled
2021-09-08T16:02:42.577Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: disabled
2021-09-08T16:02:42.577Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: disabled
2021-09-08T16:02:42.578Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:270:clearInput()) Removed source priority 240
2021-09-08T16:02:42.578Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 255
2021-09-08T16:02:42.578Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[240]
2021-09-08T16:02:42.579Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off
2021-09-08T16:02:42.579Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled
2021-09-08T16:02:42.585Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Stopped
2021-09-08T16:02:42.585Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:58:stop()) Grabber stop()
2021-09-08T16:02:42.580Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
2021-09-08T16:02:42.580Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyUSB0
2021-09-08T16:02:43.309Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
2021-09-08T16:02:43.309Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:199:writeBytes()) !_rs232Port.isOpen()
2021-09-08T16:02:43.309Z [hyperiond LEDDEVICE] (INFO) Opening UART: ttyUSB0
2021-09-08T16:02:43.310Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [500000]bps
2021-09-08T16:02:43.391Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName: ttyUSB0
2021-09-08T16:02:43.391Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation: /dev/ttyUSB0
2021-09-08T16:02:43.391Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description: USB Serial
2021-09-08T16:02:43.392Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer: 1a86
2021-09-08T16:02:43.392Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x7523
2021-09-08T16:02:43.392Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier: 0x1a86
2021-09-08T16:02:43.392Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:
2021-09-08T16:02:43.398Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:173:tryOpen()) delayAfterConnect for 5000 ms - start
2021-09-08T16:02:48.651Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRs232.cpp:180:tryOpen()) delayAfterConnect for 5000 ms - finished
2021-09-08T19:47:57.536Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.65