Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

HarmonySpan not triggering as expected #28

Open
nbr0T opened this issue Dec 6, 2020 · 7 comments
Open

HarmonySpan not triggering as expected #28

nbr0T opened this issue Dec 6, 2020 · 7 comments

Comments

@nbr0T
Copy link

nbr0T commented Dec 6, 2020

Had a smooth installation and HarmonySpan detects my Harmony Elite keypresses as well as keypresses from the Harmony mobile app (Android, Samsung S9+), however no trigger seems to be send from the HarmonySpan although it refers to the expected Post/event.

A simple setup with the event “lighton” is configured as:
Webhook name: lighton
Webhook URL: https://maker.ifttt.com/use/_mypersonalkey_
The URL is copied from the webhooks setting on the ifttt.com.
HarmonySpan is granted the appropriate network access and even running in administrator mode.

I tried triggering the event ”lighton” manually from the PC (win10) running HarmonySpan with the cmd:
“curl -X POST https://maker.ifttt.com/trigger/lighton/with/key/_mypersonalkey_”
That worked fine and turned the light on, thus I came to wonder whether I am using the Webhook URL in HarmonySpan correctly?
Any logs to be collected that might by helpful?

@kertofer
Copy link

I am having this same issue. It appears as though the webhooks are not being sent by the app after the app acknowledges the receipt of the button press from my harmony remote. As nbr0T said above if I use curl everything works.

@snarknesor
Copy link

same here. did you ever find a solution?

@kertofer
Copy link

same here. did you ever find a solution?

Yes, I pulled the latest commit, compiled it and ran it manually instead of using the pre compiled binary. The interface is a bit cleaner and it runs perfectly for me now.

@michaelewers
Copy link
Contributor

There are not binaries for the latest version. AShifter wanted to provide them some months ago.

To run the latest version "manually" follow these steps:

  • Install Node.js on your platform
  • Install git on your platform (the git client)
  • open a console window
  • type "git clone https://github.com/AShifter/harmony-span.git" to download the source code to your machine
  • type "cd harmony-span" to enter the directory where the downloaded source code is
  • type "npm install" to install the dependencies that the program needs
  • type "npm start" to start the program
    Then follow the instructions on the screen.
    Use Ctrl-C to stop the program.

From there you can always use "git pull" in the harmony-span directory to update to the latest version.

Note that the config file format has changed from json to yaml, so your old config.json will no longer work.

With the latest version I have fixes some stuff so chances are that your issue will be resolved.

@snarknesor
Copy link

that worked. Thanks!

@Trevorwelton
Copy link

Is there going to be a binary update at some point?

I had this working for a bit now when I click the pause button on my remote I can see that it is triggering the sequence but the lights don't come on. Also, I could never get lights to come on with the play button despite seeing the sequence triggered and the webhooks test working.

Seems pretty buggy? Will the changes listed above help my situation?

@amathews84
Copy link

amathews84 commented Feb 22, 2021

Hello, not sure if this is a related but I see the triggers firing and the expected http post event executing (fairly reliably) when the Windows harmony span terminal is open but the post event does not execute when the terminal is not open on my computer.

Is this related to the required binary update?

Edit: Okay, in reading other issue threads I learned that Harmony Span needs to be open for this to work so that answers the question/issue I had above.

I originally installed this on a Windows computer which is not always powered on. I have a Raspberry Pi lying around that I have never used. If I install Linux OS on it, and install Linux related Harmony Span assets to the Raspberry Pi do I need to go through the whole set up process in Harmony again (i.e. adding the Roku device, include it in each my activities, redo the remote sequences for each button on every remote for all hubs)? Or can the previous Roku device created through Windows Harmony Span terminal be used?

I'm trying to avoid messing with my Harmony activities as the set up Harmony process is extremely fickle and is guaranteed to get me on the phone with Logitech support for something not working as expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants