I’ll drop you a direct message to see if I can help
Updated the app on my iPhone and my iPad. Haven’t noticed any difference.
It requires re logging in and connecting your ST using the new method. Unfortunately it doesn’t seem to work. I tried it several times, along with others. There is a thread regarding this already: https://community.smartthings.com/t/update-for-the-harmony-app-to-work-with-the-new-smart-things/260071/6
Also, on the Harmony subreddit, they are discussing a firmware update that has bricked many remotes and causing a slew of problems.
Should it be this chatty or did I miss configure something? I have two Harmony Remote Hubs, Basement and Family Room. I have only been testing in the Basement.
That doesn’t look right, is it working at all? Probably worth deleting and starting again.
It looks like it’s stuck in a restart loop, to properly diagnose the issue I would need to see your logcat logs (feel free to send to me on DM)
I’ll delete it and try again this weekend. I was messing around with this since the Harmony Remote can no longer control the lights I had configured to an activity.
Thank you for making this driver! I would like to make a request regarding activity states. In addition to an activity On/Off state, would it be possible to add activity starting and activity stopping states? This would allow me to trigger smart devices on activity states starting/stopping.
From what i see in the logs, the hub will notify on activity states with
Logger: Payload Recd: {“type”:“connect.stateDigest?notify”,“data”:{“sleepTimerId”:-1,“runningZoneList”:,“sequence”:false,“activityId”:“41910357”,“errorCode”:“200”,“syncStatus”:0,“activitySetupState”:false,“stateVersion”:205,“tzOffset”:“-14400”,“mode”:3,“hubSwVersion”:“4.15.330”,“deviceSetupState”:,“tzoffset”:“-14400”,“isSetupComplete”:true,“discoveryServer”:“https://svcs.myharmony.com/Discovery/Discovery.svc”,“wifiStatus”:1,“time”:1679006655,“activityStatus”:2,“runningActivityList”:“41910357”,“tz”:“EST5EDT,M3.2.0,M11.1.0”,“updates”:{“106”:“4.14.112”,“100”:“4.14.112”},“contentVersion”:166,“hubUpdate”:false,“configVersion”:668,“accountId”:“7223171”}}
I performed some testing and think the activity states correlate to the following parameter values.
connect.stateDigest with activityId = -1 and activityStatus = 0 means activity off.
connect.stateDigest with activityId = activeid and activityStatus = 1 means activity starting
connect.stateDigest with activityId = activeid and activityStatus = 2 means activity on
connect.stateDigest with activityId = activeid and activityStatus = 3 means activity stopping
Hi @VVicked
I could possibly look at this in the future and give it some thought, but first let me explain why it works the way it does today.
- First of all, switches are boolean they can only be on or off, by their very nature, within the wider smartthings eco system, and anything else you integrate with switches are the most commonly supported device types (e.g google, alexa).
- There is no stock capability that would support {off, on, starting, stopping}, so that would mean a custom capability - which would be great for automations but couldn’t be automatically recognized by anything you may integrate with e.g IFTTT or Alexa
- Starting and stopping are fleeting statuses so are quite easily missed, missed status messages are a problem with this integration for some people - this is why I have a poll routine setup to get the current running activity every minute incase a message is missed, but polling will not catch fleeting statuses like starting as the intervals are too sparse.
- Just because something is starting, doesn’t mean it will start (I think this limits it’s usefulness - but happy to be challenged on that)
- Just because something is stopping, doesn’t mean it will stop (I think this limits it’s usefulness - but happy to be challenged on that)
The above are the reasons I settled on making this a binary on/off switch
I could add a secondary status field to the activities that works independently of the on/off behavior already developed, but first would like to understand what use case you are considering this for? And understand if that is something more widely valuable i.e does it solve a common problem in a way that cannot be solved in a different way, and is it likely to be used. Basically I want to check how niche it is before I invested my time (sorry for that)
Thanks
Louis
- First of all, switches are boolean they can only be on or off, by their very nature, within the wider smartthings eco system, and anything else you integrate with switches are the most commonly supported device types (e.g google, alexa).
Thank you for responding and sorry I couldn’t respond earlier. Also, thank you for taking time to explain the rationale behind the current design. I makes sense that you designed this integration to cover 99% of use cases.
- Starting and stopping are fleeting statuses so are quite easily missed, missed status messages are a problem with this integration for some people - this is why I have a poll routine setup to get the current running activity every minute incase a message is missed, but polling will not catch fleeting statuses like starting as the intervals are too sparse.
From my experience using 5 harmony hubs, I have 4 harmony hubs without any smart home control integrations and those work pretty rock solid. I “had” 1 harmony hub that’s integrated to multiple smart home control and I also noticed the activity starting/stopping states getting stuck. I then removed smart home control from the 5th hub and it started working stable again. Now I completely removed the native smarthing/harmony which was not local control. Using your current implementation, I use smartthings routine to monitor whenever my Harmony watch movie projector activity is On/OFF, then I control my movie theater lights completely within smarthings (which is using local control).
- Just because something is starting, doesn’t mean it will start (I think this limits it’s usefulness - but happy to be challenged on that)
- Just because something is stopping, doesn’t mean it will stop (I think this limits it’s usefulness - but happy to be challenged on that)
So there is one limitation with Harmony that I disliked. Smart controls are always executed at the end of an activity start/stop and if the activity had problems, smart device control is NEVER executed. The reason I requested the starting/stopping states are to be able to control my movie theater light scenes BEFORE the activity starts/stops and regardless if the activity actually finishes. For my setup, even if activity gets stuck, it’s okay (in my situation) because I want my lights controled regardless if there is an error with the activity.
- There is no stock capability that would support {off, on, starting, stopping}, so that would mean a custom capability - which would be great for automations but couldn’t be automatically recognized by anything you may integrate with e.g IFTTT or Alexa
Would you consider adding a secondary device with custom capability to support this? For example, there is a virtual edge garage door device that supports “closing, opening, closed, open, unknown”. For this custom “door/activity” device, it would only update its state on received connect.stateDigest events. Upon reconnection to the harmony bridge, the activity state would be unknown until a connect.stateDigest event is received. As mentioned, I understand that there are instability and bugs with Harmony, but those are Harmony bugs that I wouldn’t expect that you could fix. Displaying the status exactly as reported by Harmony would be acceptable and allow me to recognize/debug a an activity problem.
I had this working perfectly for several months and suddenly it stopped.
in My Smartthings the last log is
logger: Bridge Device [XXXXXXXX] - Initialising
logger: Bridge Device [XXXXXXXX] - Setting up current activity poll
Did you have a power outage or unplug your Harmony hub which would change your IP address?
I actually did have a power outage, but I hard coded my IP addresses of both my hubs, and can confrim they are set correctly
I installed the driver and was very pleased at how easy it was to get it working with my Harmony Elite remote (thank you).
However… it adds every device, not just the ones needed for my activities and my remote has become painfully slow. I can’t see any way to remove individual devices, so I have removed the service from Harmony for now.
That’s an odd one. It added all of them for me too but had no effect on my Harmony speed or responsiveness. Did it speed up after you removed?
Yes, immediately back to normal after removing the devices.
Harmony bridge driver doesn’t add devices to your remote, I think you are talking about the official integration not this driver
Yeah, my guess is that is what he was referencing. Harmony recently updated their FW to adjust to the changes that ST has made. You had to logoff and re-login to ST on the Harmony and that re-added all the ST devices. It worked fine for me but for some reason slowed his Harmony down. Not clear why. Actually now that I’m thinking about it I wonder if it’s because I no longer use the Harmony integration but am using your bridge instead?
@wags1 It’s slow for me too, nothing to do with this driver though
It’s interesting, I have seen other folks reporting a slow down since the most recent Harmony FW upgrade but I have experienced no change in behavior. Not sure why.