The Vera Community forums have moved!

Advanced => Plugins & Plugin Development => Programming => Harmony Hub Control => Topic started by: reneboer on December 02, 2014, 06:26:15 am

Title: Plugin: Harmony Hub Control
Post by: reneboer on December 02, 2014, 06:26:15 am
Please see the Version log posthttp://forum.micasaverde.com/index.php/topic,36437.0.html (http://forum.micasaverde.com/index.php/topic,36437.0.html) for latest release details.

Cheers Rene
Title: Re: Plugin: Harmony Hub Control
Post by: paulmon on December 04, 2014, 11:01:43 am

I was going to write this myself!  Thank you, can't wait to try it out!!
Title: Re: Plugin: Harmony Hub Control
Post by: paulmon on December 04, 2014, 11:43:47 am

Any way to get granular at the device level?  For example the "OFF" of my projector as a trigger?
Title: Re: Plugin: Harmony Hub Control
Post by: reneboer on December 04, 2014, 01:59:04 pm

Any way to get granular at the device level?  For example the "OFF" of my projector as a trigger?

Hi paulmon,

You mean fire a trigger when that button is clicked or action is send, yes that is possible. You must create create a child device with the OFF button for your projector device. You do this by selecting the device in the multi selector "Devices to Control" on the Devices tab.

Cheers Rene
Title: Re: Plugin: Harmony Hub Control
Post by: SirMeili on December 04, 2014, 06:46:40 pm

Any way to get granular at the device level?  For example the "OFF" of my projector as a trigger?
Nope, the Harmony doesn't track what state the device is at (well, it does in the case of "activities" for turning things on and off, but it doesn't report that anywhere).
Title: Re: Plugin: Harmony Hub Control
Post by: Aaron on December 05, 2014, 11:02:43 am
Is there a log for the plugin - to record all commands are sent by the remote?  This would be nice for troubleshooting, figuring out sequences, etc.

THANK YOU for making this. I have a hub on one of my TVs and this will prompt me to get another one for my media room to add more automation.

Title: Re: Plugin: Harmony Hub Control
Post by: reneboer on December 05, 2014, 11:24:44 am
Hi Aaron,

No, it only writes to the standard LUUP log file. If you need detailed logging you can set the debug flag in the .lua file.

I can look at adding syslog and a debug flag in the settings if that would help?

Cheers Rene.
Title: Re: Plugin: Harmony Hub Control
Post by: Aaron on December 05, 2014, 03:36:42 pm
reneboer,
yes, thank you... having a separate log without any other clutter, is ideal.
Title: Re: Plugin: Harmony Hub Control
Post by: tp546 on December 06, 2014, 09:02:35 pm
I just discovered this and it is awesome! One question though - is there any way to integrate this with Tasker on an Android phone/tablet? I normally use AuthomationHD but it doesn't seem to support this (I also emailed the author to ask him) as the devices show up but none of the buttons associated with them.
Title: Re: Plugin: Harmony Hub Control
Post by: reneboer on December 07, 2014, 11:45:04 am
I just discovered this and it is awesome! One question though - is there any way to integrate this with Tasker on an Android phone/tablet? I normally use AuthomationHD but it doesn't seem to support this (I also emailed the author to ask him) as the devices show up but none of the buttons associated with them.

Hi, It would be up to AutomationHD to add support for this as far as I know. One way the use it would be by creating scenes on your Vera and run those as needed.

Cheers Rene
Title: Re: Plugin: Harmony Hub Control
Post by: tp546 on December 07, 2014, 11:46:42 am
I just discovered this and it is awesome! One question though - is there any way to integrate this with Tasker on an Android phone/tablet? I normally use AuthomationHD but it doesn't seem to support this (I also emailed the author to ask him) as the devices show up but none of the buttons associated with them.

Hi, It would be up to AutomationHD to add support for this as far as I know. One way the use it would be by creating scenes on your Vera and run those as needed.

Cheers Rene

Yeah I had thought of that too, but it would be kind of tedious creating a scene just to turn something on and another to turn it off. So there aren't any known apps supporting this through Tasker then?
Title: Re: Plugin: Harmony Hub Control
Post by: Aaron on December 07, 2014, 12:06:15 pm
I use Tasker but I see no need/reason to use Tasker for controlling your A/V equipment - maybe I can learn something?

My usage, and thought process...
Tasker is best at automating phone tasks & sending info to external systems (like Vera - using Authomation)
Vera is far more robust, and clearly better, at controlling the home (lighting, A/V, etc)

Things I use Tasker for:
notifications to Vera when we are in proximity of a location (home, gym, etc) or leaving that location
NFC notifications to Vera


Why do you need Tasker for Harmony?
Title: Re: Plugin: Harmony Hub Control
Post by: tp546 on December 07, 2014, 01:24:59 pm
I use Tasker but I see no need/reason to use Tasker for controlling your A/V equipment - maybe I can learn something?

My usage, and thought process...
Tasker is best at automating phone tasks & sending info to external systems (like Vera - using Authomation)
Vera is far more robust, and clearly better, at controlling the home (lighting, A/V, etc)

Things I use Tasker for:
notifications to Vera when we are in proximity of a location (home, gym, etc) or leaving that location
NFC notifications to Vera


Why do you need Tasker for Harmony?

Well I have a few reasons:
-my lights in that room are IR controlled (bought them before I invested in Z-wave)
-I have 2 TVs in that room and normally I have the smaller one off, but I want to be able to control it using Z-wave.
-I want to be able to use "Ok Google" to do things like switch activities. For instance, if I am watching TV, I'd like to be able to say "Ok google, watch Chromecast on big TV" and have that trigger an activity change (which I will be able to do if I set up scenes that support activities).

Let me know if that helps make more sense of it. I also just like being able to control everything from a central location too, rather than bumbling through a number of apps.
Title: Re: Plugin: Harmony Hub Control
Post by: Aaron on December 07, 2014, 01:33:32 pm
    I use Tasker but I see no need/reason to use Tasker for controlling your A/V equipment - maybe I can learn something?

    My usage, and thought process...
    Tasker is best at automating phone tasks & sending info to external systems (like Vera - using Authomation)
    Vera is far more robust, and clearly better, at controlling the home (lighting, A/V, etc)

    Things I use Tasker for:
    notifications to Vera when we are in proximity of a location (home, gym, etc) or leaving that location
    NFC notifications to Vera


    Why do you need Tasker for Harmony?

    Well I have a few reasons:
    -my lights in that room are IR controlled (bought them before I invested in Z-wave)
    -I have 2 TVs in that room and normally I have the smaller one off, but I want to be able to control it using Z-wave.
    -I want to be able to use "Ok Google" to do things like switch activities. For instance, if I am watching TV, I'd like to be able to say "Ok google, watch Chromecast on big TV" and have that trigger an activity change (which I will be able to do if I set up scenes that support activities).

    Let me know if that helps make more sense of it. I also just like being able to control everything from a central location too, rather than bumbling through a number of apps.

    Tasker far from the best way and not the easiest way (it is a hack), to solve your issues.

    Replace the ir switch with zwave ($15-25), and install Authomation (free)... then you get everything you need, plus more flexibility (full Vera control for REAL automation - not just phone based control), with less "hacking" and less effort.

    just my opinion, do what you want but you are adding unnecessary complexity that no one else needs - or should even want IMO

    [/list]
    Title: Re: Plugin: Harmony Hub Control
    Post by: tp546 on December 07, 2014, 01:39:52 pm
      I use Tasker but I see no need/reason to use Tasker for controlling your A/V equipment - maybe I can learn something?

      My usage, and thought process...
      Tasker is best at automating phone tasks & sending info to external systems (like Vera - using Authomation)
      Vera is far more robust, and clearly better, at controlling the home (lighting, A/V, etc)

      Things I use Tasker for:
      notifications to Vera when we are in proximity of a location (home, gym, etc) or leaving that location
      NFC notifications to Vera


      Why do you need Tasker for Harmony?

      Well I have a few reasons:
      -my lights in that room are IR controlled (bought them before I invested in Z-wave)
      -I have 2 TVs in that room and normally I have the smaller one off, but I want to be able to control it using Z-wave.
      -I want to be able to use "Ok Google" to do things like switch activities. For instance, if I am watching TV, I'd like to be able to say "Ok google, watch Chromecast on big TV" and have that trigger an activity change (which I will be able to do if I set up scenes that support activities).

      Let me know if that helps make more sense of it. I also just like being able to control everything from a central location too, rather than bumbling through a number of apps.

      Tasker far from the best way and not the easiest way (it is a hack), to solve your issues.

      Replace the ir switch with zwave ($15-25), and install Authomation (free)... then you get everything you need, plus more flexibility (full Vera control for REAL automation - not just phone based control), with less "hacking" and less effort.

      just my opinion, do what you want but you are adding unnecessary complexity that no one else needs - or should even want IMO

      [/list]

      It's actually a lot easier this way because my girlfriend can easily turn on the lights and adjust them with the remote. She's not tech savvy so she doesn't even involve herself with Z-wave. Plus, I don't want to spend more money on a switch that is working just fine as is that I can control in much the same way (and more when you include my Harmony remote) than the Z-wave.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jlamphere on December 07, 2014, 07:46:51 pm
      by chance is there a way to control 2 remotes ? i have one downstairs and one upstairs ..

      Thanks in advance,
      Jay
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on December 08, 2014, 12:18:10 am
      Is there any way to get sequence commands from inside activities? (ie, a sequence of buttons)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 08, 2014, 05:19:26 am
      by chance is there a way to control 2 remotes ? i have one downstairs and one upstairs ..

      Thanks in advance,
      Jay
      Hi Jay,

      You can create a second Harmony Hub Control device. If you look in the instructions on how to create the device manually, you can use that for the second Hub.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 08, 2014, 05:21:24 am
      Is there any way to get sequence commands from inside activities? (ie, a sequence of buttons)
      Hi,

      Nope, the Hub does not report that over IP. You will only see that with harmony's configuration program.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jlamphere on December 09, 2014, 05:46:13 pm
      So, thank goodness I have no hair .. (id be pulling it out)
      I am new to this, always been interested in doing home automation but hey we all start somewhere.
      As I stated before I have 2 harmony remotes (both with hubs).
      Per comment I tried to install it manually, but it seems to always picks up my other hub no matter what
      ip I put into the box .. my hubs are 192.168.1.11  192.168.1.12
      I cannot seem to get them to both work, even after reading the pdf

      Advice?
      Thanks in advance
      Jay
      Title: Re: Plugin: Harmony Hub Control
      Post by: jlamphere on December 09, 2014, 11:25:34 pm
      just an update ,

      I moved one of the remotes on to another email ..
      all works .. odd yes..

      so one email per remote?

      Jay
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 10, 2014, 04:51:14 am
      Hi Jay,

      The email address is currently not really used as the current Hub versions allow you to skip it, but you never know when Harmony will update their Hub software to make it required so I'd thought to put it in just incase.

      So I do not know if you can only have one Hub per email, it does not sound right to me. Maybe the IP address of the second was not properly picked up the first time. The Vera can be slow to pickup changes in plug-in settings and sometimes you need a second reload and have a cup of coffee before you try the next think is my experience.

      But glad you did get it to work.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mgsmith75 on December 11, 2014, 12:11:37 pm
      I am having the multiple hub issues as well. I can get one or the other to function properly but not both of them at the same time. Whenever I save setting on either one it only gives me options for activities for the last saved setting on both. For instance I have 4 activities on one TV and 3 on the other. If I save the setting on the one with the 4, then both show those 4 activities with the associated devices for that TV. I have separate static IP address for each of my hubs and that is the only different piece of data in the setting tab. The 2 devices in vera seem to be talking to each other and updating each other's available activities. Any idea's?


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 11, 2014, 05:47:53 pm
      Hi Mgsmith75,

      I do not have two hubs, but I created a second Harmony device just to test and I indeed see issues. I have to dig into this one a bit as it seems in my approach when cleaning up some files that are generated on the fly. Give me a couple of days to figure this one out.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: BillyBob919 on December 11, 2014, 11:05:57 pm
      Thank you for the plugin! I'm having an issue with lag. Sometimes it's instant when I press an activity button and other times it takes up to 2 minutes for the button press to register. Is there any way to speed this up?
      Title: Re: Plugin: Harmony Hub Control
      Post by: jlamphere on December 12, 2014, 01:59:49 am
      I thought i had taken care of my issue as well..
      But i had not, seems i was to much in a rush for a simple fix.
      I can not get 2 hubs to interact ..
      grr
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on December 12, 2014, 11:07:51 am
      Thank you for the plugin! I'm having an issue with lag. Sometimes it's instant when I press an activity button and other times it takes up to 2 minutes for the button press to register. Is there any way to speed this up?

      The plugin "polls" the hub, so it depends when you press it and where it is in it's polling cycle. For instance I have my polling set to 60 seconds. So it can take up a to a minute for the plugin to see that the activity has changed (not counting the time it takes to actually query the hub). I would not expect an instantaneous change in the plugin. If you are looking for instantaneous, I would get an extra computer, put an IR sensor on it, install evenGhost and have it make URL calls to the Vera when certain IR codes are received.

      For my use though, having a little lag is perfect fine as I am only curious if the living room is in use when I hit my good night mode and if so, delay the turning off of those lights until 5 minutes after the current activity is off (-1).
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 15, 2014, 12:00:35 pm
      Hi jlamphere,

      Is your lag on starting an activity or sending a command to a device via the child devices? When you start an activity the plugin waits until the Hub reports it has completed that. Much like the remote does. Some activities can run long (mine to switch on the TV and digital receiver and switch to the right input is close to 50 seconds. I know old TV from 2008  ;D). As long at the activity is running, no other commands get send, but maybe the Vera keeps the clicks. I will need to test on that once the new version is ready to release.

      The new version will fix the multiple Hub issue, or add support for it all depending on your view. It will also have syslog support. I will need about one more week to get it all done.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on December 15, 2014, 12:49:03 pm
      Rene,

      I've noticed some strange behavior. Periodically all my child devices end up in the "No Room" room and I have to reassign them. I have "create embedded devices" set to No. When I had it set to Yes, after each restart, the devices would always go back to the room that the main device is in.

      Is there any way to have them always stay in the room I set them to?

      Thanks,
      Frank
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on December 16, 2014, 09:42:40 am
      Rene,

      I've noticed some strange behavior. Periodically all my child devices end up in the "No Room" room and I have to reassign them. I have "create embedded devices" set to No. When I had it set to Yes, after each restart, the devices would always go back to the room that the main device is in.

      Is there any way to have them always stay in the room I set them to?

      Thanks,
      Frank

      I guess it actually recreated the devices as my PLEG actions that had the device commands are now missing those commands. Is there a reason why the devices are periodically recreated?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 16, 2014, 11:44:07 am
      Rene,

      I've noticed some strange behavior. Periodically all my child devices end up in the "No Room" room and I have to reassign them. I have "create embedded devices" set to No. When I had it set to Yes, after each restart, the devices would always go back to the room that the main device is in.

      Is there any way to have them always stay in the room I set them to?

      Thanks,
      Frank

      I guess it actually recreated the devices as my PLEG actions that had the device commands are now missing those commands. Is there a reason why the devices are periodically recreated?

      Hi Frank,

      When they would realy be recreated I would think they should appear in the same room as the main device again when create embedded is Yes and if you look at all configured buttons in the Settings tab all your selections should show as empty. Are you making changes to settings when this happens, or not at all?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on December 16, 2014, 11:50:34 am
      Honestly, Rene, I don't remember if I made changes or not. I have create as embedded devices = "No" because if it is Yes, it keeps putting them in the same room as the main device. I noticed the other day they were in the "no room room" and I didn't think about it. I went to run a PLEG status report today and it removed some devices...I then searched through it and saw that the Harmony devices (not the main jhub device) were missing from their actions. I use PLEG to set my kid's Rokus to "Home" when I do the whole room shutdown. That way if they are watching something and we shut down the room, it will stop any streaming and return them home. Because of this, it is not really an action you would "see" take place.

      I'll try and keep track of what I do and don't do and if it happens again, maybe I'll be more aware of what could have caused it.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mgsmith75 on December 22, 2014, 04:03:29 pm
      Update 2.0 - So far with version 2.0 I am experiencing the same issues as 1.8 with multiple hubs. When I add the first hub with 6 activities all was well, when I added the second hub with 3 activities, the activities list shows the 6 from the first hub and not just the 3 from the current hub I am trying to set up.

      I am trying s series of reboot and browser refreshes to see if any changes but so far I am not getting it to work.


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mgsmith75 on December 22, 2014, 04:19:40 pm
      I take that back, I did get it working with some reboots and browser refreshes. The one confusing item is that when you move onto the next hub, the first hub's activity mapping is not retained in the activities tab. It shows the button name but the activities shows none. However this does not mean it is not mapped because I did check and all 3 of my hubs did operate correctly. Thanks Rene!


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 22, 2014, 06:29:24 pm
      I spend so much time trying the front end to work with multiple, I overlooked the backend. And as I only have one hub, I didn't notice. It should work if you upload these.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 22, 2014, 11:31:05 pm
      Hi, I', having trouble getting this installed. I originally had the plugin installed from the store(1.8). I deleted the plugin and devices. I also deleted all the harmony files WinSCP. I installed your latest files, including the fix2.01. I create the device as in the instructions. Reload, refresh etc. But when I go in the device, all the tabs just give me messages like" Opening hamSettings..." , Opening hamActivities..., with a status bar underneath. It never gets past this. I did try entering the IP, user and PW in the advanced tab, but still the same hold up.

      Any help would be appreciated. My other vera is running your 1.6 version, manually installed, no issues.

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 23, 2014, 05:00:24 am
      Hi John,

      Those messages suggest a syntax error in, or corrupted J_Harmony.js file. Before deleting the files, did you also uninstall the app from My Apps? When you do not the Vera will try downloading any files it finds missing, not sure if that is what happened.

      It should not be needed to delete the device before the upgrade, it should work by just uploading the new new files. But if you want a clean install that should be working too.

      I tested both scenarios (overwrite, clean install) on UI6 and UI7 and not having any issues.

      Can you check if you did uninstall, and do that if you did not, and upload the files again?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 23, 2014, 10:07:18 am
      Rene,

      Thanks for the reply. I'm on UI5 BTW, in case that makes a difference. I reinstalled the plugin, and then uploaded all the 2.01 files. I am getting further than yesterday, the list of activities comes up for both hubs, I was able to select the activities. Also the devices now come up, and I can select those. The issue that remains, I get no buttons on the control devices (activities) (still see Configure t...) and no buttons on the devices. I'm just going to leave this alone for now, just incase it's just taking longer than expected.

      Regards,

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mgsmith75 on December 23, 2014, 10:38:02 am

      Rene,

      Thanks for the reply. I'm on UI5 BTW, in case that makes a difference. I reinstalled the plugin, and then uploaded all the 2.01 files. I am getting further than yesterday, the list of activities comes up for both hubs, I was able to select the activities. Also the devices now come up, and I can select those. The issue that remains, I get no buttons on the control devices (activities) (still see Configure t...) and no buttons on the devices. I'm just going to leave this alone for now, just incase it's just taking longer than expected.

      Regards,

      John

      Did you ctl F5 to refresh browser?


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: Areb65 on December 23, 2014, 11:03:50 am
      Hi,

      In UI5 I have the same probem with the previous version, the reload will not happen automaticaly, another user found a way to force the reload and it might be the same issue here, and will be like that until we go for UI7.

      here is the comment and fixed my issue:

      I had the same issue. What eventually did it for me, and I don't know why, is I changed the "Use remote images" setting in the main device to "Yes" and after (and a restart) that the buttons showed up in the child devices. Before that, I reloaded multiple times to no avail, however if I went to the "settings" tab for the child devices, they had the correct button mappings. It just wasn't creating the buttons.

      Areb65.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 23, 2014, 05:46:00 pm
      Thanks for the reply's guys.

      Yes, I have done several refreshes(F5, CNTRL F5, Reload, and even Reboot) still no buttons.

      Yes I have set the Use Remote Images to Yes, and reloaded, refreshed, Etc. This brings up something interesting That I haven't tried. I didn't move the 2.01 images to the special directories as Rene mentioned in the optional instructions. Maybe I will try this next.

      I'm still not getting any buttons, no activity buttons, no device buttons. As you mentioned, if I go to settings, the activities are selected in the parents, and the commands are selected in the devices.

      As I mentioned before I have this working in UI5 in my other house at version 1.6, however I only set up one Hub there, I have 3 at that location. I loaded this manually before the plugin was available.

      I have two hubs here in DC, and by the time I loaded the plugin here, it was at 1.8.

      I appreciate the suggestions, I'm willing to keep trying anything if someone feels it will help.

      Regards and Happy Holidays,

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 23, 2014, 06:01:45 pm
      OK, I loaded all the icon files to the specified directories. No Luck.

      The two parents still show "configure the harmony activities...."  and the devices still show "configure the device command buttons...".

      I'm running out of ideas... LOL

      Regards,

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 24, 2014, 05:43:06 am
      Hi John,

      Can you set the log level to Debug and look in the /tmp/log/cmh/LuaUPnP.log file? Either by loggin in your Vera or by using InfoViewer?

      After you click teh Save Settings button for the Actions you should have something like this in the log (removed the time stapm data at the start of each line);

      JobHandler_LuaUPnP::HandleActionRequest device: 107 service: urn:rboer-com:serviceId:Harmony1 action: UpdateButtons <0x2fc21680>
      JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=107 <0x2fc21680>
      JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:rboer-com:serviceId:Harmony1 <0x2fc21680>
      JobHandler_LuaUPnP::HandleActionRequest argument dummy=1419416881587 <0x2fc21680>
      JobHandler_LuaUPnP::HandleActionRequest argument action=UpdateButtons <0x2fc21680>
      luup_log:107: Harmony Control: Updating buttons for Harmony device 107 <0x2b1ea000>
      luup_log:107: Harmony Control: Button definitions found : 2 <0x2b1ea000>
      luup_log:107: Harmony Control: Adding button 1, label Uit <0x2b1ea000>
      luup_log:107: Harmony Control: Adding button 2, label Radio <0x2b1ea000>
      luup_log:107: Harmony Control: Adding event 1, label Uit <0x2b1ea000>
      luup_log:107: Harmony Control: Adding event 2, label Radio <0x2b1ea000>
      JobHandler_LuaUPnP::Reload: luup.reload Critical 0 m_bCriticalOnly 0 dirty data 1 <0x2b1ea000>

      <here you should see the many reload messages...>

      luup_log:107: Harmony Control: Harmony device #107 is initializing! <0x2be9b680>
      luup_log:107: Harmony Control: Version is current : 2.0 <0x2be9b680>
      luup_log:107: Harmony Control: Using Harmony Hub: IP address 192.168.178.31 <0x2be9b680>
      luup_log:107: Harmony Control: Harmony Hub Control: init_module completed  <0x2be9b680>
      luup_log:107: Harmony Control: Harmony device #107 is starting up! <0x2e49b680>
      luup_log:107: Harmony Control: HTTPServer 0 <0x2e49b680>
      luup_log:107: Harmony Control: Harmony_CreateChildren for device  <0x2e49b680>
      luup_log:107: Harmony Control: Child devices to create : 21447853,21133487 <0x2e49b680>
      luup_log:107: Harmony Control: GetConfig <0x2e49b680>
      luup_log:107: Harmony Control: Sending command cmd=get_config <0x2e49b680>
      luup_log:107: Harmony Control: CMD: returnvalue : 200, OK, {"activity":[{"suggestedDisplay":"Default","label" <0x2e49b680>
      luup_log:107: Harmony Control: Devices found : 5 __LEAK__ this:278528 start:2404352 to 0x1aea000 <0x2e49b680>
      luup_log:107: Harmony Control: CreateChildren: Device files for 21447853 exist. __LEAK__ this:8192 start:2412544 to 0x1aec000 <0x2e49b680>
      luup_log:107: Harmony Control: Child device id HAM107_21447853 (HRM: Tv Philips), number 21447853 <0x2e49b680>
      luup_log:107: Harmony Control: CreateChildren: Device files for 21133487 exist. <0x2e49b680>
      luup_log:107: Harmony Control: Child device id HAM107_21133487 (HRM: Thuisbioscoop), number 21133487 <0x2e49b680>


      Can you let me know what you have?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: qwen3579 on December 25, 2014, 05:21:28 pm
      This plugin is phenomenal! Thank you so much for it. The only hurdle I have is remote application support. I use AuthomationHD and it does not support the plugin yet. But as a workaround I use the MultiSwitch plugin and PLEG so I can control the activities via AuthomationHD. I'm still working on the status updates though.
      Title: Re: Plugin: Harmony Hub Control
      Post by: meathead88 on December 26, 2014, 10:27:27 am
      This is great!  When will 2.0+ be in the store officially?
      I have Veras at 3 family members's houses :0  i would rather wait

      Merry Christmas!  Thanks so much!
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 26, 2014, 05:51:59 pm
      Rene,

      I'm away for the Christmas Holidays, I'll have to check when I get back to DC.

      Thanks for the reply,

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 29, 2014, 04:54:49 pm
      Rene,

      Hopefully I found the right lines....

      JobHandler_LuaUPnP::HandleActionRequest argument Code=luup.variable_set("urn:rboer-com:serviceId:Harmony1","ActivityID7","-1",102) <0x30951680>
      Device_Variable::m_szValue_set device: 102 service: urn:rboer-com:serviceId:Harmony1 variable: ActivityID7 was: EMPTY now: -1 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x30951680>
      JobHandler_LuaUPnP::HandleActionRequest device: 102 service: urn:rboer-com:serviceId:Harmony1 action: UpdateButtons <0x30951680>
      JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=102 <0x30951680>
      JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:rboer-com:serviceId:Harmony1 <0x30951680>
      JobHandler_LuaUPnP::HandleActionRequest argument dummy=1419889060463 <0x30951680>
      JobHandler_LuaUPnP::HandleActionRequest argument action=UpdateButtons <0x30951680>
      LuaInterface::CallFunction_Job device 102 function SHarmony_Harmony1_UpdateButtons_job failed [string "-- Module L_Harmony1.lua..."]:867: attempt to call field 'reload' (a nil value) <0x2b1b0000>
      Lua_Job::Run job#53 :XB? dev:102 (0xbff818) P:50 S:0 failed <0x2b1b0000>
      <Job ID="53" Name="XB?" Device="102" Created="2014-12-29 16:37:40" Started="2014-12-29 16:37:40" Completed="2014-12-29 16:37:40" Duration="0.137548000" Runtime="0.123528000" Status="Failed" LastNote=""/> <0x2b1b0000>
      JobHandler::PurgeCompletedJobs purge job#53 :XB? dev:102 (0xbff818) P:50 S:2 XB? status 2 <0x2b1b0000>
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 29, 2014, 06:55:46 pm
      Rene,

      I found out what was wrong. I definitely feel stupid. I didn't maintain the labels on the buttons. Once I did this on both activities and device commands the buttons showed up.

      I had assumed (my father always said never assume, because you make an ASS out of U and ME) that if I left them blank, they would default to the ID descriptions from the Harmony. Bad assumption.

      You may want to add an edit if the labels are left blank, but that's up to you. I would suggest that if they are left blank, use the values from the Harmony. This would require a lot less initial setup especially if you have lots of devices with lots of commands each. If a value is keyed in the label field, override the Harmony value. Just a suggestion.

      Anyway, it was definitely what we usually refer to at work as an "ID 10 T" error (Idiot  ;D)

      Thanks for all the help. Seems to be working fine with both hubs now. I'll update my other house soon, that one has three hubs. Should be a good test for the multiple hub fix.

      Regards,

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: CucK on December 29, 2014, 10:19:37 pm
      Forgive me if this is a stupid question - I have added the app to my Vera and been playing around with it for the past few hours in conjunction with my new Harmony Home Hub. I've read the app documentation and this thread but it is not clear to me: can you use this app to hit a physical button on my harmony home remote and trigger the Vera to turn a light on? If so can someone be so kind as to walk me though it? I'm on UI7.

      I have created children and can get the Vera to trigger the hub but I want to get my remote to trigger the Vera. I've tried to create scenes to watch for hub activities and buttons but no luck?

      Thanks in advance
      Title: Re: Plugin: Harmony Hub Control
      Post by: kyb2012 on December 30, 2014, 02:26:34 am
      Any chance that this plugin can be made to work with the Harmony Link?  It looks like the Harmony Home Hub, but I guess it is different.

      I tried it with the plugin and I get an error:
      Harmony Control : CMD: Failed sending command get_current_activity_id to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      The plugin appears to make a successful link using the email and password, but the list of activities and devices is not coming up.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 30, 2014, 08:05:09 am
      Hi John,

      Thanks for the log. I now see what i was missing for UI5. UI5 does not support the luup.reload function, and when i look at the wiki it does say that  ::). But if you do not know what you are looking for, you will not realize what you are looking at  ;)

      For the empty descriptions, using the defaults is a good suggestion, but not as simple as it looks to me so I have to think about that.

      I also found some issues when using IE as browser and fixing those.

      I think in a week I'll have a new version for you.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 30, 2014, 08:18:39 am
      Any chance that this plugin can be made to work with the Harmony Link?  It looks like the Harmony Home Hub, but I guess it is different.

      I tried it with the plugin and I get an error:
      Harmony Control : CMD: Failed sending command get_current_activity_id to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      The plugin appears to make a successful link using the email and password, but the list of activities and devices is not coming up.
      The Link may have a different protocol then the newer Hub devices. I do not have a Link and it is not for sale here so i cannot make it work with that, sorry.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 30, 2014, 08:21:59 am
      Forgive me if this is a stupid question - I have added the app to my Vera and been playing around with it for the past few hours in conjunction with my new Harmony Home Hub. I've read the app documentation and this thread but it is not clear to me: can you use this app to hit a physical button on my harmony home remote and trigger the Vera to turn a light on? If so can someone be so kind as to walk me though it? I'm on UI7.

      I have created children and can get the Vera to trigger the hub but I want to get my remote to trigger the Vera. I've tried to create scenes to watch for hub activities and buttons but no luck?

      Thanks in advance
      You can have the Vera detect the activity you select on your remote by setting the Polling Interval. The Harmony does not report anything else (button click for a device) so you cannot trigger any actions like that on your Vera. To control your Vera via IR you will have to add an IR receiver. Several form topics on thta exists.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: CucK on December 30, 2014, 11:12:59 am
      Excellent- thanks Rene - set the polling and it works on an activity! Great plug-in - many thanks

      CucK
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 30, 2014, 04:40:35 pm
      Hi,

      I have made version 2.02 availble on the first page of this topic. Fixes and enhancements are listed there. The user guide is availble via a link as I cannot upload it tho the forum at the moment.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 30, 2014, 11:42:42 pm
      Rene,

      Thanks for the reply. I love this app, been playing with triggers all day because I have some time off. Looking forward to update to this version when I go back to my other house tomorrow. Thanks again for all your efforts with this.

      Regards,

      John
      Title: Re: Plugin: Harmony Hub Control
      Post by: maguerrero on December 31, 2014, 02:10:53 pm
      Hi Rene,

      When upgrade to 2.02 it keep the child, but have to assign labels to buttons.
      Just for feedback.
      Title: Re: Plugin: Harmony Hub Control
      Post by: tomgru on December 31, 2014, 03:43:23 pm
      Hi Rene,

      When upgrade to 2.02 it keep the child, but have to assign labels to buttons.
      Just for feedback.

      I see same.
      Title: Re: Plugin: Harmony Hub Control
      Post by: CucK on December 31, 2014, 08:39:56 pm
      Is the version available in the MiOS apps market the most recent 2.02? it is showing:

      Updated:
      2014-12-04 04:02:46
      Current Version:
      1.8


      Thanks
      CucK
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mgsmith75 on December 31, 2014, 08:41:36 pm
      No, once it says 2.02 then it will be the most current. The only way to update to 2.02 is to manually load the files.


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 01, 2015, 08:08:27 am
      Hi,

      After uploading the new files and the Vera is done reloading a couple of times make absolutely sure you also refresh your browser else the old javascript file will still be used and you will indeed not see the commandos and descriptions you have defined.

      I submitted this version to the app market so that should show up in a couple of days.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Homer on January 02, 2015, 04:51:00 am
      Awesome plugin!

      I hope I haven't missed the answer to my question... Am I able to set more than 12 buttons for a device?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 02, 2015, 05:23:22 am
      Awesome plugin!

      I hope I haven't missed the answer to my question... Am I able to set more than 12 buttons for a device?

      Hi, If you have v1.8 installed you can change the settings to up to 24 buttons on UI5/6 and 20 on UI7. In v 2.02 this is now the hardcoded default.

      If you need more then 20/24 buttons for a device, you can make a second instance of the Harmony Control main device and add the device to that too and add the rest of the buttons you want to control. You need v2.02 to do this reliably.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Homer on January 02, 2015, 06:38:53 am
      Thanks!

      I was running the older plugin, so have updated now.

      I uploaded the files, and refreshed the browser a couple times before doing a reboot. My dashboard is up but the unit is forever busy.... not sure what's going on... I am using UI5.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Homer on January 02, 2015, 06:46:19 am
      All good now.. I closed the browser, waited a couple minutes and then tried again and i now have 24 buttons! :-)
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 04, 2015, 04:46:10 pm
      hello guys,

      Maybe I am missing something obvious here but I would like to get me one of these Harmonys if I can program it to control the light and the blinds as well as my HT. For me that would be an important use case and I cannot find it in the features. Can someone enlighten me?

      Thanks in advance!

      Quote
      Features:
      - Supports UI5, UI6 and UI7.
      - Controls the Harmony Hub Activities and Devices
      - The main harmony Hub Control device can start Activities.
      - For each Device defined on your Harmony Hub you can create a child device with buttons to send commands to that device.
      - Can poll the Harmony Hub for the currently selected Activity
      - You can trigger notifications and scenes when an Activity or Commands gets send
      - V2.02 has BinarySwitch functions for switching On/Off using AutHomationHD
      - V2.01 can support multiple Hubs by creating multiple instances of the plug in.
      - V2.0 has syslog support and configurable debug levels.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 05, 2015, 05:24:17 am
      hello guys,

      Maybe I am missing something obvious here but I would like to get me one of these Harmonys if I can program it to control the light and the blinds as well as my HT. For me that would be an important use case and I cannot find it in the features. Can someone enlighten me?

      Thanks in advance!


      Hi Hans, no that is not possible using this solution. For that you have to use one of the IR receivers discussed in other topics. The Harmony only reports the current activity over IP, but not any remote button clicks. You can basically do on your Vera what the Harmony app can.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 05, 2015, 07:00:39 am
      are there any known issues/conflicts with other plugins?
      my vera keeps restarting Lua in a enndless loop after click Install from the store ..
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 05, 2015, 09:23:25 am
      are there any known issues/conflicts with other plugins?
      my vera keeps restarting Lua in a enndless loop after click Install from the store ..
      I am not aware of any, but I of course have not been able to validate that for all that is out there. Is this directly after the download or have you been able to configure the IP address, email and password?

      If you could get paste that, what you can try is to increase the delay for Harmony_setup to more then 3 seconds to allow more time for other plugins to finish initializing. This is at the end of the L_Harmony.lua file.
         --   Schedule to finish rest of start up in a few seconds
         luup.call_delay("Harmony_Setup", 3, "", false)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 05, 2015, 10:06:35 am
      are there any known issues/conflicts with other plugins?
      my vera keeps restarting Lua in a enndless loop after click Install from the store ..
      I am not aware of any, but I of course have not been able to validate that for all that is out there. Is this directly after the download or have you been able to configure the IP address, email and password?

      it went immideatly into the restart loop. also no device where created ...
      however i used the 2.0.2 files from this thread .. the vera restarted 2 times and all back to normal ;)

      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 05, 2015, 01:11:13 pm
      hello guys,

      Maybe I am missing something obvious here but I would like to get me one of these Harmonys if I can program it to control the light and the blinds as well as my HT. For me that would be an important use case and I cannot find it in the features. Can someone enlighten me?

      Thanks in advance!


      Hi Hans, no that is not possible using this solution. For that you have to use one of the IR receivers discussed in other topics. The Harmony only reports the current activity over IP, but not any remote button clicks. You can basically do on your Vera what the Harmony app can.

      Cheers Rene

      Thanks Rene,

      I just bought one anyway and will check the forum for solutions to control lights and blinds through vera from it. Any good suggestions? I prefer a good solution over a cheap one and the least components the better. It feels silly that this hub is wifi connected as well as vera and we should need other components over software...

      And as a second question, is that because the hub just is not opened up enough for this, i.e.e its impossible without hacking it, or because the plugin has not implemented it (yet?;)

      Hans
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on January 05, 2015, 01:20:45 pm
      hello guys,

      Maybe I am missing something obvious here but I would like to get me one of these Harmonys if I can program it to control the light and the blinds as well as my HT. For me that would be an important use case and I cannot find it in the features. Can someone enlighten me?

      Thanks in advance!



      Hi Hans, no that is not possible using this solution. For that you have to use one of the IR receivers discussed in other topics. The Harmony only reports the current activity over IP, but not any remote button clicks. You can basically do on your Vera what the Harmony app can.

      Cheers Rene

      Thanks Rene,

      I just bought one anyway and will check the forum for solutions to control lights and blinds through vera from it. Any good suggestions? I prefer a good solution over a cheap one and the least components the better. It feels silly that this hub is wifi connected as well as vera and we should need other components over software...

      And as a second question, is that because the hub just is not opened up enough for this, i.e.e its impossible without hacking it, or because the plugin has not implemented it (yet?;)

      Hans


      The Harmony Ultimate Home can control devices in the SmartThings Controller. The only issue with Smart Things, IMHO, is that it uses Cloud Logic (all the logic is in the cloud, so if your internet is down, then no "automation").

      This is one of the many areas I think that MCV needs to catch up on. The partnerships that are being formed now will help define who has the better ecosystem (for lack of a better word).

      edit: moved my response out of the quotes :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 05, 2015, 03:25:22 pm
      Quote
      The Harmony Ultimate Home can control devices in the SmartThings Controller. The only issue with Smart Things, IMHO, is that it uses Cloud Logic (all the logic is in the cloud, so if your internet is down, then no "automation").

      This is one of the many areas I think that MCV needs to catch up on. The partnerships that are being formed now will help define who has the better ecosystem (for lack of a better word).

      Thanks but I am a bit allergic to hosted services... I have looked through the forum and found http://www.keene.co.uk/keene-ir-anywhere-ir-over-ip-module-single.html to be a likely candidate. It seems to be programmable to send commands diretly to Vera if I understand it correctly so I guess I could use this to do anything I want wit my harmony without soldering ;).

      Or has anyone a better solution? It seems the Keene unit can be ordered from the UK only and I live in Holland.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 06, 2015, 08:05:46 am
      Quote
      The Harmony Ultimate Home can control devices in the SmartThings Controller. The only issue with Smart Things, IMHO, is that it uses Cloud Logic (all the logic is in the cloud, so if your internet is down, then no "automation").

      This is one of the many areas I think that MCV needs to catch up on. The partnerships that are being formed now will help define who has the better ecosystem (for lack of a better word).

      Thanks but I am a bit allergic to hosted services... I have looked through the forum and found http://www.keene.co.uk/keene-ir-anywhere-ir-over-ip-module-single.html to be a likely candidate. It seems to be programmable to send commands diretly to Vera if I understand it correctly so I guess I could use this to do anything I want wit my harmony without soldering ;).

      Or has anyone a better solution? It seems the Keene unit can be ordered from the UK only and I live in Holland.

      It seems the most viable and RexBeckett seems to have it working with a Harmony see here for his plug in. http://forum.micasaverde.com/index.php/topic,14618.0.html

      It does seem Keene ships to NL, so may consider getting one my self.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 06, 2015, 09:20:42 am
      Quote

      It does seem Keene ships to NL, so may consider getting one my self.

      Cheers Rene

      Mine will be shipped today.;) Make sure you select kiraw to get the Dutch power supply.
      Still silly to need a device to convert from this lan-connected Hub via IR to the lan to Vera instead of directly through the lan..

      I installed your plugin but generating the Childs failed first try. No time to retry untill tonight.

      Any suggestion on how to fixate the hubs IP address?

      And thanks for your plugin!!
      Regards, Hand
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 06, 2015, 01:52:21 pm
      Rene,

      I tried generating the childs again since they did not appear in my ui (UI7) but no luck. It reports they are already generated but no childs have appeared in my devices....

      What to do?

      Regards,

      Hans
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 06, 2015, 03:04:13 pm
      Rene,

      I tried generating the childs again since they did not appear in my ui (UI7) but no luck. It reports they are already generated but no childs have appeared in my devices....

      What to do?

      Regards,

      Hans
      Hi Hans,

      I fix IP addresses on my router, you can typically set the DHCP server on that to assign the same IP to the MAC address each time.

      Not sure if the IP address is the reason for the issues you have. I reinstalled from the app market the plugin on UI7 today as the 2.02 version became avilble there today, and I do not have issues. It is important to wait for the Vera to completely restart (about a minute with UI7) and then refresh your browser.

      When you have child devices configured, the variable PluginHaveChildren in the Harmony Control device will show the device numbers of those child devices.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 06, 2015, 03:16:41 pm
      Quote
      I fix IP addresses on my router, you can typically set the DHCP server on that to assign the same IP to the MAC address each time.

      My cisco router doesn't support that I am afraid.

      Quote
      Not sure if the IP address is the reason for the issues you have. I reinstalled from the app market the plugin on UI7 today as the 2.02 version became avilble there today, and I do not have issues. It is important to wait for the Vera to completely restart (about a minute with UI7) and then refresh your browser.

      I installed yesterday from the app market, did wait long enough, my vera restarted a couple of times and then became stable, t some point the log mentioned something like: Harmony initialized successful after 8 seconds.

      My plugin has version 2.20141231.

      Quote
      When you have child devices configured, the variable PluginHaveChildren in the Harmony Control device will show the device numbers of those child devices.

      I checked this variable and found: 24321741,24321565,24321489,24321606,24321545

      Any ideas to check?

      Hans
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 06, 2015, 03:32:13 pm
      Hi Hans,

      Can you look at the /tmp/log/cmh/LuaUPnP.log file for anything about the Harmony in red or yellow. If you do not have ssh access you can also install the InfoViewer plug in and use that to look at the log.

      You can set the log level for the Plugin to Debug, but when the child devices are not created, it must show with any log level I think.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 06, 2015, 03:36:40 pm
      No errors so far, do have some messages like:

      Code: [Select]
      50 01/06/15 21:32:12.521 luup_log:113: AVRReceiverPlugin::handleResponse: data received NSE0Now Playing  mServer <0x3244c680>
      50 01/06/15 21:32:12.522 luup_log:113: AVRReceiverPlugin::handleResponse: Data:E0Now Playing  mServer <0x3244c680>
      50 01/06/15 21:32:12.522 luup_log:113: AVRReceiverPlugin::processMessage: Data:E0Now Playing  mServer <0x3244c680>
      50 01/06/15 21:32:12.523 luup_log:113: AVRReceiverPlugin::processMessage: Unhandled message type 'NS' <0x3244c680>
      50 01/06/15 21:32:12.637 luup_log:113: AVRReceiverPlugin::handleResponse: data received NSE1 <0x3244c680>
      50 01/06/15 21:32:12.637 luup_log:113: AVRReceiverPlugin::handleResponse: Data:E1 <0x3244c680>
      50 01/06/15 21:32:12.638 luup_log:113: AVRReceiverPlugin::processMessage: Data:E1 <0x3244c680>
      50 01/06/15 21:32:12.638 luup_log:113: AVRReceiverPlugin::processMessage: Unhandled message type 'NS' <0x3244c680>
      50 01/06/15 21:32:12.731 luup_log:113: AVRReceiverPlugin::handleResponse: data received NSE2 <0x3244c680>
      50 01/06/15 21:32:12.731 luup_log:113: AVRReceiverPlugin::handleResponse: Data:E2 <0x3244c680>
      50 01/06/15 21:32:12.732 luup_log:113: AVRReceiverPlugin::processMessage: Data:E2 <0x3244c680>
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 06, 2015, 03:50:58 pm
      No errors so far, do have some messages like:

      Code: [Select]
      50 01/06/15 21:32:12.521 luup_log:113: AVRReceiverPlugin::handleResponse: data received NSE0Now Playing  mServer <0x3244c680>
      50 01/06/15 21:32:12.522 luup_log:113: AVRReceiverPlugin::handleResponse: Data:E0Now Playing  mServer <0x3244c680>

      These are not Harmony related, those will say "Harmony something something ...."

      Can you do a reload (at the bottom of the advanced settings pannel of each device) and see what happens then. At a reload the child devices are created when not yet existing.
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 06, 2015, 04:04:49 pm
      Hello Rene,

      I did a reload and a reboot but to make it more clear, there are no child devices. Just the Harmony which lists the devices and they are grayed but just do not show up anywhere.

      A part of the log:

      Code: [Select]
      06 01/06/15 21:55:23.076 Device_Variable::m_szValue_set device: 257 service: urn:rboer-com:serviceId:Harmony1 variable: LinkStatus was: -- now: Ok #hooks: 0 upnp: 0 skip: 0 v:0x11dc508/NONE duplicate:0 __LEAK__ this:147456 start:7020544 to 0x2588000 <0x30ef4680>
      06 01/06/15 21:55:23.078 Device_Variable::m_szValue_set device: 257 service: urn:rboer-com:serviceId:Harmony1 variable: LastCommand was: -- now: list_devices #hooks: 0 upnp: 0 skip: 0 v:0x11d2f38/NONE duplicate:0 <0x30ef4680>
      50 01/06/15 21:55:23.091 luup_log:0: DataWatcher2: Vera-30102864.180.urn:micasaverde-com:serviceId:GenericSensor1.CurrentLevel 1024.8 1420577723 <0x300f4680>
      06 01/06/15 21:55:23.092 Device_Variable::m_szValue_set device: 180 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: AbsolutePressure was: 1025.1 now: 1025.5 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.093 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: SlaapkamerTemperature was: 16.7 now: 16.6 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.093 Device_Variable::m_szValue_set device: 177 service: urn:upnp-org:serviceId:TemperatureSensor1 variable: CurrentTemperature was: 16.7 now: 16.6 #hooks: 1 upnp: 0 skip: 0 v:0xf6aff8/NONE duplicate:0 <0x300f4680>
      50 01/06/15 21:55:23.095 luup_log:0: DataWatcher2: Vera-30102864.177.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature 16.6 1420577723 <0x300f4680>
      06 01/06/15 21:55:23.096 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: SlaapkamerNoise was: 38 now: 39 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.097 Device_Variable::m_szValue_set device: 181 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: CurrentLevel was: 38 now: 39 #hooks: 1 upnp: 0 skip: 0 v:0x118fdc0/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.100 Device_Variable::m_szValue_set device: 257 service: urn:rboer-com:serviceId:Harmony1 variable: LastCommandTime was: -- now: 21:55:23 Tue, 06 Jan 2015 #hooks: 0 upnp: 0 skip: 0 v:0x11dc640/NONE duplicate:0 <0x30ef4680>
      50 01/06/15 21:55:23.119 luup_log:0: DataWatcher2: Vera-30102864.181.urn:micasaverde-com:serviceId:GenericSensor1.CurrentLevel 39 1420577723 __LEAK__ this:4096 start:7024640 to 0x2589000 <0x300f4680>
      06 01/06/15 21:55:23.120 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: SlaapkamerCO2 was: 511 now: 493 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.121 Device_Variable::m_szValue_set device: 179 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: CurrentLevel was: 511 now: 493 #hooks: 1 upnp: 0 skip: 0 v:0x118fdc0/NONE duplicate:0 <0x300f4680>
      50 01/06/15 21:55:23.122 luup_log:0: DataWatcher2: Vera-30102864.179.urn:micasaverde-com:serviceId:GenericSensor1.CurrentLevel 493 1420577723 <0x300f4680>
      06 01/06/15 21:55:23.123 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: RegenTimeUtc was: 1420577082 now: 1420577685 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.124 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: WoonkamerMaxTemp was: 20.2 now: 20.3 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.126 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: WoonkamerTemperature was: 20.2 now: 20.3 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.127 Device_Variable::m_szValue_set device: 174 service: urn:upnp-org:serviceId:TemperatureSensor1 variable: CurrentTemperature was: 20.2 now: 20.3 #hooks: 1 upnp: 0 skip: 0 v:0xf6aff8/NONE duplicate:0 <0x300f4680>
      50 01/06/15 21:55:23.128 luup_log:0: DataWatcher2: Vera-30102864.174.urn:upnp-org:serviceId:TemperatureSensor1.CurrentTemperature 20.3 1420577723 <0x300f4680>
      06 01/06/15 21:55:23.149 Device_Variable::m_szValue_set device: 174 service: urn:upnp-org:serviceId:TemperatureSensor1 variable: MaxTemp was: 20.2 now: 20.3 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 __LEAK__ this:12288 start:7036928 to 0x258c000 <0x300f4680>
      06 01/06/15 21:55:23.150 Device_Variable::m_szValue_set device: 174 service: urn:upnp-org:serviceId:TemperatureSensor1 variable: DateMaxTemp was: 1420575863 now: 1420577351 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.151 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: WoonkamerDewPoint was: 8.5 now: 8.6 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.152 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: WoonkamerCO2 was: 1128 now: 1182 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.153 Device_Variable::m_szValue_set device: 176 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: CurrentLevel was: 1128 now: 1182 #hooks: 1 upnp: 0 skip: 0 v:0x118fdc0/NONE duplicate:0 <0x300f4680>
      50 01/06/15 21:55:23.154 luup_log:0: DataWatcher2: Vera-30102864.176.urn:micasaverde-com:serviceId:GenericSensor1.CurrentLevel 1182 1420577723 <0x300f4680>
      06 01/06/15 21:55:23.155 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: WoonkamerDateMaxTemp was: 1420575863 now: 1420577351 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.156 Device_Variable::m_szValue_set device: 171 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: WoonkamerTimeUtc was: 1420577044 now: 1420577659 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.158 Device_Variable::m_szValue_set device: 171 service: urn:akbooer-com:serviceId:Netatmo1 variable: Timestamp was: Tue 21:47 now: Tue 21:55 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x300f4680>
      06 01/06/15 21:55:23.179 Device_Variable::m_szValue_set device: 171 service: urn:akbooer-com:serviceId:Netatmo1 variable: AppMemoryUsed was: 533 now: 646 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 __LEAK__ this:28672 start:7065600 to 0x2593000 <0x300f4680>
      50 01/06/15 21:55:23.180 luup_log:171: Netatmo: poll complete <0x300f4680>
      06 01/06/15 21:55:24.935 Device_Variable::m_szValue_set device: 258 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: DeviceID was: EMPTY now: 24321741 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 __LEAK__ this:372736 start:7438336 to 0x25ee000 <0x30ef4680>
      06 01/06/15 21:55:24.936 Device_Variable::m_szValue_set device: 258 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: HubName was: EMPTY now: Harmony Control #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      06 01/06/15 21:55:25.090 Device_Variable::m_szValue_set device: 144 service: urn:demo-ted-striker:serviceId:PingSensor1 variable: CurrentFailureCount was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 __LEAK__ this:8192 start:7446528 to 0x25f0000 <0x2f0f4680>
      09 01/06/15 21:55:25.165 Child_Devices::ProcessChildDevice created device 258 id HAM257_24321741 under 257 topmost parent 257 __LEAK__ this:8192 start:7454720 to 0x25f2000 <0x30ef4680>
      06 01/06/15 21:55:25.166 Device_Variable::m_szValue_set device: 259 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: DeviceID was: EMPTY now: 24321565 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      06 01/06/15 21:55:25.167 Device_Variable::m_szValue_set device: 259 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: HubName was: EMPTY now: Harmony Control #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      09 01/06/15 21:55:25.301 Child_Devices::ProcessChildDevice created device 259 id HAM257_24321565 under 257 topmost parent 257 <0x30ef4680>
      06 01/06/15 21:55:25.302 Device_Variable::m_szValue_set device: 260 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: DeviceID was: EMPTY now: 24321489 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      06 01/06/15 21:55:25.303 Device_Variable::m_szValue_set device: 260 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: HubName was: EMPTY now: Harmony Control #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      09 01/06/15 21:55:25.398 Child_Devices::ProcessChildDevice created device 260 id HAM257_24321489 under 257 topmost parent 257 __LEAK__ this:8192 start:7462912 to 0x25f4000 <0x30ef4680>
      06 01/06/15 21:55:25.420 Device_Variable::m_szValue_set device: 261 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: DeviceID was: EMPTY now: 24321606 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      06 01/06/15 21:55:25.420 Device_Variable::m_szValue_set device: 261 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: HubName was: EMPTY now: Harmony Control #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      09 01/06/15 21:55:25.515 Child_Devices::ProcessChildDevice created device 261 id HAM257_24321606 under 257 topmost parent 257 <0x30ef4680>
      06 01/06/15 21:55:25.517 Device_Variable::m_szValue_set device: 262 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: DeviceID was: EMPTY now: 24321545 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      06 01/06/15 21:55:25.518 Device_Variable::m_szValue_set device: 262 service: urn:rboer-com:serviceId:HarmonyDevice1 variable: HubName was: EMPTY now: Harmony Control #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      09 01/06/15 21:55:25.634 Child_Devices::ProcessChildDevice created device 262 id HAM257_24321545 under 257 topmost parent 257 __LEAK__ this:4096 start:7467008 to 0x25f5000 <0x30ef4680>
      06 01/06/15 21:55:25.634 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: LastDongleBackup was: 1420511982 now:  #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x30ef4680>
      06 01/06/15 21:55:26.415 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: LastUser was: User 1 now: User 1 #hooks: 0 upnp: 0 skip: 0 v:0xfa27c8/NONE duplicate:0 __LEAK__ this:196608 start:7663616 to 0x2625000 <0x32778680>
      06 01/06/15 21:55:26.416 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: ChimeEnabled was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xfa2058/NONE duplicate:1 <0x32778680>
      06 01/06/15 21:55:26.416 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: AlarmMemory was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xfa2480/NONE duplicate:0 <0x32778680>
      06 01/06/15 21:55:26.417 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: Alarm was: None now: None #hooks: 0 upnp: 0 skip: 0 v:0xfa1e98/NONE duplicate:1 <0x32778680>
      06 01/06/15 21:55:26.417 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: DetailedArmMode was: Disarmed now: Ready #hooks: 2 upnp: 0 skip: 0 v:0xf97038/NONE duplicate:0 <0x32778680>
      07 01/06/15 21:55:26.418 Event::Evaluate 23  scene Alarm Aan Thuis is false repeat 0/-1 <0x32778680>
      07 01/06/15 21:55:26.418 Event::Evaluate 24  scene Alarm Aan Weg is false repeat 0/-1 <0x32778680>
      06 01/06/15 21:55:26.449 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: ArmMode was: Disarmed now: Disarmed #hooks: 1 upnp: 0 skip: 0 v:0xf96fc0/NONE duplicate:1 <0x32778680>
      06 01/06/15 21:55:26.484 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: LastUser was: User 1 now: User 1 #hooks: 0 upnp: 0 skip: 0 v:0xfa27c8/NONE duplicate:0 <0x32778680>
      06 01/06/15 21:55:26.484 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: ChimeEnabled was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xfa2058/NONE duplicate:1 <0x32778680>
      06 01/06/15 21:55:26.485 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: AlarmMemory was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xfa2480/NONE duplicate:0 <0x32778680>
      06 01/06/15 21:55:26.485 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: Alarm was: None now: None #hooks: 0 upnp: 0 skip: 0 v:0xfa1e98/NONE duplicate:1 <0x32778680>
      06 01/06/15 21:55:26.486 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: DetailedArmMode was: Ready now: Disarmed #hooks: 2 upnp: 0 skip: 0 v:0xf97038/NONE duplicate:0 <0x32778680>
      07 01/06/15 21:55:26.486 Event::Evaluate 23  scene Alarm Aan Thuis is false repeat 0/-1 <0x32778680>
      07 01/06/15 21:55:26.487 Event::Evaluate 24  scene Alarm Aan Weg is false repeat 0/-1 <0x32778680>
      06 01/06/15 21:55:26.487 Device_Variable::m_szValue_set device: 14 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: ArmMode was: Disarmed now: Disarmed #hooks: 1 upnp: 0 skip: 0 v:0xf96fc0/NONE duplicate:1 <0x32778680>
      01 01/06/15 21:55:26.913 UserData::WriteUserData saved--before move File Size: 87685 save size 87685 <0x30ef4680>
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on January 06, 2015, 04:33:28 pm
      Hello Rene,

      I took the liberty of deleting the app and reinstalling it and again adding the child devices and now with result! No idea what went wrong last time. The only difference I can think of is that this time I used settings to add ip, user id and password while on the previous install i used the advanced tab, but maybe there was just a hickup of some sort. I do have some experiences with hickups ;(.

      Will see wether all works now and keep you posted!

      Hans
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 07, 2015, 04:27:02 am
      Hello Rene,

      I took the liberty of deleting the app and reinstalling it and again adding the child devices and now with result! No idea what went wrong last time. The only difference I can think of is that this time I used settings to add ip, user id and password while on the previous install i used the advanced tab, but maybe there was just a hickup of some sort. I do have some experiences with hickups ;(.

      Will see wether all works now and keep you posted!

      Hans
      Hi Hans,

      Good to hear it is now working. It is better to use the settings tab then the Advanced as the save button on the settings tab will also trigger a reload and as this plug in rewrites the json and some xml files a reload is required to pick up the changes.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 10, 2015, 07:02:19 am
      quick question, is there any way to actually "see" the mode has been chosen by the remote on vera ?

      all it shows right now is "list_device" .. as last command .. but i never see a action/scene to be active ... now do the triggers based on this work ...
      is there anything i have set up wrong ?


      another thing is the bluetooth error ...

      Code: [Select]
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=401, errormessage=Bluetooth not paired
      not sure where this is from (not use bluetooth at all)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 10, 2015, 12:03:10 pm
      quick question, is there any way to actually "see" the mode has been chosen by the remote on vera ?

      all it shows right now is "list_device" .. as last command .. but i never see a action/scene to be active ... now do the triggers based on this work ...
      is there anything i have set up wrong ?


      another thing is the bluetooth error ...

      Code: [Select]
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=401, errormessage=Bluetooth not paired
      not sure where this is from (not use bluetooth at all)
      Hi,

      You will see the current activity when you set the Current Activity Poll Interval to anythis else then zero the Vera will show the current activity.

      I think there is some setup issue with your Hub causing the bluetooth error. Have you tried the Harmony App?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 11, 2015, 09:10:05 am
      You will see the current activity when you set the Current Activity Poll Interval to anythis else then zero the Vera will show the current activity.

      that fixed it ;)  thanks for that ... the Bluetooth thing i have not solved yet ...
      i made about 95% of the setup using the Mac application and sync via USB
      later then i used the iOS app .. but i was not at home .. maybe that causes it ..

      well everything working just fine ...

      do you maybe have a hint on how i can use a Button as a aswitch ?
      the idea behind it is to use the harmony physical remote to trigger some HA items "on key press"
      the sub-devices added working just fine .. BUT i need to press the button longer as the interval time is for the plug-in to register it ..
      well thats not a plugin issue .. its just how things are, but maybe someone can point me in the right direction ?

      i did set up a fake Device which does not really exist .. and just map the functions comming with it to vera-triggers ..
      in theory this should work if i can find a device that actually keep the status and not do momentary acations ..
      anyone a ware of a harmony device maybe capable of doing this ?
      Title: Re: Plugin: Harmony Hub Control
      Post by: twerdahl on January 11, 2015, 12:49:21 pm
      Forgive me if this is a stupid question - I have added the app to my Vera and been playing around with it for the past few hours in conjunction with my new Harmony Home Hub. I've read the app documentation and this thread but it is not clear to me: can you use this app to hit a physical button on my harmony home remote and trigger the Vera to turn a light on? If so can someone be so kind as to walk me though it? I'm on UI7.

      I have created children and can get the Vera to trigger the hub but I want to get my remote to trigger the Vera. I've tried to create scenes to watch for hub activities and buttons but no luck?

      Thanks in advance
      You can have the Vera detect the activity you select on your remote by setting the Polling Interval. The Harmony does not report anything else (button click for a device) so you cannot trigger any actions like that on your Vera. To control your Vera via IR you will have to add an IR receiver. Several form topics on thta exists.

      Cheers Rene

      I'm trying to determine if my question is related to CucK's.  I have the Harmony Home Control and the remote has dedicated Home Automation buttons (see attached image).  I would like to map these to scenes.  I know that Vera is not natively supported by this Harmony, but I'm hoping there is a plugin or "hack" that would allow this.  The Harmony UI is somewhat restrictive about how these buttons are mapped (not as flexible as their other buttons).

      Thanks,
      Tim
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 12, 2015, 05:00:34 am
      Hi Nullx8, twerdahl,

      You can use a Keene IR module, Rex's KiraRx plug in and a dummy device on your Harmony to trigger a scene that is not related to the current activity on the Harmony. A few posts back you find the links to Rex's plug in and all details. I just installed the module and plug in and it works great. Eliminated my z-wave remote for the lights and can now do that with my Harmony remote.

      http://forum.micasaverde.com/index.php/topic,28689.msg211802.html#msg211802 (http://forum.micasaverde.com/index.php/topic,28689.msg211802.html#msg211802)

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 13, 2015, 03:02:35 am
      short question
      everything works perfectly .. even my activity based z-wave commands are almost instantly.

      however .. after some time the icon in the master plugin stays Blue .. and it does not update the status anymore until the next lua restart ...

      any idea what that could be ?

      everything works perfectly for about 10-15 times ... and then it just stops and the icon stays blue
      also clicking activity buttons on the UI (UI5) .. just beeing ignored ... basically nothing happens anymore.

      Link Status says: Error


      i guess this is related to the network itself .. and since this is wifi based ... its easy to happen.
      my suggestion would be to have some sort of auto retry the connection after a failure ..

      using 2.0.2 of the plugin
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 13, 2015, 05:58:24 am
      short question
      everything works perfectly .. even my activity based z-wave commands are almost instantly.

      however .. after some time the icon in the master plugin stays Blue .. and it does not update the status anymore until the next lua restart ...

      any idea what that could be ?

      everything works perfectly for about 10-15 times ... and then it just stops and the icon stays blue
      also clicking activity buttons on the UI (UI5) .. just beeing ignored ... basically nothing happens anymore.

      Link Status says: Error


      i guess this is related to the network itself .. and since this is wifi based ... its easy to happen.
      my suggestion would be to have some sort of auto retry the connection after a failure ..

      using 2.0.2 of the plugin
      To how many seconds do you have the poll time set? Maybe there is some clash in setting to poll time too short and other commands. I have mine set at 60 seconds and not seeing this issue. I am using a busy flag to make sure no two commands get send at the same time and it seems the plugin stays in the busy status when some condition occurs. I'll go over the code to see if I can find how that may happen and see if I should set a limit on the busy status so the error would clear automatically.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 13, 2015, 06:31:21 am
      To how many seconds do you have the poll time set? Maybe there is some clash in setting to poll time too short and other commands.

      in all honesty .. i actually do stress it alittle .. in order to have the z-wave commands (simple vera triggers) to fire as quickly as possible (wife mode) ;)

      the polling is set to 15 sec and i set the re-try count to 6 now ... i will stress it a little bit more for more clear data on how it occours ...
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 14, 2015, 05:59:32 pm
      To how many seconds do you have the poll time set? Maybe there is some clash in setting to poll time too short and other commands.

      in all honesty .. i actually do stress it alittle .. in order to have the z-wave commands (simple vera triggers) to fire as quickly as possible (wife mode) ;)

      the polling is set to 15 sec and i set the re-try count to 6 now ... i will stress it a little bit more for more clear data on how it occours ...
      Hi,

      Can you try this one? I added two timeouts. One incase the connection goes bad in the middle of a command reply. The other is the busy status lasts more then a minute. I tried to get it to miss a single command but it did not even after 20-30 in a row.

      Let me know how this works for you.

      Cheers Rene
      Title: Plugin: Harmony Hub Control
      Post by: jsimon on January 14, 2015, 06:26:47 pm
      Question I have a Vera 3 ui7 my harmony plug in has crashed my system 2x now. What could i be doing wrong?Is any one else having this problem?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Aaron on January 14, 2015, 10:19:34 pm
      Reneboer
      Did you see Logitech released the api today?

      Sent from my HTC6525LVW using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 15, 2015, 01:49:13 am
      Reneboer
      Did you see Logitech released the api today?

      great news .. BUT . it looks like they will be quite Picky ..
      http://www.myharmony.com/discover/harmony-api/

      hopefully my worries are thin air ...
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 15, 2015, 07:02:31 am
      Question I have a Vera 3 ui7 my harmony plug in has crashed my system 2x now. What could i be doing wrong?Is any one else having this problem?
      Hi, I am running it on a VeraLite with UI6 and one with UI7 and not having issues. What do you see when it crashes? Can you set the loglevel to debug and see what causes the Vera to crash?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 15, 2015, 07:10:02 am
      the Store version (1.8 somethings) also killed my vera ...
      (had to hard remove the plugin in order to get it out of the crash loop) VeraLite UI5

      but the 2.0.1 (and now 2.0.3) versions are pretty stable ...

      well by stable i mean "the vera does not crash more than it does already" ;)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 15, 2015, 07:10:56 am
      Reneboer
      Did you see Logitech released the api today?

      great news .. BUT . it looks like they will be quite Picky ..
      http://www.myharmony.com/discover/harmony-api/

      hopefully my worries are thin air ...
      I dropped them an email so lets see what they say.
      Update: I know what they say; it is still underdevelopment will be released soon. So I'll be waiting for soon to happen I guess  ;).
      Title: Re: Plugin: Harmony Hub Control
      Post by: hmspain on January 20, 2015, 12:55:11 am
      Has anyone seen the Harmony plugin create a ' ' directory in /overlay/www/cmh/skins/default/icons?  My Vera 3 is prevented from upgrading due to a limited amount of disk space in /overlay, and I was searching for files that are no longer used.  I came across a small set of Harmony files in this "blank" ' ' directory.

      cd /overlay/www/cmh/skins/default/icons
      cd ' '
      ls -l *Harmon*
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 20, 2015, 02:55:02 am
      I came across a small set of Harmony files in this "blank" ' ' directory.

      confirmed .. on my veralite

      the directory is there

      Code: [Select]
      root@vera:/overlay/www/cmh/skins/default/icons/ # ls -alh '/overlay/www/cmh/skins/default/icons/ '
      drwxr-xr-x    2 root     root           0 Jan  5 18:44 .
      drwxr-xr-x    4 root     root           0 Jan  5 21:53 ..
      -rw-r--r--    1 root     root        2.3K Jan  5 18:44 Harmony.png
      -rw-r--r--    1 root     root        2.3K Jan  5 18:44 Harmony_0.png
      -rw-r--r--    1 root     root        2.4K Jan  5 18:44 Harmony_100.png
      -rw-r--r--    1 root     root        2.4K Jan  5 18:44 Harmony_25.png
      -rw-r--r--    1 root     root        2.5K Jan  5 18:44 Harmony_50.png
      -rw-r--r--    1 root     root        2.5K Jan  5 18:44 Harmony_75.png

      based on the timestamp i can be sure they where created by the store-version (1.8)
      as i have a set of "newer" files in /overlay/www/cmh/skins/default/icons/ with the timestamp of the time i installed the svn version (2.0.1)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 20, 2015, 04:51:21 am
      Hi,

      The extra folder was a 1.8 issue and no longer happens with the latest version that is on the app store.

      Cheers Rene.
      Title: Feature Request ? Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 24, 2015, 11:46:05 am
      quick question .. is it somhow possible to manually "poll" the Harmony Hub instead of using the Poll time setting ?

      the idea is to simply have a Long time set to poll the Hub as standard ... but if the status is become crutial .. i could just have it execute the polling of the hub via lua ...

      just an idea
      Title: Re: Feature Request ? Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 25, 2015, 09:09:16 am
      quick question .. is it somhow possible to manually "poll" the Harmony Hub instead of using the Poll time setting ?

      the idea is to simply have a Long time set to poll the Hub as standard ... but if the status is become crutial .. i could just have it execute the polling of the hub via lua ...

      just an idea
      In LUA you can call GetCurrentActivityID as shown in the user guide.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on January 27, 2015, 12:39:38 pm
      All I have to say is WOW

      This is amazing. When I bought my Veralite, I wasn't even aware that I could control my Harmony Hubs. It was a breeze setting this up with my two Hubs and they work great (I downgraded to UI5 for reliability).

      Thanks, Rene, you just opened up a whole lot of possibilities to aid me in my quest for the ultimate WAF :-)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 27, 2015, 05:50:02 pm
      Hi aptalca,

      Thanks for the compliment.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: antrock on January 30, 2015, 11:19:26 am
      Rene,

      In theory if you get access to Logitech's API's do you think it would be possible to trigger scenes and toggle devices through a Harmony remote sometime in the future? This would be an elegant solution for me and would make the system I built around Vera useful for non-geeks (gf, parents)  ;D

      Great job on the plugin BTW.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 30, 2015, 01:29:40 pm
      This would be an elegant solution for me and would make the system I built around Vera useful for non-geeks (gf, parents)  ;D

      well my Vera does not need any Knowledge to "use it" at all ... so i dont really have the issue about human compatiblity ..
      but since having the harmony + sitting on sofa + beeing extremly lazy .. its just the perfect device to put some HA related functions on.

      to accomplish that i simply added a 2$ Infrared sensor to the reaspberry and hide it behind my in-wall tablet for the house.
      the infrared service simply executes Curl (triggers virtual motion sensors on the vera on certain Infrared commands)

      learned this as a fake device to the Harmony .. rest is straight forward button mapping and on the vera some triggers .. ;)

      and even grandma can turn on the Ceiling Fan now without knowing that there is anything HA related working for her, she just presses the Yellow button ;)

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 31, 2015, 07:17:38 am
      Hi antrock,

      I have not heard back from Logitech on the API, just that it will be 'soon'. Not sure if that API would mean a Hub only solution could also trigger scenes on anything else than an activity.

      As you read from nullx8 reply there are other options. Currently I am experimenting with the Keene IR anywhere with the Kira IR plugin from RexBeckett as an IR receiver and also using a dummy IR device on the Harmony to send IR commands that way. For now I use a Timeguard RLS010 that can send four different IR commands. I plan to write some instructions on how to use the combo. Not as cheap as nullx8 solution, but if you do not have raspberry pi skills it is as close to spouse/parent proof as you can get  ;).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 31, 2015, 07:47:56 am
      I have not heard back from Logitech on the API, just that it will be 'soon'. Not sure if that API would mean a Hub only solution could also trigger scenes on anything else than an activity.

      somehow i doubt this will happen at all .. at least not in a clear/clean API manner .. since this would generate competition for Logitech own products.

      i guess a iTach with IRIn would be the "better" solution .. but ALOT less cool ;P
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on January 31, 2015, 07:54:26 am
      unrelated to the plugin ...
      does anyone know if its possible to "hack" the Harmony so the "off" status is a Harmony scene as well (Harmony activity) ...
      specially for HA related things that what is missing .. as you may walk by just want to turn some lights .. without using any other AV Equipment ..

      does anyone have a Smart Home edition of the harmony ?
      does this work on a Home Hub ? .. i have a standard one.
      Title: Re: Plugin: Harmony Hub Control
      Post by: barond on February 02, 2015, 11:17:46 pm
      Maybe I am dim, but I have tried to install on my vera lite and it fails to find my hub. is the Harmony Ultimate home supported (I have tried to search, but no luck).
      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 03, 2015, 04:16:53 am
      Hi barond,

      You have to configure the IP address of the hub into the plugin settings. It will not search for it automatically. You will have to look on your local router or use the phone app to look that up. If possible configure your wifi router to assign the same IP each time.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control re-trigger
      Post by: nullx8 on February 14, 2015, 08:52:39 pm
      There is a nasty thing,

      It apears the plugin does execute things even if they do have the status already,
      This causes my tv-backlight to "reset" every time the plugin do make a poll,
      I do have some triggers for this based on the harmony activity.

      On the hardware (harmony) side its vital to do this (this makes sure ir will be re-send) but on the vera side its makes alot of internal processing
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on February 15, 2015, 02:16:07 pm
      Hi antrock,

      I have not heard back from Logitech on the API, just that it will be 'soon'. Not sure if that API would mean a Hub only solution could also trigger scenes on anything else than an activity.

      As you read from nullx8 reply there are other options. Currently I am experimenting with the Keene IR anywhere with the Kira IR plugin from RexBeckett as an IR receiver and also using a dummy IR device on the Harmony to send IR commands that way. For now I use a Timeguard RLS010 that can send four different IR commands. I plan to write some instructions on how to use the combo. Not as cheap as nullx8 solution, but if you do not have raspberry pi skills it is as close to spouse/parent proof as you can get  ;).

      Cheers Rene

      Hi Rene,
      Any update on this? I set up a bunch of scenes for buttons as a workaround but they are slowing down my Vera and making it work inconsistently I think. Let me know. Thanks!
      Title: Re: Plugin: Harmony Hub Control re-trigger
      Post by: reneboer on February 16, 2015, 05:22:38 am
      There is a nasty thing,

      It apears the plugin does execute things even if they do have the status already,
      This causes my tv-backlight to "reset" every time the plugin do make a poll,
      I do have some triggers for this based on the harmony activity.

      On the hardware (harmony) side its vital to do this (this makes sure ir will be re-send) but on the vera side its makes alot of internal processing
      Hi nullx8,
      So if I understand correctly you have scene triggers on the current activity and these seem to fire at each poll? I have not experienced this my self. The polling does not set the CurrentActivityID value unless it really changed or when the Vera reloads. You are not referring to any activity on child devices right? Because those will (should) retrigger each time you do a button click on the Vera interface (but not from any remote).
      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 16, 2015, 05:30:44 am
      Hi antrock,

      I have not heard back from Logitech on the API, just that it will be 'soon'. Not sure if that API would mean a Hub only solution could also trigger scenes on anything else than an activity.

      As you read from nullx8 reply there are other options. Currently I am experimenting with the Keene IR anywhere with the Kira IR plugin from RexBeckett as an IR receiver and also using a dummy IR device on the Harmony to send IR commands that way. For now I use a Timeguard RLS010 that can send four different IR commands. I plan to write some instructions on how to use the combo. Not as cheap as nullx8 solution, but if you do not have raspberry pi skills it is as close to spouse/parent proof as you can get  ;).

      Cheers Rene

      Hi Rene,
      Any update on this? I set up a bunch of scenes for buttons as a workaround but they are slowing down my Vera and making it work inconsistently I think. Let me know. Thanks!
      No update on the Harmony API no. But the keene IR receiver with the KiraRX plugin from Rex does allow you to learn it some of the key codes you use with your Harmony and then driver triggers from that. That may be a setup that does not put a burden on your Vera.
      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on February 16, 2015, 09:39:14 am
      Hi antrock,

      I have not heard back from Logitech on the API, just that it will be 'soon'. Not sure if that API would mean a Hub only solution could also trigger scenes on anything else than an activity.

      As you read from nullx8 reply there are other options. Currently I am experimenting with the Keene IR anywhere with the Kira IR plugin from RexBeckett as an IR receiver and also using a dummy IR device on the Harmony to send IR commands that way. For now I use a Timeguard RLS010 that can send four different IR commands. I plan to write some instructions on how to use the combo. Not as cheap as nullx8 solution, but if you do not have raspberry pi skills it is as close to spouse/parent proof as you can get  ;).

      Cheers Rene

      Hi Rene,
      Any update on this? I set up a bunch of scenes for buttons as a workaround but they are slowing down my Vera and making it work inconsistently I think. Let me know. Thanks!
      No update on the Harmony API no. But the keene IR receiver with the KiraRX plugin from Rex does allow you to learn it some of the key codes you use with your Harmony and then driver triggers from that. That may be a setup that does not put a burden on your Vera.
      Cheers Rene

      Thanks - is there any info on how to set something like that up that I can reference?
      Title: Re: Plugin: Harmony Hub Control
      Post by: RexBeckett on February 16, 2015, 11:00:09 am
      Quote
      Thanks - is there any info on how to set something like that up that I can reference?

      If you are referring to the Kira IR module, see the thread here (http://forum.micasaverde.com/index.php/topic,14618.0.html).

      There is now a combined transmit/receive plugin in the App Store - KiraRT. This includes a Help file - also available here (https://drive.google.com/file/d/0BykZKwGsCBsAMy1NQlJManlPblU/view?usp=sharing).
      Title: Re: Plugin: Harmony Hub Control
      Post by: Areb65 on February 16, 2015, 01:26:18 pm
      Hi Rene,

      How are you?
      Long time since I did check updates, but I see you have few new versions lol, Im still on version 1.7 since I never had to upgrade, it is working perfect for my 3 TVs using one Hub,

      If I want to upgrade to the latest, how do I do from 1.7 ?

      Areb.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 16, 2015, 03:58:19 pm
      Hi Rene,

      How are you?
      Long time since I did check updates, but I see you have few new versions lol, Im still on version 1.7 since I never had to upgrade, it is working perfect for my 3 TVs using one Hub,

      If I want to upgrade to the latest, how do I do from 1.7 ?

      Areb.
      Hi Areb,

      Doing good, not enough time to play with all my HA gadgets though. Or to add more  ;D

      You should be able to install the version of the app market right on top. If all goes well the settings are preserved. I must say I did not test it with the 1.7 version, only with 1.8, but they have the same setup.

      Cheers Rene

      PS: 2.03 will come out soon with a minor fix to avoid retriggering of scenes when the Vera is reloaded because of any changes.
      Title: Re: Plugin: Harmony Hub Control re-trigger
      Post by: reneboer on February 16, 2015, 04:12:09 pm
      There is a nasty thing,

      It apears the plugin does execute things even if they do have the status already,
      This causes my tv-backlight to "reset" every time the plugin do make a poll,
      I do have some triggers for this based on the harmony activity.

      On the hardware (harmony) side its vital to do this (this makes sure ir will be re-send) but on the vera side its makes alot of internal processing
      Hi nullx8,
      So if I understand correctly you have scene triggers on the current activity and these seem to fire at each poll? I have not experienced this my self. The polling does not set the CurrentActivityID value unless it really changed or when the Vera reloads. You are not referring to any activity on child devices right? Because those will (should) retrigger each time you do a button click on the Vera interface (but not from any remote).
      Cheers Rene.
      Hi nullx8,
      I think I may know what you are seeing. The scenes get retriggered each time the Vera reloads and by now I found that that is way more then you would expect. Each time you change some settings and what not. So in this attached LUA I changed that. The CurrentActivityID is only changed on a poll or what setting the activity and not reset during a reload only to be set to the previous value. Still learning how programming for a Vera is different than for other devices.
      So please give this one a shot. I will put this version in the App Market as well.

      18 Feb update. The 2.03 version is on the app market with this change included.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on February 23, 2015, 12:56:18 pm
      I am curious. Would this work with the "Logitech Harmony Smart Control" (the older version, not the new "Home" one)? I'm looking to get some for the kids room and they are a bit cheaper and I don't need the "home" part. I know it uses the harmony hub, so I'm hoping it will work just fine, but wanted to see if anyone was using them first with this plugin.
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on February 23, 2015, 05:38:35 pm
      I am curious. Would this work with the "Logitech Harmony Smart Control" (the older version, not the new "Home" one)? I'm looking to get some for the kids room and they are a bit cheaper and I don't need the "home" part. I know it uses the harmony hub, so I'm hoping it will work just fine, but wanted to see if anyone was using them first with this plugin.
      Yup. I'm using it with two of them
      Title: Re: Plugin: Harmony Hub Control
      Post by: billium28 on February 27, 2015, 04:16:43 pm
      Hello,
      I am having trouble getting this APP installed correctly. I install through the app store and it appears to install but I get 2 errors.
      1:   Plug in not yet initialized. Wait a moment and then Reload device and Browser.
      2:   Harmony Control[12] : Startup Lua Failed   as seen at the top of the screen.

      I at first just let it do its install but after having issues with this I put in the IP address to the Harmony Hub in settings on this APP. (I also put it what MAC address is on bottom of Hub)
      This did not fix either issue... I also have let it install on its own, I let it sit before doing anything. Unplugged/reset Vera couple times. Also I have uninstalled and re-installed with no luck. Is there any other installation pieces I am missing?

      I just have begun to get into my Vera so I am somewhat of a beginner but I have had my Hue lights working perfectly with no fuss.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on March 01, 2015, 06:03:56 am
      does anyone know if the "HOME" Editions can control things in "off mode" ?

      so i could be able to do HA stuff even if no A/V device is actually used ...
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 02, 2015, 04:54:01 am
      Hello,
      I am having trouble getting this APP installed correctly. I install through the app store and it appears to install but I get 2 errors.
      1:   Plug in not yet initialized. Wait a moment and then Reload device and Browser.
      2:   Harmony Control[12] : Startup Lua Failed   as seen at the top of the screen.

      I at first just let it do its install but after having issues with this I put in the IP address to the Harmony Hub in settings on this APP. (I also put it what MAC address is on bottom of Hub)
      This did not fix either issue... I also have let it install on its own, I let it sit before doing anything. Unplugged/reset Vera couple times. Also I have uninstalled and re-installed with no luck. Is there any other installation pieces I am missing?

      I just have begun to get into my Vera so I am somewhat of a beginner but I have had my Hue lights working perfectly with no fuss.

      Hi, make sure you are using the plugin setup page to configure and not via the Advanced tab. Entering data into that directly can cause issues on UI7.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 12, 2015, 03:41:26 am
      Good morning  :)

      Is there a way to get the active activity from the Harmony hub when rebooting the luup?

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 12, 2015, 05:14:12 am
      Hi Twannie,

      You can use the GetCurrentActivity in luup.call_action. Example is in the user guide.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 12, 2015, 10:35:34 am
      As usual, apologies.
      Title: Re: Plugin: Harmony Hub Control
      Post by: mzpost on March 15, 2015, 12:57:59 pm
      Now that I've replaced my Vera 2 with an edge I'm able to get a few more apps up and running and this is one I've always wanted as it fits perfectly in my set up.

      If I trigger the hub from a scene all works well, however if I use vera to trigger a scene based on something happening on the remote it does work but there can be quite a significant delay.  Has anyone else seen and resolved such an problem or is this one of those things that I just need to live with ?.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 16, 2015, 05:43:18 am
      Hi mzpost,

      I am working on a new version that will improve the timeout when you change the activities via the remote. It will also look a bit better on UI7.05 and allow for wider buttons (= more text) if it renders them to two, three or four columns. I have it under test now and expect to make it available this weekend.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Technigogo on March 17, 2015, 12:20:49 am
      I'm missing something here. I have two hubs, VeraEdge w/UI7. I have one hub working great. I can't get the second hub to add. I have followed the "Manual Device creation" instructions:
      Quote
      Create the device, use D_Harmony.xml as Upnp Device Filename. You can enter the Harmony Hub IP here. Click Create device, then hit Reload

      My result is it creates an unknown device. I delete, retry and get same result. I have the IP address correct. I notice my other hub is using D_Harmony7.xml but the device ID is #7 so I assume that is where the 7 comes from. Thank you in advance for your assistance.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Technigogo on March 17, 2015, 12:32:08 am
      OK, Wait. Never mind. Now it's there. I see now that I did not fully grasp:
      Quote
      When installing a new plug-in the Vera needs some minutes to configure it all so be patient.

      If anyone else is lost like I was, follow the simple instructions and then wait. It will appear as if the Device Add did not work. After about 10 minutes for so, it will.

      Thanks for the plug-in. Very cool.
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 17, 2015, 03:16:49 am
      Hi mzpost,

      I am working on a new version that will improve the timeout when you change the activities via the remote. It will also look a bit better on UI7.05 and allow for wider buttons (= more text) if it renders them to two, three or four columns. I have it under test now and expect to make it available this weekend.

      Cheers Rene.

      Great work Rene... much apreciated  :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 17, 2015, 04:37:32 am
      OK, Wait. Never mind. Now it's there. I see now that I did not fully grasp:
      Quote
      When installing a new plug-in the Vera needs some minutes to configure it all so be patient.

      If anyone else is lost like I was, follow the simple instructions and then wait. It will appear as if the Device Add did not work. After about 10 minutes for so, it will.

      Thanks for the plug-in. Very cool.
      Thanks and glad you got it working. I found that in UI7.05 the Create an Other button from UI5 got restored so you can now use that and no longer need to do it manually. I will also update the user guide with this info.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 17, 2015, 11:29:11 am
      Hi All,

      Version 2.1 is available for download. To be on app market soon. See http://forum.micasaverde.com/index.php/topic,28689.msg205111.html (http://forum.micasaverde.com/index.php/topic,28689.msg205111.html)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: mzpost on March 17, 2015, 06:33:14 pm
      Excellent I will give it a try!. Thank you.
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 18, 2015, 03:49:27 am
      Excellent work Rene, works like a charm! :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 20, 2015, 04:48:24 am
      Rene

      I noticed the follwing message when changing a activity with the remote itself (image)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 20, 2015, 05:34:10 am
      Rene

      I noticed the follwing message when changing a activity with the remote itself (image)
      Hi Twannie, this is because the Hub will not respond while starting an activity and starting some can keep the hub busy for a while. When there is a poll from your Vera during that time it will timeout and can show an error message. This will clear on the next poll.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 20, 2015, 05:49:28 am
      Thanks Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on March 20, 2015, 06:56:52 am
      Getting this error after update to 2.1:


      Harmony Control : CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on March 20, 2015, 07:39:38 am
      read last post from Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 20, 2015, 12:14:23 pm
      Getting this error after update to 2.1:


      Harmony Control : CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response
      Hi,

      If you get this all the time it may be that a 5 second timeout is too short on your network. Try to increase it in the settings to find a value that works reliably in your setup.

      For me it still works with just 2 seconds but that is on my VeraEdge with not too much else going on.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on March 21, 2015, 10:32:00 am
      This appears to only happen overnight.  A reboot clears the error and it does not return until vera's maintenance over night.
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on March 23, 2015, 01:23:48 pm
      I have a small suggestion/request. I'm not sure if this will be worth it for most, but I'm gonna ask anyways. Since Vera uses so much memory per plugin, would it be possible to modify the plugin so that you only have to have 1 no matter how many hubs? This could be accomplished by creating a main device and then having an option to "add a hub", which would then create a child device. This child device could of course create the other children for devices.

      The reason I am asking for this is because I now have 4 hubs in my house (only 2 in the vera). I think each plugin takes up about 2mb of memory, so only having one would be a huge memory saver for me.

      Maybe it's at least something to look into, @reneboer?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 24, 2015, 05:57:47 am
      Hi SirMeili,

      Making a single instance of the plugin support multiple Hubs would mean a complete redesign. At this moment I am working on some other plugins in the little time I can spend on this (and summer is coming so the outdoors are calling again too  :D).

      So unless there is a large number of people in need for this change it will not make it to my to-do list. Sorry.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on March 24, 2015, 06:59:57 am
      maybe someone can push me into the right direction.

      the plugin works perfectly .. with just 2 exeptions.

      i have 1 Child devices created ... to "reset" the base volume on my amplifier. (triggered by the status of a z-wave switch)
      everything working perfectly for some time.

      i moved things arround .. and after that i realised the volume does not reset anymore ..
      quickly found out 2 things.
      1. the id of the child Device did increase
      2. the button assignments do show on the device .. but after opening the settings tab they all show empty
      after re-assign and change the device id in my trigger luup code .. everything back to work again.

      later i learned another button to my fake rasperry-device .. and the same thing did happen, resolved the same way.
      just assumed it may reset the id's because i added a function to the hub
      but today it happend again after the power was out for a few minutes ...

      which does make this become quite anoying. is there any way to work arround that ?

      i dont mind hardcoding ids also i dont really need the child device as i nor really use the volume control other to reset it on the power-on event ..

      attached image shows the buttons still on the device, but settings reveal no assignments.


       
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 24, 2015, 07:27:20 am
      Hi,

      Did you move the devices to an other room or changed the 'Create child embedded setting' when adding an additional device? If you do the child devices get recreated and I do not know of a way to suppress that. 

      I have heard of others with the same issue and trying to see if there is a common cause. I have not been able to replicate the issue.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on March 24, 2015, 07:38:09 am
      Did you move the devices to an other room or changed the 'Create child embedded setting' when adding an additional device?

      no nothing has been added/changed the last time ..

      i made the initial setup on the main-device .. just once and never changed it since then.
      also the child device in question did not change any setting on the hub or on the vera.

      the first time this happend the power of the hub was off for some time .. and i changed some hub settings (have some devices use the extender instead of the hub itself)
      second time i made a ajustment on the config as well
      and the last time just the power was off.

      should i change to the Harmony-id's in the luup code instead of using the child device for a test ?



      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 24, 2015, 11:19:04 am
      Hi,

      I think I know what may have happened. You indicate you made some changes to the devices on your Hub. If in that case the device IDs assigned by Harmony change, something may not go completely right. I'll run some tests with doing that. Thus far I only added devices to my hub, but lets see what happens if I remove one.

      Update: I found a second more likely reason. This can happen when the Hub cannot be reached when there is a LUUP reload. I will be testing a fix this week and publish the update later.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: anup56 on March 24, 2015, 03:28:20 pm
      What model Harmony control does this plug in Support?

      Ab56
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on March 24, 2015, 03:37:24 pm
      What model Harmony control does this plug in Support?

      Ab56

      I have it working with the Harmony Ultimate (http://www.amazon.com/Logitech-996-000120-Ultimate-Customizable-Refurbished/dp/B00L5H1OJI/ref=sr_1_19?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-19&keywords=Harmony+remote) and the the new Harmony home smart control ones (http://www.amazon.com/Logitech-Harmony-Home-Control-Devices/dp/B00N3RFC4G/ref=sr_1_2?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-2&keywords=Harmony+remote).

      I hear it will work with the old Harmony smart control (missing the "Home control" buttons at the top) (http://www.amazon.com/Logitech-996-000118-Harmony-Smartphone-Refurbished/dp/B00L5H1IQM/ref=sr_1_9?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-9&keywords=Harmony+remote).

      and I am 100% sure it would work with the new Harmony Home Ultimate (http://www.amazon.com/Logitech-915-000237-Ultimate-Entertainment-Automation/dp/B00N3RFCBE/ref=sr_1_4?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-4&keywords=Harmony+remote).

      I want to say that if it has the "hub", then it will work, but the above 4 are the ones I am most confident will work.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 25, 2015, 04:18:52 pm
      Hi All,

      Just uploaded version 2.2 that should fix the issue of occasional loss of settings and/or changes in the Vera device IDs of the child devices.

      If you have v2.1 you only need to upload L_Harmony.lua.

      Please let me know if the settings loss still occurs with this version.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on March 25, 2015, 05:54:52 pm
      What model Harmony control does this plug in Support?

      Ab56

      I have it working with the Harmony Ultimate (http://www.amazon.com/Logitech-996-000120-Ultimate-Customizable-Refurbished/dp/B00L5H1OJI/ref=sr_1_19?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-19&keywords=Harmony+remote) and the the new Harmony home smart control ones (http://www.amazon.com/Logitech-Harmony-Home-Control-Devices/dp/B00N3RFC4G/ref=sr_1_2?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-2&keywords=Harmony+remote).

      I hear it will work with the old Harmony smart control (missing the "Home control" buttons at the top) (http://www.amazon.com/Logitech-996-000118-Harmony-Smartphone-Refurbished/dp/B00L5H1IQM/ref=sr_1_9?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-9&keywords=Harmony+remote).

      and I am 100% sure it would work with the new Harmony Home Ultimate (http://www.amazon.com/Logitech-915-000237-Ultimate-Entertainment-Automation/dp/B00N3RFCBE/ref=sr_1_4?s=audio-video-accessories&ie=UTF8&qid=1427225534&sr=1-4&keywords=Harmony+remote).

      I want to say that if it has the "hub", then it will work, but the above 4 are the ones I am most confident will work.
      I can confirm that it works with the regular smart control hub (the one where the remote doesn't have the home automation buttons at the top)

      I have it controlling two of those
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on March 25, 2015, 11:37:51 pm
      the new Harmony home smart control ones

      can you actually "control" thigs if the OFF Scene/Activity is active ?
      this is the only thing i really dislike on the Harmony Smart Control, which i have ..
      at the time i bought it .. the Home edition where out already, but with much less features .. so i choose the normal one and use the color-button for my HA things.

      but i can't control any lights as long the "OFF" Activity is active .. which is anoying.
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on March 25, 2015, 11:44:10 pm
      the new Harmony home smart control ones

      can you actually "control" thigs if the OFF Scene/Activity is active ?
      this is the only thing i really dislike on the Harmony Smart Control, which i have ..
      at the time i bought it .. the Home edition where out already, but with much less features .. so i choose the normal one and use the color-button for my HA things.

      but i can't control any lights as long the "OFF" Activity is active .. which is anoying.
      I can currently only control my hue bulbs but yes even when it is set to off I can still use the home control buttons to control the lights and dimbrighten them. The only thing I can't due is set the color, but you can do that from the app. I suppose its more important to be able to actually turn them on and off.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on March 25, 2015, 11:54:33 pm
      Thats nice!
      Well i not use any "Home features" anyway, i just added a IR reciever to my raspberry and added a fake-device to the Harmony, so i can just assign buttons to vera-actions/devices as i please, but not limited to what logitec supports.


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on March 26, 2015, 08:40:06 am
      Thats nice!
      Well i not use any "Home features" anyway, i just added a IR reciever to my raspberry and added a fake-device to the Harmony, so i can just assign buttons to vera-actions/devices as i please, but not limited to what logitec supports.


      Sent from my iPhone using Tapatalk

      I am doing my best to "automate" my house, so just having the ability for my wife to turn on a light here and there is good enough. I wish it would tie into the Vera though since that would open up soooo many other doors! (it does work with SmartThings :( )
      Title: Re: Plugin: Harmony Hub Control
      Post by: Smoot178 on March 30, 2015, 05:34:10 pm
      I am a bit new to home automation and I am trying to decide between devices.  One of my big "must have" features is integration with the latest Harmony Ultimate system.

      1. Can I use Vera (and this plugin?) to start activities on my Harmony system.  I am pretty sure, from reading this thread, this is very possible.
      2. Can I select an activity on my Harmony hub and have it control Vera?  Basically, can I select "Watch TV" and have all my lights turn off through Vera?  This is what I am most concerned about.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 31, 2015, 05:03:49 am
      I am a bit new to home automation and I am trying to decide between devices.  One of my big "must have" features is integration with the latest Harmony Ultimate system.

      1. Can I use Vera (and this plugin?) to start activities on my Harmony system.  I am pretty sure, from reading this thread, this is very possible.
      2. Can I select an activity on my Harmony hub and have it control Vera?  Basically, can I select "Watch TV" and have all my lights turn off through Vera?  This is what I am most concerned about.
      Hi,

      Yes you can do both. For the first you just click the button you assigned to the activity, or you include it in a scene to do it in combination with other functions.

      For the second you create a scene that uses the Harmony Control plug in as a trigger. You select the activity to trigger on. You must also set a poll time as the Vera must check the current activity on the Hub. The lower you set the poll time, the quicker the scene will trigger.

      The manual on the first page of this tread should give more details.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on April 02, 2015, 07:08:30 am
      Today i created 3 scenes to bypass the lack of support of this plugin in HomeWave App

      The scenes simply activate a "activity" and "active" is detected by setnewactivity

      However, all the scenes are report "active" all the time, is there any better way to do this ?


      Sent from my iPhone using Tapatalk
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 02, 2015, 09:38:30 am
      Today i created 3 scenes to bypass the lack of support of this plugin in HomeWave App

      The scenes simply activate a "activity" and "active" is detected by setnewactivity

      However, all the scenes are report "active" all the time, is there any better way to do this ?


      Sent from my iPhone using Tapatalk
      Hi,

      I am an Android user so can't check anything with Homewave. I do not understand about the scene being active. All I can see is that a scene was last run. So how do you check that a scene is active? Is that a Homewave thing?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on April 02, 2015, 03:07:39 pm
      -CuT-  So how do you check that a scene is active? Is that a Homewave thing?

      in MiOs Binary Switches do have a "status", and Scenes have a "active" Status

      its a simple AND Rule autoset by the scene creation but can be manipulated
      as example if you create a scene to turn ON switch 1 and switch 3

      then manually turn on switch 1 and 3 .. the scene will become active (even if you not have executed it) since the Switch status do meet.

      in the homewave App i have the option to actually show the Scene status just like on a Binary switch ..
      in short .. if the scene is active the button for the scene will apear as ON

      i created 3 scenes and the first time it worked.
      but once i executed all the scenes (the result is the desired Harmony action, so everything works)
      the scenes became active .. but they never turn the status back to inactive ..

      loading sdata via HTTP show's the same outcome
      here some example of my sdata scene output
      Code: [Select]
      <scene active="1" name="HRM: ATV" id="64" room="11"/>
      <scene active="1" name="HRM: ThaiTV" id="65" room="11"/>
      <scene active="1" name="HRM: XBox" id="66" room="11"/>
      <scene active="0" name="Reset KWH Readings" id="36" room="0"/>
      <scene active="0" name="Reset Office Aircon" id="60" room="12"/>
      <scene active="0" name="Reset RGB" id="40" room="11"/>
      <scene active="0" name="Start Work" id="38" room="0"/>
      Title: Re: Plugin: Harmony Hub Control
      Post by: EarlyMorningHours on April 02, 2015, 04:29:14 pm
      Deleted
      Title: Re: Plugin: Harmony Hub Control
      Post by: SirMeili on April 02, 2015, 06:04:42 pm
      Jeez, could they get any more confusing with the model names?  I guess going to their website and looking for the highest priced model is probably a safe bet.  I hate to say it, but going through this thread just about has me ready to drop $300 or so on one of these units.

      I had the Harmony 900 and it died just after 12 months (and out side warranty). I called Logitech because my wife was like "Awwww, hell Nah! We paid too much for you to have to just buy a new one!". They not only replaced the 900, they gave me the Harmony Ultimate instead of a 900.  I really like the Ultimate, but from what I can see, the only major difference between the Harmony Ultimate and Harmony Ultimate Home is the "Home" in the name. I even believe they even stated that the original Ulitimate would be able to use the Home Hub (for directly controlling z-wave devices via the harmony). I think I can even control smart things via my original Ultimate remote but since i don't have one I haven't tried. I can control my Nest Thermostat and Philips Hue bulbs. So if you are going to for the "Ultimate", you could go for the older model and probably be ok (if you can find a good deal on one)

      For the "smart control" ones though (new ones are just called Harmony Home Control), the "Home" models have extra buttons for HA devices. I'm able to control my Philips Hue through them with ok results, but nothing in the Vera. Ultimately I bought the "Home" version of the smart control because it was only like $3 more at the time and I figured it was worth the extra. Otherwise I was gonna go for the non-home version.

      All that said, I love the smart control ones for the bedrooms. I wouldn't even mind it in the living room except that I want more than 6 activities and 8 devices. The kids and wife actually use the Smart control add-on in the living room instead of the touchscreen remote.

      p.s. I'm sorry for slightly going off-topic, but these are great remotes and I think they are easy to use and set up.
      Title: Re: Plugin: Harmony Hub Control
      Post by: EarlyMorningHours on April 02, 2015, 07:43:38 pm
      Deleted
      Title: Re: Plugin: Harmony Hub Control
      Post by: aurora912 on April 06, 2015, 01:33:41 am
      Hi Guys,

      Just wanted to confirm something quickly before I spend some cash.

      If I buy a 'Harmony Smart Control' (Basic remote, With Hub). I can use that instead of buying an iTach, to create a basic scene for each IR button press (eg vol up, tv on, etc). I then should be able to make buttons in the homewave ios app to trigger the scenes and effectively create my own virtual remote?

      So much to read and learn and try to put together solutions in my head!


      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on April 06, 2015, 01:41:24 am
      Yes you can do exactly that with just a few clicks, however you need to create scenes or related virtual switches as homewave not support the plugin (yet)


      You can add the plugin as switch, turn it on will execute the default activity.
      Rest i have done via dummy scenes
      Title: Re: Plugin: Harmony Hub Control
      Post by: lleblanc on April 18, 2015, 03:37:14 am
      Hi !

      I've got the version 2.2 and still experience issue with harmony hub not available when a reload occurs...

      Seems it's not working for me.


      Hi All,

      Just uploaded version 2.2 that should fix the issue of occasional loss of settings and/or changes in the Vera device IDs of the child devices.

      If you have v2.1 you only need to upload L_Harmony.lua.

      Please let me know if the settings loss still occurs with this version.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 20, 2015, 04:15:31 am
      Hi lleblanc,

      Are the problems intermittent or doesn't it work at all? If intermittent try to set the timeout to a higher value. If not at all make sure the IP address is correct and the vera can directly connect to the Hub. Unless you have set your router to assign the same IP address to the Hub each time, it could get a different IP address after a reboot of the hub or router. Have you checked for that?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on April 20, 2015, 04:20:34 am
      with the update to 2.2 (used the files from here) .. all my issues instantly went away ...
      however i can not confirm the issue about child devices beeing re-created .. as i use now the Hub-device to execute actions on the childs.

      just the scene active/inacive does not work .. but i have not seen a wrong status .. or -1 triggers executed since the update and i have seen the hub change to Red Light quite some times in that time .. so everything is very solid now


      i have
      Code: [Select]
      Harmony Hub communication time out - 5 sec (used to be 10 before)
      Current Activity Poll Interval - 45
      Ok Acknowledge Interval - 6
      Enable Remote Icon Images - No

      Title: Re: Plugin: Harmony Hub Control
      Post by: mzpost on April 26, 2015, 04:10:05 pm
      This plug in is great and combined with pleg is great. I have no problems controlling the remote via scenes from ui7 however I still find that when making a change in the remote control (i.e turning something off) that Vera does not up the status.

      Is there a particular setting I should look to modify to help this ?.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on April 27, 2015, 06:36:28 pm
      I still find that when making a change in the remote control (i.e turning something off) that Vera does not up the status.

      Is there a particular setting I should look to modify to help this ?.

      Code: [Select]
      Current Activity Poll Interval

      but setting it too short will make the vera busy for no reason ... i have it at 45 sec .. enough time to trigger things (like re-set the amplifier or others)
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sig on May 01, 2015, 09:09:50 pm
      Just installed the Harmony plug in and have used it to setup a couple of scenes triggered from my remote - I love it.  Thank you.

      Question - I'd like to use the ability to create a custom button within an activity on the Harmony remote so that I could trigger a different scene without having to "Power Off" the activity and select another.  As an example, I have an activity on the remote which triggers a scene to play ambient music on all of my Sonos zones in the house.  It works great.  But I'd then like to be able to use the Harmony remote to kick off my Mood Lighting scene as well, but I don't necessarily want Mood Lighting every time I kickoff the Sonos scene.  If I power off the Sonos activity in order to select the activity for Mood Lighting, it shuts down the Sonos. But if I were able to kickoff a scene with a custom button within the Sonos activity, I wouldn't have to power off the activity on the remote.

      Am I making sense?  Am I not seeing an obvious way to accomplish this?  Any and all suggestions appreciated.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on May 01, 2015, 10:36:43 pm
      i use the 4 colored buttons for Airconditioner, Living room lights, Ceiling fan and to overlay the babycam on the TV ..

      but i use a Infrared reciever connected to the raspberry .. (would work with anything runns linux)

      added a fake device on the harmony and programmed some buttons from a remote i not really use in that room ... works like a charm ..
      the raspberry simply executes curl's if it recieves some IR signals from the Harmony.

      triggers based on the vera showing buttons dont work as childs can not be updated, also it would take forever until the trigger does happen.

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 02, 2015, 05:15:46 am
      Just installed the Harmony plug in and have used it to setup a couple of scenes triggered from my remote - I love it.  Thank you.

      Question - I'd like to use the ability to create a custom button within an activity on the Harmony remote so that I could trigger a different scene without having to "Power Off" the activity and select another.  As an example, I have an activity on the remote which triggers a scene to play ambient music on all of my Sonos zones in the house.  It works great.  But I'd then like to be able to use the Harmony remote to kick off my Mood Lighting scene as well, but I don't necessarily want Mood Lighting every time I kickoff the Sonos scene.  If I power off the Sonos activity in order to select the activity for Mood Lighting, it shuts down the Sonos. But if I were able to kickoff a scene with a custom button within the Sonos activity, I wouldn't have to power off the activity on the remote.

      Am I making sense?  Am I not seeing an obvious way to accomplish this?  Any and all suggestions appreciated.

      Hi Sig,

      I have not found a way to run two activities on the Harmony. You would have to make two, one with Sonos and no mood light and one with both.

      Only other option I can think of is if you add for example the Keene IR receiver and the KiraRT plugin. I have done that and added a Timeguard IR light button device on the Harmony to turn lights on and off. You could adapt a setup like this for your scenario.

      Have fun, Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sig on May 09, 2015, 09:30:18 pm
      Thanks @reneboer.

      I have started to experience strange behavior with a scene that starts up my Sonos system.  I have no evidence it has anything to do with the Harmony, except that I've had my Sonos system, and the Vera plug-in for Sonos, for a very long time, and this only started happening as soon as I installed the Harmony remote (and the plug-in).

      For reasons I cannot understand, my scene, which starts up my Sonos, links all zones, sets volume to 15 and plays one of my Sonos Favorite Pandora stations, is firing randomly.  For example, this morning at about 7:15am, it fired and I was awakened to music.  It wasn't a terrible way to wake-up, but I certainly hadn't planned it that way :-).  It also just happened to me again a few minutes ago.  In this instance, the Sonos system was already on, at a lower volume and playing a different station.  My scene fired, which increased the volume on all zones and changed to the favorite station setup in my scene.  This scene in Vera has no schedule - it can only be triggered by a couple of my scene controllers and, now, the Harmony remote.

      Whenever this random scene firing occurs, it's when the Harmony currently has the Sonos activity "On."  In the aforementioned example (from this morning) I actually had the Sonos activity "On" on the remote last night, and I left it on when I went to sleep, just using my Sonos controller (iPhone) to shut off the Sonos.  And as indicated above, when the random firing occurred later, the remote again had the Sonos activity "On" although I had changed what the Sonos was playing (and the volume) directly using my Sonos controller.  You may be wondering why I'm using the Harmony at all - it's because my living room Sonos zone actually runs through my home theatre receiver, so I use the Harmony not only to turn on the Sonos, link the zones and select the music, but also to turn on the receiver and set it to the Sonos input, so I get music in that zone, in addition to the others which are controlled directly by Sonos amps - something the Sonos controller obviously can't do.

      Does the plug-in check to see if Sonos is in the state in which the remote put it, and if it isn't, it tries to re-establish that state, because the remote still has that activity as "On?"  That doesn't seem likely, given that the scene [re] firing occurs randomly.  For example, the Sonos was off all night - why did it only re-fire the scene at 7:15 this morning, and not earlier during the night?  I'm at a loss as to the cause of this.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 11, 2015, 04:19:15 am
      Hi Sig,

      The Harmony plug in has no knowledge of the Sonos or any other plug in for that matter. So I'm at just a loss as you are. Can you see in the scenes overview what scence(s) fired at the time you are having these issues? Did your Vera reload at those times maybe?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Bemba on May 14, 2015, 02:42:32 am
      Fantastic Plug In. Works Great.

      I hope this question isn?t too stupid of a question or has been asked before. I did check but couldn?t find anything.  :)

      I?m using a Harmony Smart Control with the Plugin. I?ve setup a scene that runs a Wake on Lan command to start a PC and then uses the Harmony plugin to turn everything on. Works every single time without issues.

      The only problem I?m having is, how do I turn stuff off? Is there a command that needs to be changed in the app.

      Running the same scene doesn?t seem to work.

      Creating a new scene doesn?t work either. The only way I can turn off the amplifier and projector is by using the Harmony Smart Control Android App.

      Anyone have any ideas how I can resolve this issue?

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on May 22, 2015, 12:28:49 pm
      Are you supposed to be able to have more than one child device?  I can't seem the get more than one child device.  Each time I try to create a second the first child device disappears.
      Title: Re: Plugin: Harmony Hub Control
      Post by: dominiqueC on May 23, 2015, 12:42:12 pm
      Hi !
      Great stuff, many thanks for that.

      I created a child device (popcorn A410). I also, created some "Device Command mappings" like "pause" and "stop". When i use my remote for that (make pause for exemple), nothing appears on my device. My idea is simple : turn ON lights when movie is on pause.

      Is it possible ?

      I can trigger some scenes but only with "super" activites like TV, DIVX, XBOX, not for commands like pause or mute.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Areb65 on May 25, 2015, 02:35:55 pm
      Hi Rene,

      I have Finally installed the version 2.2,

      All work great,

      Thank you,

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 26, 2015, 05:23:57 am
      Are you supposed to be able to have more than one child device?  I can't seem the get more than one child device.  Each time I try to create a second the first child device disappears.
      Hi,

      To create multiple you have to hold the Ctrl key whilst making the selections.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 26, 2015, 05:28:40 am
      Fantastic Plug In. Works Great.

      I hope this question isn?t too stupid of a question or has been asked before. I did check but couldn?t find anything.  :)

      I?m using a Harmony Smart Control with the Plugin. I?ve setup a scene that runs a Wake on Lan command to start a PC and then uses the Harmony plugin to turn everything on. Works every single time without issues.

      The only problem I?m having is, how do I turn stuff off? Is there a command that needs to be changed in the app.

      Running the same scene doesn?t seem to work.

      Creating a new scene doesn?t work either. The only way I can turn off the amplifier and projector is by using the Harmony Smart Control Android App.

      Anyone have any ideas how I can resolve this issue?

      Thanks
      Hi

      Do you have a button created for the PowerOff action? That matches the Off button on the remote or App.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 26, 2015, 05:41:56 am
      Hi !
      Great stuff, many thanks for that.

      I created a child device (popcorn A410). I also, created some "Device Command mappings" like "pause" and "stop". When i use my remote for that (make pause for exemple), nothing appears on my device. My idea is simple : turn ON lights when movie is on pause.

      Is it possible ?

      I can trigger some scenes but only with "super" activites like TV, DIVX, XBOX, not for commands like pause or mute.
      Hi,

      Sadly no. The Harmony hub only reports the activity that is selected and not any of the commands. To do this you would have to create a scene on your Vera that does all this. You could look at linking those to a MutliSwitch plugin to trigger from you Vera UI or one of the Apps that supports the MultiSwitch plugin.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on May 26, 2015, 04:23:04 pm
      Thank you Rene for the child devices help!
      Title: Re: Plugin: Harmony Hub Control
      Post by: HansW on June 06, 2015, 08:19:31 am
      After another problem with my Vera, a factory reset and a restore from backup I noticed that the Harmony IP, user and password settings had to be reentered. It seems like they are not saved in the backup?

      HansW
      Title: Re: Plugin: Harmony Hub Control
      Post by: VeraEdger on June 08, 2015, 10:22:17 am
      Just new.....

      So I could buy this: http://www.logitech.com/nl-nl/product/harmony-ultimate-hub

      And then I am able to make a scene, watch a movie.
      - tv turns on, correct input channel
      - media player (popcorn A410) turns on
      - dim some lights  (of course normal zwave)
      - And maybe some navigation? play, stop etc.

      I want to make this:
      Listen to music:
      - popocorn A410 turns on
      - Receiver turns on
      - ...

      And what about in combination with Imperihome?
      Could I start that scenes from my tablet?
      So I can use my music app on the tablet to select music after starting the scene from imperihome?

      This would be great!

      EDIT: What is the difference with this?
      http://www.bol.com/nl/p/logitech-harmony-smart-control-universele-afstandsbediening/9200000012528991/?bltg=itm_event%3dclick%26pg_nm%3dpdp%26slt_id%3dprd_reco%26slt_nm%3dproduct_recommendations%26slt_pos%3dC1%26slt_owner%3dccs%26itm_type%3dproduct%26itm_lp%3d0%26itm_id%3d9200000012528991%26itm_role%3din

      Is that an other hub?
      Sory for the dutch site...
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 09, 2015, 07:17:58 am
      After another problem with my Vera, a factory reset and a restore from backup I noticed that the Harmony IP, user and password settings had to be reentered. It seems like they are not saved in the backup?

      HansW
      Hi Hans,
      When you restore from backup it seems many of the plugins are reinstalled from the App Market rather then from your backup. That maybe why those settings where lost, or it is because of the special design to support multiple hubs, not sure. Did it happen for other plug-in's as well?
      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 09, 2015, 07:26:59 am
      Just new.....

      So I could buy this: http://www.logitech.com/nl-nl/product/harmony-ultimate-hub

      And then I am able to make a scene, watch a movie.
      - tv turns on, correct input channel
      - media player (popcorn A410) turns on
      - dim some lights  (of course normal zwave)
      - And maybe some navigation? play, stop etc.

      I want to make this:
      Listen to music:
      - popocorn A410 turns on
      - Receiver turns on
      - ...
      Yes you can do these things with the Harmony and then also start them in scenes from your Vera.

      And what about in combination with Imperihome?
      Could I start that scenes from my tablet?
      So I can use my music app on the tablet to select music after starting the scene from imperihome?

      This would be great!
      Support from Apps is limited. You can only turn all off like the power off on the Harmony or turn your favourite activity on from AutHomationHD. With Imperihome you have to make scenes on your Vera you can then start from Imperihome. This is a generic issue with special plug ins and Apps for Vera.

      EDIT: What is the difference with this?
      http://www.bol.com/nl/p/logitech-harmony-smart-control-universele-afstandsbediening/9200000012528991/?bltg=itm_event%3dclick%26pg_nm%3dpdp%26slt_id%3dprd_reco%26slt_nm%3dproduct_recommendations%26slt_pos%3dC1%26slt_owner%3dccs%26itm_type%3dproduct%26itm_lp%3d0%26itm_id%3d9200000012528991%26itm_role%3din

      Is that an other hub?
      Sory for the dutch site...
      This comes with a very simple remote and it looks you need to have a tablet/phone with the Harmony app except for some trivial controls. The Ultimate comes with the touch remote and you do not need the App. Depends what your own preference is. For using it with Vera and this plug-in it makes no difference.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: VeraEdger on June 09, 2015, 07:58:15 am
      Thanks Rene.

      So the hub itself makes no difference? It's the same hub with both products?
      If so, the the word ultimate is only for the separate remote control....

      cheers
      Title: Re: Plugin: Harmony Hub Control
      Post by: tomgru on June 09, 2015, 10:03:56 am
      Did I miss something ... I thought this wasn't possible directly from the remote???   :)

      - dim some lights  (of course normal zwave)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 09, 2015, 10:46:19 am
      Did I miss something ... I thought this wasn't possible directly from the remote???   :)

      - dim some lights  (of course normal zwave)
      Not as an action from your remote indeed. But you can include a specific light setting in a scene that fires when you start a specific activity, or as part of a scene that includes starting an activity.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tomgru on June 09, 2015, 10:51:28 am
      Did I miss something ... I thought this wasn't possible directly from the remote???   :)

      - dim some lights  (of course normal zwave)
      Not as an action from your remote indeed. But you can include a specific light setting in a scene that fires when you start a specific activity, or as part of a scene that includes starting an activity.

      Cheers Rene

      Thanks. But just to be sure I'm not confused...

      You can start a scene that includes the remote in it, like dim lights, start TV... but,
      You cannot RUN a scene directly from the remote?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 09, 2015, 10:57:01 am
      Did I miss something ... I thought this wasn't possible directly from the remote???   :)

      - dim some lights  (of course normal zwave)
      Not as an action from your remote indeed. But you can include a specific light setting in a scene that fires when you start a specific activity, or as part of a scene that includes starting an activity.

      Cheers Rene

      Thanks. But just to be sure I'm not confused...

      You can start a scene that includes the remote in it, like dim lights, start TV... but,
      Yes you can indeed.
      You cannot RUN a scene directly from the remote?
      You can configure the plug-in to poll the Hub and that way it detects an activity has started and that can trigger a scene. So with some short delay you can trigger a scene after changing the activity with the remote.
      It only works for activities though, not for device commands.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tomgru on June 09, 2015, 11:02:41 am
      Did I miss something ... I thought this wasn't possible directly from the remote???   :)

      - dim some lights  (of course normal zwave)
      Not as an action from your remote indeed. But you can include a specific light setting in a scene that fires when you start a specific activity, or as part of a scene that includes starting an activity.

      Cheers Rene

      Thanks. But just to be sure I'm not confused...

      You can start a scene that includes the remote in it, like dim lights, start TV... but,
      Yes you can indeed.
      You cannot RUN a scene directly from the remote?
      You can configure the plug-in to poll the Hub and that way it detects an activity has started and that can trigger a scene. So with some short delay you can trigger a scene after changing the activity with the remote.
      It only works for activities though, not for device commands.

      Cheers Rene

      Perfect ...thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on June 15, 2015, 10:14:28 am
      What does the "Ok Acknowledge Interval" mean?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cor on June 15, 2015, 04:18:41 pm
      Just bought myself this harmony thingy and installed your app.

      Awesome! , Thanks

      Cor
      Title: Re: Plugin: Harmony Hub Control
      Post by: VeraEdger on June 15, 2015, 04:33:10 pm
      Just bought myself this harmony thingy and installed your app.

      Awesome! , Thanks

      Cor

      Just curious, which one? Smart Control or Ultimate?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 16, 2015, 05:06:50 am
      What does the "Ok Acknowledge Interval" mean?
      Hi Twannie,
      This is how long the icon will show a green color after completing the communication with the Hub. So mostly cosmetic.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on June 16, 2015, 05:12:43 am
      Hi Rene, thanks!
      and like the update interval it is in seconds right?
      I had have contact with support and they mentioned the Harmony plugin using a lot of processor sources.
      The update interval was at 1 second, i changed it to 60
      What is the default? (I guess I have changed it to 1 second myself)
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cor on June 17, 2015, 04:03:25 am
      Just curious, which one? Smart Control or Ultimate?

      The one with the display ...... I like displays :-)
      That would be the Logitech Ultimate one.     Although for vera purposes I don't think it makes a difference, when you want to controll the devices via vera>>harmony.  The hub remains the same. Only the remote is a bit different.

      Cor
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 17, 2015, 04:34:56 am
      Hi Rene, thanks!
      and like the update interval it is in seconds right?
      I had have contact with support and they mentioned the Harmony plugin using a lot of processor sources.
      The update interval was at 1 second, i changed it to 60
      What is the default? (I guess I have changed it to 1 second myself)
      Hi Twannie,

      The default is zero, i.e. no polling. Once a second would use a lot of CPU, I never go lower than ten seconds as that is fast enough to trigger a scene in my view.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: VeraEdger on June 17, 2015, 04:36:00 am
      Thanks. As you want to use it as normal remote, then the Ultimate is a great one indeed.
      And as you said, the hub is in both cases the same and that makes no difference for Vera.

      Thinking of buying a Ultimate too, but the prize is much more....

      Just curious, which one? Smart Control or Ultimate?

      The one with the display ...... I like displays :-)
      That would be the Logitech Ultimate one.     Although for vera purposes I don't think it makes a difference, when you want to controll the devices via vera>>harmony.  The hub remains the same. Only the remote is a bit different.

      Cor
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cor on June 17, 2015, 07:24:15 am
      Thinking of buying a Ultimate too, but the prize is much more....

      If you can afford it , it should be a no brainer .   For me everytime I bought a cheaper version of something, I regret it after some time, buying the better one afterwards and ending up paying much more in the end.

      Cor
      Title: Re: Plugin: Harmony Hub Control
      Post by: VeraEdger on June 17, 2015, 07:28:39 am
      You are so right :-)

      Thinking of buying a Ultimate too, but the prize is much more....

      If you can afford it , it should be a no brainer .   For me everytime I bought a cheaper version of something, I regret it after some time, buying the better one afterwards and ending up paying much more in the end.

      Cor
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on June 22, 2015, 01:24:05 am
      I prefer the hub, smaller, much flatter remote wich more buttons
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 22, 2015, 08:31:42 am
      Hi all,

      Question; does anyone has the Home version of the Hub with software version 4.x installed and working with the plugin?

      It seems there is now an update for the non-Home versions for 4.x but not sure it is available out side of the US yet. I am not finding it.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on June 22, 2015, 08:53:30 am
      I have the basic harmony smart control. My hub updated a few weeks back. Right now it's at 4.5.66.

      It still works with the plugin.

      I am having some issues, but can't figure out whether it has anything to do with the plugin. Sometimes I send a turn on command through http sent to the plugin (using amazon echo for voice commands), vera shows it as command sent, but harmony responds about a minute later. During that time, the hub is unresponsive to the physical remote as well. But all commands sent get somehow queued and once the hub becomes responsive again the commands get executed back to back.

      I rarely use the remote to turn things on these days so I need to test further to see whether the unresponsiveness happens with the remote, too.
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on June 22, 2015, 09:08:12 am
      I must say I have experienced similar behavour
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 22, 2015, 09:12:45 am
      Hi,

      I am not using the http commands my self, but I do use the KiraRT plugin via the remote for lights and sometimes also have this behavior. I know the hub can basically only do one thing at the time and starting an action blocks all other communications, but one would expect a simple command to be fast.

      I'll do some testing and tracing.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on June 22, 2015, 09:14:15 am
      Same here, but i exused this with stRtup operations.

      As example: i have serval vera triggers like ceiling fan, airconditioner and lights.

      If i press the radio button the vera will turn on the makn power for the av equipment this has another trigger to reset my amplifier volume.

      So the harmony does a scene turn on I will not swear and switching channels
      And the vera does reset the amplifier volume on the power on event triggersd by a aeon inline switch.
      This mostly (8 out of 10 times) works.
      If not i press the radio button again

      But if i then press thr button to turn on something eleae (outside the harmony or vera scenes) things do get clogged up alot.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on June 22, 2015, 09:18:40 am
      I basically can confirm reneboer's theory with my unreadable post above :p
      (Just found out that typing and driving is not such a good idea)

      Basically the clogging does always happen if the harmony is "doing somethings" and you poke in an unrelated command (not in a scene)

      I also use http requests to control my aiconditioner via harmony , strangely this does alwYs work, regardless the status of vera orbarmony
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on June 22, 2015, 09:58:47 am
      I also use http requests to control my aiconditioner via harmony , strangely this does alwYs work, regardless the status of vera orbarmony

      would be nice to have... does you airco have some kind of internet interface?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on June 22, 2015, 04:35:23 pm
      I basically can confirm reneboer's theory with my unreadable post above :p
      (Just found out that typing and driving is not such a good idea)
      I now must quote my CEO: Don't text and drive  ;)

      And being a motorcyclist I see at first hand how people drive with a phone in their hand and it always makes me mad and scared at the same time (sorry but I have to say that it is a deadly habit!).

      Cheers Rene

      PS: thanks for the confirmation that it seems to be a Harmony Hub thing.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on June 23, 2015, 06:42:40 am

      I basically can confirm reneboer's theory with my unreadable post above :p
      (Just found out that typing and driving is not such a good idea)
      I now must quote my CEO: Don't text and drive  ;)

      Nah, im not stupid like that, in the 90s i managed 50words/minute on a Nokia T9 keyboard without looking once to it, on iOs thats a lot harder to accomplish.
      Spellcheck usually rescuing me, but due the lack of physical response on the touchscreen, you either have to look at the screen (which requires to stop and type) or do it the old fashion way, and rely on you guys phantasy to de-cypher what i did try to type :p
      Title: Re: Plugin: Harmony Hub Control
      Post by: TwannieM on June 23, 2015, 06:45:24 am
      I must agree with Rene. Always a bad idea, whatever the phone  ;D
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sig on July 04, 2015, 08:35:49 pm
       ??? ???
      Thanks @reneboer.

      I have started to experience strange behavior with a scene that starts up my Sonos system.  I have no evidence it has anything to do with the Harmony, except that I've had my Sonos system, and the Vera plug-in for Sonos, for a very long time, and this only started happening as soon as I installed the Harmony remote (and the plug-in).

      For reasons I cannot understand, my scene, which starts up my Sonos, links all zones, sets volume to 15 and plays one of my Sonos Favorite Pandora stations, is firing randomly.  For example, this morning at about 7:15am, it fired and I was awakened to music.  It wasn't a terrible way to wake-up, but I certainly hadn't planned it that way :-).  It also just happened to me again a few minutes ago.  In this instance, the Sonos system was already on, at a lower volume and playing a different station.  My scene fired, which increased the volume on all zones and changed to the favorite station setup in my scene.  This scene in Vera has no schedule - it can only be triggered by a couple of my scene controllers and, now, the Harmony remote.

      Whenever this random scene firing occurs, it's when the Harmony currently has the Sonos activity "On."  In the aforementioned example (from this morning) I actually had the Sonos activity "On" on the remote last night, and I left it on when I went to sleep, just using my Sonos controller (iPhone) to shut off the Sonos.  And as indicated above, when the random firing occurred later, the remote again had the Sonos activity "On" although I had changed what the Sonos was playing (and the volume) directly using my Sonos controller.  You may be wondering why I'm using the Harmony at all - it's because my living room Sonos zone actually runs through my home theatre receiver, so I use the Harmony not only to turn on the Sonos, link the zones and select the music, but also to turn on the receiver and set it to the Sonos input, so I get music in that zone, in addition to the others which are controlled directly by Sonos amps - something the Sonos controller obviously can't do.

      Does the plug-in check to see if Sonos is in the state in which the remote put it, and if it isn't, it tries to re-establish that state, because the remote still has that activity as "On?"  That doesn't seem likely, given that the scene [re] firing occurs randomly.  For example, the Sonos was off all night - why did it only re-fire the scene at 7:15 this morning, and not earlier during the night?  I'm at a loss as to the cause of this.

      Hello Again @reneboer:

      This problem persists and it's boggling my mind.  In order to figure out at least the source of the issue, I setup an alert for when the Harmony activity for starting my Sonos is fired.  And sure enough, it's randomly firing.  I was just sitting here doing some work on my computer, and the Harmony Remote started up my Sonos and selected my station as if I had gone into the other room and pressed the Activity button on the remote myself.  Strangely, this only seems to happen when the activity is already "on" on the remote (similar to what I described in my earlier posting, I left the activity on, but had shut off the Sonos using my iPhone controller).  So for some reason, while the activity is on, it is periodically re-firing the Vera scene I've associated with it (i.e. triggered).  This doesn't happen if the remote activity is Off (which is a good thing, or I'd have music starting up at all sorts of random times).  For now, I'll have to discipline myself to shut the activity off on the remote to avoid this, but it does seem odd.  Any thoughts on why the remote would want to re-fire the Vera scene?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 06, 2015, 05:28:43 am
      Hello Again @reneboer:

      This problem persists and it's boggling my mind.  In order to figure out at least the source of the issue, I setup an alert for when the Harmony activity for starting my Sonos is fired.  And sure enough, it's randomly firing.  I was just sitting here doing some work on my computer, and the Harmony Remote started up my Sonos and selected my station as if I had gone into the other room and pressed the Activity button on the remote myself.  Strangely, this only seems to happen when the activity is already "on" on the remote (similar to what I described in my earlier posting, I left the activity on, but had shut off the Sonos using my iPhone controller).  So for some reason, while the activity is on, it is periodically re-firing the Vera scene I've associated with it (i.e. triggered).  This doesn't happen if the remote activity is Off (which is a good thing, or I'd have music starting up at all sorts of random times).  For now, I'll have to discipline myself to shut the activity off on the remote to avoid this, but it does seem odd.  Any thoughts on why the remote would want to re-fire the Vera scene?
      Hi Sig,
      Odd indeed. In an earlier version scenes would retrigger when luup got reloaded, but I thought I fixed that one. However, it does sound this could be a reason of what you are seeing.
      What version of the plug-in are you using and on what UI version? And do you have a scene that starts the activity? Is that triggered too? If you set log level at debug, can you see in the log the activity indeed restarts by a command from the Vera?
      One other thing you may want to check. Are you starting some other activity via the remote at that time? That activity could have the harmony send a power toggle command to the Sonos because the harmony assumes it is still on. I found that even for devices that have power on/off commands the harmony seems to send power toggle in most cases, so if you switched it on/off manually it stays out of sync until you do that manually a second time.
      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sig on July 06, 2015, 04:50:12 pm
      Hi Rene:

      I'm running version 2.2 of the Harmony Hub plug-in, and I'm on Vera UI5.  I don't have a scene that starts the activity - the activity actually fires a scene.  I haven't had a chance to look at the logs (in fact, I would really need to learn how to look at the logs).  In addition, I'm not starting another activity from the remote.  This happens when I've started my "Sonos" activity, and leave that activity in an "ON" state.  When I turn off the Sonos activity from the remote, everything behaves as expected (Sonos stops, my home theatre receiver powers down).  And this occurs while the Sonos is actually running, in addition to when I've turned it off (from the Sonos controller as opposed to the Harmony remote).  If Sonos is already on (for example, a different station/playlist or volume level, the scene will fire and change the station and volume per my scene).  Again, this only happens when the Harmony remote activity is in the "ON" state.  Nothing bizarre occurs if the Harmony activity is off.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 07, 2015, 04:13:21 pm
      Well I didn't make it threw all 15 pages, but I came close  ;D

      I'm looking to control my fire tv (stupid Bluetooth remote) and my Samsung TV with one remote.

      Harmony Home Control
      149.99
      vs.
      Harmony Smart Control
      129.99

      Hubs look the same remote looks like it has a few more buttons (6 to be exact)....... Anything else am I missing?

      I want to be able to run some VERA scenes from the remote. Do I need the extra buttons to do that? Is it just more of a looks feature? Batteries, Size, or software any different? Can someone give me the run down? Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 07, 2015, 04:40:37 pm
      Hi,

      The Home series is the new one that is supposed to be ready for more home automation, hue, Nest etc. I read somewhere you could later also upgrade the Smart for this at a small fee.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 07, 2015, 05:17:23 pm
      Hi,

      The Home series is the new one that is supposed to be ready for more home automation, hue, Nest etc. I read somewhere you could later also upgrade the Smart for this at a small fee.

      Cheers Rene

      So do I need the "Home Series" for this app or to be able to run scenes from the remote to VERA?
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on July 07, 2015, 09:22:31 pm
      Hi,

      The Home series is the new one that is supposed to be ready for more home automation, hue, Nest etc. I read somewhere you could later also upgrade the Smart for this at a small fee.

      Cheers Rene

      So do I need the "Home Series" for this app or to be able to run scenes from the remote to VERA?
      Nope, the basic hub works just fine with this

      EDIT: To clarify, the home series will control other home automation devices directly, through harmony software and remote. But this vera plugin works with either hub and allows you to control the hub connected devices through vera, and get status feedback
      Title: Re: Plugin: Harmony Hub Control
      Post by: daneg on July 08, 2015, 12:54:53 am
      the basic hub works just fine with this

      EDIT: To clarify, the home series will control other home automation devices directly, through harmony software and remote. But this vera plugin works with either hub and allows you to control the hub connected devices through vera, and get status feedback
      this looks cool. I picked up the smart hub as a standalone simply so I could control my AV with my phone and get bluetooth control of some of stuff that the IR could not.  don't really need to control it through vera but...gotta give this a look see.  8)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 08, 2015, 04:16:57 am
      Hi,

      The Home series is the new one that is supposed to be ready for more home automation, hue, Nest etc. I read somewhere you could later also upgrade the Smart for this at a small fee.

      Cheers Rene

      So do I need the "Home Series" for this app or to be able to run scenes from the remote to VERA?
      Nope, the basic hub works just fine with this

      EDIT: To clarify, the home series will control other home automation devices directly, through harmony software and remote. But this vera plugin works with either hub and allows you to control the hub connected devices through vera, and get status feedback
      Much better answer. Must not have been fully awake when I gave mine  ;)
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on July 08, 2015, 08:30:32 am
      Hi,

      The Home series is the new one that is supposed to be ready for more home automation, hue, Nest etc. I read somewhere you could later also upgrade the Smart for this at a small fee.

      Cheers Rene

      So do I need the "Home Series" for this app or to be able to run scenes from the remote to VERA?
      Nope, the basic hub works just fine with this

      EDIT: To clarify, the home series will control other home automation devices directly, through harmony software and remote. But this vera plugin works with either hub and allows you to control the hub connected devices through vera, and get status feedback
      Much better answer. Must not have been fully awake when I gave mine  ;)
      You did all the coding, the least we can do is answer a couple of questions :D
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 08, 2015, 06:14:31 pm
      Thanks guys I ended up getting the HOME series at BESTBUY for 129.99 yesterday. Setup the basic to control my FireTV and the Smart TV. Now need to read the best way to get the Light buttons on the remote to trigger a scene in VERA.
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on July 08, 2015, 07:10:44 pm
      Hi Rene,
      I love this and have been using it for a while but today I upgraded my Harmony Hub (https://support.myharmony.com/en/harmony-software-upgrade-4-x?utm_source=2015-05-26-fw4x&utm_medium=email&utm_campaign=support%20article%20-%20s-a-2200&wt.mc_id=amr_email_harmony_upgrade_052015_en_us#howtoupgrade-mobile) and now this is no longer working. How can I fix it? Let me know if I can provide any more info. Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on July 08, 2015, 07:19:05 pm
      Hi Rene,
      I love this and have been using it for a while but today I upgraded my Harmony Hub (https://support.myharmony.com/en/harmony-software-upgrade-4-x?utm_source=2015-05-26-fw4x&utm_medium=email&utm_campaign=support%20article%20-%20s-a-2200&wt.mc_id=amr_email_harmony_upgrade_052015_en_us#howtoupgrade-mobile) and now this is no longer working. How can I fix it? Let me know if I can provide any more info. Thanks!

      Okay I got it fixed, just needed to refresh the activities in Vera and power cycle the Hub.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 09, 2015, 12:48:38 am
      I seem to be a tad bit lost. I'm trying to get my "HOME" remote to work with light bulb buttons.

      Appears to even be able to use those buttons on the remote you need to add a "Home Control" device (which I don't have any on their list and all fail to install) without that I can't seem to create an activity for when that button is pressed and there for vera can't poll for that activity.

      So my question seems to be getting a dummy device setup for the harmony hub to allow me to use the light bulb and outlets buttons.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 09, 2015, 04:21:35 am
      Hi integlikewhoa,

      Note that the Hub only reports the current activity and not any of the device commands. So if you want to control lights using a dummy device you will have to add a IR receiver to your Vera that you learn the IR codes of your dummy devices the remote and use that to trigger the lights. I am using the Kean IR with Rex's KiraRX plugin. See http://forum.micasaverde.com/index.php/topic,28689.msg213046.html#msg213046 (http://forum.micasaverde.com/index.php/topic,28689.msg213046.html#msg213046).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 09, 2015, 04:33:12 pm
      Hi integlikewhoa,

      Note that the Hub only reports the current activity and not any of the device commands. So if you want to control lights using a dummy device you will have to add a IR receiver to your Vera that you learn the IR codes of your dummy devices the remote and use that to trigger the lights. I am using the Kean IR with Rex's KiraRX plugin. See http://forum.micasaverde.com/index.php/topic,28689.msg213046.html#msg213046 (http://forum.micasaverde.com/index.php/topic,28689.msg213046.html#msg213046).

      Cheers Rene

      So say I have the Kean IR and rex's plugin. How do I create a "Home Control" dummy device? From what I read or playing with the remote the light buttons only work with a "Home Control" device.

      I currently made a regular dummy device and have my vera polling to see the change. I used the colored buttons to to trigger a light. It works, but if I'm watching tv and I hit the button it shuts down the current "TV" activity and then works the light. I guess I could get around this buy going into each current activity and adding the dummy device to each and reprogram the buttons I want.

      Problem still lies that I can't use the Light Bulb icons only the normal remote buttons.

      EDIT: 

      Also on the Kira how do we get that in the USA. I don't see it for sale anywhere here.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 10, 2015, 04:18:19 am
      Hi integlikewhoa,

      Yes bit annoying that you can only have excusive activities where the Harmony will turn anything off that is not in the new activity.

      For this I created a Timeguard four button IR switch and a Universal Devices 40 button device learned the IR codes in the KiraRX and I just select those devices on the Harmony if I want to control the lights that way.

      I thought I read in one of Rex posts on the Kira plugin there is some equivalent that you can get in the US.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 10, 2015, 01:18:48 pm
      Maybe I missed it but this doesnt seem to help with the light bulb buttons and or outlet buttons on my remote does it?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 11, 2015, 07:03:37 am
      If you have them on your mobile that can dub as a remote as well, then no. Not for me as I can still control it from the couch with a beer in my other hand  ;D. But I do hope there will be something Harmony does with the Home series that can help to get more information from the hub.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wsyaeger on July 14, 2015, 01:35:15 am
      I recently created a new child device under the Harmony Hub Control plugin in UI5. Like my previous child devices, I created it with "embedded" checked. However, I'd like to list the child device in a different room. When I try to simply change the room, from the UI5 dropdown, it goes back to the same room as the parent device after a Vera reload (even after I uncheck "embedded" in the advance setting of the child device). Is there a way to unembed a child device and move it?
      I also tried to delete the child device (via trash can icon in the child device's settings), so I could recreate it, but it continued to reappear after vera reloads. What is the proper way to delete a child device?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 14, 2015, 06:37:21 am
      Hi,

      To remove a child device simply unselect it from the Devices list in the Harmony Control and click save changes. After your Vera reloaded, you can create it again with the embedded option set to no.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: BloatedToad on July 14, 2015, 08:11:49 am
      thanks rene, helped me too
      Title: Re: Plugin: Harmony Hub Control
      Post by: wsyaeger on July 15, 2015, 10:55:01 pm
      Hi,

      To remove a child device simply unselect it from the Devices list in the Harmony Control and click save changes. After your Vera reloaded, you can create it again with the embedded option set to no.

      Cheers Rene
      Thank you very much.  That worked. (although I still had problems using Internet Explorer) .
      Title: Re: Plugin: Harmony Hub Control
      Post by: Floridagator on July 15, 2015, 11:17:12 pm
      I just recently got a Harmony Ultimate and I am trying to learn how to make it work with this plugin. I went through the forum looking for the manual for the plugin, but I can't find it. Can anyone point me in the direction?

      Right now I've mapped an activity to one button which allows me to turn the activity on, but I can't figure out how to turn it off or get the plugin to recognize when I turn the activity off from the remote. My goal is to get lights to turn on/off based on an activity being turned on/off.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 16, 2015, 04:05:35 am
      Hi Floridagator,

      The very first article in this tread has a copy of the manual.

      To turn off an activity you have to include PowerOff in the list of activities you map to a button. This basically maps to the remote Off button to turn off the current activity.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Floridagator on July 16, 2015, 09:29:44 pm
      Thank you so much for getting back to me so fast. I got that "doh" moment after I read it though. I had been through all 17 pages multiple times and I never saw the attachments until just now and I didn't get the other posts about the "power off" until you wrote what you did. Ugh.

      Nice manual BTW!

      Thanks again!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 17, 2015, 05:18:31 am
      Your welcome and thanks.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Gklmdawson on July 19, 2015, 02:14:44 pm
      Control Vera with Harmony Home Remote.

      I just wanted to post a quick update about my experience with the harmony home control remote and vera. while watching tv I prefer to use a remote with buttons (rather then touch screen). I really like being able to control my tv and audio from vera with this plugin. but when I'm watching tv I'd like to turn on/off the lights without getting my phone/walking to the switch.

      I recently bought an amazon echo. I setup the echo to work with vera (going to be a gamechanger at my house) which requires a hue emulator. I then tested the harmony home control remote and it recognized the hue emulator. I was able to program the buttons on the home control remote to turn off a light and run a scene. there are four buttons and each buttons has 2 commands (long and short press). so I can control up to 8 devices  and/or scenes in vera from each remote. the instructions I used are found here:

      http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/ (http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/)

      instead of using the echo to scan for devices use the harmony app.

      some of you may have this runing already but it really was a great find for me.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 20, 2015, 05:05:52 am
      Cool, thanks for sharing that. So I may consider getting a PI and give that a go. it will sure beta the Kira on price and likely on function as well reading your experience.

      BTW; I did briefly look at the hue emulator code but I doubt there is a way to run that on the Vera box it self. As far as I could find you cannot open all the ports the hue is requiring. And translating all that code in LUA is a huge task as well. But I must admit I am pretty new to that bit of HA. So maybe there is a way, and I am just not seeing it yet.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on July 20, 2015, 07:09:28 am
      The hue emulator runs on java and uses quite a bit of ram as is. I think the base framework they used is maven.

      A lot of people run it on a raspberry pi, or if you have a docker capable nas, there is a docker for it as well
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on July 20, 2015, 07:20:57 am
      Control Vera with Harmony Home Remote.

      I just wanted to post a quick update about my experience with the harmony home control remote and vera. while watching tv I prefer to use a remote with buttons (rather then touch screen). I really like being able to control my tv and audio from vera with this plugin. but when I'm watching tv I'd like to turn on/off the lights without getting my phone/walking to the switch.

      I recently bought an amazon echo. I setup the echo to work with vera (going to be a gamechanger at my house) which requires a hue emulator. I then tested the harmony home control remote and it recognized the hue emulator. I was able to program the buttons on the home control remote to turn off a light and run a scene. there are four buttons and each buttons has 2 commands (long and short press). so I can control up to 8 devices  and/or scenes in vera from each remote. the instructions I used are found here:

      http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/ (http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/)

      instead of using the echo to scan for devices use the harmony app.

      some of you may have this runing already but it really was a great find for me.
      I have been running the hue emulator for a while and have been controlling vera devices through the echo.

      However my harmony hub does not find the hue emulator. Which version are you running and did you have to do anything special for harmony hub to discover it?

      I have harmony smart control hub, with firmware 4.x, which supposedly works with hue and had the option to add hue devices
      Title: Re: Plugin: Harmony Hub Control
      Post by: Gklmdawson on July 20, 2015, 08:33:41 am
      Control Vera with Harmony Home Remote.

      I just wanted to post a quick update about my experience with the harmony home control remote and vera. while watching tv I prefer to use a remote with buttons (rather then touch screen). I really like being able to control my tv and audio from vera with this plugin. but when I'm watching tv I'd like to turn on/off the lights without getting my phone/walking to the switch.

      I recently bought an amazon echo. I setup the echo to work with vera (going to be a gamechanger at my house) which requires a hue emulator. I then tested the harmony home control remote and it recognized the hue emulator. I was able to program the buttons on the home control remote to turn off a light and run a scene. there are four buttons and each buttons has 2 commands (long and short press). so I can control up to 8 devices  and/or scenes in vera from each remote. the instructions I used are found here:

      http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/ (http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/)

      instead of using the echo to scan for devices use the harmony app.

      some of you may have this runing already but it really was a great find for me.
      I have been running the hue emulator for a while and have been controlling vera devices through the echo.

      However my harmony hub does not find the hue emulator. Which version are you running and did you have to do anything special for harmony hub to discover it?

      I have harmony smart control hub, with firmware 4.x, which supposedly works with hue and had the option to add hue devices
      I'm running 4.5.106 as the hub software and version 4.4.2 of the harmony app. It was build 90. I had to update it before I did the discovery. I also have the latest 0.2.0 emulator running.

      I didn't do anything special. I just added the hue through the harmony wizard. Good luck.
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on July 20, 2015, 03:41:46 pm
      Control Vera with Harmony Home Remote.

      I just wanted to post a quick update about my experience with the harmony home control remote and vera. while watching tv I prefer to use a remote with buttons (rather then touch screen). I really like being able to control my tv and audio from vera with this plugin. but when I'm watching tv I'd like to turn on/off the lights without getting my phone/walking to the switch.

      I recently bought an amazon echo. I setup the echo to work with vera (going to be a gamechanger at my house) which requires a hue emulator. I then tested the harmony home control remote and it recognized the hue emulator. I was able to program the buttons on the home control remote to turn off a light and run a scene. there are four buttons and each buttons has 2 commands (long and short press). so I can control up to 8 devices  and/or scenes in vera from each remote. the instructions I used are found here:

      http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/ (http://www.myzwave.net/index.php/using-amazon-echo-to-control-your-vera-powered-z-wave-smarthome/)

      instead of using the echo to scan for devices use the harmony app.

      some of you may have this runing already but it really was a great find for me.
      I have been running the hue emulator for a while and have been controlling vera devices through the echo.

      However my harmony hub does not find the hue emulator. Which version are you running and did you have to do anything special for harmony hub to discover it?

      I have harmony smart control hub, with firmware 4.x, which supposedly works with hue and had the option to add hue devices
      I'm running 4.5.106 as the hub software and version 4.4.2 of the harmony app. It was build 90. I had to update it before I did the discovery. I also have the latest 0.2.0 emulator running.

      I didn't do anything special. I just added the hue through the harmony wizard. Good luck.
      Interesting. I have the same exact versions. In the harmony app (android) when I try to add a new hue bridge it searches for about a minute and it fails.

      I'll test more tonight. It's good to hear that others got it to work. I thought it wouldn't work based on my failure
      Title: Re: Plugin: Harmony Hub Control
      Post by: Gklmdawson on July 20, 2015, 03:55:07 pm
      I don't think it matters but im running the hue emulator on a Windows 8 machine.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 20, 2015, 04:00:06 pm
      I don't think it matters but im running the hue emulator on a Windows 8 machine.

      I have an ECHO and ran the emulator on a windows 8 machine, but I had to many issues and wasn't using echo so much so I dropped it. But I have a Harmony HUB and now thinking about bringing this back into the mix and killing a few birds with one stone. Never owned a PI and still struggling with buying one. I'm interested to see how this pans out.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sig on July 23, 2015, 10:14:31 pm
      Hi Rene:

      I'm running version 2.2 of the Harmony Hub plug-in, and I'm on Vera UI5.  I don't have a scene that starts the activity - the activity actually fires a scene.  I haven't had a chance to look at the logs (in fact, I would really need to learn how to look at the logs).  In addition, I'm not starting another activity from the remote.  This happens when I've started my "Sonos" activity, and leave that activity in an "ON" state.  When I turn off the Sonos activity from the remote, everything behaves as expected (Sonos stops, my home theatre receiver powers down).  And this occurs while the Sonos is actually running, in addition to when I've turned it off (from the Sonos controller as opposed to the Harmony remote).  If Sonos is already on (for example, a different station/playlist or volume level, the scene will fire and change the station and volume per my scene).  Again, this only happens when the Harmony remote activity is in the "ON" state.  Nothing bizarre occurs if the Harmony activity is off.

      So I setup a notification to text me every time my Sonos scene was triggered from the Harmony remote.  Sure enough, I'm getting alerts that the scene is being triggered at random times when it's already active.  I fired the scene off with the remote about two hours ago to play some music, and since that time, I've received three notifications of the scene being re-triggered.  This would clearly explain the Poltergeist in my Sonos when I leave the scene active, but turn off the Sonos directly with the Sonos controller.  What it doesn't explain is why the Harmony keeps firing off the scene - it's like it doesn't know it's already on and it's trying to turn itself on again.  Any clue what might be happening?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 24, 2015, 04:22:06 am
      Hi Sig,

      Pesty problem indeed. Do you have scenes on other activities than the Sonos one? If so can you try if those fire at random as well? If not, can you add some? If you can also make one on the Off status that may help. I think the Current Activity ID is lost on your Vera for some reason and a next poll sets it to the Sonos value again and that triggers the scene again. Problem is that I cannot figure out why the value would be lost even if a poll to the Hub fails.

      Else you really have to provide a log with logging for the plugin at debug level as I am blind to what goes on with your setup at the moment. On mine I really cannot reproduce this (but it is not the first time that others had something happening I could only reproduce by replaying some specific situation I do not seem to have happening)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 24, 2015, 09:14:36 am
      Hi Rene:

      I'm running version 2.2 of the Harmony Hub plug-in, and I'm on Vera UI5.  I don't have a scene that starts the activity - the activity actually fires a scene.  I haven't had a chance to look at the logs (in fact, I would really need to learn how to look at the logs).  In addition, I'm not starting another activity from the remote.  This happens when I've started my "Sonos" activity, and leave that activity in an "ON" state.  When I turn off the Sonos activity from the remote, everything behaves as expected (Sonos stops, my home theatre receiver powers down).  And this occurs while the Sonos is actually running, in addition to when I've turned it off (from the Sonos controller as opposed to the Harmony remote).  If Sonos is already on (for example, a different station/playlist or volume level, the scene will fire and change the station and volume per my scene).  Again, this only happens when the Harmony remote activity is in the "ON" state.  Nothing bizarre occurs if the Harmony activity is off.

      So I setup a notification to text me every time my Sonos scene was triggered from the Harmony remote.  Sure enough, I'm getting alerts that the scene is being triggered at random times when it's already active.  I fired the scene off with the remote about two hours ago to play some music, and since that time, I've received three notifications of the scene being re-triggered.  This would clearly explain the Poltergeist in my Sonos when I leave the scene active, but turn off the Sonos directly with the Sonos controller.  What it doesn't explain is why the Harmony keeps firing off the scene - it's like it doesn't know it's already on and it's trying to turn itself on again.  Any clue what might be happening?

      This is not a real solution for your problem, but if I were in your shoes PLEG would fix this problem for me. Most of my notifications are from PLEG already as they are based on me being home and away and some depending on how long or other conditions also.

      Ofcourse I'm already running PLEG, but the logic for my notifications in PLEG would not refire a notification if it already shows as active. I can even set the logic to be more precise. I could say not to re-fire the notification unless that hasn't been active for X amount of time (sec or min.) just incase it flashes that as not active then re-active randomly. Or you could say only fire if sonos was active only after off was active. So it would never fire the sonos scene again until it was shut off then turned back to sonos after. (operation of order)
      Title: Re: Plugin: Harmony Hub Control
      Post by: daneg on July 24, 2015, 10:38:04 am
      Thanks for this app.  I've installed it, but I'm having some difficulty configuring.  I have a constant alert message telling me to configure IP, email and password. 

      I set the lan address in "parameters" and the email & password in "variables."  I've confirmed that those settings were saved, but I'm still  unable to communicate with the hub, and the same alert message persists. 

      any pointers in the right direction are greatly appreciated. :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 24, 2015, 12:28:13 pm
      Thanks for this app.  I've installed it, but I'm having some difficulty configuring.  I have a constant alert message telling me to configure IP, email and password. 

      I set the lan address in "parameters" and the email & password in "variables."  I've confirmed that those settings were saved, but I'm still  unable to communicate with the hub, and the same alert message persists. 

      any pointers in the right direction are greatly appreciated. :)
      Hi Daneg,

      You should use the plugin settings tab to configure it, not the advanced tab. Please let me know if the problem persist after configuring it that way.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: daneg on July 24, 2015, 01:06:49 pm
      yes. the settings option wasn't available before but it's there now and everything looks correct.  I'm not sure, however, about the IP.  is that my lan ip or the ip assigned to my router from the ISP?

      edit: it's communicating now.  it was the IP.  I tried the router's IP.  that didn't work.  I re-entered the local IP, and it worked.  guess even though the ip was there, it wasn't "saved"? anyway...thanks.  looks like a neat app. gonna enjoy playing with it.  8)
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 24, 2015, 01:24:38 pm
      yes. the settings option wasn't available before but it's there now and everything looks correct.  I'm not sure, however, about the IP.  is that my lan ip or the ip assigned to my router from the ISP?

      edit: it's communicating now.  it was the IP.  I tried the router's IP.  that didn't work.  I re-entered the local IP, and it worked.  guess even though the ip was there, it wasn't "saved"? anyway...thanks.  looks like a neat app. gonna enjoy playing with it.  8)

      The IP needs to be the IP of your HUB. Every device has a different IP address that is assigned by your router. If its working you got the right IP.   
      Title: Re: Plugin: Harmony Hub Control
      Post by: daneg on July 24, 2015, 02:47:56 pm
      dunno how I missed the pdf manual about a week ago on the first post, but that was very helpful.  this thing is up and running and really wonderful.  I can do everything from one UI (web page).  looking forward to the vera mobile app catching up but this is all gravy.  thanks a bunch!
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on July 26, 2015, 04:33:15 pm
      Found this in the logs.  It looks related to the plugin due to the entries on either side of the errors.  Do I have something set incorrectly?  I found this morning and a few other times my scenes don't completely run.  Only part of the items I have harmony doing are completed.  I believe its the hub with issue but was wondering if these log entries could be related or just noise.

      06   07/26/15 15:11:13.172   Device_Variable::m_szValue_set device: 52 service: urn:rboer-com:serviceId:Harmony1 variable: LastCommandTime was: 15:11:08 Sun, 26 Jul 2015 now: 15:11:13 Sun, 26 Jul 2015 #hooks: 0 upnp: 0 skip: 0 v:0xfeace8/NONE duplicate:0 <0x76274520>
      06   07/26/15 15:11:13.173   Device_Variable::m_szValue_set device: 52 service: urn:rboer-com:serviceId:Harmony1 variable: IconSet was: 2 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x76274520>
      02   07/26/15 15:11:13.549   write_data_header failed with 0/401 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x34 0x30 0x31 0x20 0x55 0x6e 0x61 0x75 0x74 0x68 0x6f 0x72 0x69 0x7a 0x65 0x64 0xd 0xa (HTTP/1.1 401 Unauthorized\r\n) <0x7327a520>
      02   07/26/15 15:11:13.549   write_data_header wrote:0 bytes:27 <0x7327a520>
      02   07/26/15 15:11:13.550   write_data_header failed with 0/401 0x44 0x61 0x74 0x65 0x3a 0x20 0x53 0x75 0x6e 0x2c 0x20 0x32 0x36 0x20 0x4a 0x75 0x6c 0x20 0x32 0x30 0x31 0x35 0x20 0x31 0x35 0x3a 0x31 0x31 0x3a 0x31 0x33 0x20 0x47 0x4d 0x54 0xd 0xa (Date: Sun, 26 Jul 2015 15:11:13 GMT\r\n) <0x7327a520>
      02   07/26/15 15:11:13.550   write_data_header wrote:0 bytes:37 <0x7327a520>
      02   07/26/15 15:11:13.551   write_data_header failed with 0/401 0x53 0x65 0x72 0x76 0x65 0x72 0x3a 0x20 0x41 0x70 0x70 0x2d 0x77 0x65 0x62 0x73 0x2f 0xd 0xa (Server: App-webs/\r\n) <0x7327a520>
      02   07/26/15 15:11:13.551   write_data_header wrote:0 bytes:19 <0x7327a520>
      02   07/26/15 15:11:13.552   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x32 0x37 0x35 0xd 0xa (Content-Length: 275\r\n) <0x7327a520>
      02   07/26/15 15:11:13.552   write_data_header wrote:0 bytes:21 <0x7327a520>
      02   07/26/15 15:11:13.553   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x74 0x65 0x78 0x74 0x2f 0x68 0x74 0x6d 0x6c 0xd 0xa (Content-Type: text/html\r\n) <0x7327a520>
      02   07/26/15 15:11:13.554   write_data_header wrote:0 bytes:25 <0x7327a520>
      02   07/26/15 15:11:13.554   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x6b 0x65 0x65 0x70 0x2d 0x61 0x6c 0x69 0x76 0x65 0xd 0xa (Connection: keep-alive\r\n) <0x7327a520>
      02   07/26/15 15:11:13.555   write_data_header wrote:0 bytes:24 <0x7327a520>
      02   07/26/15 15:11:13.556   write_data_header failed with 0/401 0x4b 0x65 0x65 0x70 0x2d 0x41 0x6c 0x69 0x76 0x65 0x3a 0x20 0x74 0x69 0x6d 0x65 0x6f 0x75 0x74 0x3d 0x36 0x30 0x2c 0x20 0x6d 0x61 0x78 0x3d 0x39 0x39 0xd 0xa (Keep-Alive: timeout=60, max=99\r\n) <0x7327a520>
      02   07/26/15 15:11:13.557   write_data_header wrote:0 bytes:32 <0x7327a520>
      02   07/26/15 15:11:13.558   write_data_header failed with 0/401 0x57 0x57 0x57 0x2d 0x41 0x75 0x74 0x68 0x65 0x6e 0x74 0x69 0x63 0x61 0x74 0x65 0x3a 0x20 0x42 0x61 0x73 0x69 0x63 0x20 0x72 0x65 0x61 0x6c 0x6d 0x3d 0x22 0x44 0x53 0x2d 0x32 0x43 0x44 0x32 0x33 0x33 0x32 0x2d 0x49 0x22 0xd 0xa (WWW-Authenticate: Basic realm="DS-2CD2332-I"\r\n) <0x7327a520>
      02   07/26/15 15:11:13.558   write_data_header wrote:0 bytes:46 <0x7327a520>
      02   07/26/15 15:11:13.559   write_data_header failed with 0/401 0xd 0xa (\r\n) <0x7327a520>
      02   07/26/15 15:11:13.559   write_data_header wrote:0 bytes:2 <0x7327a520>
      02   07/26/15 15:11:13.565   write_data_header failed with 0/401 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x34 0x30 0x31 0x20 0x55 0x6e 0x61 0x75 0x74 0x68 0x6f 0x72 0x69 0x7a 0x65 0x64 0xd 0xa (HTTP/1.1 401 Unauthorized\r\n) <0x7347a520>
      02   07/26/15 15:11:13.566   write_data_header wrote:0 bytes:27 <0x7347a520>
      02   07/26/15 15:11:13.566   write_data_header failed with 0/401 0x44 0x61 0x74 0x65 0x3a 0x20 0x53 0x75 0x6e 0x2c 0x20 0x32 0x36 0x20 0x4a 0x75 0x6c 0x20 0x32 0x30 0x31 0x35 0x20 0x31 0x35 0x3a 0x31 0x31 0x3a 0x31 0x33 0x20 0x47 0x4d 0x54 0xd 0xa (Date: Sun, 26 Jul 2015 15:11:13 GMT\r\n) <0x7347a520>
      02   07/26/15 15:11:13.567   write_data_header wrote:0 bytes:37 <0x7347a520>
      02   07/26/15 15:11:13.567   write_data_header failed with 0/401 0x53 0x65 0x72 0x76 0x65 0x72 0x3a 0x20 0x41 0x70 0x70 0x2d 0x77 0x65 0x62 0x73 0x2f 0xd 0xa (Server: App-webs/\r\n) <0x7347a520>
      02   07/26/15 15:11:13.568   write_data_header wrote:0 bytes:19 <0x7347a520>
      02   07/26/15 15:11:13.568   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x32 0x37 0x35 0xd 0xa (Content-Length: 275\r\n) <0x7347a520>
      02   07/26/15 15:11:13.569   write_data_header wrote:0 bytes:21 <0x7347a520>
      02   07/26/15 15:11:13.569   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x74 0x65 0x78 0x74 0x2f 0x68 0x74 0x6d 0x6c 0xd 0xa (Content-Type: text/html\r\n) <0x7347a520>
      02   07/26/15 15:11:13.570   write_data_header wrote:0 bytes:25 <0x7347a520>
      02   07/26/15 15:11:13.571   write_data_header failed with 0/401 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x6b 0x65 0x65 0x70 0x2d 0x61 0x6c 0x69 0x76 0x65 0xd 0xa (Connection: keep-alive\r\n) <0x7347a520>
      02   07/26/15 15:11:13.571   write_data_header wrote:0 bytes:24 <0x7347a520>
      02   07/26/15 15:11:13.572   write_data_header failed with 0/401 0x4b 0x65 0x65 0x70 0x2d 0x41 0x6c 0x69 0x76 0x65 0x3a 0x20 0x74 0x69 0x6d 0x65 0x6f 0x75 0x74 0x3d 0x36 0x30 0x2c 0x20 0x6d 0x61 0x78 0x3d 0x39 0x39 0xd 0xa (Keep-Alive: timeout=60, max=99\r\n) <0x7347a520>
      02   07/26/15 15:11:13.572   write_data_header wrote:0 bytes:32 <0x7347a520>
      02   07/26/15 15:11:13.573   write_data_header failed with 0/401 0x57 0x57 0x57 0x2d 0x41 0x75 0x74 0x68 0x65 0x6e 0x74 0x69 0x63 0x61 0x74 0x65 0x3a 0x20 0x42 0x61 0x73 0x69 0x63 0x20 0x72 0x65 0x61 0x6c 0x6d 0x3d 0x22 0x44 0x53 0x2d 0x32 0x43 0x44 0x32 0x33 0x33 0x32 0x2d 0x49 0x22 0xd 0xa (WWW-Authenticate: Basic realm="DS-2CD2332-I"\r\n) <0x7347a520>
      02   07/26/15 15:11:13.573   write_data_header wrote:0 bytes:46 <0x7347a520>
      02   07/26/15 15:11:13.574   write_data_header failed with 0/401 0xd 0xa (\r\n) <0x7347a520>
      02   07/26/15 15:11:13.574   write_data_header wrote:0 bytes:2 <0x7347a520>
      06   07/26/15 15:11:18.101   Device_Variable::m_szValue_set device: 52 service: urn:rboer-com:serviceId:Harmony1 variable: IconSet was: 0 now: 2 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x76274520>
      06   07/26/15 15:11:18.191   Device_Variable::m_szValue_set device: 52 service: urn:rboer-com:serviceId:Harmony1 variable: LastCommandTime was: 15:11:13 Sun, 26 Jul 2015 now: 15:11:18 Sun, 26 Jul 2015 #hooks: 0 upnp: 0 skip: 0 v:0xfeace8/NONE duplicate:0 <0x76274520>
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 26, 2015, 04:56:37 pm
      Hi wezley69,

      As far as I could figure out it has to do with camera support. I guess you have one or two attached to your Vera with mode DS-2CD2332-I. I see something similar since the last UI7 release. It has nothing to do with the Harmony plugin.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 26, 2015, 04:58:09 pm
      Hi All,

      Just put version 2.4 out there. Please see the initial topic on this tread for the changes and fixes http://forum.micasaverde.com/index.php/topic,28689.0.html (http://forum.micasaverde.com/index.php/topic,28689.0.html).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on July 26, 2015, 05:23:06 pm
      Cut and pasted the link to force update but got this.

      <?xml version="1.0"?>

      -<u:CreatePluginResponse xmlns:u="Unknown Service">

      <OK>OK</OK>

      </u:CreatePluginResponse>

      It did appear to update.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 27, 2015, 05:08:47 am
      Cut and pasted the link to force update but got this.

      <?xml version="1.0"?>

      -<u:CreatePluginResponse xmlns:u="Unknown Service">

      <OK>OK</OK>

      </u:CreatePluginResponse>

      It did appear to update.
      Hi,

      No idea why that is. I just tried on my last box (UI6) and not getting that. Maybe the browser used as on Firefox there is a remark about the XML returned. IE may show that differently.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 27, 2015, 08:13:35 am
      Cut and pasted the link to force update but got this.

      <?xml version="1.0"?>

      -<u:CreatePluginResponse xmlns:u="Unknown Service">

      <OK>OK</OK>

      </u:CreatePluginResponse>

      It did appear to update.
      Hi,

      No idea why that is. I just tried on my last box (UI6) and not getting that. Maybe the browser used as on Firefox there is a remark about the XML returned. IE may show that differently.

      Cheers Rene

      I also got what appeared to be a funky message (maybe the same) but it updated and seems fine. I used Chrome on my UI7 Edge.
      Title: Re: Plugin: Harmony Hub Control
      Post by: filippodei on July 31, 2015, 09:27:39 am
      for me was all ok until yesterday, also before last firmware update pf my vera edge.
      now i receive always this:
      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      Can you help me?
      thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 08, 2015, 11:17:47 am
      for me was all ok until yesterday, also before last firmware update pf my vera edge.
      now i receive always this:
      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      Can you help me?
      thanks
      Hi,
      I assume using the phone app still works OK. Check with that if the op adress is still correct. Ideally you set your home router to always assign the same ip to your hub.

      Cheers Ren
      Title: Re: Plugin: Harmony Hub Control
      Post by: SuperPerry on August 14, 2015, 02:04:10 am
      for me was all ok until yesterday, also before last firmware update pf my vera edge.
      now i receive always this:
      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      Can you help me?
      thanks

      I am having the same problem - same error. Checked the IP address is correct. Help please new to Harmony and Veralite UI7. Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cherokee180c on August 16, 2015, 02:49:52 pm
      This is probably a stupid question, but is this plugin only for Vera to Harmony commands?  I want to simply trigger my Watch Movie and Pause Movie Vera scenes when starting a Harmony activity so the initiation is on the Harmony side.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on August 16, 2015, 06:18:25 pm
      Harmony does not report to vera, so you will have a delay on execute the scene as long as the polling time you set. It also works only with activities, not with single buttons inside an activity. (You can trigger acivity change and off) but not play/pause
      Title: Re: Plugin: Harmony Hub Control
      Post by: SuperPerry on August 18, 2015, 03:15:01 am
      Why my (settings) Harmony Hub IP Address keep changing the last digit 192.168.01.41 I had to manually change it to 192.168.01.5 (harmony hub static address)? It happened every few hours. >:(

      Any help - please.

      Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 19, 2015, 06:39:02 pm
      Why my (settings) Harmony Hub IP Address keep changing the last digit 192.168.01.41 I had to manually change it to 192.168.01.5 (harmony hub static address)? It happened every few hours. >:(

      Any help - please.

      Thanks!

      Your always better off entering the settings on your router and entering the priority IP address for the device (MAC address) there. Anytime that MAC ID (or device) pops in on the router the router will give it the address you have set.

      If you don't it gives it a open address of its choice. And if you try and make the device force a certain IP it can conflicts as the router is the ones that officially hands out the IP address's.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 20, 2015, 06:45:52 am
      Why my (settings) Harmony Hub IP Address keep changing the last digit 192.168.01.41 I had to manually change it to 192.168.01.5 (harmony hub static address)? It happened every few hours. >:(

      Any help - please.

      Thanks!
      Hi Perry,

      Make sure you are using the Settings tab and are not entering configuration values directly into the Variables tab. On UI7 those can be problematic and do not always stick.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: DesT on August 24, 2015, 03:13:23 pm
      I'm in the process to add the Harmony to my home automation setup... but not sure If I can take only

      http://www.logitech.com/en-ca/product/harmony-ultimate-home?crid=60

      And I will be good to use it with Vera and this plugin ?

      Or I need ALSO this:

      http://www.bestbuy.ca/en-CA/product/logitech-logitech-harmony-hub-extender-915-000253/10380351.aspx?path=ebc77e2c008230396903abff7166f93aen02
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 24, 2015, 06:57:57 pm
      I'm in the process to add the Harmony to my home automation setup... but not sure If I can take only

      http://www.logitech.com/en-ca/product/harmony-ultimate-home?crid=60

      And I will be good to use it with Vera and this plugin ?

      Or I need ALSO this:

      http://www.bestbuy.ca/en-CA/product/logitech-logitech-harmony-hub-extender-915-000253/10380351.aspx?path=ebc77e2c008230396903abff7166f93aen02

      You don't need the extender. The main thing you need is really only the harmony hub (which comes in the kit with the remote or by it's self). If oyu don't want to use your phone as a remote you get the kit with an acutal remote. But to make this plugin work and contol everythign from your phone all you need is the 99.00 hub. (not extension)

      I'm not sure what you want your end result to be, but currently Harmony remote will not control anything in VERA very well or at all. There is kind of a mickey way to get something to work but once you try it you'll see it don't work they way you think it will. The extra buttons on the "Home Control" remote vs. the normal remote do nothing for vera. Logitech currently only has around 4 controllers that can be set to use them and VERA is not one.

      I would like to turn on and off the lights in the bedroom where I have this remote in use. I am unable to do that in a way you think you should.

      What this app and hub really allow you to do right now (maybe this will change if logitech opens up to VERA or atleast generic HTTP commands in the future) is allows you to view current status in VERA and allows you to run all off or a scene you have created on the logitech. So if you have scene to run DVD player and it turns on the TV, DVD and Receiver and sets the inputs you could run this from vera or see if that is what was currently running from vera. 

      Read threw the previous post before you expect more then it will do.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Gklmdawson on August 25, 2015, 12:21:47 am
      I'm in the process to add the Harmony to my home automation setup... but not sure If I can take only

      http://www.logitech.com/en-ca/product/harmony-ultimate-home?crid=60

      And I will be good to use it with Vera and this plugin ?

      Or I need ALSO this:

      http://www.bestbuy.ca/en-CA/product/logitech-logitech-harmony-hub-extender-915-000253/10380351.aspx?path=ebc77e2c008230396903abff7166f93aen02

      You don't need the extender. The main thing you need is really only the harmony hub (which comes in the kit with the remote or by it's self). If oyu don't want to use your phone as a remote you get the kit with an acutal remote. But to make this plugin work and contol everythign from your phone all you need is the 99.00 hub. (not extension)

      I'm not sure what you want your end result to be, but currently Harmony remote will not control anything in VERA very well or at all. There is kind of a mickey way to get something to work but once you try it you'll see it don't work they way you think it will. The extra buttons on the "Home Control" remote vs. the normal remote do nothing for vera. Logitech currently only has around 4 controllers that can be set to use them and VERA is not one.

      I would like to turn on and off the lights in the bedroom where I have this remote in use. I am unable to do that in a way you think you should.

      What this app and hub really allow you to do right now (maybe this will change if logitech opens up to VERA or atleast generic HTTP commands in the future) is allows you to view current status in VERA and allows you to run all off or a scene you have created on the logitech. So if you have scene to run DVD player and it turns on the TV, DVD and Receiver and sets the inputs you could run this from vera or see if that is what was currently running from vera. 

      Read threw the previous post before you expect more then it will do.
      You can set up the hue emulator on a RPi and then program the home control buttons to control vera. I have this exact setup and it works great.
      Title: Re: Plugin: Harmony Hub Control
      Post by: DesT on August 25, 2015, 09:16:02 am
      My main goal with Harmony it's to control all the stuff in the living room with one remote (TV, Amp, Blueray, etc..) and with this plugin, I would like to be able to know "in" Vera when the TV is playing, so I can trigger some scene in Vera...

      that's possible?
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on August 25, 2015, 09:18:00 am
      Possible but with delay!
      And only for the active harmony scene, not device actions
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 25, 2015, 10:58:46 am
      Hi DesT,

      You map the harmony activities to buttons on your Vera. When you then hit the button on the Vera Gui and you have a scene trigger it will fire right away. When you start the activity from the remote and you set the plugin to poll for the activity, the scene will fire the moment the plugin polls the Harmony Hub. The polling time is 10 seconds minimally, so that would be the delay in triggering a scene on your Vera.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 25, 2015, 02:25:57 pm
      Hi DesT,

      You map the harmony activities to buttons on your Vera. When you then hit the button on the Vera Gui and you have a scene trigger it will fire right away. When you start the activity from the remote and you set the plugin to poll for the activity, the scene will fire the moment the plugin polls the Harmony Hub. The polling time is 10 seconds minimally, so that would be the delay in triggering a scene on your Vera.

      Cheers Rene

      Yeah and If your watching TV and you decide you want to turn off the light in the room or the fan how do you go about that without changing the TV or having a HUE emulator (raspberry Pi or Windows machine). That's my current delema. I'll probley end up with a PI at some point, but never played with them. A kit, with case, power supply, SD card (not sure if that's required) is like 70.00 for the newer PI 2 B. And I'm sure I can get it setup but it won'e be no 5 min project for my first time.

      I just don't want people to get the wrong idea without reading threw the whole thread on what they can and can't do. Also how plug and play it is or isn't with VERA if you want to use the HOME CONTROL buttons like I want to.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 25, 2015, 04:48:48 pm
      Hi DesT,

      You map the harmony activities to buttons on your Vera. When you then hit the button on the Vera Gui and you have a scene trigger it will fire right away. When you start the activity from the remote and you set the plugin to poll for the activity, the scene will fire the moment the plugin polls the Harmony Hub. The polling time is 10 seconds minimally, so that would be the delay in triggering a scene on your Vera.

      Cheers Rene

      Yeah and If your watching TV and you decide you want to turn off the light in the room or the fan how do you go about that without changing the TV or having a HUE emulator (raspberry Pi or Windows machine). That's my current delema. I'll probley end up with a PI at some point, but never played with them. A kit, with case, power supply, SD card (not sure if that's required) is like 70.00 for the newer PI 2 B. And I'm sure I can get it setup but it won'e be no 5 min project for my first time.

      I just don't want people to get the wrong idea without reading threw the whole thread on what they can and can't do. Also how plug and play it is or isn't with VERA if you want to use the HOME CONTROL buttons like I want to.
      Correct, to control other devices on your Vera this plug-in cannot do that as the Hub only relays the IR command, but does not communicate via IP it did . So one option is the HUE emulator on some other hardware (several options exist), or use the Keene KiRa with Rex's plugin for it. The Keene device costs about ?100,- and cannot do more than taking an IR command and trigger an action on your Vera. You could other things (openLuup, ALTUI, DataYours, etc) with a Phi or so. See here for more on that solution http://forum.micasaverde.com/index.php/topic,28689.msg240734.html#msg240734 (http://forum.micasaverde.com/index.php/topic,28689.msg240734.html#msg240734).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 25, 2015, 08:17:29 pm
      Hi DesT,

      You map the harmony activities to buttons on your Vera. When you then hit the button on the Vera Gui and you have a scene trigger it will fire right away. When you start the activity from the remote and you set the plugin to poll for the activity, the scene will fire the moment the plugin polls the Harmony Hub. The polling time is 10 seconds minimally, so that would be the delay in triggering a scene on your Vera.

      Cheers Rene

      Yeah and If your watching TV and you decide you want to turn off the light in the room or the fan how do you go about that without changing the TV or having a HUE emulator (raspberry Pi or Windows machine). That's my current delema. I'll probley end up with a PI at some point, but never played with them. A kit, with case, power supply, SD card (not sure if that's required) is like 70.00 for the newer PI 2 B. And I'm sure I can get it setup but it won'e be no 5 min project for my first time.

      I just don't want people to get the wrong idea without reading threw the whole thread on what they can and can't do. Also how plug and play it is or isn't with VERA if you want to use the HOME CONTROL buttons like I want to.
      Correct, to control other devices on your Vera this plug-in cannot do that as the Hub only relays the IR command, but does not communicate via IP it did . So one option is the HUE emulator on some other hardware (several options exist), or use the Keene KiRa with Rex's plugin for it. The Keene device costs about ?100,- and cannot do more than taking an IR command and trigger an action on your Vera. You could other things (openLuup, ALTUI, DataYours, etc) with a Phi or so. See here for more on that solution http://forum.micasaverde.com/index.php/topic,28689.msg240734.html#msg240734 (http://forum.micasaverde.com/index.php/topic,28689.msg240734.html#msg240734).

      Cheers Rene

      I actually ordered that 69.99 PI kit on Amazon today. 2 days before it gets here then I'm gonna have to figure out how to run the emulator on PI and how to use the emulator to trigger Vera devices.

      I also have a Amazon ECHO and have been following that thread with the emulator. I haven't looked deep enough but I'm not sure how much of the instructions are the same and where the difference will come in when using ECHO vs Harmony Home remote to control my lights and scenes. Stuff I'll have to look into here in the next few days.

      ECHO has been sitting quit for some time as the novality has worn off. I would like to use the Light button on the Home control remote to work the bedroom light and fan where that remote is. Then I will play with ECHO so I can use some voice commands. 

      This might also push me to get a few more Harmony remotes in the house if I can now control the Tv and lights from the same remote for that room.
      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on August 25, 2015, 09:54:49 pm


      Hi DesT,

      You map the harmony activities to buttons on your Vera. When you then hit the button on the Vera Gui and you have a scene trigger it will fire right away. When you start the activity from the remote and you set the plugin to poll for the activity, the scene will fire the moment the plugin polls the Harmony Hub. The polling time is 10 seconds minimally, so that would be the delay in triggering a scene on your Vera.

      Cheers Rene

      Yeah and If your watching TV and you decide you want to turn off the light in the room or the fan how do you go about that without changing the TV or having a HUE emulator (raspberry Pi or Windows machine). That's my current delema. I'll probley end up with a PI at some point, but never played with them. A kit, with case, power supply, SD card (not sure if that's required) is like 70.00 for the newer PI 2 B. And I'm sure I can get it setup but it won'e be no 5 min project for my first time.

      I just don't want people to get the wrong idea without reading threw the whole thread on what they can and can't do. Also how plug and play it is or isn't with VERA if you want to use the HOME CONTROL buttons like I want to.
      Correct, to control other devices on your Vera this plug-in cannot do that as the Hub only relays the IR command, but does not communicate via IP it did . So one option is the HUE emulator on some other hardware (several options exist), or use the Keene KiRa with Rex's plugin for it. The Keene device costs about ?100,- and cannot do more than taking an IR command and trigger an action on your Vera. You could other things (openLuup, ALTUI, DataYours, etc) with a Phi or so. See here for more on that solution http://forum.micasaverde.com/index.php/topic,28689.msg240734.html#msg240734 (http://forum.micasaverde.com/index.php/topic,28689.msg240734.html#msg240734).

      Cheers Rene

      I actually ordered that 69.99 PI kit on Amazon today. 2 days before it gets here then I'm gonna have to figure out how to run the emulator on PI and how to use the emulator to trigger Vera devices.

      I also have a Amazon ECHO and have been following that thread with the emulator. I haven't looked deep enough but I'm not sure how much of the instructions are the same and where the difference will come in when using ECHO vs Harmony Home remote to control my lights and scenes. Stuff I'll have to look into here in the next few days.

      ECHO has been sitting quit for some time as the novality has worn off. I would like to use the Light button on the Home control remote to work the bedroom light and fan where that remote is. Then I will play with ECHO so I can use some voice commands. 

      This might also push me to get a few more Harmony remotes in the house if I can now control the Tv and lights from the same remote for that room.

      Follow the directions here to install the bridge on the rpi

      http://forum.micasaverde.com/index.php?topic=28179.msg245174.msg#245174
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 25, 2015, 10:47:13 pm

      Follow the directions here to install the bridge on the rpi

      http://forum.micasaverde.com/index.php?topic=28179.msg245174.msg#245174

      Thanks, I have been following that thread. Just today looks like they got rid of the 25 device limit.
      Title: Re: Plugin: Harmony Hub Control
      Post by: niwmik on August 27, 2015, 11:58:37 am
      newbie here, i'm running UI7 on a veraedge with this plugin. trying to create my first scene with Luup code only.  when i run the following url in a browser, it works as expected.

      http://192.168.1.105:3480/data_request?id=lr_Harmony8&cmd=issue_device_command&cmdP1=17617333&cmdP2=ChannelUp

      but when i create a scene with the following Luup code, nothing happens.  is there something wrong with my syntax or am i doing something else wrong?

      rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony8", "IssueDeviceCommand",{DeviceID=17617333,Command="ChannelUp"},28)


      EDIT: figured out it was an incorrect syntax, should have been as follows

      rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "IssueDeviceCommand",{DeviceID=17617333,Command="ChannelUp"},8)
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 27, 2015, 09:40:52 pm
      Follow the directions here to install the bridge on the rpi

      http://forum.micasaverde.com/index.php?topic=28179.msg245174.msg#245174

      How do you get past this with the Fake Bridge?

      Title: Re: Plugin: Harmony Hub Control
      Post by: aptalca on August 27, 2015, 11:35:38 pm


      Follow the directions here to install the bridge on the rpi

      http://forum.micasaverde.com/index.php?topic=28179.msg245174.msg#245174

      How do you get past this with the Fake Bridge?

      As far as I know, the fake bridge is always in pair mode so you shouldn't be getting that screen. On my harmony app,  I see a message about pushing the button while it is searching but once it finds the bridge it pairs with it right away
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on August 27, 2015, 11:58:03 pm


      Follow the directions here to install the bridge on the rpi

      http://forum.micasaverde.com/index.php?topic=28179.msg245174.msg#245174

      How do you get past this with the Fake Bridge?

      As far as I know, the fake bridge is always in pair mode so you shouldn't be getting that screen. On my harmony app,  I see a message about pushing the button while it is searching but once it finds the bridge it pairs with it right away

      Yeah I'm having issues, echo finds nothing. With the bridge offline I don't get this screen and it finds nothing. With the Bridge on it mush find something, but not the right things as I don't get any further.

      EDIT: Well Echo is working fine and see's my devices. Still stuck in same spot on harmony hub.
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on September 03, 2015, 03:18:13 am
      Hi reneboer,
      this was working for me perfectly for months and then tonight it stopped. the error message i am getting is:
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      any idea how to fix this?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on September 03, 2015, 04:15:23 am
      Hi reneboer,
      this was working for me perfectly for months and then tonight it stopped. the error message i am getting is:
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      any idea how to fix this?
      My remote was having issues and after I installed the latest software from Harmony it seems ok again. Maybe try that. Unplugging the hub for a minute may also help.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on September 03, 2015, 09:37:28 am
      Hi reneboer,
      this was working for me perfectly for months and then tonight it stopped. the error message i am getting is:
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      any idea how to fix this?
      My remote was having issues and after I installed the latest software from Harmony it seems ok again. Maybe try that. Unplugging the hub for a minute may also help.

      Cheers Rene
      I tried that but no luck. I woke up this morning and it was working again. No idea what the actual problem was but its working now.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on September 03, 2015, 05:26:55 pm
      Hi reneboer,
      this was working for me perfectly for months and then tonight it stopped. the error message i am getting is:
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      any idea how to fix this?
      My remote was having issues and after I installed the latest software from Harmony it seems ok again. Maybe try that. Unplugging the hub for a minute may also help.

      Cheers Rene
      I tried that but no luck. I woke up this morning and it was working again. No idea what the actual problem was but its working now.
      Good. The magic of home automation  :o

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: rd on October 01, 2015, 10:58:03 pm
      I  am trying to see if this will work with the Harmony Link (the older model) or if it needs to be the Harmony Ultimate Hub.  The Link is much cheaper on ebay, and since I only need the IR blasting functions, I don't want to buy the fancier mode unless I need to.  I searched through both threads and the documentation but don't see this addressed specifically.  Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 02, 2015, 11:42:22 am
      I  am trying to see if this will work with the Harmony Link (the older model) or if it needs to be the Harmony Ultimate Hub.  The Link is much cheaper on ebay, and since I only need the IR blasting functions, I don't want to buy the fancier mode unless I need to.  I searched through both threads and the documentation but don't see this addressed specifically.  Thanks.
      Hi rd,

      I think others are using it with the Link. It seems the same Hub, but without a separate remote.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: rd on October 02, 2015, 12:36:57 pm
      I  am trying to see if this will work with the Harmony Link (the older model) or if it needs to be the Harmony Ultimate Hub.  The Link is much cheaper on ebay, and since I only need the IR blasting functions, I don't want to buy the fancier mode unless I need to.  I searched through both threads and the documentation but don't see this addressed specifically.  Thanks.
      Hi rd,

      I think others are using it with the Link. It seems the same Hub, but without a separate remote.

      Cheers Rene

      Wonderful.  Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 02, 2015, 08:58:02 pm
      I  am trying to see if this will work with the Harmony Link (the older model) or if it needs to be the Harmony Ultimate Hub.  The Link is much cheaper on ebay, and since I only need the IR blasting functions, I don't want to buy the fancier mode unless I need to.  I searched through both threads and the documentation but don't see this addressed specifically.  Thanks.
      Hi rd,

      I think others are using it with the Link. It seems the same Hub, but without a separate remote.

      Cheers Rene

      Are you sure, because the LINK hub and newer Ultimate HUB are physically different inside and outside. Bluetooth and such. I would also like to know but it's gonna take someone with a Real LINK hub anwser that. I have the newer style myself.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 04, 2015, 10:16:42 am
      I  am trying to see if this will work with the Harmony Link (the older model) or if it needs to be the Harmony Ultimate Hub.  The Link is much cheaper on ebay, and since I only need the IR blasting functions, I don't want to buy the fancier mode unless I need to.  I searched through both threads and the documentation but don't see this addressed specifically.  Thanks.
      Hi rd,

      I think others are using it with the Link. It seems the same Hub, but without a separate remote.

      Cheers Rene

      Are you sure, because the LINK hub and newer Ultimate HUB are physically different inside and outside. Bluetooth and such. I would also like to know but it's gonna take someone with a Real LINK hub anwser that. I have the newer style myself.
      You may be right. I was not aware there is an older Harmony Link app out there. I thought they where all using the same one. As the plugin mimics the app chances are it won't work with the Link.

      Cheers rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: lingerba on October 09, 2015, 09:48:56 am
      Is anyone using the Harmony Hub Extender yet?  It looks like it has finally been released.  http://www.logitech.com/en-us/product/harmony-home-hub-extender

      It specifically lists VeraEdge as a compatible device.  It goes on to say:

      Harmony Home Hub Extender can join the existing Z-Wave network for this Vera MCV Vera Edge. This allows you to view and control the devices currently connected to your MCV Vera Edge from both Harmony and Vera apps. Harmony supports model number: MCV Vera Edge.
      - https://support.myharmony.com/en-us/compatibility#hubextender

      It seems like because of the description above, it should be just as compatible with VeraLite as it is with VeraEdge, but I'm not sure.  I was hoping to get some feedback if anyone has tried it out yet.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on October 09, 2015, 09:39:17 pm
      The extender is simply a secondary controller, like a z-wave remote or a button panel. There is nothing special about it, just that you can assign z-wave devices to be controlled and the vera can make this assignments as the main controller, after it will work even if you turn off the vera.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 09, 2015, 10:51:40 pm
      The extender is simply a secondary controller, like a z-wave remote or a button panel. There is nothing special about it, just that you can assign z-wave devices to be controlled and the vera can make this assignments as the main controller, after it will work even if you turn off the vera.

      So you think that 2 different controllers will talk to the z-wave device directly? Vera can send a z-wave command to say a switch and so can this hub?
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on October 11, 2015, 03:05:24 am
      Exactly, once added to vera
      Vera will know if the extender flip some switches in realtime, just like if you have a z-wave remote or stick on switches.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 11, 2015, 11:12:51 pm
      Exactly, once added to vera
      Vera will know if the extender flip some switches in realtime, just like if you have a z-wave remote or stick on switches.

      That's not how Harmony is advertising it. It's a Z-wave controller...... The same as VERA with built in zigbee and Z-wave antenna's to talk directly to the z-wave device (z-wave devices can NOT be included in two devices at once). 

      Harmony Hub doesn't need a z-wave antenna in it to control smart home controllers. Without this extender a Harmony HUB can already control via HTTP/IP Smart Things hub, Hue Hubs and more...... List here
      https://support.myharmony.com/en-us/compatibility?utm_source=logitech.com&utm_medium=pdp&utm_campaign=compatibility%20lookup

      They could easily add VERA via IP control to that list without needing this Z-wave controller. And we have that already with the HUE Bridge/emulator. I see this extender more usual for someone that has z-wave devices and no controller(NO VERA). Add this Extender and now you can control your devices with he remote or the Phone/Tablet Harmony App. For us with VERA already I don't see this as being helpful or a step in the right direction.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 15, 2015, 12:47:42 pm
      Hi All,

      Just uploaded version 2.5. See the first topic for details http://forum.micasaverde.com/index.php/topic,28689.0.html (http://forum.micasaverde.com/index.php/topic,28689.0.html).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: NickTheGreat on October 15, 2015, 02:40:30 pm
      Could I use the Harmony Home Extender to use my Harmony Ultimate to control Z-wave devices?

      I'd really like to use the remote to turn on/off my HT lights.  I have Hues there, but the latest firmware from Logitech really neutered their functionality.    ::)
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 15, 2015, 02:54:36 pm
      Could I use the Harmony Home Extender to use my Harmony Ultimate to control Z-wave devices?

      I'd really like to use the remote to turn on/off my HT lights.  I have Hues there, but the latest firmware from Logitech really neutered their functionality.    ::)

      In theory that should work. I have yet to hear directly from anyone that has bought it and used it for this, but their website says that what it does so I can only assume that works.

      With that said several of us on here already control our Vera devices with the Harmony remote using a free software run on either a windows machine or a Raspberry pi. That is the HUE Bridge and is found in the Amazon Echo Bridge Thread. This works with or without HUE devices or HUE controller. I actually have no HUE devices or Hue controller but I can use the Harmony Home remote to turn on and off any VERA devices (lights, outlets, A/C, run scenes) with is all without the 99.00 Harmony Extender.
      Title: Re: Plugin: Harmony Hub Control
      Post by: NickTheGreat on October 15, 2015, 03:00:28 pm
      Could I use the Harmony Home Extender to use my Harmony Ultimate to control Z-wave devices?

      I'd really like to use the remote to turn on/off my HT lights.  I have Hues there, but the latest firmware from Logitech really neutered their functionality.    ::)

      In theory that should work. I have yet to hear directly from anyone that has bought it and used it for this, but their website says that what it does so I can only assume that works.

      With that said several of us on here already control our Vera devices with the Harmony remote using a free software run on either a windows machine or a Raspberry pi. That is the HUE Bridge and is found in the Amazon Echo Bridge Thread. This works with or without HUE devices or HUE controller. I actually have no HUE devices or Hue controller but I can use the Harmony Home remote to turn on and off any VERA devices (lights, outlets, A/C, run scenes) with is all without the 99.00 Harmony Extender.

      Thanks.  It seems like it should work.  I realize that the device is fairly new. 

      I'll look into the Hue thing.  It does sound vaguely familiar.  I don't want to have a PC going for Home Automation.  If I did that, I'd go Homeseer . . . :D 

      I'd consider a RPi though.  Appreciate the heads up there.   :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 15, 2015, 03:59:35 pm

      Thanks.  It seems like it should work.  I realize that the device is fairly new. 

      I'll look into the Hue thing.  It does sound vaguely familiar.  I don't want to have a PC going for Home Automation.  If I did that, I'd go Homeseer . . . :D 

      I'd consider a RPi though.  Appreciate the heads up there.   :)

      I have a Computer 24/7 for PLEX and BlueIris. I test drove HomeSeer on the same computer and found it to be the worse of the two evils in my experience.
      That said I still went the RPi direction as it was easier for me to setup and has been rock solid. The HUE thing also works for Amazon ECHO which I have so it is multi-purposed for me (maybe not you tho). A RPi is also cheaper then the Harmony Extender so I guess it would come down to functionality.

      I have yet to hear anyone try it...... So we need a tester! Let us know if you go that route and how it all works out.
       
      Title: Re: Plugin: Harmony Hub Control
      Post by: Aaron on October 15, 2015, 04:47:23 pm
      I have a Computer 24/7 for PLEX and BlueIris. I test drove HomeSeer on the same computer and found it to be the worse of the two evils in my experience.
      That said I still went the RPi direction as it was easier for me to setup and has been rock solid. The HUE thing also works for Amazon ECHO which I have so it is multi-purposed for me (maybe not you tho). A RPi is also cheaper then the Harmony Extender so I guess it would come down to functionality.

      I have yet to hear anyone try it...... So we need a tester! Let us know if you go that route and how it all works out.

      I must have missed is... what are you running on RPi?
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 15, 2015, 05:13:20 pm
      I have a Computer 24/7 for PLEX and BlueIris. I test drove HomeSeer on the same computer and found it to be the worse of the two evils in my experience.
      That said I still went the RPi direction as it was easier for me to setup and has been rock solid. The HUE thing also works for Amazon ECHO which I have so it is multi-purposed for me (maybe not you tho). A RPi is also cheaper then the Harmony Extender so I guess it would come down to functionality.

      I have yet to hear anyone try it...... So we need a tester! Let us know if you go that route and how it all works out.

      I must have missed is... what are you running on RPi?

      latest file I think is 0.4.9 From the user "CRUSH157" towards the end of this thread.
      http://forum.micasaverde.com/index.php/topic,31920.825.html

      There is alot of info there and from the beginning pages the files and directions have changed. Be sure to read the end more then the front of the thread.

      It started out as a ECHO tool that now does more then just Amazon ECHO. It turns your PI into an HUE Emulator that has a web UI. In the Web UI it will grab your vera devices and allow you to add a HUE controller to your Harmony to make the connection from ECHO/HARMONY to VERA. It's a bridge. 
      Title: Re: Plugin: Harmony Hub Control
      Post by: BOFH on October 18, 2015, 07:29:24 pm
      Since BestBuy is running a special today for $79.99 with free shipping for the 8 device Home control remote in white with hub, I decided to pick one up as it seems ReneBoer has made this interface pretty neatly with Vera. I'm hoping it'll allow Vera to control my Hisense and Sanyo TV's so I have full control over my Home Entertainment system.

      BestBuy link (http://www.bestbuy.com/site/logitech-harmony-home-control-white/8202007.p?id=1219317042091&skuId=8202007)
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on October 18, 2015, 07:47:44 pm
      Since BestBuy is running a special today for $79.99 with free shipping for the 8 device Home control remote in white with hub, I decided to pick one up as it seems ReneBoer has made this interface pretty neatly with Vera. I'm hoping it'll allow Vera to control my Hisense and Sanyo TV's so I have full control over my Home Entertainment system.

      BestBuy link (http://www.bestbuy.com/site/logitech-harmony-home-control-white/8202007.p?id=1219317042091&skuId=8202007)

      Good info!
      Title: Re: Plugin: Harmony Hub Control
      Post by: themanc38 on October 20, 2015, 06:22:57 pm
      I was able to install (v. 2.51), however, after entering the Harmony ip, email, pw, and clicking Save, I just see the green progress icon circling forever. It doesn't actually save the settings entered. I tried uninstalling and doing this on v2.4, but the result was the same. Anyone experience this as well?  I'm on UI7.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 21, 2015, 04:10:37 am
      I was able to install (v. 2.51), however, after entering the Harmony ip, email, pw, and clicking Save, I just see the green progress icon circling forever. It doesn't actually save the settings entered. I tried uninstalling and doing this on v2.4, but the result was the same. Anyone experience this as well?  I'm on UI7.
      Hi,

      Did you refresh your browser after the install? What browser version are you using? Did you try local or remote?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on October 21, 2015, 05:56:17 am

      just see the green progress icon circling forever.

      - install
      - reload button
      - resfresh ui
      - set ip, user, pass
      - click save and continue
      - refresh UI
      - reload button
      - refresh UI
      Title: Re: Plugin: Harmony Hub Control
      Post by: themanc38 on October 21, 2015, 02:09:43 pm
      Refreshing the browser right after install fixed it.  Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 22, 2015, 06:58:18 am
      Refreshing the browser right after install fixed it.  Thanks.
      Thanks for letting me know. The plugin needs to rewrite some of the files that control how it displays after the initial install. That is why it needs a few extra kicks to get going.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: mzpost on November 02, 2015, 04:56:10 am
      In the last few days my Vera wont connect to the harmony hub at all (and I've checked and tried everything), has anyone seen this issue ?.  I recently updated the software on the hub to the latest version and I'm wondering if that could be a factor, have Logitech changed something their end ?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 02, 2015, 05:08:58 am
      In the last few days my Vera wont connect to the harmony hub at all (and I've checked and tried everything), has anyone seen this issue ?.  I recently updated the software on the hub to the latest version and I'm wondering if that could be a factor, have Logitech changed something their end ?
      Hi,

      What is your hub software version? I have 4.7.84 and that still works.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: mzpost on November 02, 2015, 06:25:44 am
      I'm on 4.7.84 as well.  Hmmm need to look deeper but on the face of if everything is set up as it should be. Ive done another full reset of everything this morning and it now appears to be back up.  I think it was the IP address that had managed to drop from where it normally was.
      Title: Plugin: Harmony Hub Control
      Post by: nullx8 on November 02, 2015, 08:23:13 am
      Still on 3.12.somethings
      -never touch a running system- :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: parkerc on November 14, 2015, 03:54:26 am
      Hi

      Can anyone confirm that this works with the new Harmony Elite Remote & Hub

      http://www.logitech.com/en-gb/product/harmony-elite
      Title: Re: Plugin: Harmony Hub Control
      Post by: Javelin on November 16, 2015, 01:34:36 am
      Looking at purchasing the smarthub with basic remote from jbhifi this week.

      Just to clarify

      There are 3 Activities buttons that are available as polling scenes for Vera. With a long press they become 6 Total.

      So I could use the sixth as a Master off trigger for vera to turn everything off?

      I see there is a bluetooth profile for Openelec.

      How well would the button presses relay to a android box specifically a Nivida Shield Tv running android Kodi?

      Thanks in advance if anyone knows.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 16, 2015, 08:51:51 am
      Hi

      Can anyone confirm that this works with the new Harmony Elite Remote & Hub

      http://www.logitech.com/en-gb/product/harmony-elite
      Hi,
      I must say I can't be 100% sure. It seems to be using a different Hub version, but that same smart phone app. The plugin emulates the app, so good change it does work.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on November 16, 2015, 11:00:58 pm
      Quote
      Just to clarify

      There are 3 Activities buttons that are available as polling scenes for Vera. With a long press they become 6 Total.

      So I could use the sixth as a Master off trigger for vera to turn everything off?

      That is correct, the off button will be as harmony activity 0
      So yes you can have truggers on it

      But they do not execute in realtime (only after the plugin register the change by poll)
      Title: Re: Plugin: Harmony Hub Control
      Post by: tomgru on November 26, 2015, 12:29:59 pm
      Hi reneboer,
      this was working for me perfectly for months and then tonight it stopped. the error message i am getting is:
      CMD: Failed sending command start_activity to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response

      any idea how to fix this?
      My remote was having issues and after I installed the latest software from Harmony it seems ok again. Maybe try that. Unplugging the hub for a minute may also help.

      Cheers Rene

      JUST FYI for others... this happened to me as well this morning.  working flawlessly forever, then this error. Synced the Harmony with whatever new software it must have had, then rebooted the hub.  Came back immediately. 
      Title: Re: Plugin: Harmony Hub Control
      Post by: tomgru on November 26, 2015, 12:31:31 pm
      I  am trying to see if this will work with the Harmony Link (the older model) or if it needs to be the Harmony Ultimate Hub.  The Link is much cheaper on ebay, and since I only need the IR blasting functions, I don't want to buy the fancier mode unless I need to.  I searched through both threads and the documentation but don't see this addressed specifically.  Thanks.
      Hi rd,

      I think others are using it with the Link. It seems the same Hub, but without a separate remote.

      Cheers Rene

      Are you sure, because the LINK hub and newer Ultimate HUB are physically different inside and outside. Bluetooth and such. I would also like to know but it's gonna take someone with a Real LINK hub anwser that. I have the newer style myself.
      You may be right. I was not aware there is an older Harmony Link app out there. I thought they where all using the same one. As the plugin mimics the app chances are it won't work with the Link.

      Cheers rene

      Anyone figure this one out?  I have the older Harmony Ultimate as well.. be great to control with vera.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Laughing Man on November 28, 2015, 09:26:12 pm
      Am I suppose to see a login prompt for my Veralite (running UI5) after clicking "Save Changes" on the Activity Mapping page? Clicking "Cancel" does nothing, and typing in my password only asks for another password repeatedly until the Vera reloads. But once the Vera re-loads it seems none of the Activities are mapped.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on November 28, 2015, 09:29:12 pm

      .... only asks for another password repeatedly until the Vera reloads. But once the Vera re-loads it seems none of the Activities are mapped.

      Try flush the webbrowsers Cache
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on November 28, 2015, 10:34:29 pm
      I am having a strange issue and hope someone may of had this problem.  I will loose communication if I try to run a Harmony Home scene that is set up in the Hub via Vera.  Example turn on TV icon which turns on the TV and Stereo together.  But if I click on a child device in Vera I can turn on the TV with no issue.  Or if I click on stereo child device it will turn on and off reliably.  But I can seldom get the built in hub functions to activate in Vera on the main device.  I will get a communication error.

      Also the remote icon is hardly ever green.  It turns blue when I try to activate a hub scene and then does nothing.  Sometimes it will turn amber but only goes green if I enter the settings and go out.

      I experimented with time outs and polling with no luck.  Any ideas what could be causing this?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Laughing Man on November 29, 2015, 05:15:22 pm

      .... only asks for another password repeatedly until the Vera reloads. But once the Vera re-loads it seems none of the Activities are mapped.

      Try flush the webbrowsers Cache

      Using Internet Explorer 11, latest version. Removed browser history, cache, cookies, and it still does the same thing. Going try Chrome next.

      Edit: Chrome works.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 29, 2015, 05:57:07 pm
      I am having a strange issue and hope someone may of had this problem.  I will loose communication if I try to run a Harmony Home scene that is set up in the Hub via Vera.  Example turn on TV icon which turns on the TV and Stereo together.  But if I click on a child device in Vera I can turn on the TV with no issue.  Or if I click on stereo child device it will turn on and off reliably.  But I can seldom get the built in hub functions to activate in Vera on the main device.  I will get a communication error.

      Also the remote icon is hardly ever green.  It turns blue when I try to activate a hub scene and then does nothing.  Sometimes it will turn amber but only goes green if I enter the settings and go out.

      I experimented with time outs and polling with no luck.  Any ideas what could be causing this?
      I have not heard this behavior before. What plugin and hub version are you using?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on November 29, 2015, 07:24:25 pm
      Harmony 4.8.25
      App 2.51

      Thanks for your help.



      I am having a strange issue and hope someone may of had this problem.  I will loose communication if I try to run a Harmony Home scene that is set up in the Hub via Vera.  Example turn on TV icon which turns on the TV and Stereo together.  But if I click on a child device in Vera I can turn on the TV with no issue.  Or if I click on stereo child device it will turn on and off reliably.  But I can seldom get the built in hub functions to activate in Vera on the main device.  I will get a communication error.

      Also the remote icon is hardly ever green.  It turns blue when I try to activate a hub scene and then does nothing.  Sometimes it will turn amber but only goes green if I enter the settings and go out.

      I experimented with time outs and polling with no luck.  Any ideas what could be causing this?
      I have not heard this behavior before. What plugin and hub version are you using?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: nullx8 on November 30, 2015, 05:57:55 am

      Harmony 4.8.25
      App 2.51

      Are you sure about this numbers ?
      The app should be by around version 4.7 by now
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on November 30, 2015, 07:56:10 am
      For app I am referring to the Vera app. Sorry for the confusion.


      Harmony 4.8.25
      App 2.51

      Are you sure about this numbers ?
      The app should be by around version 4.7 by now
      Title: Re: Plugin: Harmony Hub Control
      Post by: jprafter on December 01, 2015, 07:15:43 pm
      It is my understanding and experience so far that the plugin brings in to Vera all of the "Entertainment" devices for selection but none of the "Home Control" devices.

      I recently added Hub Extenders and all of the ZWave devices show up under the "Home Control" devices in the Harmony Software, I wouldn't expect to bring these back into Vera through your plugin since they were brought in by Harmony from the Vera.

      However, I do have a Rheem Water Heater. Harmony allows control of this device even without a Hub Extender via IP. I would like to be able to bring this "Home Control" device to Vera via your plugin so that I could control it using Vera scenes.

      Have you looked into your plugin bringing in these other "Home Control" devices including ZigBee, Rheem Water heater, Honeywell WiFi Thermostat, Phillips Hue, Nest, etc. ? Or am I just not doing something correctly?

      Regards, John
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 02, 2015, 07:44:49 am
      Hi John,

      I do not have any of those devices and today indeed only the IR commands are supported. Can you put the output of these http request in a zip file? You have to replace the correct IP for your Vera, plug in ID and the example devices. you have to set the Enable HTTP Request Hander in the plug in settings first.

      Replace 192.168.1.1 with your Vera IP address and 66 your main plug in ID:
      To List all activities; http://192.168.1.1:3480/data_request?id=lr_Harmony66&cmd=list_activities
      To List all devices as a JSON string; http://192.168.1.1:3480/data_request?id=lr_Harmony66&cmd=list_devices&format=json
      To List all device commands for device 21133494; http://192.168.1.1:3480/data_request?id=lr_Harmony66&cmd=list_device_commands&cmdp1=21133494

      If you rather want to email send me a pm.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: aquilesvitorino on December 16, 2015, 11:09:59 am
      hi,

      Please, can anyone help me?

      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I already double check my ip address and assign ip static on my router.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 17, 2015, 04:14:48 am
      hi,

      Please, can anyone help me?

      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I already double check my ip address and assign ip static on my router.
      Hi,

      Did you try with the Harmony App and checked the IP of the hub reported in that?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: lingerba on December 17, 2015, 08:38:22 am
      hi,

      Please, can anyone help me?

      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I already double check my ip address and assign ip static on my router.
      Hi,

      Did you try with the Harmony App and checked the IP of the hub reported in that?

      Cheers Rene

      I see this error message every now-and-then too.  Every single time I see it, if I look at my Harmony Hub, the light on the front is Red indicating that it is not connected to my network.  I have no idea why this happens.  The marjority of the time I just let it go and it eventually reconnects to my network which resolves the issue in Vera.  However, I can also manually "fix" it by unplugging and re-plugging the hub.
      Title: Re: Plugin: Harmony Hub Control
      Post by: aquilesvitorino on December 26, 2015, 08:41:18 am
      hi,

      Please, can anyone help me?

      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I already double check my ip address and assign ip static on my router.
      Hi,

      Did you try with the Harmony App and checked the IP of the hub reported in that?

      Cheers Rene

      Rene,

      Yes, I already checked  with the Harmony App and I'm using the correct IP, but still failed msg.

      I already reset my Vera, install 3 or 4 times and nothing :(

      Best regards,

      Aquiles

      Title: Re: Plugin: Harmony Hub Control
      Post by: aquilesvitorino on December 26, 2015, 08:44:12 am
      hi,

      Please, can anyone help me?

      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I already double check my ip address and assign ip static on my router.
      Hi,

      Did you try with the Harmony App and checked the IP of the hub reported in that?

      Cheers Rene

      I see this error message every now-and-then too.  Every single time I see it, if I look at my Harmony Hub, the light on the front is Red indicating that it is not connected to my network.  I have no idea why this happens.  The marjority of the time I just let it go and it eventually reconnects to my network which resolves the issue in Vera.  However, I can also manually "fix" it by unplugging and re-plugging the hub.

      My problem is differetn because here my hub is always showing green light and i'm using harmony app with no problem...
      Title: Re: Plugin: Harmony Hub Control
      Post by: lingerba on December 26, 2015, 06:14:22 pm
      hi,

      Please, can anyone help me?

      Harmony Control : CMD: Failed sending command get_config to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I already double check my ip address and assign ip static on my router.
      Hi,

      Did you try with the Harmony App and checked the IP of the hub reported in that?

      Cheers Rene

      I see this error message every now-and-then too.  Every single time I see it, if I look at my Harmony Hub, the light on the front is Red indicating that it is not connected to my network.  I have no idea why this happens.  The marjority of the time I just let it go and it eventually reconnects to my network which resolves the issue in Vera.  However, I can also manually "fix" it by unplugging and re-plugging the hub.

      My problem is differetn because here my hub is always showing green light and i'm using harmony app with no problem...

      I am not having this same issue as you are describing.  My hub has a green light and everything Harmony-wise is working fine.  I am seeing the "423" error code constantly in Vera.  The error comes and goes, so it is clearing/correcting itself, but then it comes back.  IT is doing this at least a couple of times per hour.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 27, 2015, 05:48:50 pm
      Hi lingerba,

      To how many seconds do you have the polling set? Maybe try setting it a tad higher. When you have long actions then a poll might fail. I tried to cover that in the code but it does not seem to be 100% right all the time.

      Please let me know.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: litby on January 04, 2016, 09:15:02 am
      Greetings,

      I have just installed the plugin, it is looking very promising. I expect to achieve basic voice control of my home theater by using it together with an Amazon Echo that I have ordered.

      I quickly figured out how to start and power off activities. But there is one seemingly fundamental thing that I do not understand how to do: when an activity is in progress, the buttons on the Harmony remote are configured based on the devices used in the activity. For example, if I am playing a disk and hit the pause button the command will be sent to the blu-ray player, while volume commands will be sent to the AVR, and so on.

       With the plugin it seems that I have to define all commands per device, except for start of activity and power off. That would mean I have to have separate play/pause commands for each activity, for example. Is this really the way it is or have I misunderstood?

       And where is the documentation? I have searched but I cannot find it.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 05, 2016, 05:14:55 am
      Hi litby,

      The documentation is on the very first post in this tread.

      On your question. The plugin is not a full copy of the hub functionality. It can only start activities and detect what the current activity is, and send commands you define for IR controlled devices.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Quinten on January 13, 2016, 05:07:09 pm
      Just installed this plug-in and wanted to extend my thanks to the author!  Lights now create a lovely mood depending on the activity.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nickman2025 on January 27, 2016, 10:41:19 pm
      What Harmony hubs work with this? Will Ultimate or Home work?
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on January 27, 2016, 10:53:35 pm
      What Harmony hubs work with this? Will Ultimate or Home work?

      Both will work and I don't think there is a difference in either.
      https://forums.logitech.com/t5/Harmony-Hub-Based-Remotes/Ultimate-Hub-vs-Home-Hub-Actual-Difference-or-Really-the-same/td-p/1412935
      Title: Re: Plugin: Harmony Hub Control
      Post by: nickman2025 on January 28, 2016, 12:26:26 am
      What Harmony hubs work with this? Will Ultimate or Home work?

      Both will work and I don't think there is a difference in either.
      https://forums.logitech.com/t5/Harmony-Hub-Based-Remotes/Ultimate-Hub-vs-Home-Hub-Actual-Difference-or-Really-the-same/td-p/1412935

      Thanks for saving me a couple bucks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: nickman2025 on January 28, 2016, 12:29:02 am
      Actually will the Link hub work as well? I don't plan on using it for any home automation stuff directly.
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on January 28, 2016, 12:38:07 am
      Actually will the Link hub work as well? I don't plan on using it for any home automation stuff directly.

      Im unsure, i think there was talk before on those cheaper hubs, but not sure if it was confirmed or not.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 28, 2016, 03:45:25 am
      Actually will the Link hub work as well? I don't plan on using it for any home automation stuff directly.

      Im unsure, i think there was talk before on those cheaper hubs, but not sure if it was confirmed or not.
      Hi,
      For the Link Hub there is a different phone app. As this plug in mimics the communication of the phone app to the Home Hub there is a good change in will not work with the Link Hub.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: marcjw on February 11, 2016, 10:01:57 pm
      Hi

      Can anyone confirm that this works with the new Harmony Elite Remote & Hub

      http://www.logitech.com/en-gb/product/harmony-elite
      Hi,
      I must say I can't be 100% sure. It seems to be using a different Hub version, but that same smart phone app. The plugin emulates the app, so good change it does work.

      I've had the new Harmony Elite for a couple months now (love it!) and v2.51 of the Harmony plugin works great with it.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 13, 2016, 10:31:41 am
      Hi All,

      Version 2.6 is just release. I just posted it to the app market so should be available there in a few days. See first post for details.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on February 14, 2016, 10:39:46 am
      I tried using the force update link and I still have 2.51.  I did an engine reload and closed and opened browser.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 15, 2016, 04:14:45 am
      I tried using the force update link and I still have 2.51.  I did an engine reload and closed and opened browser.
      Can you check the variable Version? That should now say 2.6. The Installed Apps list does not seem to update the version unless you install from the app market.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Aaron on February 16, 2016, 10:53:19 am
      Hi Guys,
      I just got a Harmony Home for my theater room... I have been using the Kodi plugin to alert Vera that a video is playing/paused/stopped, etc and that was used as triggers for my scenes.

      I have read the docs and some of this huge thread but I'm interested to know what people are using this plugin for - maybe to give me some ideas on how I can extend my system.

      As this thread is huge, should we start a new thread just for 'usage' and keep this one for other?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 16, 2016, 11:42:16 am
      Hi Aaron,

      I can see if a child board for this plugin can be set-up. I think it qualifies for one. I just have to figure out how to.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Chrisfraser05 on February 16, 2016, 11:55:55 am
      Aaron,

      I use my harmony plugin for a few things.

      Actions

      Turn off all A/V at night or when the alarm is set.

      Pause satellite tv and mute when doorbell is pressed.

      Control an IR RGB light to show a visual indication of the outside temperature when movement is detected in the room.

      Feedback

      I use the harmony scene "watch tv night" and "playstation night" to trigger Vera to turn off a couple of lights in my living room.
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on February 21, 2016, 06:05:04 pm
      @reneboer

      After trying the manual update again I still see 2.51 on the plugin page and 2.5 on the device variable page.
      Title: Re: Plugin: Harmony Hub Control
      Post by: macvangelist on February 26, 2016, 12:56:02 pm
      I have two Vera Lites in two locations, both have harmony hubs and the plugin installed and both stopped working a few days ago (I just noticed today). Did Harmony issue a FW update that broke the connection to the plugin? Any suggestions? The child devices are stuck in "configure" mode. If I try to configure buttons, it just sits there and won't load anything. If it was isolated to one Vera + Hub in one location, I would think it's some weird issue, but it's happening with both. They are both on the same version--I couldn't get them to force upgrade to 2.6 today, either.

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 26, 2016, 04:07:16 pm
      Hi,

      just the other day a new software version 4.9.40 got installed on my Hub and it is still working. Did you check they still have the same IP address after the update? You can check in the Harmony phone app under the Info, Versions menu.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: macvangelist on February 26, 2016, 04:16:19 pm
      Yea, I have my hub set for a static DHCP address--it didn't change.

      Hi,

      just the other day a new software version 4.9.40 got installed on my Hub and it is still working. Did you check they still have the same IP address after the update? You can check in the Harmony phone app under the Info, Versions menu.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cfreeland on February 26, 2016, 11:06:14 pm
      Just got a new Vera Plus last week, I downloaded both Wink and Harmony hub plug ins. No problems with the Wink plug in but can not get the harmony app to work keep getting the "harmony controle can not find device. I put IP address password and email address but on the bottom is a Sys log server ip:port that I have left blank and I am guessing that is my problem but have no clue where to get this info?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 27, 2016, 06:13:31 am
      Just got a new Vera Plus last week, I downloaded both Wink and Harmony hub plug ins. No problems with the Wink plug in but can not get the harmony app to work keep getting the "harmony controle can not find device. I put IP address password and email address but on the bottom is a Sys log server ip:port that I have left blank and I am guessing that is my problem but have no clue where to get this info?
      Hi,
      Can you double check the IP address used? You do not need the syslog server. That is useful for debugging if you have one.

      When still problematic I need a bit from the log file. When you ssh to the Vera go to /tmp/log/cmh directory.
      Reload luup and wait for the error message to show. Then type:  cat L*log | grep armony
      That debug info can help finding the issue.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cfreeland on February 27, 2016, 08:04:44 pm
      Success, not sure what I did but got it working after a little more effort.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 29, 2016, 04:23:40 am
      Success, not sure what I did but got it working after a little more effort.
      Good to hear. Due to how Vera works with static files that need a rewrite and then reload it will require at least two to three reloads after installation. This should go automatic, but an extra reload can sometimes help.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: anandpent on March 02, 2016, 05:09:56 am
      Hi guys, Installed the plugin, configured the IP and emailid/pwd..
      However when I go to activities or device tab, it says "Please wait" and never loads the activities or device..

      Link status says OK though.. Not sure if I am doing something wrong..  Any help would be great..

      Title: Re: Plugin: Harmony Hub Control
      Post by: macvangelist on March 02, 2016, 12:27:01 pm
      This is the exact issue I am having on two of my units as well. I think it's an issue with the plugin but I'm not technical enough to figure out what exactly. Perhaps a firmware update caused an incompatibility issue? It's not the wrong ip or user/pass.

      Hi guys, Installed the plugin, configured the IP and emailid/pwd..
      However when I go to activities or device tab, it says "Please wait" and never loads the activities or device..

      Link status says OK though.. Not sure if I am doing something wrong..  Any help would be great..
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 02, 2016, 02:51:50 pm
      Hi,

      Version 2.6 has an issue for UI5 that can cause this. As of 9 March version 2.7 is available on the App Market with a fix.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: snovvman on April 04, 2016, 11:54:45 pm
      I've been using HHC for a few weeks, all was well for what I needed.  @reneboer: Thank you for your good work.

      Today I complicated things...

      1) I mistakenly removed two child devices using the native Vera "Delete Device".
      2) When I tried to re-add, I got the "Nothing changed..." error.
      3) I eventually figured out that I needed to go to the root device and deselect the device to properly remove.

      Problems and questions:
      A) When I recreate the two child devices that before existed (after completing step 3 above), I noticed that the previous button configurations are still there.  In the settings tab, it is blank--shows no buttons assigned.  When I press the ghost button, I get a "device not ready" error.  I cannot overwrite button by assigning new ones, nor do the ones I newly add show up.  I restarted Vera, no joy.  I tried again properly deleting and re-adding, both as embedded and not embedded, still no joy.  How do I get past this problem?

      B) Please remind me the difference between embedded vs. non-embedded.  I remember reading about it, but haven't been able to find it again.

      C) The reason that I wanted to recreate the child device was that I wanted to create a scene that can change channels.  I now realize that I can assign number buttons in the child device and use a scene to press one button at a time.  Is this correct?

      Thanks again....

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 05, 2016, 03:47:30 am
      I've been using HHC for a few weeks, all was well for what I needed.  @reneboer: Thank you for your good work.

      Today I complicated things...

      1) I mistakenly removed two child devices using the native Vera "Delete Device".
      This is no longer possible with V2.7 on UI7 and ALTUI. You cannot block this on UI5/6.
      2) When I tried to re-add, I got the "Nothing changed..." error.
      3) I eventually figured out that I needed to go to the root device and deselect the device to properly remove.

      Problems and questions:
      A) When I recreate the two child devices that before existed (after completing step 3 above), I noticed that the previous button configurations are still there.  In the settings tab, it is blank--shows no buttons assigned.  When I press the ghost button, I get a "device not ready" error.  I cannot overwrite button by assigning new ones, nor do the ones I newly add show up.  I restarted Vera, no joy.  I tried again properly deleting and re-adding, both as embedded and not embedded, still no joy.  How do I get past this problem?
      The old JSON files of removed child devices should get deleted when you reload luup after removing them. It should reload automatically. One way if to force a rewrite of the JSON files. There are two ways I use, change the Enable Remote Icon Images option, or make the Version variable empty and restart luup.

      B) Please remind me the difference between embedded vs. non-embedded.  I remember reading about it, but haven't been able to find it again.
      When embedded the child devices will have to be in the same room as the parent device. When you change the room of a child it will get recreated in the parent room again and wipe the settings. When not embedded, you can change the room of the child devices.

      C) The reason that I wanted to recreate the child device was that I wanted to create a scene that can change channels.  I now realize that I can assign number buttons in the child device and use a scene to press one button at a time.  Is this correct?
      Yes, you can make a scene that does that no problem.

      Thanks again....
      Your welcome and success.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: snovvman on April 05, 2016, 10:44:10 am
      Rene--

      Many thanks for your reply.  I am having no success in getting the JSON files to update.

      This is what I did, starting with no child devices:
      1) Cleared version, restarted luup
      2) Toggled enable remote icon option (luup auto restarted)
      --Created child device, old button still there, settings empty like before

      With the child device in place:
      1) Toggled enable remote icon, luup restarted, no joy
      2) Cleared version, restarted luup, same
      4) Added new button settings
      3) Toggled enable remote icon, luup restarted, same, the old button remains, new buttons do not appear (even though they are in the settings).

      I have attached a copy of the harmony related files under /etc/cmh-ludl.  I hope they give a clue.

      Lastly, I am on 2.7 and UI7, but I still see the "Delete Device" option under the child devices....

      Thanks again!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 05, 2016, 11:36:04 am
      Hi,

      The device ID of the main device is 40 right? The one with 53 is obsolete?

      Did you refresh your browser?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: snovvman on April 05, 2016, 01:00:32 pm
      Hi,

      The device ID of the main device is 40 right? The one with 53 is obsolete?

      Did you refresh your browser?

      Cheers Rene

      Ah.. refresh!  I'm no longer home, but logging in remotely, refreshing did the trick! 

      I was wondering the same regarding 53--I presume I can safely delete?  Also, all the other files dated 4/4 should remain?

      Cheers.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 06, 2016, 04:10:56 am
      Hi,

      The device ID of the main device is 40 right? The one with 53 is obsolete?

      Did you refresh your browser?

      Cheers Rene

      Ah.. refresh!  I'm no longer home, but logging in remotely, refreshing did the trick! 

      I was wondering the same regarding 53--I presume I can safely delete?  Also, all the other files dated 4/4 should remain?

      Cheers.
      Good to hear that was it. The 53 files can be removed yes.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tdinardo on April 17, 2016, 07:40:56 pm
      Is there any way to program volume up/down commands into the Plug-in?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 18, 2016, 02:55:52 am
      Is there any way to program volume up/down commands into the Plug-in?
      Hi,

      Yes, just add buttons that map to the volume up/down. I have done the same with a duration of 2 to make the steps bigger.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tdinardo on April 18, 2016, 03:04:59 pm
      Thanks Rene. Can you attach a screenshot of what that looks like?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 03, 2016, 03:26:24 pm
      Sure, just in the settings for the device you want to Volume to change. This is the example for my TV.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: jcolter on July 13, 2016, 06:26:41 pm
      I am on a Vera Plus.  I replaced my logitech remote and hub with a new one and reused the same IP or the new hub. After a reboot of the vera I had to reset my ip.  Once I did that it seemed to be running ok.  Now after a while or a reboot my ip gets cleared out in Vera for the Harmony plugin.  If I enter it once and press save, it doesn't hold.  I have to enter it, click save, reeter it and click save right after.  Then it saves and things work, but after a while (inconsistent) the IP disappears again.  Sometimes it stays for a few days, even with reboots of the Vera however then it clears again.

      Any ideas?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 14, 2016, 04:09:40 am
      I am on a Vera Plus.  I replaced my logitech remote and hub with a new one and reused the same IP or the new hub. After a reboot of the vera I had to reset my ip.  Once I did that it seemed to be running ok.  Now after a while or a reboot my ip gets cleared out in Vera for the Harmony plugin.  If I enter it once and press save, it doesn't hold.  I have to enter it, click save, reeter it and click save right after.  Then it saves and things work, but after a while (inconsistent) the IP disappears again.  Sometimes it stays for a few days, even with reboots of the Vera however then it clears again.

      Any ideas?
      Hi,

      I'm not seeing this on a Lite or Edge with the last version (2.7) but it was a tad problematic on an older one. So please check you have that latest. Also have you set it via the Settings tab? Maybe you can try to configure in the Advanced settings in the ip field. If that gets wiped it must be a VeraPlus thing.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: ninkasi on July 16, 2016, 12:54:34 am
      Hi. Just want to say that I am a new owner of a Vera Edge, and a BIG thank you for all your hard work on this plugin. Amazing stuff. I am now 'living the dream' of being able to setup scenes where the tv comes on, lights dim etc.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jcolter on July 20, 2016, 04:26:48 pm
      I am on a Vera Plus.  I replaced my logitech remote and hub with a new one and reused the same IP or the new hub. After a reboot of the vera I had to reset my ip.  Once I did that it seemed to be running ok.  Now after a while or a reboot my ip gets cleared out in Vera for the Harmony plugin.  If I enter it once and press save, it doesn't hold.  I have to enter it, click save, reeter it and click save right after.  Then it saves and things work, but after a while (inconsistent) the IP disappears again.  Sometimes it stays for a few days, even with reboots of the Vera however then it clears again.

      Any ideas?
      Hi,

      I'm not seeing this on a Lite or Edge with the last version (2.7) but it was a tad problematic on an older one. So please check you have that latest. Also have you set it via the Settings tab? Maybe you can try to configure in the Advanced settings in the ip field. If that gets wiped it must be a VeraPlus thing.

      Cheers Rene

      Hi Rene,  I did try the entering the IP in both places.  It saves the first time when I use the advnaced settings page but still ends up disappearing after a reboot(s) days later.  I will probably need to update to the latest firmware for Vera and see if the issue persists.  Sounds like there are lots of problems still with the latest though so I might hold off for now and just deal with resetting the ip every few days.
      Thank you,Jeff
      Title: Re: Plugin: Harmony Hub Control
      Post by: moshik008 on July 26, 2016, 08:03:45 am
      Hi,

      I have configured a new scene in vera plus using the Harmony's "Watch MediaCenter" activity as a trigger for the scene.
      the problem is that when changing to "Watch MediaCenter" on the Harmony the vera is running the scene(lights and other devices) as expected but the Harmony is jumping to WatchTV which is not expected.

      If the scene is disabled on the vera and i push "Watch MediaCenter" on the Harmony everything's just fine.

      my settings:
      Current Activity Poll interval - 20 sec
      Default Activity - None

      any ideas?
       
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 02, 2016, 03:36:22 pm
      Hi,

      I have configured a new scene in vera plus using the Harmony's "Watch MediaCenter" activity as a trigger for the scene.
      the problem is that when changing to "Watch MediaCenter" on the Harmony the vera is running the scene(lights and other devices) as expected but the Harmony is jumping to WatchTV which is not expected.

      If the scene is disabled on the vera and i push "Watch MediaCenter" on the Harmony everything's just fine.

      my settings:
      Current Activity Poll interval - 20 sec
      Default Activity - None

      any ideas?
      Hi,
      Any change your scene does change the activity of the Harmony?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 04, 2016, 11:38:26 am
      Hi Rene,
      All of a sudden my Harmony plugin stopped working and I can't figure out why. Here is the error I get from Vera:
      Harmony Control : CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I tried power cycling the Harmony Hub but that didn't help. Can you let me know what the problem might be and how to troubleshoot? Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 08, 2016, 05:30:41 am
      Hi Rene,
      All of a sudden my Harmony plugin stopped working and I can't figure out why. Here is the error I get from Vera:
      Harmony Control : CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I tried power cycling the Harmony Hub but that didn't help. Can you let me know what the problem might be and how to troubleshoot? Thanks!
      Hi,

      Have you double checked the IP address configured in your Vera for the hub is still correct? Also the message sometimes stays until you force some command to be sent to the Hub. Can you try the open the activities tab and see what happens.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 08, 2016, 10:31:34 am
      Hi Rene,
      All of a sudden my Harmony plugin stopped working and I can't figure out why. Here is the error I get from Vera:
      Harmony Control : CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I tried power cycling the Harmony Hub but that didn't help. Can you let me know what the problem might be and how to troubleshoot? Thanks!
      Hi,

      Have you double checked the IP address configured in your Vera for the hub is still correct? Also the message sometimes stays until you force some command to be sent to the Hub. Can you try the open the activities tab and see what happens.

      Cheers Rene

      I checked and the IP is still correct (same as the app on my phone where it is working). When I open the activities tab, nothing loads. It just says "Please wait..."
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 08, 2016, 12:04:42 pm
      Hi Rene,
      All of a sudden my Harmony plugin stopped working and I can't figure out why. Here is the error I get from Vera:
      Harmony Control : CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I tried power cycling the Harmony Hub but that didn't help. Can you let me know what the problem might be and how to troubleshoot? Thanks!
      Hi,

      Have you double checked the IP address configured in your Vera for the hub is still correct? Also the message sometimes stays until you force some command to be sent to the Hub. Can you try the open the activities tab and see what happens.

      Cheers Rene

      I checked and the IP is still correct (same as the app on my phone where it is working). When I open the activities tab, nothing loads. It just says "Please wait..."
      Hi, have you tried power cycling your Vera? For some reason it cannot open the IP connection to your Hub. Was the hub software recently updated?
      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 08, 2016, 06:40:07 pm
      Hi Rene,
      All of a sudden my Harmony plugin stopped working and I can't figure out why. Here is the error I get from Vera:
      Harmony Control : CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub

      I tried power cycling the Harmony Hub but that didn't help. Can you let me know what the problem might be and how to troubleshoot? Thanks!
      Hi,

      Have you double checked the IP address configured in your Vera for the hub is still correct? Also the message sometimes stays until you force some command to be sent to the Hub. Can you try the open the activities tab and see what happens.

      Cheers Rene

      I checked and the IP is still correct (same as the app on my phone where it is working). When I open the activities tab, nothing loads. It just says "Please wait..."
      Hi, have you tried power cycling your Vera? For some reason it cannot open the IP connection to your Hub. Was the hub software recently updated?
      Cheers Rene

      I just tried that but no luck. I actually have 2 Harmonys and I just updated the software on both today, however I am having trouble getting my Harmony app to find one of them. The other works fine but neither works in Vera.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 09, 2016, 07:54:53 am
      I just tried that but no luck. I actually have 2 Harmonys and I just updated the software on both today, however I am having trouble getting my Harmony app to find one of them. The other works fine but neither works in Vera.
      Odd, and the status light on the hub is green? Mine turned red a few times the last few days and stopped responding to the Vera, but not to the remote. Not sure why. A reset on the hub cleared it for now.
      Can you set the logging to debug and se what you find? I fear not so much as the error message you see is on the very first try to connect. But if you see anything, let me know. I'll try the same.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 09, 2016, 03:32:43 pm
      I just tried that but no luck. I actually have 2 Harmonys and I just updated the software on both today, however I am having trouble getting my Harmony app to find one of them. The other works fine but neither works in Vera.
      Odd, and the status light on the hub is green? Mine turned red a few times the last few days and stopped responding to the Vera, but not to the remote. Not sure why. A reset on the hub cleared it for now.
      Can you set the logging to debug and se what you find? I fear not so much as the error message you see is on the very first try to connect. But if you see anything, let me know. I'll try the same.

      Cheers Rene

      Yes, light is green on both. It actually worked a couple of times last night when I ran scenes but other times it didn't. Yeah I'll do that and follow up.
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 09, 2016, 04:14:15 pm
      I just tried that but no luck. I actually have 2 Harmonys and I just updated the software on both today, however I am having trouble getting my Harmony app to find one of them. The other works fine but neither works in Vera.
      Odd, and the status light on the hub is green? Mine turned red a few times the last few days and stopped responding to the Vera, but not to the remote. Not sure why. A reset on the hub cleared it for now.
      Can you set the logging to debug and se what you find? I fear not so much as the error message you see is on the very first try to connect. But if you see anything, let me know. I'll try the same.

      Cheers Rene

      sorry but where do i find the log files to send you?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 10, 2016, 04:37:12 am
      I just tried that but no luck. I actually have 2 Harmonys and I just updated the software on both today, however I am having trouble getting my Harmony app to find one of them. The other works fine but neither works in Vera.
      Odd, and the status light on the hub is green? Mine turned red a few times the last few days and stopped responding to the Vera, but not to the remote. Not sure why. A reset on the hub cleared it for now.
      Can you set the logging to debug and se what you find? I fear not so much as the error message you see is on the very first try to connect. But if you see anything, let me know. I'll try the same.

      Cheers Rene

      sorry but where do i find the log files to send you?
      would be on your Vera. /tmp/log/cmh/LuaUPnP.log You can use a SFTP program to pull the log file, look for lines about the harmony.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 10, 2016, 09:00:53 am
      I just tried that but no luck. I actually have 2 Harmonys and I just updated the software on both today, however I am having trouble getting my Harmony app to find one of them. The other works fine but neither works in Vera.
      Odd, and the status light on the hub is green? Mine turned red a few times the last few days and stopped responding to the Vera, but not to the remote. Not sure why. A reset on the hub cleared it for now.
      Can you set the logging to debug and se what you find? I fear not so much as the error message you see is on the very first try to connect. But if you see anything, let me know. I'll try the same.

      Cheers Rene

      sorry but where do i find the log files to send you?
      would be on your Vera. /tmp/log/cmh/LuaUPnP.log You can use a SFTP program to pull the log file, look for lines about the harmony.

      Cheers Rene

      So I would SFTP to the IP I normally use in my web browser and go to that path then?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 10, 2016, 09:07:18 am
      would be on your Vera. /tmp/log/cmh/LuaUPnP.log You can use a SFTP program to pull the log file, look for lines about the harmony.

      Cheers Rene

      So I would SFTP to the IP I normally use in my web browser and go to that path then?
      Yes, I use WinSCP for it. You do need the root password of your Vera. Details found here http://wiki.micasaverde.com/index.php/Logon_Vera_SSH (http://wiki.micasaverde.com/index.php/Logon_Vera_SSH).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 10, 2016, 02:19:55 pm
      would be on your Vera. /tmp/log/cmh/LuaUPnP.log You can use a SFTP program to pull the log file, look for lines about the harmony.

      Cheers Rene

      So I would SFTP to the IP I normally use in my web browser and go to that path then?
      Yes, I use WinSCP for it. You do need the root password of your Vera. Details found here http://wiki.micasaverde.com/index.php/Logon_Vera_SSH (http://wiki.micasaverde.com/index.php/Logon_Vera_SSH).

      Cheers Rene

      Sorry but I think this may be a bit over my head. I don't understand the root password instructions as I'm not familiar with PuTTy.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 11, 2016, 03:50:47 am
      Do you have infoviewer installed http://forum.micasaverde.com/index.php/topic,13477.0.html (http://forum.micasaverde.com/index.php/topic,13477.0.html)? With that you can look at the log file too, although I find it harder to make a snapshot. But may be an option for you.

      BTW, after the reset my hub has not gone in error anymore.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 22, 2016, 11:41:50 pm
      Do you have infoviewer installed http://forum.micasaverde.com/index.php/topic,13477.0.html (http://forum.micasaverde.com/index.php/topic,13477.0.html)? With that you can look at the log file too, although I find it harder to make a snapshot. But may be an option for you.

      BTW, after the reset my hub has not gone in error anymore.

      Cheers Rene

      I think the issue was actually my router - I just upgraded the firmware on it and everything seems to be working correctly again. Very strange but hopefully everything continues to work.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jcolter on August 23, 2016, 12:49:18 am
      I am on a Vera Plus.  I replaced my logitech remote and hub with a new one and reused the same IP or the new hub. After a reboot of the vera I had to reset my ip.  Once I did that it seemed to be running ok.  Now after a while or a reboot my ip gets cleared out in Vera for the Harmony plugin.  If I enter it once and press save, it doesn't hold.  I have to enter it, click save, reeter it and click save right after.  Then it saves and things work, but after a while (inconsistent) the IP disappears again.  Sometimes it stays for a few days, even with reboots of the Vera however then it clears again.

      Any ideas?
      Hi,

      I'm not seeing this on a Lite or Edge with the last version (2.7) but it was a tad problematic on an older one. So please check you have that latest. Also have you set it via the Settings tab? Maybe you can try to configure in the Advanced settings in the ip field. If that gets wiped it must be a VeraPlus thing.

      Cheers Rene

      Hi Rene,  I did try the entering the IP in both places.  It saves the first time when I use the advnaced settings page but still ends up disappearing after a reboot(s) days later.  I will probably need to update to the latest firmware for Vera and see if the issue persists.  Sounds like there are lots of problems still with the latest though so I might hold off for now and just deal with resetting the ip every few days.
      Thank you,Jeff


      Hi Rene,  i upgraded to the latest beta release on my veraplus but still having the problem where the plugin loses the harmony ip occasionally after a vera reboot. Happen to know which file the ip is stored in? Maybe i can make it read  only.  I have a lot of automation in place that uses the harmony app/devices so I'm not too keen to uninstall the plugin and reinstall to fix it right now.

      Cheers,. Jeff
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 24, 2016, 04:47:07 am
      <snip>

      Hi Rene,  I did try the entering the IP in both places.  It saves the first time when I use the advnaced settings page but still ends up disappearing after a reboot(s) days later.  I will probably need to update to the latest firmware for Vera and see if the issue persists.  Sounds like there are lots of problems still with the latest though so I might hold off for now and just deal with resetting the ip every few days.
      Thank you,Jeff


      Hi Rene,  i upgraded to the latest beta release on my veraplus but still having the problem where the plugin loses the harmony ip occasionally after a vera reboot. Happen to know which file the ip is stored in? Maybe i can make it read  only.  I have a lot of automation in place that uses the harmony app/devices so I'm not too keen to uninstall the plugin and reinstall to fix it right now.

      Cheers,. Jeff
      Hi Jeff,
      The IP address is stored in the IP attribute of the plugin device, so not in any file. However, you could try to hard code it in the L_Harmony.lua file. Download that to your PC, edit with notepad++ (do not use standard windows notepad!) and scroll to the end of the file. look for the lines
      Code: [Select]
      local ipa = luup.devices[HData.DEVICE].ip
      local ipAddress = string.match(ipa, '^(%d%d?%d?%.%d%d?%d?%.%d%d?%d?%.%d%d?%d?)')
      After these lines add
      Code: [Select]
      local ipAddress = '<your Hub IP address>'
      Now upload it back to your Vera.

      Success, Rene

      Title: Re: Plugin: Harmony Hub Control
      Post by: jcolter on August 24, 2016, 04:40:25 pm

      Hi Jeff,
      The IP address is stored in the IP attribute of the plugin device, so not in any file. However, you could try to hard code it in the L_Harmony.lua file. Download that to your PC, edit with notepad++ (do not use standard windows notepad!) and scroll to the end of the file. look for the lines
      Code: [Select]
      local ipa = luup.devices[HData.DEVICE].ip
      local ipAddress = string.match(ipa, '^(%d%d?%d?%.%d%d?%d?%.%d%d?%d?%.%d%d?%d?)')
      After these lines add
      Code: [Select]
      local ipAddress = '<your Hub IP address>'
      Now upload it back to your Vera.
      Success, Rene
      [/quote]

      Awesome, seems to have done the trick... Thank you Rene!!
      Jeff
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on August 26, 2016, 11:05:17 pm
      Do you have infoviewer installed http://forum.micasaverde.com/index.php/topic,13477.0.html (http://forum.micasaverde.com/index.php/topic,13477.0.html)? With that you can look at the log file too, although I find it harder to make a snapshot. But may be an option for you.

      BTW, after the reset my hub has not gone in error anymore.

      Cheers Rene
      I spoke too soon - this still happens, it just isn't as frequent. and it still drives me nuts.
      I think the issue was actually my router - I just upgraded the firmware on it and everything seems to be working correctly again. Very strange but hopefully everything continues to work.
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on September 19, 2016, 10:49:38 am
      Do you have infoviewer installed http://forum.micasaverde.com/index.php/topic,13477.0.html (http://forum.micasaverde.com/index.php/topic,13477.0.html)? With that you can look at the log file too, although I find it harder to make a snapshot. But may be an option for you.

      BTW, after the reset my hub has not gone in error anymore.

      Cheers Rene
      I spoke too soon - this still happens, it just isn't as frequent. and it still drives me nuts.
      I think the issue was actually my router - I just upgraded the firmware on it and everything seems to be working correctly again. Very strange but hopefully everything continues to work.

      This is continuing to happen for me and it is maddening - am I the only one having this problem? Some combination of resetting the vera and power cycling the Harmony Hub seems to fix it, but I don't want to have to do that every time I want to use this.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cpmilez on September 20, 2016, 09:55:32 am
      I am experiencing the same issue as jcolter where the IP does not save for more than an hour or so.  The last digit will change, if I set it to .18 then it changes to .19 and visa versa.  I also have a Vera Plus, however I have two Harmony Hubs, its not an issue on the first device I setup, but is an issue on the 2nd device!  If there is no fix for this and its on Vera's end, can I hard code an IF block around the IP so I use a different IP for each hub device?

      Thanks for the great plugin!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on September 21, 2016, 05:01:07 am
      Hi,

      So the theme here seem that all that see this random change in the IP address are having multiple Hubs and instances of the plugin installed. I have only one so I have to think on recreating this setup, but I will see if I can find anything. Other then from the Settings panel the IP address value does not get set, so still unclear on how this could happen.

      You can hardcode two IPs by checking for the device number something like
      Code: [Select]
      if (HData.DEVICE == <device id1>) then
         ipAddress = '<your Hub IP address1>'
      else
         ipAddress = '<your Hub IP address2>'
      end

      I will report back if I found anything with the plugin.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cpmilez on September 21, 2016, 05:44:03 am
      Great thanks, I may have to resort to using this.

      I had a bit more success after digging in the logs yesterday and found what appears to be Vera looking for devices on my network then crashing and reloading and then the issue occurred.  In particular the crossover here is the device it logs is the IP that gets changed in the device settings for the harmony hub!  My hubs IP is: 192.168.0.19.  My Chromecast IP is: 192.168.0.18.  After the crash and reload of Vera the IP gets changed in settings to 192.168.0.18!!!  I then had a look in settings and under "Net & Wifi" I turned off "Automatic Device Detection - Auto detect devices on my home network".  After the change I had no issues for the rest of the day until it looks like about 3am this morning when the same issue occurred and it switched to .18 again.  Unfortunately the logs have rotated since so I can not try and find the reason.  I think the change helped as previously it would only be an hour or so before it switched IP and failed.  I've now changed the IP of the hub to be assigned a completely different IP but holding out little hope!  I did try using .18 before but after crash/reload it gets changed to .19!!! I can't win  ::)

      Log from reload yesterday

      01      09/20/16 14:03:41.874   FileUtils::ReadURL 0/resp:404 user: pass: size 1 http://192.168.0.18:8008/http://www.google.com/cast response:  <0x6f785520>
      01      09/20/16 14:03:41.875   JobHandler_LuaUPnP::ConfirmUpnpFile can't retrieve http://192.168.0.18:8008/http://www.google.com/cast basefile cast <0x6f785520>
      01      09/20/16 14:03:41.901   FileUtils::ReadURL 0/resp:404 user: pass: size 1 http://192.168.0.18:8008/http://www.google.com/cast response:  <0x6f785520>
      01      09/20/16 14:03:41.902   JobHandler_LuaUPnP::ConfirmUpnpFile can't retrieve http://192.168.0.18:8008/http://www.google.com/cast basefile cast <0x6f785520>
      03      09/20/16 14:03:42.100   JobHandler_LuaUPnP::Reload: UPnP Child Devices Critical 1 m_bCriticalOnly 0 dirty data 1 <0x767a9520>

      I will update with any additional findings.
      Title: Re: Plugin: Harmony Hub Control
      Post by: jcolter on September 21, 2016, 08:11:45 am
      Hi Rene,

      Just to let you know.  I'm my case i have one hub and the ip was just getting cleared out not set to a different ip.  Ever since i hard coded it,  seems to be working great.
      Cheers, Jeff

      Hi,

      So the theme here seem that all that see this random change in the IP address are having multiple Hubs and instances of the plugin installed. I have only one so I have to think on recreating this setup, but I will see if I can find anything. Other then from the Settings panel the IP address value does not get set, so still unclear on how this could happen.

      You can hardcode two IPs by checking for the device number something like
      Code: [Select]
      if (HData.DEVICE == <device id1>) then
         ipAddress = '<your Hub IP address1>'
      else
         ipAddress = '<your Hub IP address2>'
      end

      I will report back if I found anything with the plugin.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cpmilez on September 22, 2016, 10:16:30 am
      Just to update, I seemed to have resolved my issue.  Basically even changing IP's on both the hub and the offending Chromecast made no difference.  I did however find the IP for the settings was getting changed to the new Chromecast IP!  So I have now unplugged the Chromecast and hey presto no more issues with the IP getting changed in the settings!  Also my Vera has not reloaded since 6pm yesterday!!! 

      Weirdly I have another Chromecast in the lounge, however this only gets powered up when the TV is used, although usually the TV is on for several hours which if it was a problem I would expect it to cause an issue within this time.

      I will try and report my issues to Vera and see what they say.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on September 22, 2016, 10:35:10 am
      Hi,

      Thanks for the update.

      Vera can have serious issues with UPNP devices on the same network. For me if I have my Motorola VIP IPTV box on the same LAN the Edge goes crazy with constant reloads. The two Lites on the same LAN stay just fine. So try to avoid having UPNP devices on the same LAN if you can. In the Vera Net&Wifi settings also make sure you have the Automatic Device Detection disabled. Does not Always help, but in some cases it will.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Owiz on October 04, 2016, 04:11:18 am
      Hi All,

      Many thanks to Reneboer for the great plugin. I have installed it on my veralite with UI7 and I am able to add activties to Harmony Hub Control as buttons and create child devices. The buttons do trigger the activities from the Web UI. However, I am unable to trigger the  activities from any scenes I create.

      I am selecting the Harmony Hub control as the device in the scene and selecting the activity button when I create the scene but nothing happens when I actually run the scene.

      Please advise whether I am doing anything wrong here and how it can be fixed. Appreciate your help.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 04, 2016, 11:45:07 am
      Hi Owiz,

      I have just tested this and you are correct. For some reason I get a 'device not ready' error which is completely new to me. I'll do some more research and post a fix once I found out what is happening.

      The weirdest is that I have older scenes where it works just fine.

      Ok, found what it is and it is something new in the latest UI7 version that seems to kick in on a fresh install or if you make changes to your devices. For some reason an additional file is needed I_HarmonyDevice.xml. I made one that is effectively empty and it all started to work again for me. Can you please have a shot.

      Download the attachement to your PC, and then to your vera via Apps - Develop apps - luup files - Upload.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Owiz on October 05, 2016, 06:23:52 pm
      Hi Rene,

      Many thanks for the immediate fix. Really appreciated. I have managed to get a scene to trigger an activity after uploading your file :). I did have to restart both Vera and Harmony hub a couple of times.

      The scene is able to trigger the "Start Sequence" of an activity to turn on a LG TV and navigate to a built in app. However, the activity remains active and I am unable to trigger the "End Sequence" through the scene.

      The only option is to close the activity in the Harmony app on my mobile. I cannot trigger the activity again using the scene until it is closed. Could you please advise whether there is any solution for this.

      Thanks a lot. Cheers.

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 06, 2016, 05:32:41 am
      Hi Owiz,

      Glad the fix worked. Not sure on your question though. I understand an activity that you start and it then remains active until you start the next, even power off is an activity like that. This is Harmony behaviour and the plug in just polls the Hub to see what the current activity is. When clicking one of the Buttons mapped to an activity the plugin sends the start activity command to the Hub, and that does the same as start it from the remote it self. The plugin, like the app will not try to start an activity that is the active one.

      So not sure what you mean with the 'End sequence' of an activity. Do you mean the Power off? This is indeed shown next to the current activity on the app, but for all is just the Power Off activity. The first button you would need to add is the Power Off button as one of the activity buttons in the plugin setup.

      Let me know if this helped.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 06, 2016, 06:41:35 pm
      I hope this is the right thread to ask this question.  Currently I have an Aeotec Door Bell.  When pushed I have the harmony change inputs on my receiver to the PC input where I have the blue iris software running.  The camera outside shows who is at the front door.  Right now I have the harmony switch back to a hardcoded "DirectV" activity.  I would actually like to capture the running activity prior to the bell press then switch back to the capture activity after 30 seconds.

      How can this be done? 

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 07, 2016, 04:51:00 am
      I hope this is the right thread to ask this question.  Currently I have an Aeotec Door Bell.  When pushed I have the harmony change inputs on my receiver to the PC input where I have the blue iris software running.  The camera outside shows who is at the front door.  Right now I have the harmony switch back to a hardcoded "DirectV" activity.  I would actually like to capture the running activity prior to the bell press then switch back to the capture activity after 30 seconds.

      How can this be done? 

      Thanks
      Hi,

      This is doable but would you to either write some LUA code in the scene linked to your door bell. it could be something close to this
      Code: [Select]
      local HM_ID = 123  -- enter the device ID of your Harmony plug in
      local curActID = 0
      -- Get the current activity
      rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "GetCurrentActivityID",{},HM_ID)
      if (rc==0) then curActID = rarg.currentActivityID end

      -- Schedule to restore the activity in 30 seconds
      luup.call_delay("door_restore_act", 30)

      -- Start the curActID activity.
      function door_restore_act ()
        if (curActID ~= 0) then
          rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "StartActivity",{newActivityID=curActID},HM_ID)
        end
      end


      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 07, 2016, 10:02:46 am
      Thanks!

      I added a line to switch to the media PC.  Is the follow correct?

      local HM_ID = 58  -- enter the device ID of your Harmony plug in
      local curActID = 0
      -- Get the current activity
      rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "GetCurrentActivityID",{},HM_ID)
      if (rc==0) then curActID = rarg.currentActivityID end

      luup.call_action("urn:rboer-com:serviceId:Harmony1", "StartActivity",{15299117},HM_ID) -- 15299117 is Media PC activity   :)

      -- Schedule to restore the activity in 30 seconds
      luup.call_delay("door_restore_act", 30)

      -- Start the curActID activity.
      function door_restore_act ()
        if (curActID ~= 0) then
          rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "StartActivity",{newActivityID=curActID},HM_ID)
        end
      end
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 09, 2016, 02:30:10 pm
      My added line didn't work.  What should I put in its place?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 10, 2016, 04:28:30 am
      Hi,

      It should be {newActivityID="15299117"}

      Let me know if that works. You can also use the activity of the scene it self to set this. I guess you do that now. The scene will continue to run and complete the device actions as normal when the LUA code returns true. When the code returns false, the scene execution gets terminated.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 10, 2016, 11:55:30 am
      Did not work.  Getting message ERROR : Error in lua for scenes and events at the top of the screen.

      local HM_ID = 58  -- enter the device ID of your Harmony plug in
      local curActID = 0
      -- Get the current activity
      rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "GetCurrentActivityID",{},HM_ID)
      if (rc==0) then curActID = rarg.currentActivityID end

      {newActivityID="15299117"} -- 15299117 is Media PC activity

      -- Schedule to restore the activity in 30 seconds
      luup.call_delay("door_restore_act", 30)

      -- Start the curActID activity.
      function door_restore_act ()
        if (curActID ~= 0) then
          rc, rs, jb, rarg = luup.call_action("urn:rboer-com:serviceId:Harmony1", "StartActivity",{newActivityID=curActID},HM_ID)
        end
      end
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 10, 2016, 12:02:59 pm
      I meant that

      luup.call_action("urn:rboer-com:serviceId:Harmony1", "StartActivity",{15299117},HM_ID)

      should read

      luup.call_action("urn:rboer-com:serviceId:Harmony1", "StartActivity",{newActivityID="15299117"},HM_ID)

       ;)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 16, 2016, 12:45:17 pm
      Got it working with the help of support but after upgrading to version 2.9 it quit working.  I see in the Vera GUI that the activity is not being updated.  I started getting timeouts on some activities too. 

      Thought you should know.

      I reverted to version 2.51 and all is good now.

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 17, 2016, 04:03:09 am
      Got it working with the help of support but after upgrading to version 2.9 it quit working.  I see in the Vera GUI that the activity is not being updated.  I started getting timeouts on some activities too. 

      Thought you should know.

      I reverted to version 2.51 and all is good now.
      Hi,

      Can you give a little more information? What did not work on V2.9?
      Is it your scene you asked about or the plugin as a whole?
      Did only the polling fail or also sending commands and/or start activities?
      What is your Vera type; Lite, Plus, Edge?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 17, 2016, 12:20:43 pm
      The plugin doesn't change status of activity when changing between different activities.  Ex: Watching directv and used harmony remote to change to Roku.  Vera GUI still showed directv.  I found this after noticing the scene stopped working.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 17, 2016, 12:59:29 pm
      Ok, and the Current Activity Polling interval is(was) set properly? I have never experienced that issue. When looking at the plugin Control tab, does the last command say get_current_activity_id and is the last command time updated at the polling interval?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on October 17, 2016, 01:10:54 pm
      Does show get current activity.  last updated shows current time.   Still breaks the scene.  Going to do a restore again.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 19, 2016, 05:15:10 am
      Hi,

      Since version 2.6 I changed the logic for starting the activity a bit so the button will only change once the new activity start has truly completed. This can especially impact activities with more than 3-4 actions in them. I did this to not flood the Hub when it is still busy starting an activity.

      Maybe your scene will work if you extend the time to switch back to the current activity. So try 60 seconds rather than 30 and see what happens.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: simol on October 25, 2016, 05:12:58 pm
      The plugin doesn't change status of activity when changing between different activities.  Ex: Watching directv and used harmony remote to change to Roku.  Vera GUI still showed directv.  I found this after noticing the scene stopped working.

      Same problem also for me, Can I downgrade the plugin?

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 26, 2016, 04:29:24 am
      The plugin doesn't change status of activity when changing between different activities.  Ex: Watching directv and used harmony remote to change to Roku.  Vera GUI still showed directv.  I found this after noticing the scene stopped working.

      Same problem also for me, Can I downgrade the plugin?

      Thanks
      Hi,

      I am not seeing this problem on a Lite or Edge or even openLuup. Can you set the log level to debug and tell me what you see in the log file?

      Do realize that the new activity will not show until the Hub completed it in full and then a next poll as you configured in the plug-in must happen. So it is not instant.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: simol on October 26, 2016, 08:15:32 am
      Quote
      50   10/26/16 14:14:39.101   luup_log:15: Harmony Control: GetCurrentActivtyID <0x763d2520>
      50   10/26/16 14:14:39.102   luup_log:15: Harmony Control: Sending command cmd=get_current_activity_id <0x763d2520>
      50   10/26/16 14:14:39.140   luup_log:15: Harmony Control: CMD: return value : 200, OK, result=9162633 <0x763d2520>
      50   10/26/16 14:14:39.141   luup_log:15: Harmony Control: GetCurrentActivtyID : result=9162633 <0x763d2520>
      50   10/26/16 14:14:39.141   luup_log:15: Harmony Control: GetCurrentActivtyID, ERROR failed to Get Current Activity...  errorcode=200, errormessage=OK : result=9162633 <0x763d2520>
      06   10/26/16 14:14:39.142   Device_Variable::m_szValue_set device: 15 service: urn:rboer-com:serviceId:Harmony1 variable: IconSet was: 2 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x763d2520>
      50   10/26/16 14:14:39.143   luup_log:15: Harmony Control: PollCurrentActivity error getting activity <0x763d2520>
      06   10/26/16 14:14:44.101   Device_Variable::m_szValue_set device: 15 service: urn:rboer-com:serviceId:Harmony1 variable: IconSet was: 0 now: 2 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x763d2520>
      50   10/26/16 14:14:44.101   luup_log:15: Harmony Control: GetCurrentActivtyID <0x763d2520>
      50   10/26/16 14:14:44.102   luup_log:15: Harmony Control: Sending command cmd=get_current_activity_id <0x763d2520>
      50   10/26/16 14:14:44.146   luup_log:15: Harmony Control: CMD: return value : 200, OK, result=9162633 <0x763d2520>
      50   10/26/16 14:14:44.146   luup_log:15: Harmony Control: GetCurrentActivtyID : result=9162633 <0x763d2520>
      50   10/26/16 14:14:44.147   luup_log:15: Harmony Control: GetCurrentActivtyID, ERROR failed to Get Current Activity...  errorcode=200, errormessage=OK : result=9162633 <0x763d2520>
      06   10/26/16 14:14:44.147   Device_Variable::m_szValue_set device: 15 service: urn:rboer-com:serviceId:Harmony1 variable: IconSet was: 2 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x763d2520>
      50   10/26/16 14:14:44.148   luup_log:15: Harmony Control: PollCurrentActivity error getting activity <0x763d2520>
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mark P on October 26, 2016, 05:52:32 pm
      I am having the same problem. Harmony activated scenes haven't work for a couple weeks now
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 27, 2016, 04:53:08 am
      Thanks simol, this gives me something to work with. I will let you know when I find something. Not clear why it generates the error by looking at the log, but I'll dig into the code.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 27, 2016, 07:03:15 am
      Hi,

      I found something for activities with 7 digits rather than 8. Can you try the attached version and let me know?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: simol on October 28, 2016, 07:39:41 am
      Hi Rene,
      thanks for the quick reply, I don't know how I can upload the file .lua.

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 28, 2016, 08:06:57 am
      Hi Rene,
      thanks for the quick reply, I don't know how I can upload the file .lua.

      Thanks
      Np. First download the file to your local PC. Then on your Vera go to Apps > Develop Apps > Luup files. Click the upload button and select the lua file. Now wait for your Vera restart to finish and let me know the outcome.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: simol on October 28, 2016, 09:17:30 am
      now seems works well! Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: Mark P on October 28, 2016, 09:58:33 am
      Me too!  Thank you :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 28, 2016, 11:13:38 am
      Sweet, thanks for letting me know. I'll include it in the next release.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: mda on November 01, 2016, 12:13:57 am
      Hi,

      I found something for activities with 7 digits rather than 8. Can you try the attached version and let me know?

      Cheers Rene

      @reneboer i can also confirm that this patch fixes the problem i was having where the device was not updating to reflect the harmony activity set by the harmony remote. My log showed:

      Code: [Select]
      50 10/31/16 21:05:00.101 luup_log:135: Harmony Control: GetCurrentActivtyID <0x2e0b5680>
      50 10/31/16 21:05:00.102 luup_log:135: Harmony Control: Sending command cmd=get_current_activity_id <0x2e0b5680>
      50 10/31/16 21:05:00.151 luup_log:135: Harmony Control: CMD: return value : 200, OK, result=6070059 <0x2e0b5680>
      50 10/31/16 21:05:00.151 luup_log:135: Harmony Control: GetCurrentActivtyID : result=6070059 <0x2e0b5680>
      50 10/31/16 21:05:00.151 luup_log:135: Harmony Control: GetCurrentActivtyID, ERROR failed to Get Current Activity...  errorcode=200, errormessage=OK : result=6070059 <0x2e0b5680>
      50 10/31/16 21:05:00.152 luup_log:135: Harmony Control: PollCurrentActivity error getting activity

      After uploading the new file, it is working and my log shows:

      Code: [Select]
      50 10/31/16 21:12:10.101 luup_log:135: Harmony Control: GetCurrentActivtyID <0x2e07f680>
      50 10/31/16 21:12:10.102 luup_log:135: Harmony Control: Sending command cmd=get_current_activity_id <0x2e07f680>
      50 10/31/16 21:12:10.152 luup_log:135: Harmony Control: CMD: return value : 200, OK, result=6070059 <0x2e07f680>
      50 10/31/16 21:12:10.153 luup_log:135: Harmony Control: GetCurrentActivtyID : result=6070059 <0x2e07f680>
      50 10/31/16 21:12:10.154 luup_log:135: Harmony Control: GetCurrentActivtyID found activity : 6070059 <0x2e07f680>

      Great fix. Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 01, 2016, 06:59:41 am
      Thanks for the confirmation  :)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafaelmazola on November 02, 2016, 02:18:52 pm
      Hi Folks, I just bought a Harmony Hub to integrate with my VeraEdge. I was able to install the plugin and add my HUB. I went ahead and added one activity "watch TV" and also created a "FireTV" Device and mapped a few buttons for testing purpose. Everything worked fine... The problem now is that I am trying to add more activities as well as device but it looks the changes are not saved and after the luup restart the changes do not show up.

      I already try refreshing the browser, reboot the controllers, remove the devices, reinstall the plugin but it doesn't mater what I do the initial config comes back and see only the "watch TV" activity and the "FireTV" Device.

      Any ideas on what the problem is?

      Thank you for the help in advance!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 03, 2016, 06:12:02 am
      Hi,

      The process should be; make the updates, wait for luup to reload and then refresh your browser. It is odd that even a re-install does not make a difference. Can you look on your Vera (via ssh or WinSCP for example) if the time stamp on the D_HarmonyXX.json is changing.

      You can go to Apps > Develop Apps > Luup Files. The look for the D_HarmonyXX.json file and click the Open in Device Simulator right next to the file name and see if that shows what you expected or just that initial view. The XX is the device number you can see if you go to the device Advanced settings. As you reinstalled the plug in you may see more then one D_HarmonyXX.json files. Also the one for the earlier installs, incase a new device number was assigned with the re-install.

      If these check show the D_HarmonyXX.json file is not updated, can you then set the error loggin to Debug in the Harmony plug in settings and let me know if you see an error message in there when trying to make the updates.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafaelmazola on November 06, 2016, 10:41:35 am
      Thanks Rene - I ssh into my controller and noticed the time stamp was not changing at all. Luup would restart but changes were not being applied. I also noticed I was running out of space.

      I decided was time to backup my vera and restore the defaults. After backing up and restoring the Harmony Hub is working great! I really appreciate the work done on this plugin :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 07, 2016, 04:47:54 am
      Good to hear it is working again. Enjoy.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on November 20, 2016, 01:35:13 pm
      Having a minor issue with the Harmony app.
      Whenever I activate an "activity" that is already active, I get an error from the system.
      The blue overhead status bar says "Harmony Control: CMD: Failed sending command start_activity to Harmony Hub - errordoce=503, errormessage=Unknown Harmony response"

      I have a script which turns everything off when leaving the house. I added the harmony activity "Power Off" to shut off the TV and Amp just in case they were left on.
      However most of the time they are already off, so I get this error message that doesn't go away until I run another activity.

      Fortunately, this does not prevent the activity from running again anyway.
      I tested by manually turning on the TV with another remote and it does go off regardless of this error or how many times I run it, so it's really more of a cosmetic annoyance.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on November 22, 2016, 06:46:50 pm
      How do I delete a device that was created by the plug in?
      I added a device from the devices tab but now I want to remove it and can't figure out how.

      I got it. I couldn't de-select anything by clicking on them but I tried ctrl-click and that worked.
      Title: Harmony Hub Control + PLEG?
      Post by: n0ir on November 27, 2016, 04:51:27 pm
      Hi!

      I just installed the app and I can control my Harmony devices using the child device created in Vera, i.e. turning on my IR-controlled LED-strips. Nice! :)

      However, I can't understand how to use the created device in PLEG. What action should I use (SendDeviceCommand?) and what Command?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 28, 2016, 05:05:45 am
      Hi,

      There are two ways to find out how the commands are spelled exactly by the Harmony Hub. First you can look at the variables of the device on your Vera. Look for the valibled names CommandN and CommandDescN. The latter is what you see in the dropdown, the first the value to use in the value you should use in the SendDeviceCommand action. Most commands are similar to their description as you see it in the dropdowns, but then without spaces.

      Second way you can see all commands, even the ones you did not create button for. First make sure the setting "Enable HTTP Request Handler" is set to Yes. Then you can get all details of your Hub configurations via http requests. See the last page of the user guide for details. https://github.com/reneboer/vera-Harmony-Hub/blob/master/UserGuide%20v2.5.pdf (https://github.com/reneboer/vera-Harmony-Hub/blob/master/UserGuide%20v2.5.pdf)

      Have fun.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: n0ir on November 29, 2016, 01:09:54 pm
      Thank you @Rene!

      I had read the manual but must have missed the instructions to turn on the "Enable HTTP Request Handler". :S The URL I tried to send earlier to no avail now work and I can use the different commands in both Veras scene manager and PLEG. Excellent! :)

      Next question, is it possible to run scenes or control devices on the Vera using the Harmony remote? A long time ago I used a software on my HTPC to run.cmd-files, using HTTP to triggering scenes on Vera. Is this possible do do using this plugin somehow?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 30, 2016, 05:40:36 am
      Hi N0ir,

      The hub only reports the current activity, so triggering a scenes on those is not a problem. You must configure the Polling frequency and then use the activity changes as scene triggers. However, device commands are not reported, so that does not work.

      What I have done is added a Kira IR receiver and that plugin to my Vera. Then installed a dummy device on my Harmony and learned its codes in the Kira plugin and trigger scenes that way. Others used some raspberry Phi based IR receiver and fire off http commands to the Vera.

      To include device commands in scenes you can use the SendDeviceCommand action in scene LUA. Or you select the device(s) in the Devices tab, and for each device configure a button for the commands you want to include in the scenes. You can then pick those like any device to use in a scene.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 12:20:44 pm
      Sorry if this has been asked before, but which Harmony Hub to actually purchase ?

      There seems to be several different versions of the hub.

      On the UK Logitech site there are currently two stand alone hubs shown see here (http://www.logitech.com/en-gb/harmony-remotes/&view=498&compProducts=11688,10737).

      "Harmony Hub" and "Harmony Ultimate Hub". With the Ultimate one being the cheaper of the two.

      I am wanting to be able to start Harmony activities from Vera scenes if possible ? Or have basic control of IR devices in Vera etc.

      And I would also like my new Amazon Echo Dot to be able to launch Harmony activities via voice commands.

      I was hoping to pick up a cheap or used one off eBay, but have no idea if I would be buying the wrong hub or not ? I assume there are also older models of the hubs?

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on December 06, 2016, 12:30:35 pm
      I'm pretty sure either one will work.
      I have a Harmony Elite system which comes with the Harmony Hub (not ultimate) and I can say for sure that one works well with Amazon Echo using the Harmony "Skill"
      and with Vera using the Harmony "App"

      You can easily launch activities from scenes since the Harmony app creates a device in Vera that you can customize with buttons to trigger activities or even directly control devices. You can just use it in a scene like any other device.

      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 12:34:39 pm
      Thanks, I was just wondering what the differences were with the Harmony hubs in our application.

      So you are using the HA Bridge I have not used that yet but I've read and seen some videos about it. I don't currently have my Echo setup to run Vera scenes at the moment. I was waiting for the Vera / Alexa beta but its not working in the UK yet.

      So you also need this Harmony Hub Control plug-in for Vera presumably as well as the HA Bridge then ?

      Cheers
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 12:37:32 pm
      See you made an edit.

      So the Harmony Hub can directly control Z-Wave devices if its a secondary controller ?

      Not sure I want it to do that. Just be happy if I can run a "Watch Movies" scene in Vera and that tells the Harmony Hub to start the "Watch Movies" activity to turn on all the IR equipment etc.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on December 06, 2016, 12:41:30 pm
      Sorry, I updated my previous post since I made a mistake.

      I'm using the HA bridge to allow Alexa to control Vera devices and Scenes, but ..
      The HA bridge also allows the Harmony hub to control Vera without needing the Z-wave add on device from Harmony/Logitech.
      Harmony can see the devices you've configured in the bridge, just as if they were a network device like Phillips Hue lights.
      So I can turn lights on and off or even dim them with the Harmony remote, or configure scenes as steps in an activity.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 12:58:51 pm
      So you can only control Z-Wave devices with the Harmony Hub and not run Vera scenes?

      You said "But the HA bridge also allows the Harmony hub to control Vera without needing the Z-wave add on device from Harmony/Logitech."

      What is the Z-Wave add on device from Logitech?

      Thanks for the info btw.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 01:03:42 pm
      Just read this, so sounds good!

      "You can easily launch activities from scenes since the Harmony app creates a device in Vera that you can customize with buttons to trigger activities or even directly control devices. You can just use it in a scene like any other device"
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on December 06, 2016, 01:05:43 pm
      Did you see this sticky post?
      http://forum.micasaverde.com/index.php/topic,36513.0.html

      Supported Harmony Hub types by this plug in.

      Harmony Hub
      Harmony Ultimate Hub
      Harmony Smart Hub

      This are some of the (older) hub products that are not working with this plugin.
      Link Hub
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on December 06, 2016, 01:12:53 pm
      So you can only control Z-Wave devices with the Harmony Hub and not run Vera scenes?

      You said "But the HA bridge also allows the Harmony hub to control Vera without needing the Z-wave add on device from Harmony/Logitech."

      What is the Z-Wave add on device from Logitech?

      Thanks for the info btw.
      Harmony makes a Z-Wave "Hub Extender" https://www.amazon.com/dp/B00TA4HV7M/
      I was prepared to buy it but found I don't need it since the HA Bridge works well for me.

      You can run scenes.  You configure the HA bridge to create virtual devices that link to Vera scenes or devices.
      The HA bridge emulates a Phillips Hue light with a custom name and when Alexa or Harmony turn that virtual light on or off it can trigger a Vera scene or device.
      An ON command can run one scene and OFF can run a different scene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 01:42:34 pm
      I see, so you'd need a Harmony Hub and then also buy their Hub Extender if you wanted to use their Z-Wave solution.

      Logitech have never done Z-Wave well, least not with their Harmony 890 Pro (US) and 895 (Euro) remotes it never worked properly as they hosed up the Z-Wave implementation.

      Think I need to look at using the HA Bridge then.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 06, 2016, 03:24:23 pm
      The Logitech Harmony product offerings seem quite confusing.

      So is the Elite remote handset RF? Does it use RF to send signals to the hub so no line of sight is needed. I believe you can also assign a device to be IR controlled directly from the remote as well if you want.

      Obviously the hub needs line of sight to control the IR devices using its inbuilt IR blasters. Or you can use the IR emitters ports / cables that stick on the front of your AV equipment.

      How about the cheaper Harmony Ultimate One is that RF to the hub? Product page says IR based remote. So then you'd have to be pointing it at the hub.

      And they also have a Harmony 950 remote listed but it doesnt even say if that works with a hub or not?

      Think I will call them tomorrow as their product pages are not clear at all with the specs.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Hutchca on December 06, 2016, 04:08:38 pm
      The Harmony Elite handset uses RF to send commands to the Hub. So does the Harmony 900 that I had before. No line of sight is needed.
      The Hub has an IR emitter to send IR control signals and it has connections for two additional IR blasters you can remote to other cabinets or areas but they only have about 10ft cords.

      I have my hub and one blaster in the closet with my AV equipment and one goes through the wall to the living room where my TV is.

      You can assign a device to be controlled directly from the remote instead of the IR blaster but I would not recommend it.
      If a device control is routed through the remote, it won't work when the remote is in standby mode. The remote goes to standby after 30 seconds even when it's on the charger.
      So anything routed through the remote won't be controllable from the phone app or from Vera or Alexa. It will only work if you're using the handheld remote.
      That's why I had to route a blaster out to the living room near the TV.
      Title: Re: Plugin: Harmony Hub Control
      Post by: ramae on December 20, 2016, 11:00:07 pm
      Hi,

      I have a vera 3 system with ui7.  I just bought a harmony elite plus alexa dot.  I really thought i could use the elite out of the box with vera, but now i see i cant, i need the frikin zwave hub and im not ready to shell another 100.  preffer to return the 300 combo i got in amazon.  But i just found this plugin but not sure if this will do the trick for me... I have some questions.... (my remote is on the way...)

      I use homewave app to control vera, fast and reliable....

      1) im looking to having only ONE app... preffer homewave.   could i map the devices on my vera?  for example the toggle on/off of my tv.  without the need of buying the zwave hub extra?

      2) what is this HA bridge?  Any links about info and diy?  I understand with this i can map the light bottons on the control to turn on.off and dim my jasco dimmers?  this would be a saver! 

      3) smarthings is compatible out of the box why not vera!  is smarthings any good?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 22, 2016, 05:26:04 am
      Hi,

      I have a vera 3 system with ui7.  I just bought a harmony elite plus alexa dot.  I really thought i could use the elite out of the box with vera, but now i see i cant, i need the frikin zwave hub and im not ready to shell another 100.  preffer to return the 300 combo i got in amazon.  But i just found this plugin but not sure if this will do the trick for me... I have some questions.... (my remote is on the way...)

      I use homewave app to control vera, fast and reliable....

      1) im looking to having only ONE app... preffer homewave.   could i map the devices on my vera?  for example the toggle on/off of my tv.  without the need of buying the zwave hub extra?

      With this Harmony Hub Control plugin on your Vera you can include all IR devices controlled by your remote in Vera Scenes and you can trigger a Vera scene based on the current Hub Activity. You will also have buttons on the Vera Web GUI to press.
      Sadly there is no support on third party apps like Homewave. The app developer would need to build that into their app. Nothing I can do on that bit.
      2) what is this HA bridge?  Any links about info and diy?  I understand with this i can map the light bottons on the control to turn on.off and dim my jasco dimmers?  this would be a saver! 

      The HA bridge is using a other device, most seem to use a Raspberry Pi, that acts like a Philips Hue hub. This makes it possible to control lights and some other Vera devices to be controlled via the Harmony remote or via the Amazon Echo or Dot. I have no experience with this, but lots of info can be found in other articles.
      3) smarthings is compatible out of the box why not vera!  is smarthings any good?
      No idea, but opinions vary on Smartthings. Like on Vera.

      Welcome to the club and have fun spending quality time on home automation  :D

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Scoutmedic on January 01, 2017, 04:55:13 pm
      Picked up a new Ultimate remote and hub, set up my AV devices, and installed the plugin. All is great. Thanks so much.

      Now trying to set up conditions in scenes to prevent the lights from coming on while I'm watching TV. Sometimes, this is great. Most times, frustrating to set up.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 11, 2017, 07:09:09 am
      Hi

      Thanks for the nice plugin.

      I am using the Yatse app on my Android tablet to control Kodi media center.

      In Yatse you can add your own custom http commands. I added one to run a Vera scene to control some lights and that works OK.

      But also it would be great to add buttons into Yatse app to control the volume up / down for the IR controlled Denon AVR amp.

      Can Vera / this plugin be used to send http commands to the Harmony Hub to control specific device functions? Or maybe some way to control he Harmony hub directly via http commands?

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 11, 2017, 07:46:22 am
      Hi cw-kid,

      In the Harmony Hub plugin you can enable the HTTP handler and then you can relay any IR command via your Vera with an http request. In the user guide you find examples.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 11, 2017, 07:49:31 am
      Hi cw-kid,

      In the Harmony Hub plugin you can enable the HTTP handler and then you can relay any IR command via your Vera with an http request. In the user guide you find examples.

      Cheers Rene

      Hi Rene

      That sounds perfect ! Sorry where can I see the user manual for the plug-in ?

      Regards

      EDIT:

      https://github.com/reneboer/vera-Harmony-Hub/blob/master/UserGuide%20v2.7.pdf
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 11, 2017, 09:06:24 am
      Does the AV device i.e. my AVR amp have to be added into Vera as a device for the HTTP Request Handler to work? Seems not.

      I am assuming it does, but I've not currently got it added in to Vera as I didn't really want or need to control it from the UI7 web GUI etc.

      I can't see this user manual, however these commands are working to query the Harmony Hub.

      Device ID:184 is the main Harmony device in Vera etc.

      List Activities:

      Code: [Select]
      http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=list_activities

      List Devices:

      Code: [Select]
      http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=list_devices
      List Commands of a Device:

      Code: [Select]
      http://192.168.1.100:3480/data_request?id=lr_Harmony184&cmd=list_device_commands&cmdp1=41309507
      ID:41309507 Being my Denon AVR amp.

      The volume commands for it are listed as:

      Code: [Select]
      Function :  Volume
                Commands :  [
                    Action :  Mute
                    Name :  Mute
                    Label :  Mute
                  ,
                    Action :  VolumeDown
                    Name :  VolumeDown
                    Label :  Volume Down
                  ,
                    Action :  VolumeUp
                    Name :  VolumeUp
                    Label :  Volume Up

      So now I just need to work out what the Http URL is to control those volume commands ?

      Something along the lines of:

      Code: [Select]
      luup.call_action("urn:rboer-com:serviceId:HarmonyDevice1", "SendDeviceCommand",{Command="VolumeUp",Duration="0"},184)
      But how would I send the device command as a HTTP URL / request ?

      Thanks

      EDIT:

      From the user manual

      To issue a device command for device holding button for five seconds;

      Code: [Select]
      http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=issue_device_command&cmdP1=41309507&cmdP2=VolumeUp&cmdP3=5
      EDIT 2: Nice the above http command works to increase the volume even if you have not added that device in to the Vera web GUI !
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 11, 2017, 12:42:57 pm
      This is great I now have commands entered in to the Yatse mobile app to control the Denon AVR volume, mute and audio modes.

      I also added some additional commands to control Vera Z-Wave devices and run some Vera scenes.

      Yatse just got a lot more interesting for controlling my Kodi HTPC.

      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 11, 2017, 01:34:58 pm
      It gets even better!

      In the Imperihome mobile app you can add buttons for "Execute a HTTP Request".

      So now I have icons in Imperihome as well for controlling the AVR's volume and audio modes.

      The icons are a bit naff in Imerpihome might be able to change these but as Imperihome does not support the Vera Harmony plug-in, this is one way to get extra functionality over the native support for the Harmony activities that does exist in Imperihome.

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 11, 2017, 06:18:29 pm
      Nice work  :D
      Title: Re: Plugin: Harmony Hub Control
      Post by: wezley69 on January 11, 2017, 06:31:50 pm
      When I try this my volume only increases by .5 each time it's executed.  What can me changed?  Changing the last digit to 10 makes no difference.

      http://192.168.1.114/port_3480/data_request?id=lr_Harmony196&cmd=issue_device_command&cmdP1=34913655&cmdP2=VolumeUp&cmdP3=5
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 12, 2017, 09:40:52 am
      When I try this my volume only increases by .5 each time it's executed.  What can me changed?  Changing the last digit to 10 makes no difference.

      http://192.168.1.114/port_3480/data_request?id=lr_Harmony196&cmd=issue_device_command&cmdP1=34913655&cmdP2=VolumeUp&cmdP3=5

      Same here changing the time to 30 secs makes no difference either. But pressing the button in the 3rd party app repeatedly works for increasing the volume for example.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 12, 2017, 12:46:27 pm
      Hi,

      I have to look. Have you tried configuring a duration in in the plugin device and see if that still works?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on January 12, 2017, 01:37:08 pm
      Hi,

      I have to look. Have you tried configuring a duration in in the plugin device and see if that still works?

      Cheers Rene

      Actually for my Denon AVR I have not created a plug-in child device for it in the UI7 GUI. So maybe that is why?

      I found that the send command HTTP URL works and controlled the AVR even though that device was not added to Vera etc.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on February 04, 2017, 09:59:51 am
      Hi

      Should I be able to use a Pause button as a trigger ?

      Just playing around with the Harmony Control plug-in and PLEG. Now when I start my XBOX activity on the Harmony remote the LED lights behind my TV turn on blue. And if I turn the XBOX off / exit the activity the LED lights are turned off. So that works nicely.

      So I then thought about using the transport controls Play / Pause. So in Vera I added the XBOX device and added three buttons Play / Pause / Stop.

      In PLEG I then created a trigger for when the XBOX device pause command is activated and the action is to brighten my side lamps to 100%

      I then played a video on the XBOX 360 both in the system video player and tried in Youtube and I then pressed the pause button on my Harmony Elite remote control. However nothing happens and the lamps do not brighten.

      If instead however I press the pause button on the XBOX device actually in the Vera UI7 web GUI then that does work and the lights brighten.

      So my question is why isn't working / detecting the pause button being pressed on the actual Harmony remote control handset ?

      I have the Harmony Control plug-in currently set to poll the hub every 30 seconds. Can you safely decrease the poll time? It says 5 and 10 seconds are NOT recommended. However the polling is not the issue here I don't think but just another question.

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 04, 2017, 10:24:41 am
      Hi,

      The Harmony Hub only reports the activity, not any device commands. This means you cannot create a trigger based on a device command, only on the activity changes.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on February 04, 2017, 10:31:56 am
      Hi,

      The Harmony Hub only reports the activity, not any device commands. This means you cannot create a trigger based on a device command, only on the activity changes.

      Cheers Rene

      Hi Rene

      That's a shame then, I was hoping to be able to control the lamps when pause / play was pressed.

      Oh well forget that idea.

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on February 04, 2017, 10:36:21 am
      Rene

      If that is the case why are the Harmony device commands exposed in Vera scenes and also in PLEG as commands you can select for triggers?

      EDIT: I guess for when you press the button on the Harmony device in Vera web GUI as that does work. But not when you press the same button on the actual Harmony remote.

      Title: Re: Plugin: Harmony Hub Control
      Post by: ramae on February 08, 2017, 10:07:26 pm
      Is there any way to use the light bottons of the harmony elite to actually turn on the lights? 
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 09, 2017, 04:09:57 am
      Rene

      If that is the case why are the Harmony device commands exposed in Vera scenes and also in PLEG as commands you can select for triggers?

      EDIT: I guess for when you press the button on the Harmony device in Vera web GUI as that does work. But not when you press the same button on the actual Harmony remote.
      You guessed it right  ;). I whish I could change it, but I cannot.

      Only option is to add an IR receiver and learn it the codes. See this tread for options people are using (but there are more) http://forum.micasaverde.com/index.php/topic,38849.0.html (http://forum.micasaverde.com/index.php/topic,38849.0.html)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: DariBer on February 11, 2017, 01:51:49 am
      Can this plugin be used with Amazon Echo, Alexa?
      Cause I can't get Harmony own Amazon skill to work, would be great if Vera and Harmony works with Amazon Echo.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Chrisfraser05 on February 12, 2017, 05:39:11 am
      No it doesn't.

      You could use the HA bridge by bws systems if you have an always on pc or pi in your system

      http://bwssystems.com/#
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on February 12, 2017, 03:55:04 pm
      No it doesn't.

      You could use the HA bridge by bws systems if you have an always on pc or pi in your system

      http://bwssystems.com/#


      In essence, not directly. You need to go through a bridge. I have two harmony hubs and the echo skill only supports one so I have one setup directly through the skill and the other through this app and the HA bridge. (echo -> Vera bridge -> Vera app -> Harmony)
      Title: Re: Plugin: Harmony Hub Control
      Post by: dayfly on February 26, 2017, 02:41:27 pm
      I have a Haromy elite with one of those hubs that support zigbee

      is it possible to assign light scenes from vera to my harmony screen with this app?


      Title: Re: Plugin: Harmony Hub Control
      Post by: m1cke on March 01, 2017, 06:41:49 am
      Am I supposed to be able to Power off my Harmony devices with this?
      I would like to have Power off as a part of my "Go to bed scene" but I can only add my Harmony Activities, Watch TV etc, there is no Power Off.
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on March 01, 2017, 10:36:58 am
      Am I supposed to be able to Power off my Harmony devices with this?
      I would like to have Power off as a part of my "Go to bed scene" but I can only add my Harmony Activities, Watch TV etc, there is no Power Off.
      Yes - you can add devices and then configure individual buttons for each. Or you could just edit your scene to add the command to that.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 01, 2017, 11:35:53 am
      Am I supposed to be able to Power off my Harmony devices with this?
      I would like to have Power off as a part of my "Go to bed scene" but I can only add my Harmony Activities, Watch TV etc, there is no Power Off.
      Hi,

      When you configure the activities one of the choices in the Button x Activity ID should be PowerOff, next to the activities you created on your Harmony. If you assign that to a label you can include the power off in a scene.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: m1cke on March 01, 2017, 01:13:30 pm
      Am I supposed to be able to Power off my Harmony devices with this?
      I would like to have Power off as a part of my "Go to bed scene" but I can only add my Harmony Activities, Watch TV etc, there is no Power Off.
      Hi,

      When you configure the activities one of the choices in the Button x Activity ID should be PowerOff, next to the activities you created on your Harmony. If you assign that to a label you can include the power off in a scene.

      Cheers Rene
      Am I supposed to be able to Power off my Harmony devices with this?
      I would like to have Power off as a part of my "Go to bed scene" but I can only add my Harmony Activities, Watch TV etc, there is no Power Off.
      Yes - you can add devices and then configure individual buttons for each. Or you could just edit your scene to add the command to that.

      Thanks! I missed that when I first set it up. Now I get it!
      Title: Re: Plugin: Harmony Hub Control
      Post by: TheSaint on March 07, 2017, 09:16:22 pm
      I have to admit, this is by far one of the most useful plugins. Only two issues we have ran into.

      1) Half the time when you click on any device's activities or devices tab, it says it couldn't get the information from the hub forcing you to restart the engine (a few scenarios, it took multiple restarts). (it is important to note that the Harmony Hub is connected to an AP literally just a few feet away from it, with solid bars--so WiFi to the hub seems fine).

      2) One device (HRM: Lutron Light Controller), which is an Lutron IR Maestro dimmer switch, doesn't store "Duration" variable for "AllLightsOff" command. Lights on works fine, but if you trigger the button for "AllLightsOff" via Vera' app, it pops up an error asking for you to enter duration. The answer is 0, but it shouldn't be asking this. We noticed when you add a bunch of commands for HRM devices to a scene, each action includes a duration variable listed in the "Advanced Editor". Except for "AllLightsOff" of course, which does display the box for Duration but it's value is blank.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 08, 2017, 05:36:34 am
      I have to admit, this is by far one of the most useful plugins. Only two issues we have ran into.

      1) Half the time when you click on any device's activities or devices tab, it says it couldn't get the information from the hub forcing you to restart the engine (a few scenarios, it took multiple restarts). (it is important to note that the Harmony Hub is connected to an AP literally just a few feet away from it, with solid bars--so WiFi to the hub seems fine).
      Can you look at the browser console to see if it states any issues and the Vera Log? And what type of Vera are you running it on and what UI (5/7)? For me it performs solid on UI7 (does not help you of course) on a Lite, Edge and openLuup local and remote. I do notice the Hub does not like polling too often, although I'm hitting one hub from three devices with polling set at 15 seconds. I stopped polling at 5 seconds as that would cause the Hub to lockup occasionally and needing a power off and on.

      2) One device (HRM: Lutron Light Controller), which is an Lutron IR Maestro dimmer switch, doesn't store "Duration" variable for "AllLightsOff" command. Lights on works fine, but if you trigger the button for "AllLightsOff" via Vera' app, it pops up an error asking for you to enter duration. The answer is 0, but it shouldn't be asking this. We noticed when you add a bunch of commands for HRM devices to a scene, each action includes a duration variable listed in the "Advanced Editor". Except for "AllLightsOff" of course, which does display the box for Duration but it's value is blank.
      Let me see if I understand. You created a Device with the Harmony Hub plugin for the Light controller, and when assigning that as an Device Action in a scene you have to go into the Scene Advanced Editor to set the value for Duration else it does not work. If I go in I see I can set the duration. I will do some research on how to default it.

      Update: I did some testing and it seems a Vera bug for the first button of a device that has a command with multiple parameters. When you create the Device Action for the first button, that button looks to be defaulted, but it is not entirely it seems. Try click one of the other options, and then back to the first (AllLightsOff) button before completing that screen. For me it then does default the Duration to zero properly.

      Let me know what you find out.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TheSaint on March 08, 2017, 06:42:41 pm
      I have to admit, this is by far one of the most useful plugins. Only two issues we have ran into.

      1) Half the time when you click on any device's activities or devices tab, it says it couldn't get the information from the hub forcing you to restart the engine (a few scenarios, it took multiple restarts). (it is important to note that the Harmony Hub is connected to an AP literally just a few feet away from it, with solid bars--so WiFi to the hub seems fine).
      Can you look at the browser console to see if it states any issues and the Vera Log? And what type of Vera are you running it on and what UI (5/7)? For me it performs solid on UI7 (does not help you of course) on a Lite, Edge and openLuup local and remote. I do notice the Hub does not like polling too often, although I'm hitting one hub from three devices with polling set at 15 seconds. I stopped polling at 5 seconds as that would cause the Hub to lockup occasionally and needing a power off and on.

      2) One device (HRM: Lutron Light Controller), which is an Lutron IR Maestro dimmer switch, doesn't store "Duration" variable for "AllLightsOff" command. Lights on works fine, but if you trigger the button for "AllLightsOff" via Vera' app, it pops up an error asking for you to enter duration. The answer is 0, but it shouldn't be asking this. We noticed when you add a bunch of commands for HRM devices to a scene, each action includes a duration variable listed in the "Advanced Editor". Except for "AllLightsOff" of course, which does display the box for Duration but it's value is blank.
      Let me see if I understand. You created a Device with the Harmony Hub plugin for the Light controller, and when assigning that as an Device Action in a scene you have to go into the Scene Advanced Editor to set the value for Duration else it does not work. If I go in I see I can set the duration. I will do some research on how to default it.

      Update: I did some testing and it seems a Vera bug for the first button of a device that has a command with multiple parameters. When you create the Device Action for the first button, that button looks to be defaulted, but it is not entirely it seems. Try click one of the other options, and then back to the first (AllLightsOff) button before completing that screen. For me it then does default the Duration to zero properly.

      Let me know what you find out.

      Cheers Rene

      Running on a VeraPlus, UI7

      As for the browser screen for Vera...
      The only thing in the log screen within the Harmony Hub device is:
      07-03-2017 9:45:12 AM   Device responding again   Harmony Control   Device status

      There is nothing in the log screens under the child devices associated to the hub.

      As for the dimmer switch. Child scene created. Under buttons, assigned first button to AllLightsOn and then assigned a second button for AllLightsOff. First button works great, second button (off) lacks the variable and I can't seem to be able to add it in the Vera, so it asks me each time I press the button on the app. So lights off button is the second button in the mix (see attached image #1).

      That seems to be the only child device created by the Harmony plugin that experiences this issue. We added devices for everything to make sure (Image #2), and all of the other functions seem to work fine via the Vera app without asking for Duration.






      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 09, 2017, 04:59:21 am
      Hi,

      Ok, my first button on my test has the Off command, and in the duration field it defaults to Off rather than the number 0. Maybe that is happening with your second button that is Off. When editing the scene try to first click the On button, and then the Off you want in the scene and see what happens.

      On the connection error, nothing gets reported on the screen below the plugins. That is actually not possible in UI7 for plugin writers. You would have look in the Vera LUAPnP.log file for possible clues.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TheSaint on March 09, 2017, 12:29:20 pm
      Hi,

      Ok, my first button on my test has the Off command, and in the duration field it defaults to Off rather than the number 0. Maybe that is happening with your second button that is Off. When editing the scene try to first click the On button, and then the Off you want in the scene and see what happens.

      On the connection error, nothing gets reported on the screen below the plugins. That is actually not possible in UI7 for plugin writers. You would have look in the Vera LUAPnP.log file for possible clues.

      Cheers Rene

      Hey Rene,

      I'll have to look into how to access the log file and get back to you.

      As for On then Off on the lighting controller, I noticed on the browser login for Vera, if I clicked on the seen, on and off works fine. It's only if I do it from Vera's official app (see image 1). Regardless if I click on first before off. No matter what, off triggers it. Also, I just noticed that the Blu-ray (image 2) does it as well. It doesn't have an on and off, but just one button...a power toggle. It asks every time you click on it in the app.

      I also included a few extra images as bonus material to see what the variables and options look like, and how it's setup.

      Update: For the logs. Vera's walkthrough (http://wiki.micasaverde.com/index.php/View_Logfiles) on doing so is quite annoying. It begins by sending you to a SSH walkthrough and I got far as logging in as root and wondering what to do next when I went back to that initial walkthrough and at the very bottom it has a "oh, and by the way"...."Additionally, the logs can be accessed directly from a browser from the URL: http://vera_ip/cgi-bin/cmh/log.sh?Device=LuaUPnP". Thanks guys hahah. Should have started with that.

      The only thing that mentions "Harmony" in the logs is four instances of this spread about:
      10   03/09/17 9:54:46.004   XXX-UpdateSystemMessagesTasks StartupTask #14 = 4 Clearing... / Harmony Control <0x76f9b520>
      I don't know what to look for beyond that.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 10, 2017, 05:00:10 am
      Hi,

      You see those buttons in the Vera App? I see you have the Windows version as on Android you cannot do anything. I can try that on my Win 10 system too then.

      Looking at your screenshot one thing did get me thinking and that is if you select a HRM device in any of the House Modes. That setting does not include the duration, however for me that is not causing issue with the commands on mode changes. In my code the duration is defaulted to 0 if not specified. But, who knows the IoS App looks at that somehow. I will do some more research now I know in what corner of the (undocumented) Vera options to look at, but it might be a Vera app issue with multiple parameters.

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: TheSaint on March 10, 2017, 12:00:38 pm
      Hi,

      You see those buttons in the Vera App? I see you have the Windows version as on Android you cannot do anything. I can try that on my Win 10 system too then.

      Looking at your screenshot one thing did get me thinking and that is if you select a HRM device in any of the House Modes. That setting does not include the duration, however for me that is not causing issue with the commands on mode changes. In my code the duration is defaulted to 0 if not specified. But, who knows the IoS App looks at that somehow. I will do some more research now I know in what corner of the (undocumented) Vera options to look at, but it might be a Vera app issue with multiple parameters.

      Cheers Rene.

      That could be. Since the buttons work fine via the browser but not via the Windows app. Glad to help :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 10, 2017, 03:24:50 pm
      Hi,

      I just did some testing with the Windows App and that indeed does not like it when the Duration parameter is not having a value. All other user interface seem ok, only this one not.

      There is a fairly simple solution. Go to the HRM device settings, make some change, hit Save and wait for your Vera to reload. If you now log off and back on the Windows App, or switch vera's if you have mutliple, it should work.

      Reason is that making a change will force a rewrite of the files missing the Duration value.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TheSaint on March 10, 2017, 03:42:35 pm
      Hi,

      I just did some testing with the Windows App and that indeed does not like it when the Duration parameter is not having a value. All other user interface seem ok, only this one not.

      There is a fairly simple solution. Go to the HRM device settings, make some change, hit Save and wait for your Vera to reload. If you now log off and back on the Windows App, or switch vera's if you have mutliple, it should work.

      Reason is that making a change will force a rewrite of the files missing the Duration value.

      Cheers Rene
      You are right. You sir, are a genius.
      Title: Re: Plugin: Harmony Hub Control
      Post by: nickta99 on April 02, 2017, 08:09:37 pm
      Hi!  First, thank you so much for all of your work on this!!!!!

      Question:  I have an August Lock which is controllable via my Harmony hub, but it does not show up on devices under the tab in Vera.  My other devices all show up, just not the Nest thermostat or August lock.  I added the Nest plugin to Vera, so no issue there, but Vera does not have a plugin for the August lock so I was really hoping to control it via the Harmony Hub.

      Thank you!!!!

      Nick
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 04, 2017, 05:41:59 pm
      Hi Nick,

      The plugin only supports the devices that have IR commands or similar. More complex like the Nest and apearently also you lock have an other interface and Harmony does not share those. The IR one has been reversed engineerd.

      The Nest should be controlable from you Vera directly (although there seem some issues). I do not know your lock, but maybe that has a Vera plugin too?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: tp546 on April 11, 2017, 10:12:37 pm
      I am having trouble getting this plugin working since I just upgraded from UI5 to UI7 - is this a known problem? I keep getting an error that I can't connect to the Harmony Hub and none of the devices/activities will load but everything was working before the upgrade. Any ideas?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on April 12, 2017, 05:16:05 pm
      I am having trouble getting this plugin working since I just upgraded from UI5 to UI7 - is this a known problem? I keep getting an error that I can't connect to the Harmony Hub and none of the devices/activities will load but everything was working before the upgrade. Any ideas?
      The configuration files between UI5 and UI7 are different and maybe that is why you have the problem. Can you try to change the setting "Enable Remote Icon Images". This will force a rewrite and a reload that may help. Do make sure you refresh your browser after the restart is complete. If not go into the Advance settings, Variables. Remove the value from the Version field and reload the luup engine.

      If neither help I fear a remove and re-install is the only option. Many moons ago I did test this plugin trough a UI upgrade, but not 100% sure that all still works.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: xo on June 30, 2017, 01:36:12 pm
      Hi,

      im have an vera plus and a harmony hub. Now i'm want to trigger some scenes from the hub, but i need an vitual device for the hub. I found the Power Switch but it has just one button and i need more.

      Has anybody an idea for a virtual device?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 03, 2017, 04:57:55 pm
      Hi,

      im have an vera plus and a harmony hub. Now i'm want to trigger some scenes from the hub, but i need an vitual device for the hub. I found the Power Switch but it has just one button and i need more.

      Has anybody an idea for a virtual device?
      Hi,
      Do you mean on the Vera, then look at MultiSwitch. Or on the Harmony then look at Timegard. That has a four button switch that I use to control four lights.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: xo on July 04, 2017, 02:24:47 am
      Yes i mean something like  this. Actually i have just the power switch with one switch and i need more of them to trigger some actions by Vera - lights or something else.
      Title: Re: Plugin: Harmony Hub Control
      Post by: pdhokia on July 15, 2017, 07:59:20 pm
      Hi, I've just found this plug-in and am a little confused.

      I can configure Vera to control devices in my hub, but can I configure the hub to control z-wave devices via Vera? ie, have buttons on the remote to trigger scenes or toggle on/off and dimming?

      Thanks,

      Pan
      Title: Re: Plugin: Harmony Hub Control
      Post by: integlikewhoa on July 18, 2017, 01:35:48 am
      No you cant. You need the ha-bridge or echo bridge to do that. Search for that thread and jump in the back. Its like 150 pages long in that thread. But thats what you need to like your light bulb and outlet buttons on your remote.
      Title: Re: Plugin: Harmony Hub Control
      Post by: pdhokia on July 19, 2017, 05:13:59 pm
      OK, thank you for the pointer. Will have a read up.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on July 21, 2017, 08:05:06 am
      Hi,

      See this thread if you want to control Vera devices via the remote. In effect you will control them via IR, not via the Harmony Hub LAN interface this plugin uses.

      http://forum.micasaverde.com/index.php/topic,38849.0.html (http://forum.micasaverde.com/index.php/topic,38849.0.html)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Ersan on July 22, 2017, 08:11:35 am
      You can also purchase a Harmony Hub Extender which will integrate directly with Vera/Z-Wave or you can use https://github.com/bwssytems/ha-bridge installed somewhere on your local network (it is a Java app) to emulate Philips Hue lights
      Title: Re: Plugin: Harmony Hub Control
      Post by: Ersan on July 22, 2017, 08:28:49 am
      I figure this may be kind of an obscure question, but do you know if there is any way to get a hub to respond to the "On" command to start a specific activity?  I just switched from ha-bridge to Vera's native Amazon Echo/Alexa control and I miss the ability to turn on and off my televisions via Alexa.  For instance I would say "Turn On the Office TV" and it would start the "Watch TV" activity for the Office TV hub - I tried renaming the activity name to "On" instead of "Watch TV" but it didn't make a difference.  "Off" seems to work.

      EDIT: Found it, setting the 'Default Activity' makes this work - awesome!
      Title: Re: Plugin: Harmony Hub Control
      Post by: simol on August 06, 2017, 05:32:30 pm
      Hi,
      after the firmware upgrade of harmony hub, vera plugin is unable to connect to the hub:

      50   08/06/17 23:31:38.101   luup_log:15: Harmony Control: GetCurrentActivtyID <0x75d63520>
      50   08/06/17 23:31:38.102   luup_log:15: Harmony Control: Sending command cmd=get_current_activity_id <0x75d63520>
      01   08/06/17 23:31:39.102   luup_log:15: Harmony Control: Connect, failed to open socket to hub 10.0.0.53 <0x75d63520>
      50   08/06/17 23:31:39.103   luup_log:15: Harmony Control: CMD: errcode=423, errmsg=Failed to connect to Harmony Hub <0x75d63520>
      50   08/06/17 23:31:39.103   luup_log:15: Harmony Control: task: CMD: Failed sending command get_current_activity_id to Harmony Hub - errorcode=423, errormessage=Failed to connect to Harmony Hub <0x75d63520>
      50   08/06/17 23:31:39.104   luup_log:15: Harmony Control: GetCurrentActivtyID, ERROR failed to Get Current Activity...  errorcode=423, errormessage=Failed to connect to Harmony Hub :  <0x75d63520>

      Please help!

      Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 07, 2017, 05:01:17 am
      Hi,

      I updated mine last week too and not having any problems. Have you tried reloading LUUP on your Vera?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on August 07, 2017, 05:31:45 pm
      Hi, everytime I add the next/second device, the first child device disappears. I added Pioneer TV and a child device was created. Then I added the next device Onkyo AV Receiver and created that child device. The first child device Pioneer TV was gone. I did this several times but to no avail. Saved, reload and hit F5 but did not solve the issue. Any help will be appreciated.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 08, 2017, 06:29:21 am
      Hi, everytime I add the next/second device, the first child device disappears. I added Pioneer TV and a child device was created. Then I added the next device Onkyo AV Receiver and created that child device. The first child device Pioneer TV was gone. I did this several times but to no avail. Saved, reload and hit F5 but did not solve the issue. Any help will be appreciated.
      Hi,

      Make sure you keep the Ctrl key pressed so the newly selected child device gets added to the list and the existing selection is kept. Else the currently selected are deselected and thus deleted.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on August 09, 2017, 04:05:28 pm
      Hi, everytime I add the next/second device, the first child device disappears. I added Pioneer TV and a child device was created. Then I added the next device Onkyo AV Receiver and created that child device. The first child device Pioneer TV was gone. I did this several times but to no avail. Saved, reload and hit F5 but did not solve the issue. Any help will be appreciated.
      Hi,

      Make sure you keep the Ctrl key pressed so the newly selected child device gets added to the list and the existing selection is kept. Else the currently selected are deselected and thus delete

      Cheers Rene

      Got it. Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: Bric on August 21, 2017, 07:29:19 pm

      Hi guys,

      I had luup codes on some scene and triggers to send command to Harmony hub.  I had UI5 on veralite.

      I updated to UI7.  May this be the problem?  Can't i send luup comands like before on UI7 ?

      I buyed amazon echo too, and instaled the skill for harmony logitech.

      I searched for my harmony hub on router and it is ok with same mac adress and same fixed IP.

      I really don t know whats happening.  Someone told me , may be the last upgrade firmware on harmony hub that stoped accepting luup codes.

      Can someone help me?


      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 22, 2017, 05:40:52 am
      Hi,

      The functionalities between UI5 and UI7 for the plugin are identical, however the control files are different between a UI5 and UI7 version of the plugin and upgrading the firmware may have you stuck with the UI5 version on UI7. You can force an upgrade of the plugin. Go into the variables and empty the version number field. Then reload luup, your Vera may restart one more time., then refresh your browser and try again.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: citizenxnz on August 28, 2017, 03:26:08 am
      Hi

      I'm having problems since the latest firmware update. Vera doesn't seem to be able to consistently communicate with the Harmony hub.

      I get the following:

      Link Status:Error
      Current Activity ID :-1
      Last command:list_activities

      When I go into settings it says: Error : Failed to get data from Hub

      Only if I open the Harmony app on my phone and connect can I go back to Vera and see that it can communicate properly again.  Before the firmware upgrade I've had no issues at all.

      Is there any extra info that would be useful to provide?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 28, 2017, 05:06:14 am
      Hi,

      You can set the Error logging to debug and look at the vera log file on what gets reported by the plugin.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: daximus on September 09, 2017, 10:44:13 am
      I recently started experiencing inconsistency in the responses from Harmony Hub (I also just added second one but I also know there was a firmware update at the same time).  I enabled debug logs and here is what I get:

      50      09/09/17 9:40:22.967    luup_log:103: Harmony Control: IssueDeviceCommand, devID : 35317426, devCmd : PowerToggle, devDur : 0 <0x774bc320>
      50      09/09/17 9:40:22.967    luup_log:103: Harmony Control: Sending command cmd=issue_device_command <0x774bc320>
      50      09/09/17 9:40:23.015    luup_log:103: Harmony Control: SubmitCommand, invalid response from Hub instead of acknowledge : <?xml <0x774bc320>
      50      09/09/17 9:40:23.015    luup_log:103: Harmony Control: CMD: errcode=503, errmsg=Unknown Harmony response <0x774bc320>
      50      09/09/17 9:40:23.016    luup_log:103: Harmony Control: task: CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response <0x774bc320>
      50      09/09/17 9:40:23.016    luup_log:103: Harmony Control: Sending command cmd=issue_device_command <0x774bc320>
      50      09/09/17 9:40:23.059    luup_log:103: Harmony Control: SubmitCommand, invalid response from Hub instead of acknowledge : <?xml <0x774bc320>
      50      09/09/17 9:40:23.060    luup_log:103: Harmony Control: CMD: errcode=503, errmsg=Unknown Harmony response <0x774bc320>
      50      09/09/17 9:40:23.060    luup_log:103: Harmony Control: task: CMD: Failed sending command issue_device_command to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response <0x774bc320>
      50      09/09/17 9:40:23.061    luup_log:103: Harmony Control: ERROR: IssueDeviceCommand, failed to Issue Device Command...  errorcode=503, errormessage=Unknown Harmony response <0x774bc320>

      Anyone else experiencing similar things?
      Title: Re: Plugin: Harmony Hub Control
      Post by: citizenxnz on September 09, 2017, 04:18:05 pm
      Hi

      I am getting the same problem :(

      It works inconsistently - most often it starts working straight after I run the Harmony app on my smartphone  (like it wakes up the hub properly)

      My debug log:
      03   09/10/17 8:09:15.324   luup_log:187: Harmony Control: Harmony device #187 is initializing! <0x2bb49680>
      03   09/10/17 8:09:15.439   luup_log:187: Harmony Control: Version is current : 2.17 <0x2bb49680>
      03   09/10/17 8:09:15.440   luup_log:187: Harmony Control: Using Harmony Hub: IP address 192.168.1.85 <0x2bb49680>
      50   09/10/17 8:09:15.441   luup_log:187: Harmony Control: Harmony Hub Control: init_module completed  <0x2bb49680>
      50   09/10/17 8:09:18.100   luup_log:187: Harmony Control: Harmony device #187 is starting up! <0x2e149680>
      50   09/10/17 8:09:18.101   luup_log:187: Harmony Control: HTTPServer 1 <0x2e149680>
      50   09/10/17 8:09:18.102   luup_log:187: Harmony Control: Harmony_CreateChildren for device  <0x2e149680>
      50   09/10/17 8:09:18.150   luup_log:187: Harmony Control: Child devices to create : 41351623,41340955,41030122,41030127,41030123 <0x2e149680>
      50   09/10/17 8:09:18.151   luup_log:187: Harmony Control: GetConfig <0x2e149680>
      50   09/10/17 8:09:18.151   luup_log:187: Harmony Control: Sending command cmd=get_config <0x2e149680>
      50   09/10/17 8:09:20.321   luup_log:187: Harmony Control: SubmitCommand, invalid response from Hub instead of acknowledge :
      50   09/10/17 8:09:20.322   luup_log:187: Harmony Control: CMD: errcode=503, errmsg=Unknown Harmony response <0x2e149680>
      50   09/10/17 8:09:20.322   luup_log:187: Harmony Control: task: CMD: Failed sending command get_config to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response <0x2e149680>
      50   09/10/17 8:09:20.335   luup_log:187: Harmony Control: GetConfig,  failed to send GetConfig command...  errorcode=503, errormessage=Unknown Harmony response <0x2e149680>
      50   09/10/17 8:09:20.335   luup_log:187: Harmony Control: Failed to obtain the current devices from Hub. Hub may be off. Will analyse current Child devices <0x2e149680>
      50   09/10/17 8:09:20.374   luup_log:187: Harmony Control: Found existing child device, lets save! id HAM187_41351623 <0x2e149680>


      This happened after I updated the firmware on the hub to 4.13.100

      I have scenes that run on the Harmony activity, and these no longer work reliabily
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on September 11, 2017, 06:13:51 am
      Hi

      I just tried to create a scene with a trigger that when an IR device command button is pressed it turns on a Z-Wave light.

      However it only seems to work when I press the button on the Harmony device in the Vera web GUI.

      If I press the actual button on the IR remote control handset nothing happens.

      So I am assuming the Harmony plug-in cannot detect when buttons have been pressed on an IR remote control handset ? And act on that as a trigger etc.

      Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on September 11, 2017, 06:31:21 am
      Hi cw-kid,

      That is correct. See this tread for more information http://forum.micasaverde.com/index.php/topic,38849.0.html (http://forum.micasaverde.com/index.php/topic,38849.0.html).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on September 11, 2017, 06:47:48 am
      Hi cw-kid,

      That is correct. See this tread for more information http://forum.micasaverde.com/index.php/topic,38849.0.html (http://forum.micasaverde.com/index.php/topic,38849.0.html).

      Cheers Rene

      Hi Rene

      Thanks for the reply.

      So it sounds like we can only use the Harmony activities as triggers to run Vera scenes when using the Harmony plug-in for Vera correct?

      I am using the Java HA Bridge for integrating some scenes and devices in to Alexa. Maybe I can do something with this ? 

      Also there is a new Keene device called KiraGet which is a IR to HTTP bridge see here (https://www.keene.co.uk/keene-electronics-kiraget-infrared-ir-to-http-bridge-with-20-code-matching-for-z-wave.html). But its expensive.

      For Kodi on the HTPC I can use the "KodiRemote" plug-in and have the lights change when I pause or play etc.

      However for an IR Blu-ray player for example I cannot do this. I was hoping that the Harmony plug-in for Vera would detect when I pressed the Play / Pause buttons on the Blu-ray players remote control handset but it doesn't seem to be able to do this.

      Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on September 30, 2017, 12:53:06 pm
      Hi

      Looking at the user manual here (https://github.com/reneboer/vera-Harmony-Hub/blob/master/UserGuide%20v2.15.pdf), I cannot see any examples of how to use the Vera scene advanced editor with the Harmony Control device and using the "IssueDeviceCommand" function. I am not sure what to put in to the Command / String field ?

      For example, if I wanted to issue a PowerOn command to the Harmony device with ID= 47170847

      EDIT: cmdP1=47170847&cmdP2=PowerOn&cmdP3=5

      I guess the other option is not to use the Scene advanced editor and to use the Luup code section of the scene and add in Luup.call_action calls instead in there.

      EDIT: luup.call_action("urn:rboer-com:serviceId:Harmony1","IssueDeviceCommand",{DeviceID=47170847,Command="PowerOn",Duration="5"},184)

      Thanks.

      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on September 30, 2017, 01:35:26 pm
      Can't seem to get luup.call_action to work either.

      Code: [Select]
      luup.call_action("urn:rboer-com:serviceId:HarmonyDevice1", "IssueDeviceCommand",{DeviceID=47170847,Command="PowerOn",Duration="0"},184)
      I put the above call in to a scene, but it doesn't turn the TV on, when I run the scene.

      If I use this http command instead in a web browser, this does work and turns on the TV.

      Code: [Select]
      http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=issue_device_command&cmdP1=47170847&cmdP2=PowerOn&cmdP3=5
      What am I doing wrong?

      Thanks.

      EDIT:

      Got it working now:

      Code: [Select]
      luup.call_action("urn:rboer-com:serviceId:Harmony1","IssueDeviceCommand",{DeviceID=47170847,Command="PowerOn",Duration="0"},184)
      Title: Re: Plugin: Harmony Hub Control
      Post by: daximus on October 03, 2017, 10:48:47 am
      Hi

      I am getting the same problem :(

      It works inconsistently - most often it starts working straight after I run the Harmony app on my smartphone  (like it wakes up the hub properly)

      My debug log:
      0309/10/17 8:09:15.324luup_log:187: Harmony Control: Harmony device #187 is initializing! <0x2bb49680>
      0309/10/17 8:09:15.439luup_log:187: Harmony Control: Version is current : 2.17 <0x2bb49680>
      0309/10/17 8:09:15.440luup_log:187: Harmony Control: Using Harmony Hub: IP address 192.168.1.85 <0x2bb49680>
      5009/10/17 8:09:15.441luup_log:187: Harmony Control: Harmony Hub Control: init_module completed  <0x2bb49680>
      5009/10/17 8:09:18.100luup_log:187: Harmony Control: Harmony device #187 is starting up! <0x2e149680>
      5009/10/17 8:09:18.101luup_log:187: Harmony Control: HTTPServer 1 <0x2e149680>
      5009/10/17 8:09:18.102luup_log:187: Harmony Control: Harmony_CreateChildren for device  <0x2e149680>
      5009/10/17 8:09:18.150luup_log:187: Harmony Control: Child devices to create : 41351623,41340955,41030122,41030127,41030123 <0x2e149680>
      5009/10/17 8:09:18.151luup_log:187: Harmony Control: GetConfig <0x2e149680>
      5009/10/17 8:09:18.151luup_log:187: Harmony Control: Sending command cmd=get_config <0x2e149680>
      5009/10/17 8:09:20.321luup_log:187: Harmony Control: SubmitCommand, invalid response from Hub instead of acknowledge :
      5009/10/17 8:09:20.322luup_log:187: Harmony Control: CMD: errcode=503, errmsg=Unknown Harmony response <0x2e149680>
      5009/10/17 8:09:20.322luup_log:187: Harmony Control: task: CMD: Failed sending command get_config to Harmony Hub - errorcode=503, errormessage=Unknown Harmony response <0x2e149680>
      5009/10/17 8:09:20.335luup_log:187: Harmony Control: GetConfig,  failed to send GetConfig command...  errorcode=503, errormessage=Unknown Harmony response <0x2e149680>
      5009/10/17 8:09:20.335luup_log:187: Harmony Control: Failed to obtain the current devices from Hub. Hub may be off. Will analyse current Child devices <0x2e149680>
      5009/10/17 8:09:20.374luup_log:187: Harmony Control: Found existing child device, lets save! id HAM187_41351623 <0x2e149680>


      This happened after I updated the firmware on the hub to 4.13.100

      I have scenes that run on the Harmony activity, and these no longer work reliabily
      Have you had any luck?  Mine is still pretty inconsistent.

      Sent from my Nexus 6P using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: jbonzey on October 14, 2017, 12:12:53 pm
      If it works from a browser mayBe try sending a curl command within luup instead?  Just a guess. Something like this:

      os.execute("curl -d http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=issue_device_command&cmdP1=47170847&cmdP2=PowerOn&cmdP3=5")
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on October 28, 2017, 06:18:15 am
      Hi

      What is the best way if possible? To have an ON/OFF button in the Imperihome mobile app, to turn on / off a Harmony IR device ?

      I just read that Imperihome supports the Vera MultiSwitch plug-in but I cannot see anyway in Imperihome how to add a MultiSwitch button.

      Or is there another better way ?

      Thanks.

      EDIT:

      Figured it out in the Imperihome app I went to Flat devices list and in to the room where the MultiSwitch is located. I then selected the option to show hidden devices and all the MultiSwitches then appear. I was then able to add a ON / OFF button to the dashboard.
      Title: Re: Plugin: Harmony Hub Control
      Post by: GaryOkie on November 26, 2017, 10:29:09 am
      @cw-kid  -  were you aware that Imperihome now has direct support for Harmony hub?    Does this not provide you with the IR/RF on/off control you were needing?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Judman13 on November 29, 2017, 10:41:34 pm
      Hey,

      Quick question. How would one go about writing the current state of the harmony to a log file.

      I had the idea that this would give me a quick and dirty way to see how much TV we actually watched in a given period.

      Thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on November 30, 2017, 04:39:10 am
      Hi Judeman,

      If you have DataMine, DataYours or Eventwacher installed you can see what the CurrentActivityID variable gets set to and when. Alternatively you can set the log level to debug, but the log will rotate so you would need to check frequently.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Judman13 on November 30, 2017, 09:32:49 am
      Hi Judeman,

      If you have DataMine, DataYours or Eventwacher installed you can see what the CurrentActivityID variable gets set to and when. Alternatively you can set the log level to debug, but the log will rotate so you would need to check frequently.

      Cheers Rene

      Thanks for the quick responce! I will look into those options.

      I tried using the synology log center, but couldn't seem to get it configured properly.

      Anyway, Love the plug in! Thanks for the work!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 01, 2017, 05:06:47 am
      Hi,

      I have used the syslog option to a synology my self. You configure its IP:514. I cannot remember what I did on the NAS it self. One problem I do have with multiple items is if the NAS and other device is not on the same subnet. (but routable).

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: pitzerwm on December 05, 2017, 03:42:28 pm
      Hopefully this is the right place to post this.  I am trying to incorporate my Harmony Hub in my Verasecure.  It seems to be "included" but when I go to Activities I get Device #40 Harmony Control, Error: Failed to get data from Hub

      So what do you do now?

      Thanks.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 08, 2017, 05:45:10 am
      Hi,

      Have you configured it with the IP address of your Hub and is that reachable from your Vera? After configuration you must also allow the Vera to restart to apply the new settings.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TMC on January 10, 2018, 01:55:19 pm
      Hello. I'm interested in whether Harmony Extender is also required to order infrared devices.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 11, 2018, 06:48:54 am
      Hello. I'm interested in whether Harmony Extender is also required to order infrared devices.
      No the extender is to control Z-Wave devices no IR.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: TMC on January 11, 2018, 09:12:27 am
      Hello. I'm interested in whether Harmony Extender is also required to order infrared devices.
      No the extender is to control Z-Wave devices no IR.

      Cheers Rene

      Thanks Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: rohitjthomas on January 29, 2018, 02:22:30 pm
      Hi all,

      I have several Harmony hubs configured on my VeraLite ZWave controller using the Harmony Hub Control plugin. Recently after adding hub #5 to my controller and configuring the Settings, Activities sections, my fifth hub does not display any of the buttons on the Device page. I see the following message - "Configure the harmony Activities on the Activities tab to define control buttons." I also have a child device configured for this hub and no buttons display on the Device page after configuring the Settings section.  All my other hubs are working and displaying buttons on the Device page as expected. Only the last hub that I added has an issue. I have tried several troubleshooting steps, including deleting and readding the hub multiple times, rebooting my controller and\or manually reloading the engine. I have included some screen-prints. Any thoughts on why my fifth hub is having this particular issue.

      Any assistance would be appreciated.
      Title: Re: Plugin: Harmony Hub Control
      Post by: rjayyyy on March 30, 2018, 02:49:52 am
      Hi all,

      I have several Harmony hubs configured on my VeraLite ZWave controller using the Harmony Hub Control plugin. Recently after adding hub #5 to my controller and configuring the Settings, Activities sections, my fifth hub does not display any of the buttons on the Device page. I see the following message - "Configure the harmony Activities on the Activities tab to define control buttons." I also have a child device configured for this hub and no buttons display on the Device page after configuring the Settings section.  All my other hubs are working and displaying buttons on the Device page as expected. Only the last hub that I added has an issue. I have tried several troubleshooting steps, including deleting and readding the hub multiple times, rebooting my controller and\or manually reloading the engine. I have included some screen-prints. Any thoughts on why my fifth hub is having this particular issue.

      Any assistance would be appreciated.

      Did you ever solve this one @rohitjthomas ? Just got my first Harmony Hub and seeing this exact issue. Hub Plugin installs fine and adding in settings for IP, accounts details works and it is connecting and showing activities and devices. Never adds any buttons though on either the main Harmony Device or any child devices I have created. Same as you did all the basics like delete and re add devices, reboots. Even tried completely removing and readding the plugin.

      Thoughts anyone?
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 30, 2018, 06:13:27 am
      Hi,

      Make sure there is sufficient space left on the /etc partition to create the required files.

      And always hit refresh on your browser.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: rjayyyy on March 30, 2018, 09:13:22 am
      thanks @reneboer. Just logged back in to say I got it working. Weird the browser was updating in terms of changing colours of icon and other things, updating status of hub but buttons wouldn't appear and couldn't access sub devices in scenes. Did a force browser refresh and bam buttons appeared and all things started working.

      Firefox must have been caching some of the images/page elements :(

      thanks!
      Title: Re: Plugin: Harmony Hub Control
      Post by: sk1.publicc on May 13, 2018, 01:29:58 am

      I use homewave app to control vera, fast and reliable....

      1) im looking to having only ONE app... preffer homewave.   could i map the devices on my vera?  for example the toggle on/off of my tv.  without the need of buying the zwave hub extra?


      This may have been answered already but I found that while Homewave can't directly support the Harmony Hub Control plugin devices, you can still map the plugin buttons to Homewave via Vera scenes. 

      eg. Create a scene in Vera that presses Volume Up button on the Amplifier device, then map that scene to a button on Homewave.  Repeat for each button you want to map. 

      You end up with a LOT of scenes of course (so choose a logical naming pattern) but I've been able to layout much of the Logitech remote in Homewave.  I've also been able to create Vera scenes that combine actions from Logitech Activities/Devices, Qmotion blinds & Fibaro Relay Switches... then link those to Homewave buttons as well.  All working really well for what I needed.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on May 13, 2018, 07:20:18 am

      I use homewave app to control vera, fast and reliable....

      1) im looking to having only ONE app... preffer homewave.   could i map the devices on my vera?  for example the toggle on/off of my tv.  without the need of buying the zwave hub extra?


      This may have been answered already but I found that while Homewave can't directly support the Harmony Hub Control plugin devices, you can still map the plugin buttons to Homewave via Vera scenes. 

      eg. Create a scene in Vera that presses Volume Up button on the Amplifier device, then map that scene to a button on Homewave.  Repeat for each button you want to map. 

      You end up with a LOT of scenes of course (so choose a logical naming pattern) but I've been able to layout much of the Logitech remote in Homewave.  I've also been able to create Vera scenes that combine actions from Logitech Activities/Devices, Qmotion blinds & Fibaro Relay Switches... then link those to Homewave buttons as well.  All working really well for what I needed.

      I don't use HomeWave app but in the Imperihome app you can add your own JSON http commands. So I enabled the http event handler on the Harmony plugin. No need then to create lots of scenes in Vera.

      Can HomeWave app do something similar sending http commands?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Batiatus on May 18, 2018, 03:26:54 am
      I'm sure this question has been answered but it's late and this thread is pretty long to go through in it's entirety. I have a (hopefully) simple task to complete.

      I have a Harmony Ultimate that's used in my theater room. The Hub is behind a wall on the equipment rack and controls all my electronics through IR. My Vera is in the room behind the rack with my network gear. I can run an IR blaster from the Hub to face the Vera or I can run an USB IR receiver from the Vera to where the Hub will see it. I'd like to have soft buttons on my remote to trigger certain lighting scenes I've programmed and be able to have those buttons in any buttons list for any activity. Where do I look for directions on hos to do this, if it is possible?

      THX
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on May 18, 2018, 02:20:22 pm
      I used the java HA Bridge software that emulates Philips Hue to link my Harmony Elite remote to Vera devices and scenes. Not sure of any other way to do it.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Batiatus on May 18, 2018, 09:40:59 pm
      I saw something about connecting a USB IR receiver directly to the Vera so looking for that option, if possible.
      Title: Re: Plugin: Harmony Hub Control
      Post by: NVader2000 on May 21, 2018, 04:58:13 pm
      Uh, how does one map the Button # Activity ID# with what is no the Harmony remote. I have no ideal what "Button 1 Activity ID1" would be on my Harmony remote.
      Title: Re: Plugin: Harmony Hub Control
      Post by: NVader2000 on May 21, 2018, 06:18:32 pm
      Ok found the PDF documentation. It did help a little, but I am a bit confused. I want to create scene that when I press my "Watch a Movie" activity the lights in the room slowly ramp down (dim) and and shut off. Then if I press the pause button it slowly ramps up the lights to 50% and stops. Then of course when I resume the lights slowly ramp down and turn off. Lastly When I press the "off" button the lights slowly ramp up to 100%.

      I know this is a bit of a tall order coming out of the gate, but I had this all configured using Insteon and it work wonderfully. I am changing to Vera and ZWave Plus for the greater control and the ability to backup and restore my setup.

      Any help is greatly appreciated. Thank you in advance.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 22, 2018, 11:19:33 am
      I'm sure this question has been answered but it's late and this thread is pretty long to go through in it's entirety. I have a (hopefully) simple task to complete.

      I have a Harmony Ultimate that's used in my theater room. The Hub is behind a wall on the equipment rack and controls all my electronics through IR. My Vera is in the room behind the rack with my network gear. I can run an IR blaster from the Hub to face the Vera or I can run an USB IR receiver from the Vera to where the Hub will see it. I'd like to have soft buttons on my remote to trigger certain lighting scenes I've programmed and be able to have those buttons in any buttons list for any activity. Where do I look for directions on hos to do this, if it is possible?

      THX
      Hi,
      The Vera talks to the Hub using IP via you local network. So no line of sight requirements.

      Cheers rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 22, 2018, 11:30:41 am
      Ok found the PDF documentation. It did help a little, but I am a bit confused. I want to create scene that when I press my "Watch a Movie" activity the lights in the room slowly ramp down (dim) and and shut off. Then if I press the pause button it slowly ramps up the lights to 50% and stops. Then of course when I resume the lights slowly ramp down and turn off. Lastly When I press the "off" button the lights slowly ramp up to 100%.

      I know this is a bit of a tall order coming out of the gate, but I had this all configured using Insteon and it work wonderfully. I am changing to Vera and ZWave Plus for the greater control and the ability to backup and restore my setup.

      Any help is greatly appreciated. Thank you in advance.
      Hi,
      You can use a activity change (start) as a trigger in a scene. However you cannot do that for a button press. The harmony does not report button presses in the IP interface used by the Vera. There is a new protocol that may support it, but it is no easy feat to reverse engineer as they do not provide any information to simple developer like me.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Batiatus on May 26, 2018, 10:38:57 am
      I'm sure this question has been answered but it's late and this thread is pretty long to go through in it's entirety. I have a (hopefully) simple task to complete.

      I have a Harmony Ultimate that's used in my theater room. The Hub is behind a wall on the equipment rack and controls all my electronics through IR. My Vera is in the room behind the rack with my network gear. I can run an IR blaster from the Hub to face the Vera or I can run an USB IR receiver from the Vera to where the Hub will see it. I'd like to have soft buttons on my remote to trigger certain lighting scenes I've programmed and be able to have those buttons in any buttons list for any activity. Where do I look for directions on hos to do this, if it is possible?

      THX
      Hi,
      The Vera talks to the Hub using IP via you local network. So no line of sight requirements.

      Cheers rene

      The Hub or the Hub Extender? I thought that's what the Extender was for but if the Hub itself will show on the network I'd like to figure out how to get that working.

      I've been trying to research the Hub with Vera but I just seem to get more confused. I think I have a simple request but I'm unsure how to get it to work.

      I'd like to be able to run scenes programed into my Vera with button presses on my Harmony Ultimate. 2 scenes for sure and additional would be great. I'm not looking for more control beyond that at this time. I have the Hub connected to wifi and the Harmony App in the Vera but I just cant process what I need to do next. Any help is greatly appreciated.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 29, 2018, 10:59:36 am
      Hi,

      Please see this topic on that http://forum.micasaverde.com/index.php/topic,38849.0.html (http://forum.micasaverde.com/index.php/topic,38849.0.html)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Batiatus on May 29, 2018, 09:20:12 pm
      So I still need another piece of hardware? I don't have nor want Amazon Echo. If I have to get a Hub Extender than fine but I don't see instructions on how to actually get what I've asked working. It just seems to be talking in some circles where you have to enter with pre-existing knowledge that I don't have. It's very confusing and I'm generally pretty good at figuring stuff like this out.
      Title: Re: Plugin: Harmony Hub Control
      Post by: ninkasi on May 30, 2018, 03:27:40 am
      So I still need another piece of hardware? I don't have nor want Amazon Echo. If I have to get a Hub Extender than fine but I don't see instructions on how to actually get what I've asked working. It just seems to be talking in some circles where you have to enter with pre-existing knowledge that I don't have. It's very confusing and I'm generally pretty good at figuring stuff like this out.

      So you currently have a Harmony hub and Vera, and now can send commands from Vera to the Harmony so it in turn can pass commands on. Such as setup a scene where lights turn off (Vera - Zwave) and the TV turns on (Vera -> Harmony -> IR). Good oh. ;-)

      You would also like to be able to use the Harmony remote to run scenes/control devices on Vera eg Harmony -> Vera ->  Zwave. To do that indeed you will need an extra bit of hardware. There are a number of different ways of doing it, probably the better way would be to use the extender if it's available (they don't sell it here in Australia as we use a different Zwave frequency and it's not worth their while selling such a niche product in a small market. So the theory is that once you have an extender, then the Zwave devices will appear in the Harmony system like another device like a TV, and you can then add them into the remote eg the button on the remote that you use for TV could turn on the TV (IR), turn on the receiver (IR), and turn off the lights (Zwave via the extender). Not sure if scenes will appear, but you may be able to get a scene to run when a specific device (like a virtual switch) is turned on/off.

      Personally (until it's supported natively) I'm happy with using my Google home via Concierge. I turn the TV on, and shout "Hey google - turn the living room lights off". Works for me.  :-)
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on May 30, 2018, 04:16:17 am
      So I still need another piece of hardware? I don't have nor want Amazon Echo. If I have to get a Hub Extender than fine but I don't see instructions on how to actually get what I've asked working. It just seems to be talking in some circles where you have to enter with pre-existing knowledge that I don't have. It's very confusing and I'm generally pretty good at figuring stuff like this out.
      Ninkasi summarized it very well. That this plug in has nothing to do with the Harmony Hub Extender has been explained many times, but I understand it is hidden in too many postings. I will add a sticky topic on it.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Batiatus on May 30, 2018, 09:07:37 am
      Thank you for the additional information. Things I was reading led me to believe the Hub would be able to send commands to the Vera through the wifi network.

      I am only looking to add a few lighting scenes to the Harmony One remote to make controlling the lights easier than using my phone to open the app which takes time to refresh. If I need the extender then I'll put it at the bottom of my very long list of things to add to my home theater.

      Thanks for the info and support!
      Title: Re: Plugin: Harmony Hub Control
      Post by: ninkasi on May 31, 2018, 07:29:53 pm
      Thank you for the additional information. Things I was reading led me to believe the Hub would be able to send commands to the Vera through the wifi network.

      I am only looking to add a few lighting scenes to the Harmony One remote to make controlling the lights easier than using my phone to open the app which takes time to refresh. If I need the extender then I'll put it at the bottom of my very long list of things to add to my home theater.

      Thanks for the info and support!

      Ah - I think I see where the confusion may have come from. The latest Harmony remote/hub can potentially control certain home automation devices (https://support.myharmony.com/en-au/compatibility) that are accessed directly by WiFi. An example would be Lifx. It also supports directly some hub devices like Philips Hue that in turn pass commands to (say) zigbee lights. It doesn't directly support Vera but it does support IFTTT, so potentially in the future (once it gets out of beta) you may be able to use the remote to control Zwave devices through using IFTTT to send commands to Vera albeit with probably a small delay. Fingers crossed IFTTT will be released soon, so maybe wait for that.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on July 22, 2018, 09:55:36 am
      Hi

      Is it possible to have more than 25 buttons, in the Device Commands Mapping ?

      Playing around with AltUI and custom pages for building some remote control buttons, see screen shots.

      Thank you.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 03, 2018, 05:10:06 am
      Hi

      Is it possible to have more than 25 buttons, in the Device Commands Mapping ?

      Playing around with AltUI and custom pages for building some remote control buttons, see screen shots.

      Thank you.
      Working on a big overhaul to eliminate the need for polling the current activity, but picking it up instantly by listening to the Hub. Opens up more functionality as well. Still in alpha stage.

      I can make the number of buttons limit 50 or something you can select (16,25,50,75) . Any preference?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on August 03, 2018, 08:02:30 am
      No that sounds good to me!  ;D

      What type of new functionality might we see ?

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on August 03, 2018, 11:29:35 am
      Hi

      Is it possible to send a HTTP command to Vera / the Harmony plugin to start a Harmony activity ?

      I've created a remote control in OpenRemote for my TV and all my device command buttons work OK.

      Using http commands like this one:

      Code: [Select]
      http://192.168.1.100/port_3480/data_request?id=lr_Harmony184&cmd=issue_device_command&cmdP1=41309505&cmdP2=Menu&cmdP3=5
      But my ON / OFF buttons don't work currently as I am not sure what the URL command should look like for activities ?

      Thanks

      EDIT: Would still be interested to know about a URL for starting activities.

      However found another way in the OpenRemote to create a command to start a Harmony activity which works, see screen shot.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on August 03, 2018, 05:11:04 pm
      Now I have the buttons working to turn on and off Harmony activities in OpenRemote, ideally I'd like to see the status of the Harmony hub, e,g, which activity is currently on.

      When I ran the Vera device creation wizard in OpenRemote, I was able to select my "Lounge Harmony" device and it created several items for it in OpenRemote. One of which was a status command. See screen shot.

      I can then create a label on my remote control page and assign it to this Harmony status "sensor". However the label just says ON no matter which Harmony activity I am in. It doesn't show which particular Harmony activity is active?

      And when its all turned off, it does correctly show as OFF.

      Don't know enough about querying the Harmony plugin to make this work in OpenRemote which is a shame.  :(

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on August 06, 2018, 05:16:58 am
      Hi cw-kid,

      The plugin user guide shows the use of http requests.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: kaw700zn on October 03, 2018, 12:14:52 pm
      I am using Alexa with Harmony hub and Vera. I have been using Harmony scenes successfully for a while with this setup. Recently I added the devices to my Vera. Now, I am getting: "Device #64   Harmony Control Error : Failed to get data from Hub." every once in a while. When that happens scenes are not being triggered. I need to go into the Vera app to "wake up" Harmony. After that the scenes are working few times until the same error happens. Any help would be appreciated.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on October 04, 2018, 05:25:40 am
      I am using Alexa with Harmony hub and Vera. I have been using Harmony scenes successfully for a while with this setup. Recently I added the devices to my Vera. Now, I am getting: "Device #64   Harmony Control Error : Failed to get data from Hub." every once in a while. When that happens scenes are not being triggered. I need to go into the Vera app to "wake up" Harmony. After that the scenes are working few times until the same error happens. Any help would be appreciated.
      Hi,

      For some reason the communication with the Hub fails. I too have periods that happens. One thing that helped was setting my WiFi router to always use the same 2.4Mhz channel. Many newer routers can dynamically pick a channel with less noise from other WiFi sources. It seems the Hub software cannot really handle that well. Let me know if this helps.

      I am working on a redesign of the communication with the Hub that probably will address this better, but it is moving slowly do to lack of time at this moment.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: kaw700zn on October 05, 2018, 06:49:38 pm
      Thank you. I ended up deleting everything Harmony related, removing the app and reinstalling. That *seem* to fix the problem. I forgot to mention in my original post that I was getting "unable to open the socket" error from the console.

      Thanks for your help!
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 12:24:44 pm
      ***URGENT***

      Just seen this information

      https://www.reddit.com/r/homeassistant/comments/a6u6ep/psa_harmony_hub_firmware_v415206_breaksremoves/

      "PSA: Harmony Hub firmware v4.15.206 breaks/removes local network control. Stay on 201 or lower"

      Sounds like Logitech have blocked the local port 5222, which I assume would also affect the Vera Harmony plugin ?

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: ronluna on December 17, 2018, 01:21:09 pm
      ***URGENT***

      Just seen this information

      https://www.reddit.com/r/homeassistant/comments/a6u6ep/psa_harmony_hub_firmware_v415206_breaksremoves/

      "PSA: Harmony Hub firmware v4.15.206 breaks/removes local network control. Stay on 201 or lower"

      Sounds like Logitech have blocked the local port 5222, which I assume would also affect the Vera Harmony plugin ?

      Thanks

      +1
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 01:39:22 pm
      I think because we have to enter our Harmony username and password in to the Vera Harmony plugin devices settings, that the plugin is using the Harmony cloud for authentication / access.

      I've blocked my Harmony hubs from accessing the Internet for now and blocked the domain names listed in the Reddit post as a precaution though, until we get confirmation.

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: ronluna on December 17, 2018, 02:01:11 pm
      I think because we have to enter our Harmony username and password in to the Vera Harmony plugin devices settings, that the plugin is using the Harmony cloud for authentication / access.

      I've blocked my Harmony hubs from accessing the Internet for now and blocked the domain names listed in the Reddit post as a precaution though, until we get confirmation.

      Thanks

      Blocked internet access on Harmony Hub firmware v4.15.206 or after downgrading to ≤ v4.15.201?
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 02:03:07 pm
      Mine hadn't updated they were still on 201
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on December 17, 2018, 02:26:41 pm
      how do i downgrade from 4.15.206 to 4.15.201. can't do it on my iphone.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 02:29:50 pm
      how do i downgrade from 4.15.206 to 4.15.201. can't do it on my iphone.

      From the Reddit post:

      Successfully downgraded my hub to 4.15.193 and restored API access. Full repro:

      Launch MyHarmony app on PC.

      Press Alt+F9 to open the advanced tools menu

      Scroll the window to find your Harmony model.

      Select "Factory Reset" for the appropriate model. This does not do anything immediately.

      Steps 1-4 will be displayed for completing a Factory Reset. We are only doing Step 1. "Restore" here means "Rollback".

      Connect your Harmony hub to the PC via micro-USB.

      Within a few minutes, it will be detected by MyHarmony and display Remote Model, Firmware Version, and Hardware revision. The Restore button will be enabled.

      Click "Restore" and wait. (Now is the first time that it actually describes that it's a rollback!)

      When it completes, you should be on Firmware Version 4.15.193. Disconnect the hub from the PC and return it to its original location.

      And the final, important step: eliminate the ability for the Harmony hub to access these domains, or the internet altogether. I used DD-WRT's Access Restrictions feature to disable all internet access, because my specific implementation is entirely intranet-based. YMMV.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 02:30:59 pm
      @waltzer11

      So is the Harmony plugin for Vera still working or not, for your Harmony hub with the updated firmware ?
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 03:54:34 pm
      There is a thread on the Logitech forums, if you want to voice your own concerns about this.

      https://community.logitech.com/s/question/0D55A00008D1oIoSAJ/firmware-update-blocked-api-access?t=1545079101129

      Can anyone confirm that this also breaks the Vera Harmony plugin? If your Harmony hub has been updated to firmware version 4.15.206 ?

      Title: Re: Plugin: Harmony Hub Control
      Post by: ronluna on December 17, 2018, 04:47:07 pm
      There is a thread on the Logitech forums, if you want to voice your own concerns about this.

      https://community.logitech.com/s/question/0D55A00008D1oIoSAJ/firmware-update-blocked-api-access?t=1545079101129

      Can anyone confirm that this also breaks the Vera Harmony plugin? If your Harmony hub has been updated to firmware version 4.15.206 ?

      Yes, firmware v4.15.206  breaks the plugin!
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 04:56:54 pm
      There is a thread on the Logitech forums, if you want to voice your own concerns about this.

      https://community.logitech.com/s/question/0D55A00008D1oIoSAJ/firmware-update-blocked-api-access?t=1545079101129

      Can anyone confirm that this also breaks the Vera Harmony plugin? If your Harmony hub has been updated to firmware version 4.15.206 ?

      Yes, firmware v4.15.206  breaks the plugin!

      As I feared then, thanks for confirming.

       :'(
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 05:05:29 pm
      For those wanting to downgrade read this:

      https://www.home-assistant.io/blog/2018/12/17/logitech-harmony-removes-local-api/
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on December 17, 2018, 05:42:59 pm
      @waltzer11

      So is the Harmony plugin for Vera still working or not, for your Harmony hub with the updated firmware ?
      i uninstalled and reintall the plugin. it's not working now. i will downgrade to version 201 tomorrow.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 17, 2018, 05:49:50 pm
      OK let us know how you get on?

      I suggest we all contact Logitech Harmony support and raise a ticket about it. Link them to the post on their own forum

      https://community.logitech.com/s/question/0D55A00008D1oIoSAJ/firmware-update-blocked-api-access?t=1545079101129

      and maybe to the Reddit one as well that started it all.

      https://www.reddit.com/r/homeassistant/comments/a6u6ep/psa_harmony_hub_firmware_v415206_breaksremoves/

      I've already raised my support ticket and I've tweeted Logitech and contacted them via Facebook. we need to hassle them about it.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 18, 2018, 04:54:19 am
      That's a bummer to say the least. As developer of the plugin I can confirm it is using the local XMPP protocol that they stopped supporting with the 206 version as it seems.

      It won't be overnight to rewrite to websockets as Logitech gives zero information or support for this.

      Only advice I can give is try not to upgrade the hub.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 18, 2018, 07:16:32 am
      Hi Rene

      Thanks for the confirmation.

      On the Logitech forum post I linked to previously, there are a few guys on there talking about switching to websocket connection and a project they were looking at as a base here:

      https://github.com/jlynch630/Harmony.NET

      Also a Logitech employee has started a new thread about the problem here:

      https://community.logitech.com/s/question/0D55A00008D2zYDSAZ/harmony-hub-fw-415206?t=1545133664476

      Thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 18, 2018, 09:28:28 am
      Some news from that Home Assistant page

      Update 3 (18 dec): Twitter user @ChadBeattie has discovered that there seems to be a second undocumented local API that is being used by the Logitech Harmony iOS app. Home Assistant dev @ehendrix23 is looking into updating the PyHarmony library to use this. Join #devs_backend on our chat if you want to help with development. We can?t guarantee that it will work, but if we can get it to work, we will do a hot fix release
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 18, 2018, 09:33:36 am
      Hi,

      I will have a look if the recently introduced websocket lib on Vera can made to work with this. See wiki and search on websockets on details. No promise on timing though. Was not looking to do this now.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 18, 2018, 09:49:11 pm
      Rene

      Its up to you now mate!

      Logitech have just totally burnt their companies reputation with their released statement:

      "Harmony Hub Firmware Update Fixes Vulnerabilities

      Logitech recently released a firmware update for Harmony hub-based remotes that addressed some security vulnerabilities brought to our attention by a third-party cyber security firm. Logitech takes our customers? security seriously, and we work diligently to fix these kinds of issues as they?re discovered.

      Last week we began rolling out this update. We are aware that some customers using undocumented Harmony APIs for local home control were affected as a side-effect of our closing these vulnerabilities. These private local control APIs were never supported Harmony features. While it is unfortunate that customers using these unsupported features are affected by this fix, the overall security of our products and all of our customers is our priority.

      We urge customers to update to this latest firmware, version 4.15.206. Please see this article for complete directions on checking and updating your current firmware version: https://support.myharmony.com/how-to-update-your-firmware"
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 19, 2018, 05:16:22 am
      Hi,

      I saw that too and does not look good. The Logitech forum is flooded with complaints, but they do not seem to care. For now I blocked my Hub from any access to the internet so it will stay on the 201 version (I hope), so I advise anyone using the plugin to do the same. It now no longer works with my Alexa, but that I find much less important.

      As you probably know Harmony can on top by far in the poll for Vera to support natively. However, I have no idea if and when that will happen, but I doubt we will see anything before March next year, It will most likely use the Internet based API other vendors use as well. It will not be local as Logitech seems to see those APIs as theirs to pull at will as we can see.

      The XMPP API we and many other Home automation platforms use is the API Logitech used in the first versions of their own apps. So it is not an 'undocumented' API, it is an obsolete one in their view. It is undocumented from Logitechs view as they refuse to share any details to the public domain. Only to development companies and I assume under NDA.

      I want to ask any one from Vera if they can give an estimate for native Harmony support. I fear nothing before March next year. If they will/can make it sooner rather then later they will have a serious perk over the competition again.

      If it will take long I will see what I can do. I tried the verawebsockets from the wiki, but just as the luup.request it will only be supported on the Edge and up and is not working in the latest release (the included example is not working on an Edge running the latest firmware).

      So. All we can hope is to keep our Hubs from upgrading until a new solution is found.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: shapshere on December 19, 2018, 06:03:22 am
      So this plugin is now obsolete if you do not rollback to the previous Harmony firmware and block the hub from accessing the internet?
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 19, 2018, 07:33:50 am
      So this plugin is now obsolete if you do not rollback to the previous Harmony firmware and block the hub from accessing the internet?

      Yes
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 19, 2018, 07:39:37 am
      Rene

      I was told yesterday by someone that Logitech were making it difficult for companies to officially integrate with Harmony. Apparently Hubitat have been trying and were told Logitech were not allowing new official integrations. This person said to me the "door was closed" for the Hubitat Devs.

      How true this is I have no idea.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 19, 2018, 07:59:44 am
      All the information everyone needs to know can be read in this article.

      https://thedigitallifestyle.com/w/index.php/2018/12/19/logitech-harmony-firmware-4-15-206-breaks-home-automation-systems
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 19, 2018, 10:03:57 am
      Home Assistant Devs have released a patch today to switch to the websockets API.

      https://www.home-assistant.io/blog/2018/12/17/logitech-harmony-removes-local-api/?fbclid=IwAR15u39RrEFOAj-uiznVXkHjED7Qk98VOPxtL9TTBd4sgDYqw-MU4LS1MEY

      Homeseer plugin Devs are also working on a fix.

      I guess we just have to wait and be patient and hope it's not a lot of work for Rene to be able to do the same..
      Title: Re: Plugin: Harmony Hub Control
      Post by: legend99 on December 19, 2018, 11:16:46 am
      Perhaps there is still hope. Lucky that I did not remove my GlobalCaches that I had setup.


      Home Assistant Devs have released a patch today to switch to the websockets API.

      https://www.home-assistant.io/blog/2018/12/17/logitech-harmony-removes-local-api/?fbclid=IwAR15u39RrEFOAj-uiznVXkHjED7Qk98VOPxtL9TTBd4sgDYqw-MU4LS1MEY

      Homeseer plugin Devs are also working on a fix.

      I guess we just have to wait and be patient and hope it's not a lot of work for Rene to be able to do the same..
      Title: Re: Plugin: Harmony Hub Control
      Post by: lennier on December 19, 2018, 04:29:06 pm
      So I downgraded and blocked internet access for the hub, but now it seems I'm getting a timeout of some sort on almost every keypress of the remote. Actions eventually happen but it looks like it's trying to do some sort of internet access prior to acting on the button press! I'm not seeing anyone else reporting this behaviour so presumably it's not inherent in the design of the hub that it needs internet access to function as a remote control? Anyone have any ideas what could be going on here? Unblocking internet access immediately restores normal operation but then it upgraded itself again overnight .

      Thanks for any suggestions.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 19, 2018, 05:27:36 pm
      Hi All,

      I am making progress on getting it communicate using websockets on LUA without the need for installing anything special. It is first baby steps, but at least not a dead end.

      Keep you posted.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on December 19, 2018, 05:40:27 pm
      Thank you for your hard work. It is very much appreciated. Will the changes work for UI5 users too?
      Hi All,

      I am making progress on getting it communicate using websockets on LUA without the need for installing anything special. It is first baby steps, but at least not a dead end.

      Keep you posted.

      Cheers Rene

      Sent from my Pixel 2 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 19, 2018, 07:13:38 pm
      So I downgraded and blocked internet access for the hub, but now it seems I'm getting a timeout of some sort on almost every keypress of the remote. Actions eventually happen but it looks like it's trying to do some sort of internet access prior to acting on the button press! I'm not seeing anyone else reporting this behaviour so presumably it's not inherent in the design of the hub that it needs internet access to function as a remote control? Anyone have any ideas what could be going on here? Unblocking internet access immediately restores normal operation but then it upgraded itself again overnight .

      Thanks for any suggestions.

      Blocking Internet access to the hub does make starting my Activities much slower.

      However once it's going, I've not had any problems with the remote at all and no lag.
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 19, 2018, 07:30:11 pm
      Also either blocking complete Internet access to the hub or just blocking those listed MyHarmony domain names, then breaks the Harmony mobile Android app, it no longer connects and the Google Home integration doesn't work. Google Home says OK to your voice commands but nothing happens.

      So that is the downside to protecting your hub from the firmware update to .206.

      Some people on the Logitech forum thread have claimed that just blocking the domains still allows them Harmony app and Google Home access but I think maybe they haven't really been able to block the domains properly?

      I have an Asus router with Merlin firmware and the Firewall URL Filtering doesn't seem to work.

      So I added a hosts.add file and pointed all the Harmony domains to 127.0.0.1 to black hole / block them. And I lose the Harmony app connection and Google Home connection.

      Title: Re: Plugin: Harmony Hub Control
      Post by: kalel3000 on December 19, 2018, 07:44:46 pm
      I am very thankful I stumbled across this thread. My hub stopped working and I didn't know why. I was able to downgrade the firmware and block internet access to the hub and it went back to normal.

      Luckily my Alexa voice commands for this hub were already routed through a raspberry pi hue bridge to scenes on my Vera. So I have very fortunately maintained all of my previous functionality!

      Thank you guys so much!!

      This update truly sucks!! But if it wasn't for you guys, I would have been completely screwed!
      Title: Re: Plugin: Harmony Hub Control
      Post by: Don Phillips on December 19, 2018, 09:37:33 pm
      The Harmony Hub was on my list to purchase in 2019. I may look to other options and save me $300.
      Title: Re: Plugin: Harmony Hub Control
      Post by: lennier on December 19, 2018, 11:13:03 pm


      Blocking Internet access to the hub does make starting my Activities much slower.

      However once it's going, I've not had any problems with the remote at all and no lag.

      Thanks, so do you mean there's an initial delay when you start an activity (30s-1min?) but after that remote commands work as normal? In my case I think remote commands largely all have a delay, occasionally they seem to be acted on in a normal timeframe. Regardless I tend to do a lot of activity swapping between sources etc which would make it virtually unusable as it stands. Wondering if perhaps just blocking the harmony URLs might make it operate differently.

      Edit: Just confirmed that the initial response delay is basically 60s (TCP timeout) then after that maybe one or two remote commands work immediately then it goes back to 60s timeout delays for everything. So completely unusable. Others doing the internet blocking don't seem to be reporting this so I'm confused as to why my installation seems more dependant than others' on internet access.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 20, 2018, 05:00:58 am
      Thank you for your hard work. It is very much appreciated. Will the changes work for UI5 users too?
      Hi All,

      I am making progress on getting it communicate using websockets on LUA without the need for installing anything special. It is first baby steps, but at least not a dead end.

      Keep you posted.

      Cheers Rene

      Sent from my Pixel 2 using Tapatalk
      Too early to say. I do not have a UI5 system to test anymore.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on December 20, 2018, 07:23:15 am
      Thanks, I will test when available and let everyone know.
      Thank you for your hard work. It is very much appreciated. Will the changes work for UI5 users too?
      Hi All,

      I am making progress on getting it communicate using websockets on LUA without the need for installing anything special. It is first baby steps, but at least not a dead end.

      Keep you posted.

      Cheers Rene

      Sent from my Pixel 2 using Tapatalk
      Too early to say. I do not have a UI5 system to test anymore.

      Cheers Rene

      Sent from my Pixel 2 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: Chelseagroup on December 20, 2018, 12:57:58 pm
      Does it sound like this may ever work again?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Cor on December 20, 2018, 02:10:26 pm
      Just found out my harmony is not working again with vera and stumbled upon this thread ... offcourse I am on the other side of the world when the wifes says......    When I am home again next week I will try to downgrade and block it from the internet ....

      Thanks for working on it and trying to solve it Rene ,
      Cor
      Title: Re: Plugin: Harmony Hub Control
      Post by: davemedlin on December 20, 2018, 08:13:07 pm
      Well, I just did the downgrade and block access routine and that works but as others have stated now there is a very long delay when starting any activity. Too long to handle.
      Title: Re: Plugin: Harmony Hub Control
      Post by: lennier on December 20, 2018, 09:29:03 pm
      Well, I just did the downgrade and block access routine and that works but as others have stated now there is a very long delay when starting any activity. Too long to handle.

      Once the activity starts and you wait another minute or so for some other attempted access to timeout it then seems to go back to responding to the remote normally. Activity switching is a pain but at least it's usable within an activity.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Dpc131 on December 21, 2018, 02:33:51 am
      Err... literally just got one of these last weekend. Got everything installed and working last week but then Saw the errors tonight and figured I did something when I added Alexa access to the hub the other day. Just spent two hours troubleshooting and reinstalling everything and then found this thread.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 21, 2018, 09:13:47 am
      Hi,

      Please upload the L_Harmony.lua file to your Vera or openLuup system if you got stopped by the Logitech 206 firmware update. You can find it here.
      http://forum.micasaverde.com/index.php/topic,116228.msg434166.html#msg434166 (http://forum.micasaverde.com/index.php/topic,116228.msg434166.html#msg434166)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: legend99 on December 21, 2018, 10:23:56 am
      Thank You Rene!

      Hi,

      Please upload the L_Harmony.lua file to your Vera or openLuup system if you got stopped by the Logitech 206 firmware update. You can find it here.
      http://forum.micasaverde.com/index.php/topic,116228.msg434166.html#msg434166 (http://forum.micasaverde.com/index.php/topic,116228.msg434166.html#msg434166)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 21, 2018, 10:28:14 am
      Rene

      THANK YOU

      For the quick fix, I will try it later.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Chelseagroup on December 21, 2018, 10:39:51 am
      Here is the Logitech CEO email address if you want to let him know your thoughts:
      Bracken P. Darrell
      bdarrell@logitech.com
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on December 21, 2018, 10:40:46 am
      It is working good now! Thank you! I am on UI5 and the latest Harmony Hub firmware of 206.  I went to Apps... Develop Apps... Luup files... Upload Files... Browse... Checked Restart Luup after upload... Go.  No issues yet, I will post this feedback in both threads.

      Hi,

      Please upload the L_Harmony.lua file to your Vera or openLuup system if you got stopped by the Logitech 206 firmware update. You can find it here.
      http://forum.micasaverde.com/index.php/topic,116228.msg434166.html#msg434166 (http://forum.micasaverde.com/index.php/topic,116228.msg434166.html#msg434166)

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on December 21, 2018, 12:34:02 pm
      OK let us know how you get on?

      I suggest we all contact Logitech Harmony support and raise a ticket about it. Link them to the post on their own forum

      https://community.logitech.com/s/question/0D55A00008D1oIoSAJ/firmware-update-blocked-api-access?t=1545079101129

      and maybe to the Reddit one as well that started it all.

      https://www.reddit.com/r/homeassistant/comments/a6u6ep/psa_harmony_hub_firmware_v415206_breaksremoves/

      I've already raised my support ticket and I've tweeted Logitech and contacted them via Facebook. we need to hassle them about it.

      I decided not to downgrade to version 201 because I read somewhere here, I think it was Rene's post that it stopped working with Alexa. I will be in trouble because my wife is a big fan of Alexa to turn TV on/off LOL
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 21, 2018, 12:54:05 pm
      It was me that said that. I blocked the Harmony domains on the router.

      I'm sure many people have raised support tickets and sent them all the related links I did. Didnt expect anything to happen just wanted to contribute to Logitech's work load over this outage.
      Title: Re: Plugin: Harmony Hub Control
      Post by: antemma on December 21, 2018, 04:34:13 pm
      Hi, I've been using the Harmony/Vera pluggin for years. Works great, thank you.

      BUT THE LATEST UPDATE IS GIVING ERROR's FOR ALL 8 HARMONIES IN MY HOUSE WITH NO CONTROL.

      Version 2.22 that went live in November 2018 is not working working on my Vera Plus.

      Anyone else having this problem and is there a way to revert back to 2.21?

      Please help, Thank you.
      Title: Re: Plugin: Harmony Hub Control
      Post by: sk1.publicc on December 21, 2018, 06:17:01 pm
      Statement from Logitech support about reinstating XMPP in January (updated 3hrs ago at time of this posting).
      I think that you can also install a special "beta, developer only" firmware version that reinstates XMPP right now.

      Will give it a go.

      https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities

      EDIT:  New firmware version does the trick!  :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: kaw700zn on December 21, 2018, 07:01:28 pm
      Back in business with "developer's release"!
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 21, 2018, 07:21:30 pm
      Sounds like Logitech are doing a u-turn and finally seeing some sense..

      Although going forward the websockets API is probably the one they should be making official for 3rd party Home Automation integrations rather than the XMPP one.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Big Moose on December 21, 2018, 09:09:11 pm
      Statement from Logitech support about reinstating XMPP in January (updated 3hrs ago at time of this posting).
      I think that you can also install a special "beta, developer only" firmware version that reinstates XMPP right now.

      Will give it a go.

      https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities

      EDIT:  New firmware version does the trick!  :)

      Amazing, I am going to go this route. I was not expecting Logitech to react positively to our complaints so credit to them for listening and acting accordingly.

      More importantly, thanks to you Rene for your quick turnaround with the websocket patch - your talent and dedication is very much appreciated  :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: cw-kid on December 21, 2018, 09:54:35 pm
      I agree I think Rene's Harmony plugin is one of the very best plugins for Vera, it allows so much control over the Harmony hubs and devices.
      Title: Re: Plugin: Harmony Hub Control
      Post by: gkron on December 22, 2018, 11:52:00 am
      I cant seem to get another hub up and running when I add another instance of the Harmony control plugin it says Plug in not yet initialized. Wait a moment and then Reload device and Browser.  I've done both but nothing changes. 
      Title: Re: Plugin: Harmony Hub Control
      Post by: lefrancais on December 23, 2018, 10:00:01 am
      I?m back in business with Harmony developers update, also I struggled getting it on my Mac, I had to pull a pc and make sure to have latest version of Harmony app...

      Thank you Rene for working on a fix as well, your app is the best!
      Eric
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on December 23, 2018, 02:14:42 pm
      same here - back in business. thanks to Rene and cw-kid and of course to everyone in this thread.
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on December 23, 2018, 02:21:22 pm
      With Rene's update we don't need the special firmware correct?  Because it is working fine for now on 206 firmware with Rene's last patch.

      Sent from my Pixel 2 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 23, 2018, 02:24:09 pm
      Correct, no need for the workaround and the 'developer' version from Logitech.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on December 23, 2018, 02:24:48 pm
      Thanks!
      Correct, no need for the workaround and the 'developer' version from Logitech.

      Cheers Rene

      Sent from my Pixel 2 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on December 23, 2018, 02:49:55 pm
      Correct, no need for the workaround and the 'developer' version from Logitech.

      Cheers Rene

      i am not too clear on this. i followed and click the link and installed "FIRMWARE TO ENABLE XMPP FOR DEVELOPERS ONLY". now Rene's plugin in vera is working for me. i just check the version of my harmony hub and it is 4.15.210 not 206.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 24, 2018, 06:26:22 am
      Hi,

      The latest 2.28 version of the plugin will work with all current (201,206,210) versions of the Logitech Hub firmware out of the box.

      The earlier versions of the plugin do not work with 206 and only with the 210 (and later?) versions if you apply the workaround from Logitech to enable the XMPP API.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Jaggz on December 24, 2018, 02:49:35 pm
      Hi Rene,

      Hoping you can help but first of all, thanks for all the work on this plugin. It has been amazing.  So as one user reported earlier, I have installed your latest LUA (on my controller running UI7) and was able to get one of my Harmony's working again perfectly.  When I go to add another, however, it provides the blue bar at the top indicating "Harmony Control: Configure IP Address".  Going into the new add, it does not provide the option screen to add the IP, login and password regardless of how many times I reload.  In my other controller which is running UI5, unfortunately neither existing Harmony's began to work, instead that same error message began to display although all the IP's, login and passwords are there.  Any ideas? Should I downgrade back to 2.2 (or 1.7) and use the Harmony Hub Firmware fix instead?   
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on December 26, 2018, 07:12:37 am
      Hi,

      I found a first time problem on an additional device indeed. Go to the device Control, Advanced, Variables, and edit the UIVersion variable to any value. For example 1. Then reload the luup engine and refresh your browser. That should do it.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Jaggz on December 26, 2018, 12:43:57 pm
      Outstanding!  Thanks again for all your hard work on this Rene.....I am back in business.   :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: robie on December 27, 2018, 02:16:17 am
      Many thanks for the fix.  I'm on version 2.22 with auto update.  Sharing to other users who might encounter the same problem since the 2.28 is not yet published, follow instructions here to force update to the latest version - http://forum.micasaverde.com/index.php/topic,36437.0.html

      Happy holidays!

      Hi,

      The latest 2.28 version of the plugin will work with all current (201,206,210) versions of the Logitech Hub firmware out of the box.

      The earlier versions of the plugin do not work with 206 and only with the 210 (and later?) versions if you apply the workaround from Logitech to enable the XMPP API.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: bvaughn76 on January 04, 2019, 12:32:34 pm
      Hi Rene,

      Hoping you can help but first of all, thanks for all the work on this plugin. It has been amazing.  So as one user reported earlier, I have installed your latest LUA (on my controller running UI7) and was able to get one of my Harmony's working again perfectly.  When I go to add another, however, it provides the blue bar at the top indicating "Harmony Control: Configure IP Address".  Going into the new add, it does not provide the option screen to add the IP, login and password regardless of how many times I reload.  In my other controller which is running UI5, unfortunately neither existing Harmony's began to work, instead that same error message began to display although all the IP's, login and passwords are there.  Any ideas? Should I downgrade back to 2.2 (or 1.7) and use the Harmony Hub Firmware fix instead?

      I have the same issue.  Thanks SO MUCH for getting the app working, but I am curious on thoughts how we get the second Hub working.  Does this have anything in common with Amazon Alexa only being able to control one hub?
      Title: Re: Plugin: Harmony Hub Control
      Post by: bvaughn76 on January 04, 2019, 12:44:50 pm
      I actually had successfully updated it to work.

      I verified that I was on 2.29.  I then deleted the second device and created a new one.  Same issue popped up, but I was able to then reboot Vera.  The device initialized and i was able to configure it and retrieve the activities.  Just took a few attempts of deleting/adding/rebooting the second device to get it working.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Paulb4333 on January 06, 2019, 10:47:27 am
      Rene,
      Thanks for your great work and for the patience in working we inexperienced folks!!
      Paul
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 07, 2019, 05:29:44 am
      Not a problem. All these systems have a steep learning curve after you have the trivial bits done. Many plugins do too, and I know this one does.

      Version 3 is nearly ready for beta testing and is making use of what websockets allow over the old version. Gives instant response to activity changes initiated by any device, no need for polling and other improvements and fixes. Thought joining Vera in posting teasers  ;D

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Chelseagroup on January 07, 2019, 12:28:44 pm
      I am using your lua v 2.28 and everything is working.
      I have NOT installed the "special" firmware.
      Based on my information from the Logitech CEO, they will be releasing another firmware update this month.
      Is that going to "kill" us again or will your new communications method work in the future?

      Thanks
      Reed
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on January 07, 2019, 01:53:33 pm
      Reading up from the home assistant forum and what Logitech rep has announced there, it seems like Logitech is backpedaling and are now saying they will fix the security issue on the XMPP protocol as the official local API and are not committed to websocket since it is not officially supported. Reneboer, you might want to reconsider your plans on websocket.

      I personally installed the dev firmware on my 3 units which supports both but for future proofing, XMPP might be the way to go.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 08, 2019, 06:07:57 am
      Hi rafale,

      I may go back to XMPP when/if they will publish the API. Till then I will remain on websockets so people do not need to install any 'development' software. Websockets is what their own apps on Android/iOS use so should be safe for the time being.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: compono on January 22, 2019, 08:51:48 pm
      The plugin stopped working on my Vera yesterday or day before so I assume Logitech has hosed everyone again and you are working on updating again.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on January 23, 2019, 04:54:41 am
      Hi,

      Did it maybe update to V3.0? Please look at the variables to see the version. Just after 3.0 became available on the MIOS app market I found that it could give a problem in some configuration depending on the number of buttons you have configured. I pulled the 3.0 version from the App store and the updated 3.1 is pending approval from MIOS. You can get the 3.1 version by using the force update link as described in the first article in the Version Log thread.

      I am not aware of any changes from the Harmony side.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Chelseagroup on February 18, 2019, 04:12:12 pm
      ust updated the harmony app to v3.5 manually - it was on v2.29 and did not autoupdate even though the box was checked.
      Can connect to a hub running firmware v4.15.206
      Will NOT connect to hub running firmware version 4.15.250 (the new one released today).
      Title: Re: Plugin: Harmony Hub Control
      Post by: cabs on February 18, 2019, 04:18:14 pm
      I just checked my hub software.  It is 4.15.250  I also cannot get the plugin to connect.  Keep getting error that Hub connection set-up failed.  Check IP address.  The IP address is correct and still there.  Plugin has been running fine for a month.  Wonder what changed in Hub release today?  Thx.  DAve
      Title: Re: Plugin: Harmony Hub Control
      Post by: jimmyhtz on February 18, 2019, 09:38:20 pm
      I just purchased a new hub for the garage.  Everything was working for a few minutes until it forced a firmware update on both hubs.   
      Probably triggered by me setting up the 2nd hub.

      Now, nothing works :(
      Title: Re: Plugin: Harmony Hub Control
      Post by: Chelseagroup on February 18, 2019, 09:52:37 pm
      last time this happened, I sent an email to the CEO of Logitech

      Bracken Darrell <bdarrell@logitech.com>
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on February 18, 2019, 10:32:05 pm
      Reneboer... As I feared, it looks like Logitech has backpedaled and has gone back to XMPP and is now blocking Websocket. I am and will remain on their dev firmware which enables both bot other people have been upgrading their firmware.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Pabla on February 18, 2019, 10:50:09 pm
      https://community.logitech.com/s/question/0D55A00008OsX3CSAV/update-to-accessing-harmony-hubs-local-api-via-xmpp

      Don?t be alarmed guys! They added an option in the new firmware to enable XMPP when needed. It?s by default switched off, by following the steps in the link you can turn XMPP back on :)
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on February 18, 2019, 10:51:26 pm
      https://community.logitech.com/s/question/0D55A00008OsX3CSAV/update-to-accessing-harmony-hubs-local-api-via-xmpp

      Don?t be alarmed guys! They added an option in the new firmware to enable XMPP when needed. It?s by default switched off, by following the steps in the link you can turn XMPP back on :)

      Yes but the vera plugin is now using websocket and no longer talking XMPP.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Pabla on February 18, 2019, 10:54:54 pm
      Well then disregard that..  :-[
      Title: Re: Plugin: Harmony Hub Control
      Post by: lennier on February 18, 2019, 11:04:57 pm
      So how are the harmony mobile apps still working now if they use/used websockets? Have they changed the API?
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on February 18, 2019, 11:11:57 pm
      From what I read at the end of the firmware fiasco, Logitech never planned for websocket (or XMPP) to be open as a local API. It is likely still there but now secured/encoded for the app. Instead they directed developers back to XMPP which will be the supported local API.
      Title: Re: Plugin: Harmony Hub Control
      Post by: lennier on February 18, 2019, 11:14:50 pm
      From what I read at the end of the firmware fiasco, Logitech never planned for websocket (or XMPP) to be open as a local API. It is likely still there but now secured/encoded for the app. Instead they directed developers back to XMPP which will be the supported local API.

      Ah right. So basically going back to the xmpp version of the plugin and enabling xmpp on the hub via the mobile app should theoretically work?
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on February 18, 2019, 11:32:52 pm
      Very likely, yes. Logitech initially removed XMPP because of a security weakness and said they would bring it back once they fixed it. Seems like they have. I do not know if the fix requires any changes to the plugin though..
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 19, 2019, 04:18:55 am
      Hi,

      My own hub has not changed yet, so I cannot see what has happened. The plugin mimics what the Harmony mobile app does so I the change should be small I hope.

      I found that other apps that switched to websockets have the same issue. If possible do NOT update your Hub to this new 4.15.250 for now.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: chasiu on February 19, 2019, 05:52:34 am
      Hi,

      My own hub has not changed yet, so I cannot see what has happened. The plugin mimics what the Harmony mobile app does so I the change should be small I hope.

      I found that other apps that switched to websockets have the same issue. If possible do NOT update your Hub to this new 4.15.250 for now.

      Cheers Rene
      I usually don't find out it upgraded until it breaks. Mine updated automatically. It stopped working a few days ago. I just enabled XMPP option in the new Hub firmware. But I can't test until I get back in town.(https://uploads.tapatalk-cdn.com/20190219/4efb0494e84837b462e58cfc78d67d80.jpg)

      Sent from my Pixel 2 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 19, 2019, 05:59:31 am
      Hi,

      See the topic I created on this Harmony Hub software version and problem. There is a temporary fix that can help if you know your Hub RemoteID value.

      Enabling the XMPP option will not help.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: ruster34 on February 19, 2019, 10:03:43 am
      I would love to disable the XMPP option since they've so publicly disclosed it as a vulnerability. Can you elaborate on the temp solution? Assuming I just enter the RemoteID in the corresponding variable field, but not sure how to identify it....
      Title: Re: Plugin: Harmony Hub Control
      Post by: rafale77 on February 19, 2019, 11:34:52 am
      Impressive quick turnaround time on the fix. Thanks Rene!
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 19, 2019, 12:49:49 pm
      I would love to disable the XMPP option since they've so publicly disclosed it as a vulnerability. Can you elaborate on the temp solution? Assuming I just enter the RemoteID in the corresponding variable field, but not sure how to identify it....

      With V3.6 you do not need to enable XMPP and it should work on Harmony verisons 4.15.201, 206 and 250. See the Version log topic on how to install.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: Big Moose on February 19, 2019, 04:31:38 pm
      Thanks Rene, much appreciated.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Pabla on February 19, 2019, 04:47:15 pm
      Once again thank you Rene for such a quick and effective fix  :D
      Title: Re: Plugin: Harmony Hub Control
      Post by: waltzer11 on February 20, 2019, 12:15:07 pm
      Hi,

      My own hub has not changed yet, so I cannot see what has happened. The plugin mimics what the Harmony mobile app does so I the change should be small I hope.

      I found that other apps that switched to websockets have the same issue. If possible do NOT update your Hub to this new 4.15.250 for now.

      Cheers Rene

      hi Rene, this is very frustrating: (1) my hub auto updated to 4.15.250 although i did not do anything (2) the auto update box in my UI is checked but the current version remains at 3.5. the hub connection failed and says "check IP address". can you guide me how to upgrade to V3.6 please. thanks
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 20, 2019, 12:25:10 pm
      Hi,

      My own hub has not changed yet, so I cannot see what has happened. The plugin mimics what the Harmony mobile app does so I the change should be small I hope.

      I found that other apps that switched to websockets have the same issue. If possible do NOT update your Hub to this new 4.15.250 for now.

      Cheers Rene

      hi Rene, this is very frustrating: (1) my hub auto updated to 4.15.250 although i did not do anything (2) the auto update box in my UI is checked but the current version remains at 3.5. the hub connection failed and says "check IP address". can you guide me how to upgrade to V3.6 please. thanks
      Hi,

      Vera has not yet made the 3.6 release generally available. They only do that on Mondays it seems. To force the update enter this in your web browser and put in your Vera's IP address:
      http://<your vera IP>/port_3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8066&Version=37626

      You must be on the same local network as your Vera. It does not work remotely.

      Success.
      Title: Re: Plugin: Harmony Hub Control
      Post by: kapstaad on February 21, 2019, 11:12:56 am
      Came home from a trip to find my Vera system all upset because of the Harmony Hub auto-update.  A quick glance at Rene's github page explained that I needed V3.6 of the Vera Harmony Plugin; I told Vera to update the plugin, but the problem persisted because Vera's servers are still stuck at plugin V3.5.

      I read the message above concerning a manual update to V3.6, called the appropriate URL, and VOILA!  Vera is happy again.

      Kudos to Rene, for staying on top of Logitech's apparently rather random, unannounced and disorganized update process :D

      And a kick in the nuts for Vera, for not updating the app store on a more regular basis.  I mean, this problem was introduced by Logitech days ago; Rene's fix has been available and uploaded for days; and anyone using the plugin has been dead in the water for days.  But you're not going to publish the available fix until next week?  Really?? >:(
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sammy2 on February 22, 2019, 07:36:24 am
      Hi,

      My own hub has not changed yet, so I cannot see what has happened. The plugin mimics what the Harmony mobile app does so I the change should be small I hope.

      I found that other apps that switched to websockets have the same issue. If possible do NOT update your Hub to this new 4.15.250 for now.

      Cheers Rene

      hi Rene, this is very frustrating: (1) my hub auto updated to 4.15.250 although i did not do anything (2) the auto update box in my UI is checked but the current version remains at 3.5. the hub connection failed and says "check IP address". can you guide me how to upgrade to V3.6 please. thanks
      Hi,

      Vera has not yet made the 3.6 release generally available. They only do that on Mondays it seems. To force the update enter this in your web browser and put in your Vera's IP address:
      http://<your vera IP>/port_3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8066&Version=37626

      You must be on the same local network as your Vera. It does not work remotely.

      Success.

      That seems to have forced the version 3.6 update and it looks as if Harmony Control is connected again.

      Thanks for the quick fix!
      Title: Re: Plugin: Harmony Hub Control
      Post by: lemrock on February 22, 2019, 11:46:56 am
      I'm not understanding what's happening with my configuration.  I was having the same issue as everyone else,  the firmware upgrade to 4.15.250 broke everything.  I moved to the new version 3.6 of the plugin and voila everything appeared to be back in working order.  On the next day without doing anything, everything is broke again even with version 3.6 in place and still on firmware version 4.15.250.  I reloaded to ver 3.6 files but that didn't do anything.  Any suggestions on what to do next to keep the Harmony plugin working on my VeraPlus?

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 22, 2019, 03:09:06 pm
      Hi lemrock,

      Can you share a bit more details? Do you switch the Hub off over night? Does a luup reload help? Can you see anything in the LuaUPnP.log file?

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: lemrock on February 22, 2019, 11:37:35 pm
      Looks like everything is back to normal with ver 3.6 and firmware 4.15.250.  One thing I did do before things got right was to block all the various Harmony related addresses at my router.  I don't know if there is a correlation,  I'll check that out later.
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on February 23, 2019, 05:06:05 am
      Hi,

      I have seen other reports of Hubs to stop working when all internet is blocked. In the 250 release it seems their mobile app talks more to some web servers than before, so maybe the hub now does too. I have not looked into that and Logitech for sure does not share any information.

      For the last few months I do turn off the Hub for a few hours each night (using a z-wave plug of course) and it have been very stable since. However, if you want to do that you have to stop the polling before you do, and turn that back on a few minutes after you turned it back on. See this wiki topic for details https://github.com/reneboer/vera-Harmony-Hub/wiki/Polling-the-Hub

      As a test I am not turning anything off now, and my setup has been running for three days without a problem.

      Cheers Rene
      Title: Re: Plugin: Harmony Hub Control
      Post by: dj2020 on March 02, 2019, 02:38:49 pm
      Has there been a recent update to the plugin or the Harmony Control itself?  I'm getting the following error. I have already confirmed IP address and login credentials are correct.


      Harmony Control : Hub connection set-up failed. Check IP Address, email and password

      Title: Re: Plugin: Harmony Hub Control
      Post by: dj2020 on March 02, 2019, 02:40:20 pm
      Sorry for last post.  Just saw the sticky. 
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sammy2 on March 13, 2019, 11:18:24 pm
      Getting "Harmony Control.Can't Detect Device" error again.

      Checked IP address, Username and Password. All good but do I need the port number in both Parameters and Variables?

      Did Harmony lock it out again?

      Sent from my SM-G960U1 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 14, 2019, 06:12:07 am
      Hi Sammy,

      Sorry, but you will need to give some more information. Are you running the latest version of the plugin? What is the software version on your Hub? Did you check using the Harmony web app?

      Cheers Rene.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sammy2 on March 14, 2019, 06:32:06 am


      Hi Sammy,

      Sorry, but you will need to give some more information. Are you running the latest version of the plugin? What is the software version on your Hub? Did you check using the Harmony web app?

      Cheers Rene.

      For whatever reason the Harmony plugin is working now. It did have the wrong IP Address entered and maybe because I reset my router last week and I  entered it wrong. When I corrected the IP Address it didn't immediately connect but overnight it did. [Why are there so many places to enter the IP Address in the app?]

      As a side note I had the same issue with my Enphase Solar Plugin but that connected too overnight.

      For the record though:

      Plugin version 3.6

      VeraPlus version 1.7.4001

      Harmony app works.

      Sent from my SM-G960U1 using Tapatalk

      Title: Re: Plugin: Harmony Hub Control
      Post by: Pabla on March 14, 2019, 02:10:35 pm


      Hi Sammy,

      Sorry, but you will need to give some more information. Are you running the latest version of the plugin? What is the software version on your Hub? Did you check using the Harmony web app?

      Cheers Rene.

      For whatever reason the Harmony plugin is working now. It did have the wrong IP Address entered and maybe because I reset my router last week and I  entered it wrong. When I corrected the IP Address it didn't immediately connect but overnight it did. [Why are there so many places to enter the IP Address in the app?]

      As a side note I had the same issue with my Enphase Solar Plugin but that connected too overnight.

      For the record though:

      Plugin version 3.6

      VeraPlus version 1.7.4001

      Harmony app works.

      Sent from my SM-G960U1 using Tapatalk


      upgrade your plugin to version 3.8 there was an update to the hubs that broke connectivity with the plugin, 3.8 corrected it.
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sammy2 on March 14, 2019, 02:16:17 pm


      Hi Sammy,

      Sorry, but you will need to give some more information. Are you running the latest version of the plugin? What is the software version on your Hub? Did you check using the Harmony web app?

      Cheers Rene.

      For whatever reason the Harmony plugin is working now. It did have the wrong IP Address entered and maybe because I reset my router last week and I  entered it wrong. When I corrected the IP Address it didn't immediately connect but overnight it did. [Why are there so many places to enter the IP Address in the app?]

      As a side note I had the same issue with my Enphase Solar Plugin but that connected too overnight.

      For the record though:

      Plugin version 3.6

      VeraPlus version 1.7.4001

      Harmony app works.

      Sent from my SM-G960U1 using Tapatalk


      upgrade your plugin to version 3.8 there was an update to the hubs that broke connectivity with the plugin, 3.8 corrected it.

      Oh.. I thought 3.6 fixed it but did Harmony bork it again?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Sammy2 on March 14, 2019, 02:18:48 pm
      BTW, what is "Create Child Devices Embedded"?
      Title: Re: Plugin: Harmony Hub Control
      Post by: Pabla on March 14, 2019, 06:15:26 pm
      yea they broke It again
      Title: Re: Plugin: Harmony Hub Control
      Post by: reneboer on March 15, 2019, 12:43:08 pm
      Hi,

      The 3.6 version is Ok with the 4.14.250 Harmony Hub version, they have not yet released a newer one as far as I can find. The 3.7/3.8 has some enhancements & fixes. I would advice to update.

      Cheers Rene