Announcement

Collapse
No announcement yet.

Jon00 Harmony Control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dannieboiz
    replied
    Originally posted by jon00 View Post
    To run multiple clients, they need to be in seperate directories.

    Therefore you would have 2 different settings.txt files:

    Code:
    HS3HostAdd=192.168.1.101
    ClientNo=1
    and
    Code:
    HS3HostAdd=192.168.1.101
    ClientNo=2
    I suspect however you only want to run one client (which will handle up to 10 Hubs) so you would only use the first configuration shown.
    That's correct, I only have 2 hub so 1 client. What happen is the ini file did't update when I added the 2nd HUB in there. I ended up removing it and and restart the program to let the data file rebuild and it's working now. Thank you

    Leave a comment:


  • jon00
    replied
    To run multiple clients, they need to be in seperate directories.

    Therefore you would have 2 different settings.txt files:

    Code:
    HS3HostAdd=192.168.1.101
     ClientNo=1
    and
    Code:
    HS3HostAdd=192.168.1.101  
     ClientNo=2
    I suspect however you only want to run one client (which will handle up to 10 Hubs) so you would only use the first configuration shown.
    Last edited by jon00; September 21, 2018, 10:21 AM.

    Leave a comment:


  • dannieboiz
    replied
    Trying to add a 2nd hub and I seem to be missing something...

    I created a copy of the file Jon00HarmonyHub1 and named it Jon00HarmonyHub2

    In both files I have the following

    Code:
    [Hub1]
    HarmonyHubIPAddress=192.168.1.115
    RestfulIPAddress=192.168.1.101
    RestfulPort=16701
    DisableDevices=0
    
    [Hub2]
    HarmonyHubIPAddress=192.168.1.104
    RestfulIPAddress=192.168.1.101
    RestfulPort=16702
    DisableDevices=0
    In file "Setting.txt" I have the following

    Code:
    HS3HostAdd=192.168.1.101
    ClientNo=1&2


    I restarted and it only found activities for Hub1. Where I screw up here?

    Leave a comment:


  • DaveMunn
    replied
    Yeah, i thought I needed it but obviously it wasn't needed, your harmony skill connects and ive taken the original harmony skill off. Now works a treat
    Many thanks once again

    Leave a comment:


  • jon00
    replied
    Did you enable the Harmony Echo skill?

    Leave a comment:


  • DaveMunn
    replied
    Can someone point me in the right direction of how to solve this (sure it has already been sorted somewhere by using different Amazon Accounts or something)

    Got various echos around the house and was successfully using Jon's Alexa Skill along with Echo location etc to turn on TV's in individual rooms just by saying turn the TV on, this was using a USBUIRT controlled by Homeseer

    Recently bought a Harmony Hub to put in the bedroom to control an old Samsung TV on and off mainly, but wherever I am in the house now if I say TV on or TV off it seems to bypass the Jon Alexa and control the bedroom TV only, without having any control over the room where the Echo is located.

    Any ideas on how to overcome it? Or have I set something up wrong??

    Leave a comment:


  • lowenna
    replied
    Ah, yes. Thanks Jon.

    Leave a comment:


  • jon00
    replied
    I only interface to the Restful API so would suspect that may be the issue. You can always look at the command window to see what is happening. There is little control when sending via bluetooth and unlike IR, you cannot set any parameters in the hub.

    You may be better off trying the newest kid on the block - MeHarmonyHub by Sirmeili. Frank has reverse engineered the Harmony app to provide direct control rather than polling the hub. It is available via the Homeseer updater for $39.95.

    Leave a comment:


  • lowenna
    replied
    Close, but not quite.

    Oh, my eyes lit up when I found this. It *almost* does exactly what I want, but unfortunately not quite. If someone could help me work out what's going wrong, I'd really appreciate it.

    Some background to explain what I want to do:

    Harmony "Activities" are pretty much useless to me. They don't give enough granular control. I need a bunch of discrete device commands that I can control, bypassing activities.

    One use is to build a bunch of remote controls in HSTouch. Another is for over-engineered Alexa-triggered events, but I won't go there....

    I started with Riens plug-in, but after buying, I found it just didn't work well enough. https://forums.homeseer.com/showthread.php?t=196267, so I turned that off and started again.

    Next iteration (which is where I currently am) is to run https://github.com/maddox/harmony-api. The solution is a little horrible, as I've spun up an Ubuntu VM on my Windows Homeseer machine to run it in a docker container. It works perfectly so far though.

    However, once I started integrating it, it's extremely cumbersome. For each button in HSTouch I want to press and send an IR code for, I have to create a new event calling a script which `curl`s a POST request to the container. Long-winded, but it works extremely reliably and with surprisingly little latency.

    So enter this plugin which creates all the devices, similar to Riens plug-in. I though my job was done and hopes were high. But alas, not.

    *MOST* discrete commands I've tried so far work flawlessly. However, some of the really important ones don't. Harmony simply never seems to send an IR signal. The best one which doesn't work so far (which is a nail in the coffin) is the "select" (or 'OK') button for an Amazon Fire TV (the fairly recent 4K one with the very short HDMI lead, not sure the exact model).

    I'm not sure now if it's the BWS restful API, or Jon's plugin itself which could be the cause. I'm positive it's not the hub itself, as it sends all the right signals using the jonmaddox container I described above. Any guidance on how to debug would be great

    Thanks,
    John.

    Leave a comment:


  • jon00
    replied
    You can use Alexa to turn on/off devices which can trigger events etc but you are still limited to what you can say. Is 'Alexa, turn on volume' better than 'Alexa, tell Homeseer to increase volume'? One is shorter but makes little sense?

    Leave a comment:


  • joelbean
    replied
    Originally posted by jon00 View Post
    Unfortunately, I have no control over this so I can only make people aware. Do you have associated remotes with your hub or control via an app only?
    Yes, I have remotes, Ultra, with the Hub. I control with both.
    I figured that this was a Harmony Hub garbage issue.

    BTW... I have Ultra's UltraPioneer AVR plugin - I have a Pioneer SC68. It allows changing the volume in a user-specified increment or to a static value. I used your Alexa helper to control this device and it works great. I have similar events that "Turn volume up" and "Turn volume up a lot." I'm going to try to use replacement variables so that I can have just one script with parameters, but I haven't ventured this far with your helper yet.

    My Homeseer script can check the current volume state and respond proportionally.

    Regarding pairing of Echos with Hubs, I'm working on making my Echos generic so that they just both integrate identically with your Harmony plugin and Alexa helper. Logitech really makes it difficult to segregate/integrate Echos - NO concept of room control. I think that controlling everything with Homeseer may be the solution. I just wish that I didn't have to preface everything with "Tell Homeseer." Someone, somewhere on the forums had a workaround for this I think - using virtual devices or something. Are you familiar with this?

    Thanks Jon.

    Leave a comment:


  • jon00
    replied
    Originally posted by joelbean View Post
    This happened with my brand new Harmony Ultra hub.
    The only pain is re-establishing events where the device IDs changed.
    Resetting and reloading the Harmony Hub is straight forward. Just use the MyHarmony app (Logitech stores your information on their server) on your PC or your Android/iPhone to resynch what they have on their server to your newly reset Harmony Hub.

    This cleared everything up for me. So, the problem has to either be with garbage remaining in the Hub or, I doubt this, Jon's polling of Hub values misses something. It might be worth checking I suppose, but I tend to think the problem is with Harmony garbage cleanup problems.
    Unfortunately, I have no control over this so I can only make people aware. Do you have associated remotes with your hub or control via an app only?

    Leave a comment:


  • jon00
    replied
    Originally posted by joelbean View Post
    Jon,
    I have now deleted the Harmony skills and all but the Homeseer Automation Skill and am attempting to use only your Harmony plugin and Alexa helper. I'm one of the people that has multiple Echos and Harmony Hubs - what a pain to get them to behave, but I think your plugin and helper may be the way forward. So far, I've had to use a different Amazon account to register the hubs separately, but this has a bunch of problems with using other features of Echos that are in the same household.

    Two things:
    1) I hate having to tell Alexa "Tell Homeseer to..." I'm hoping that you know of a solution to pair an Echo with a particular Harmony hub in your wisdom.
    2) I can't figure out how to change volume on my reciever up or down a user-specified number of units, OR to a particular volume setting.

    If you have a solution to this, you could be famous!
    Any help would be appreciated.

    Thanks.
    Looks like I'm not going to be famous. I believe that different Amazon accounts is still the only way. I can't answer No 2 either

    Leave a comment:


  • joelbean
    replied
    Originally posted by jon00 View Post
    This is interesting. I have a relatively new hub (Nov 2017) and don't see this behavior. I'm wondering if this is a characteristic of older hubs?
    This happened with my brand new Harmony Ultra hub.
    The only pain is re-establishing events where the device IDs changed.
    Resetting and reloading the Harmony Hub is straight forward. Just use the MyHarmony app (Logitech stores your information on their server) on your PC or your Android/iPhone to resynch what they have on their server to your newly reset Harmony Hub.

    This cleared everything up for me. So, the problem has to either be with garbage remaining in the Hub or, I doubt this, Jon's polling of Hub values misses something. It might be worth checking I suppose, but I tend to think the problem is with Harmony garbage cleanup problems.

    Leave a comment:


  • jon00
    replied
    Originally posted by joelbean View Post
    Hello again.
    This resembles the problem that I had where no matter what I did, I couldn't get rid of a virtual device and I couldn't get a new one added to the Harmony to show in the plugin.
    The only thing that worked was to do a hard reset on the Harmony Hub, then reload the devices and activities from MyHarmony site. I then deleted all of the virtual devices and let your plugin rebuild everything from scratch. Then, everything was synchronized again. It was a pain since the device IDs all changed and made my events break, but it worked in the end.
    This leads me to believe that the Harmony Hub itself gets messed up in what it stores. Only a plugin like yours would ever uncover a Harmony issue like this. My two cents.
    Originally posted by mikee123 View Post
    That sounds like a real pain. Dont even know how to download everything back from the my harmony site. I will try Jon00's suggestion first and delete all devices. My feeling is it wont solve the problem... I will need time to try, probably weekend after next. Google should help reading of how to download everything back onto a reset harmony hub. Going to take some time restoring events, pairing with the shield etc
    This is interesting. I have a relatively new hub (Nov 2017) and don't see this behavior. I'm wondering if this is a characteristic of older hubs?

    Leave a comment:

Working...
X