Hi all,
Thanks for taking a look at my (unofficial) integration for the Unfolded Circle Remote 3 remote control.
At this stage, tested functionality is limited to starting and stopping activities and emulation of the remote's power button (stop all running activities). Installation of entities is included, but this driver is untested as I don't need that functionality personally, but if there is demand, I'll work on it...
OK, here's how to get up and running:
1. Update remote firmware
Note: For this integration to operate, the remote must support WiFi connection in standby mode, when was added in beta firmware 2.7.x onwards, so at the time of writing, you must use beta firmware on the remote.
You can update and configure the remote from either the remote itself, or the Web Configurator, but the easiest way to get the remote's IP address is from the remote as for some reason the IP address is missing from the Web Configurator...
-
On the remote, open the configuration page (click the battery status far top right on the home page), go to
Software update, ensureBeta updatesis enabled (I think you can do this from the remote, I can't remember now), clickCheck for updateand follow the process to update if available. The remote must be on at least firmware 2.7.x, however at the time of writing the latest beta is 2.8.1 and I have found this to be significantly more stable and is the firmware version on which I did the majority of development and testing. -
Go back to the main configuration screen, go to
Settings,Power saving, ensure thatKeep WiFi connected in standbyis checked. Note this WILL significantly impact the battery life of the remote, but is essential for this integration to function (it also makes the remote much more responsive, as it doesn't have to reconnect to WiFi every time it comes off standby)
OR
-
If you're updating from the Web Configurator, you can update the firmware from
Settings(tab top right),General(category top left),Software update, ensureBeta updatesis checked, clickCheck for updateand follow the directions. -
Click
Power saving(category middle left), ensure thatKeep WiFi connected in standbyis checked. Note I've found this setting doesn't stay checked in the Web Configurator, nor does it reflect the status the setting on the remote, so I recommend checking this on the remote to be sure
2. Get the remote's Web Configurator PIN and IP address
You must complete this step on the remote:
-
Go to the remote's configuration page, note down the four-digit Web Configurator PIN (if it is blank, press the refresh button)
-
Go back to the main configuration page and select
Wifi & Bluetooth, select the WiFi network the remote is connected to underKnown Networksand note down the IP address.
3. Install the integration using HPM
- Open
Appson your Hubitat - Open
Hubitat Package Manager(Hubitat Package Manager (HPM)) - Click on in
Install - Click
Search by Keywords - Enter
"unfolded circle"insearch criteriaand pressNext - You should see
Unfolded Circle Remote 3 Integration by Paul Harrison, select this and install
4. Link the app to your remote
-
Open the
Unfolded Circle Remote 3 Integrationapp (I think it should automatically open after installing with HPM) -
On first run (or if you reinstall the app or factory reset the remote) the initial setup page will open
-
Enter the IP address and PIN, then press Enter (or click `Connect & Verify)
-
The app will now attempt to connect to the remote and obtain an API Key (used internally for all further communication with the remote, you shouldn't need the PIN again).
-
If all is well, the app will direct you to click
Done, this will complete initial installation and setup and the app will close. If there are issues, the app will give an error; this is sometimes caused by the remote not responding, I've done my best to make the app resilient to this, but sometimes you just need to try again (you can also try manually waking the remote if it is being stubborn). You should also double check the IP address and PIN, but the app should tell you if these were in error. -
At this stage the app will also install the
Remote3GlobalDriverat this stage. This creates a device which emulates the remote's power button (it has three commands,offwhich will turn off all active activities,refreshwhich will update the state of all activities, andon(which does nothing, as per functionality of the button on the remote.
5. Install Activities and Entities
-
Open the
Unfolded Circle Remote 3 Integrationapp again, you should now go straight to the discovery page, where you can see the Activities and Entities that the app has detected (detection is automatic), or that are already installed. If the remote can't be contacted, you will get an error saying to check the IP address, note that this can be caused if the remote is on a configuration page as this (sometimes, but not always) prevents the remote from responding. -
The Activities are listed at the top in a drop-list, select those you'd like to install
-
Entities are categorized by type,
Media Players(entities that report media player type functions like play, pause, etc.) andSmart Home & Other(simple entities like lights that report functions like on and off - this will also include macros defined on the remote) -
Select everything you'd like to install (or deselect any drivers already installed to automatically uninstall), then press
Sync Devices (Add/Remove/Update) -
The app will then report success, partial success (not all selected devices installed) or failure. For partial success or failure, the app will give you a warning or error as to what the problem was - it will also report if there are orphaned devices installed, e.g. if you delete the app and reinstall, list them and give directions on how to manually uninstall them
6. Add the devices to your rules etc. and have fun!
That's it, you can use the app to add or remove activities and entities.
Activities each have three commands, off, on and refresh. Note that I don't recommend polling refresh too frequently as this wakes the remote every time and will drain the battery. off, on and the global device's off automatically refresh the activity's status.
Entities are, at present, untested. Media devices map standard commands that may or may not work (the probably don't...). on and off should work for the simple devices. Please feel free to try them and report back!
Paul