Announcement

Collapse
No announcement yet.

Jon00 Harmony Control

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

  • joelbean
    replied
    Thanks Jon.
    I don't have a Harmony Hub Activity called "PowerOff" so I'm wondering if this plugin listed activity is smart enough to know to only cycle power on the devices that are engaged for the Harmony activity. I'm assuming the "PowerOff" emulates tapping the on/off icon in the Harmony app interface for an activity that is active.

    The Activity in HS3 is cycling ON/OFF/ON/OFF... about as fast as it takes to power the activity devices on my AV system and refresh the HS3 screen, maybe each 8 seconds. My AV equipment sure gets a power cycling workout.

    Thanks.

    Leave a comment:


  • jon00
    replied
    The activities are as you have defined them via the hub. By default, activities switch off devices that are not required when you switch to another. This can be changed in the activity settings. There are no actions on hub devices directly. I suggest you have a play with switching activities via your remote/app to see how they work.

    The Java process is dumb and will do nothing unless the plugin tells it to do something. It can be left running without issue. To stop the plugin, right-click on the blue icon (which is my attempt to look like a remote control) and select exit to stop it.

    What is the duration of the On/Off sequence?

    Leave a comment:


  • joelbean
    replied
    ON/OFF Cycling

    Originally posted by jon00 View Post
    Odd. When you say selecting an Activity, is this from the Remote/App or via Homeseer?

    When you say ON, OFF etc, is this the Activity switching between PowerOff and the Activity again or something else. I cannot see how any hub devices can change state on their own.

    I forgot to add - you need to stop and restart the plugin if you make changes to most of the timer settings.
    Via Homeseer > View Devices page.

    Yes, when I select an activity like "Watch Netflix" or any other activity, it cycles my equipment on and off and the value in the Homeseer Activity box changes back and forth between this and "PowerOff."

    Other than stopping and starting the restful java processes, I'm not sure how to stop and start the plugin, unless this is done when I start Homeseer itself, which I do frequently when testing these things.

    I have two other issues worth mentioning. The restful java process CMDs stay open even when I make the change in the Settings file that you specify.

    Also, does the PowerOff Activity stop any activity and only the AV devices in use, or does it just send a power cycle command to all of the Harmony devices? I'm hoping that it knows only the devices in use by polling the Harmony Hub.

    Thanks much for your prompt reply. Much appreciated.

    By the way, I'm attempting to use the Alexa helper to setup some things to control the Harmony plugin. This is when I discovered the issues above regarding the Activity cycling ON/OFF.

    Leave a comment:


  • jon00
    replied
    Odd. When you say selecting an Activity, is this from the Remote/App or via Homeseer?

    When you say ON, OFF etc, is this the Activity switching between PowerOff and the Activity again or something else. I cannot see how any hub devices can change state on their own.

    I forgot to add - you need to stop and restart the plugin if you make changes to most of the timer settings.
    Last edited by jon00; February 23, 2018, 08:04 AM.

    Leave a comment:


  • joelbean
    replied
    Harmony Control serious problem

    Hi Jon,
    When I select an activity, it cycles the equipment associated with that activity on the Harmony Hub ON, OFF, ON, OFF, ON, OFF, etc.
    I changed the poll time in the .ini file to various values and it doesn't make a difference.
    Unfortunately, this makes the plugin/script unusable for two reasons; 1) the only way to stop the behavior is to kill the java processes in the cmd windows, and 2) I don't trust leaving them running when I'm not present since they appear to communicate with the Hub even when a specific action is selected in the HS3 events interface.
    I am running 1.0.6 according to the logfile.
    I would really like to have the functionality that this offers but it has not yet been reliable. Thanks for your help.
    Joel

    Leave a comment:


  • spicuzza
    replied
    Thanks for the quick reply.

    Leave a comment:


  • jon00
    replied
    Originally posted by spicuzza View Post
    Are there any plans for a Linux version of this plugin? Be nice for us raspbian fans
    Sorry, there are no plans to do so.

    Leave a comment:


  • spicuzza
    replied
    Are there any plans for a Linux version of this plugin? Be nice for us raspbian fans

    Leave a comment:


  • Guest
    Guest replied
    Originally posted by jon00 View Post
    You can set the hs.waitsecs command to anything you want so hs.waitsecs(0.654) will wait 0.654 seconds or 654 milliseconds.
    Thank you Jon

    Leave a comment:


  • jon00
    replied
    Originally posted by Summerguy View Post
    thank Jon00 I 'll give this version a try.

    edit:

    It is good so far.
    I like the command hs.waitsecs !!

    Question: can i set the waitrtime as i like with this command ?
    ex: hs.waitsecs(0.654) will it take into account the .054 sec?


    i am tring to overide the automatic hdmi cec arc input that my sound bar goes when i turn on the tv.
    Sometimes it works i can override it with an aux input command , but sometimes it doesnt.

    For now i send three time the aux input command just to be sure.... but when the timing is not on time, my music stop for .5 sec ( goes to arc tv input then goes to aux input)
    You can set the hs.waitsecs command to anything you want so hs.waitsecs(0.654) will wait 0.654 seconds or 654 milliseconds.

    Leave a comment:


  • Guest
    Guest replied
    Originally posted by jon00 View Post
    Version 1.0.4 is now available.

    This version corrects an issue where activities changed from an event, may swap back to their original activity.
    thank Jon00 I 'll give this version a try.

    edit:

    It is good so far.
    I like the command hs.waitsecs !!

    Question: can i set the waitrtime as i like with this command ?
    ex: hs.waitsecs(0.654) will it take into account the .054 sec?


    i am tring to overide the automatic hdmi cec arc input that my sound bar goes when i turn on the tv.
    Sometimes it works i can override it with an aux input command , but sometimes it doesnt.

    For now i send three time the aux input command just to be sure.... but when the timing is not on time, my music stop for .5 sec ( goes to arc tv input then goes to aux input)
    Last edited by ; February 2, 2018, 08:54 PM.

    Leave a comment:


  • jon00
    replied
    V1.0.4 Available

    Version 1.0.4 is now available.

    This version corrects an issue where activities changed from an event, may swap back to their original activity.

    Leave a comment:


  • jon00
    replied
    I don't really know. The hub would only be polled for devices and activities on startup and then Activity polling as defined by you. If anything was going to affect your hub, it would be the activity polling. The fact one is fine but the other is not is a mystery.

    My suggestion would be to exit the plugin but keep the jar file running. See what that does.

    Leave a comment:


  • odonnd
    replied
    I have two Harmony remotes - one is a Harmony Ultimate and one is a Harmony Ultimate Home. They look identical but the Harmony Ultimate is a little older than the Ultimate Home.

    Everything works great on the HS3 end when I run this plugin. However, I always seem to lose connection between the Harmony Ultimate hub and the remote itself after about a 1/2 hour or less. I also lose connection between that hub and the Harmony app on my iPhone. I don't see this at all on the newer Harmony Ultimate Home. It's as if the server that is running with this plug-in just completely takes ownership of the Harmony Ultimate hub and nothing else can communicate to it.

    I've spent a few days experimenting to make sure that this is being caused by running this plugin and it definitely seems to be. Here are the symptoms:
    • Everything works as normal without running the plugin
    • When I run the plug-in, the Harmony Ultimate remote will become unresponsive within a 1/2 hour or so.
    • Once this occurs, I can still control the Hub with HS3 via the plug-in but the handheld remote will report "Unable to reach hub. Bring your remote closer to your hub" when I try to do anything with it.
    • The Harmony app on my iPhone also become unresponsive. When I try to use the app to do anything it pauses for a long time and then finally just acts like it accepted the command (it does not report that it can't communicate like the remote does) but it also doesn't seem to be able to control anything.
    • Restarting the handheld remote doesn't change anything.
    • The only way to fix it seems to be to cycle power on the hub. Although after a 1/2 hour or so, the remote will become unresponsive again unless I turn off the plugin or at least stop it from communication with the Harmony Ultimate.
    • I have increased the poll rate up to 5-1/2 minutes thinking that maybe the Harmony Ultimate couldn't handle requests coming in too frequently but that hasn't made any difference.


    Any ideas? Is it possible that there's just some incompatibility between the older Harmony Ultimate and the Harmony server that the plug-in is using?

    Thanks.

    Leave a comment:


  • odonnd
    replied
    Originally posted by jon00 View Post
    Found this issue. The activity virtual device got included with the devices virtual device when setting the initial dash as the string.



    Try V1.0.3 on my site. You will need to delete the activity device and allow the application to rebuild.


    Works great. Thank you!


    Sent from my iPhone using Tapatalk

    Leave a comment:

Working...
X