Activity Devices
I have added a new experimental feature that will add a simple device with a switch that represents each activity that your hub supports.
Those switches attempt to mirror the status of activities within the harmony eco system regardless of where they are controlled from. (controlled from st using this driver, harmony app, harmony remote or anywhere else)
Steps to setup:
- Choose which harmony hub you wish to enable activity devices for - it should work for each but you have to enable them 1 at a time. Open the ‘harmony bridge simple’ device that represents it.
- Go into settings and ensure ‘Get config on connect’ is turned on, wait 30s to allow the config to be retrieved.
- Turn on ‘Activity Devices Enabled’ - this will create your activity devices
- Turn off ‘Get config on connect’ and ‘Activity Devices Enabled’
This should have added a device per activity to your unassigned room, feel free to rename them and move them.
Usage:
-
Turn on an activity from the harmony app, you should see it’s status reflected in the smartthings app
-
Turn off an activity from the harmony app, you should see it’s status reflected in the smartthings app
-
Turn on a subsequent activity from the harmony app, you should see the current activity stopped and the new activity started
-
Turn on an activity from the smartthings app, you should see it’s status reflected in the harmony app
-
Turn off an activity from the smartthings app, you should see it’s status reflected in the harmony app
-
Turn on a subsequent activity from the smartthings app, you should see the current activity stopped and the new activity started
-
Trigger automations from activities starting or ending - even if that was done directly on the harmony remote or app
-
Control an activity switch using an automation or scene
Notes:
- The action of turning on ‘Activity Devices Enabled’ is what creates the activity devices (as long as it has a recent list of activities), Turning this setting off does nothing, But turning on again will attempt to create activity devices again
- You can delete any activity devices you don’t need, just note that if you turn on ‘Activity Devices Enabled’ again, any deleted devices will be re-created
- AFAIK harmony only allows 1 activity at a time, so when an activity finishes starting any other activities showing as ‘on’ at that point will be turned off.
- It is possible for the status to get out of sync - especially if st hub and harmony hub become disconnected, it should fix itself next time an activity is enabled
- This should be considered experimental - I have been unable to test this with all activity types and I have not been able to test with a multi-hub setup.