Got it working. I set the serial rate to 500000 in the sketch but apparently you also have to set it to 500000 in hyperion as well. Working now. Thanks for the help
Posts by nolos
-
-
no. tried that and nothing happens
-
Hi! I updated hyperbian and made sure I was on the latest version of hyperion. Since then, my LEDs aren't working. When I turn on my instance, The LEDs come on for 1 seconf then back off and that's it. I decided to reflash my arduino board, wipe the pi, and start from scratch but with the newest hyperbian and newest hyperion. Should I be going back to an older version of either? I don't see anything in my logs but here they are. Appreciate any help!
-
Did you get it figured out with ST or Alexa? Trying to do the same thing.
-
I've been researching a bit for additional led lights that can work with hyperion and, other than a few posts about Hue and other lights that require a hub, I don't see anything really. I'd love to put up a couple of lightbars and maybe some recessed lights but short of making a pole and vertically attaching led strips, I don't see this project going very much farther. Thoughts?
-
I'm still very new here and don't know much but I had a similar issue. I fixed it by unplugging EVERYTHING hyperion related. Not just rebooting the PI. I unplugged the Arduino as well and that was the issue.
NOTE: I thought I was killing the power to the arduino by simply unplugging the power cord but it turns out that my receiver has some feature that provides power to devices across hdmi so even though I unplugged everything (except the HDMI) the capture device was still being powered via hdmi from the amplifier and therefore the capture device was backfeeding power through the usb cable to the pi. It had enough juice to keep it on but not enough to fully run. So I was unplugging it all to give it a good HARD RESET but it was staying on and not actually rebooting. Food for thought if you are running things with an separate receiver. Min is a Sony receiver FYI
-
Are there any RGB recessed lights that work with Hyperion besides Hue? I don't want to set up a HUE hub and ness with all that for 2 lights and they are not cheap either. Any suggestions would be appreciated.
-
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