logantgt / harmony-span

A Node.JS application that allows you to trigger external webhooks from your Logitech Harmony Hub and compatible remotes.
MIT License
27 stars 14 forks source link

Adding HarmonySpan with the Mobile App usually fails #3

Open logantgt opened 4 years ago

logantgt commented 4 years ago

If you've tried adding HarmonySpan to your setup using the Mobile app, let me know and give me some information;

Thank you for your help!

Jelleeelco commented 4 years ago

Tried adding Harmony Span using Mobile app. It does find it, but get an error message: "This is unfortunate. Please restart your app to proceed". After restarting the app, it takes (again) 3 times to scan to find again. Then, again it fails with same error message.

I have several phones and will try further!

bikerapn commented 4 years ago

I'm having the same issue as noted above. I get the error "This is unfortunate. Please restart your app to proceed". My device always seems to find the Harmony-Span device though; it's just I get the above error. I'm using the Logitech Pro 2400 so there is no ability to connect via USB and use PC software. I must use the mobile app. The devices I've used:

iPad Air 2 running iOS 13.5 Google Pixel 4XL running Android 11 Beta 2 Samsung Galaxy S20+ running Android 10

If you have any advice or guidance, that'd be great. Thanks.

Andy

logantgt commented 4 years ago

I'm having the same issue as noted above. I get the error "This is unfortunate. Please restart your app to proceed". My device always seems to find the Harmony-Span device though; it's just I get the above error. I'm using the Logitech Pro 2400 so there is no ability to connect via USB and use PC software. I must use the mobile app. The devices I've used:

iPad Air 2 running iOS 13.5 Google Pixel 4XL running Android 11 Beta 2 Samsung Galaxy S20+ running Android 10

If you have any advice or guidance, that'd be great. Thanks.

Andy

Thanks for your report! Have you tried contacting your installer to see if they have the ability to add the HarmonySpan device? I don't have any experience with the Pro but it would be interesting to see if they could. I'll continue to investigate this issue. I've tried adding HarmonySpan across 3 different hubs on 4 different phones without success - I'll post an update here if I find anything!

ziadmalik commented 4 years ago

Hi, I dont know if this helps...but I connected my hub to my pc via usb and added everything according to the doc..roku works works fine except the pause button (seperate issue logged https://github.com/AShifter/harmony-span/issues/9).

bikerapn commented 4 years ago

Hi Logan,

In this case, unfortunately, I’m the installer. I don’t see anything in the installers portal that provides advanced device add skills. The installer portal switches you to the app when it comes time to configure the Pro 2400. I’ll continue to investigate as well. If you discover anything, let me know. Thanks.

Andy

From: Logan Lowe notifications@github.com Sent: Friday, July 17, 2020 1:36 PM To: AShifter/harmony-span harmony-span@noreply.github.com Cc: bikerapn bikerapn@comcast.net; Comment comment@noreply.github.com Subject: Re: [AShifter/harmony-span] Adding HarmonySpan with the Mobile App usually fails (#3)

I'm having the same issue as noted above. I get the error "This is unfortunate. Please restart your app to proceed". My device always seems to find the Harmony-Span device though; it's just I get the above error. I'm using the Logitech Pro 2400 so there is no ability to connect via USB and use PC software. I must use the mobile app. The devices I've used:

iPad Air 2 running iOS 13.5 Google Pixel 4XL running Android 11 Beta 2 Samsung Galaxy S20+ running Android 10

If you have any advice or guidance, that'd be great. Thanks.

Andy

Thanks for your report! Have you tried contacting your installer to see if they have the ability to add the HarmonySpan device? I don't have any experience with the Pro but it would be interesting to see if they could. I'll continue to investigate this issue. I've tried adding HarmonySpan across 3 different hubs on 4 different phones without success - I'll post an update here if I find anything!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AShifter/harmony-span/issues/3#issuecomment-660274971 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJJ46JO34TO4OV7LQPOZ73R4CK2DANCNFSM4OQ6FOGQ . https://github.com/notifications/beacon/AIJJ46ME5C4MTZEZPMSW5ELR4CK2DA5CNFSM4OQ6FOG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE5NP6GY.gif

logantgt commented 4 years ago

Thank you for the input Andy - I'll continue to investigate this issue!

atrus05 commented 4 years ago

Hi AShifter. I get the same error message in the mobile app as the guys/gals above. I am using a iPhone 11 with iOS 13.5.1.

logantgt commented 4 years ago

@atrus05 Thanks for letting me know! Do you have the ability to add HarmonySpan using the desktop software? Let me know what kind of remote you have as well. Thank you for the tip!

atrus05 commented 4 years ago

@atrus05 Thanks for letting me know! Do you have the ability to add HarmonySpan using the desktop software? Let me know what kind of remote you have as well. Thank you for the tip!

I thought I was out of options, as I have updated my Macs to recent versions, which breaks the Myharmony app. But then I remembered that I have an old gaming PC, so I have just done it now via Win10. I am not seeing any button presses, but I have just added it as a device into Harmony, not into an activity yet. So I assume that is the issue. Going to try adding it to an activity as soon as I can.

EDIT: Tried using it in the "Device" tab, and it shows button presses.

thecreativeone91 commented 4 years ago

Has anyone got it working on the mobile app? The MyHarmony Desktop app no longer allows me to edit or make any changes to my hub, it basically just tells you to use the mobile app and only lets me make changes to the wifi network, name of the device etc. So I'm hoping to get it working with the mobile app somehow...

I'm using a One Plus 8 Pro with Android 10. I have the Harmony Hub, with the Elite remote, smart keyboard, and I think I have a companion remote paired with it too but don't really use it.

I tried it with my wife's iPhone 8 Plus running iOS 13.6.1 with the same result of "This is unfortunate, Please restart your app to proceed." as well.

thecreativeone91 commented 4 years ago

Hi Logan, In this case, unfortunately, I’m the installer. I don’t see anything in the installers portal that provides advanced device add skills. The installer portal switches you to the app when it comes time to configure the Pro 2400. I’ll continue to investigate as well. If you discover anything, let me know. Thanks. Andy From: Logan Lowe notifications@github.com Sent: Friday, July 17, 2020 1:36 PM To: AShifter/harmony-span harmony-span@noreply.github.com Cc: bikerapn bikerapn@comcast.net; Comment comment@noreply.github.com Subject: Re: [AShifter/harmony-span] Adding HarmonySpan with the Mobile App usually fails (#3) I'm having the same issue as noted above. I get the error "This is unfortunate. Please restart your app to proceed". My device always seems to find the Harmony-Span device though; it's just I get the above error. I'm using the Logitech Pro 2400 so there is no ability to connect via USB and use PC software. I must use the mobile app. The devices I've used: iPad Air 2 running iOS 13.5 Google Pixel 4XL running Android 11 Beta 2 Samsung Galaxy S20+ running Android 10 If you have any advice or guidance, that'd be great. Thanks. Andy Thanks for your report! Have you tried contacting your installer to see if they have the ability to add the HarmonySpan device? I don't have any experience with the Pro but it would be interesting to see if they could. I'll continue to investigate this issue. I've tried adding HarmonySpan across 3 different hubs on 4 different phones without success - I'll post an update here if I find anything! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJJ46JO34TO4OV7LQPOZ73R4CK2DANCNFSM4OQ6FOGQ . https://github.com/notifications/beacon/AIJJ46ME5C4MTZEZPMSW5ELR4CK2DA5CNFSM4OQ6FOG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE5NP6GY.gif

Where you able to solve this? I'm using a Pro 2400 as well and I'm the installer and unable to add. I was unable to do this with my Harmony Elite before either, which the desktop app no longer allowed me to configure.

I've tried both the Elite and Pro 2400 on an iPhone XR running iOS 14, iPhone 8 Plus on iOS 13, and One Plus 6 as well as One Plus 8 Pro running Android 10.

thecreativeone91 commented 4 years ago

Ok, So I fixed it myself.

Edit: RootResponse.xml

Change the Model name and manufacturer

Before

<device>
    <friendlyName>Webhook Bridge</friendlyName>
    <manufacturer>Logan Lowe</manufacturer>
    <manufacturerURL>http://www.github.com/ashifter/harmony-span/</manufacturerURL>
    <modelName>HarmonySpan</modelName>
    <serialNumber>HARMONY-FREEDOM</serialNumber>
    <UDN>uuid:00000000-1337-0000-1337-000000000000</UDN>
    </device>

After

<device>
    <friendlyName>Webhook Bridge</friendlyName>
    <manufacturer>Roku</manufacturer>
    <manufacturerURL>http://www.github.com/ashifter/harmony-span/</manufacturerURL>
    <modelName>Streaming Stick+</modelName>
    <serialNumber>HARMONY-FREEDOM</serialNumber>
    <UDN>uuid:00000000-1337-0000-1337-000000000000</UDN>
    </device>

You can hit the Info button beside each Streaming Stick+ when you scan the network via the Harmony Mobile app, and see which one says the Webhook Bridge, but it seams the mobile app is doing some sanity check on the Roku Model Name. Once added via the App you can do into Devices and Change the Device name to give it a friendly name instead of the model name. I tested multiple times adding and removing as well as things like serial numbers. It seems to be this causing the issue. If more can test maybe @AShifter can get this updated in the Code and Binaries?

logantgt commented 4 years ago

Fixed with #24 on my end, let me know if this works now.

pres4git commented 3 years ago

Does Harmony Span work only with Elite remote or any Hamony remotes?

I have a hamony remote with hub that doesn't have smart home buttons. I did configure everything and able to see the button pressed on the console. Also the webhook when tried from Curl as well as browser works fine, however, it isn't working from the remote.

What could be wrong? The issue as it appears is something between the Harmony Span able to fire the trigger.

thecreativeone91 commented 3 years ago

Does Harmony Span work only with Elite remote or any Hamony remotes?

I have a hamony remote with hub that doesn't have smart home buttons. I did configure everything and able to see the button pressed on the console. Also the webhook when tried from Curl as well as browser works fine, however, it isn't working from the remote.

What could be wrong? The issue as it appears is something between the Harmony Span able to fire the trigger.

You have to change the button (say pause if you want to dim lights and pause) you are wanting to control to sequence instead of command. Any buttons that let you change their use you can use as just a command as well.

pres4git commented 3 years ago

Does Harmony Span work only with Elite remote or any Hamony remotes? I have a hamony remote with hub that doesn't have smart home buttons. I did configure everything and able to see the button pressed on the console. Also the webhook when tried from Curl as well as browser works fine, however, it isn't working from the remote. What could be wrong? The issue as it appears is something between the Harmony Span able to fire the trigger.

You have to change the button (say pause if you want to dim lights and pause) you are wanting to control to sequence instead of command. Any buttons that let you change their use you can use as just a command as well.

I did try both command and as a sequence.

Here is what I did. Setup was all fine so not going there.

For button play on Harmony Span config I added the webhook URL, trigger with key. I have an activity listen music. On this activity I made the play button a sequence. Added the Harmony span play and device play.

When I turn the activity on and press Play button, on Harmony span console I see the button play pressed is recognized, however, the trigger event is not fired (lights don't turn on). BTW this is the same behavior I see both from remote as well as mobile.

Also Note10+ too have the same issue of lost connection, however, after few attempts restarting the app it connects fine. Since my test wasn't successful I could not test out further or hold the connection for long.

EDIT: It took a day :) but finally worked after I tried a fresh instance and configuration.

Trevorwelton commented 3 years ago

Hi there - I have the Harmony Elite w Hub. I can scan for devices and find the HarmonySpan, but I am getting the same error referenced by others. Is this unusable for users with only access to the phone app? Is an update coming?

Thanks,

Trevor

thecreativeone91 commented 3 years ago

Hi there - I have the Harmony Elite w Hub. I can scan for devices and find the HarmonySpan, but I am getting the same error referenced by others. Is this unusable for users with only access to the phone app? Is an update coming?

Thanks,

Trevor

If you are using one of the binary releases manually update the RootResponse.xml (with the current code) for HarmonySpan to work from the mobile app.

Trevorwelton commented 3 years ago

If you are using one of the binary releases manually update the RootResponse.xml (with the current code) for HarmonySpan to work from the mobile app.**

Many thanks for the reply. Is there another download other than the binary releases? Also, where can I download a replacement RootResponse.xml file? I can see the "CODE" button, but it just has the web address... not sure how to use it? Can you please be a little more clear on how to make this change - thanks!

EDIT - I think I found the replacement RootResponse file, but I can't figure out how to download it so I can replace the original file. This is really unclear to me. Note I have no experience with HTML or XML...

thecreativeone91 commented 3 years ago

If you are using one of the binary releases manually update the RootResponse.xml (with the current code) for HarmonySpan to work from the mobile app.**

Many thanks for the reply. Is there another download other than the binary releases? Also, where can I download a replacement RootResponse.xml file? I can see the "CODE" button, but it just has the web address... not sure how to use it? Can you please be a little more clear on how to make this change - thanks!

EDIT - I think I found the replacement RootResponse file, but I can't figure out how to download it so I can replace the original file. This is really unclear to me. Note I have no experience with HTML or XML...

You can either edit your current RootResponse.xml with something like Notepad++ and replace the contents with everything here: https://github.com/AShifter/harmony-span/blob/master/RootResponse.xml

Or download a Zip of the current code: https://github.com/AShifter/harmony-span/archive/master.zip and extract it and replace your RootResponse.xml with the one in the zip file.

Trevorwelton commented 3 years ago

Ok, thanks! So I re-read your note and picked up on the words "manually change", so I have done that and have the revised RootResponse.XML file in the folder. Do I need to re-run the .exe file or is there another step involved?

thecreativeone91 commented 3 years ago

Ok, thanks! So I re-read your note and picked up on the words "manually change", so I have done that and have the revised RootResponse.XML file in the folder. Do I need to re-run the .exe file or is there another step involved?

You should only have to close the current open one and re-launch it.

dschmidt commented 2 years ago

I'm running harmony-span from master, but I still cannot detect it via the app.

This is what is printed to console:

npm start

> harmonyspan@1.5.0 start
> node src/harmony-span.js

[~] [Webserver] Binding to all available local IPs; one is 192.168.188.78
[~] [Webserver] Found port in config-file. Using 8060
[>] [SSDP-Server] running and bound to all available network interfaces
[i] [Webserver] Configuration Menu available at http://192.168.188.78:8060/config/
[~] [Webserver] GET / from ::ffff:192.168.188.74
[i] [Webserver] Logitech Hub at ::ffff:192.168.188.74 found me! Sending RootResponse.xml...
[~] [Webserver] GET / from ::ffff:192.168.188.28
[i] [Webserver] Logitech Hub at ::ffff:192.168.188.28 found me! Sending RootResponse.xml...
[~] [Webserver] GET / from ::ffff:192.168.188.23
[i] [Webserver] Logitech Hub at ::ffff:192.168.188.23 found me! Sending RootResponse.xml...
[~] [Webserver] GET / from ::ffff:192.168.188.28
[~] [Webserver] GET / from ::ffff:192.168.188.74
[~] [Webserver] GET / from ::ffff:192.168.188.74
[~] [Webserver] GET / from ::ffff:192.168.188.28
[~] [Webserver] GET / from ::ffff:192.168.188.28
[~] [Webserver] GET / from ::ffff:192.168.188.74
[~] [Webserver] GET / from ::ffff:192.168.188.28
[~] [Webserver] GET / from ::ffff:192.168.188.74

Anything I can do to help debug this? FWIW I'm using a Harmony Elite

I don't have the Desktop App avvailable, so I would really like to use the Mobile App...

dschmidt commented 2 years ago

I restarted the Hub and now the device was detected. Hope this helps anyone