I am getting the same error, except @line 1164 in the latest code on GitHub.
That line is erroneously trying to add null?.size() values because genericMotions, irisV3Motions and domeMotions are all null lists, and you can't add null+null+null:
@csteele I'm a bit confused on what I might be doing wrong or what else I can look into to make this work.
The remote hub (which has the actual zigbee lock attached) shows the correct entries in the log for a user unlocking the door. The server hub which has the hubconnect driver and is getting information from remote is showing the correct logs. Or so I think. here is an example from the events for the stub device:
and it never get triggered to run at all on the unlock code.
I'm assuming this would work just like it would if I were to create the rule on the hub that is actually connected to the device? Or is there a different way?
I have begun a conversation with Staff on this. The Attribute is new, as you know, and although it's making it from "real Lock" to "virtual Lock", it's not visible to RM.
I've tested the Rule on the hub with a "Real Lock" and it does work, so yes, there's probably a workaround.
and it worked! It even worked when the same code as the previous code was entered again. So I'd at least call that a workaround.
EDIT: So that the above rule is clear. I used Custom Attribute as the trigger. Choose "LastCodeName" from the list for that lock and the condition of "Changed"
Curious: is there any chance of you implementing "delete device" in the Remote Client and Server Instance, such that "remote"/"slave" devices that were once linked but are no longer linked are actually deleted?
The problem is that if the hubConnect devices are left around (at least on SmartThings, and probably on HE too), they will continue to make command calls into their parent, which will result in commands being sent to (possibly nonexistent) devices on the other end of the link.
Also, any lingering children will also inhibit (again, on ST) being able to remove the HubConnect Remote Client instance, at least until all its' children are deleted...
I'll add it to the list. but before Steve @srwhite left for wherever it is he goes he hinted at some v1.5 items he was working on. I'd like to give him just a bit more time to be done camping before I step all over his code.
But that's mostly about Release.. I'll see if I can implement, or what percentage I can implement, ready to be merged back into Steve's code. Or, said another way.. Steve writes code about 10x my speed and it's embarrassingly better. You want HIS code.
Is it possible to define a Custom Device to be sent from an HE-based Remote Client to the (HE-based) Server Instance?
If so, is it then possible to define said Custom Device to be sent/linked from the Server to a different (ST-based) Remote Client?
I have a custom EcoNet Vent driver running on my "slave" HE hubs that I would like to link into my ST "slave" hub. I can define the custom driver on the HubConnect Server, but I can't see any way to define its use from a device running on a HubConnect Remote Client.
Custom Drivers are managed on HubConnect server but then are distributed to all connected Hubs. Your "real device" can be on any hub and then 'mirrored" to the interconnected hub.
Custom Devices are in the device selection section of ST HubConnect Remote Client. I have one Custom Device at this time and it shows as an available selector on ST, but for me, I haven't mirrored it over. (It's my test device for the Global Variable Connector driver.)
When/how do they get copied over to the Remotes? Perhaps I've done something wrong...
I've created the Custom Device on my master, but on all 3 of my Remote Clients I get a hard error when I select "Select devices to synchronize..." and then "Custom devices".
The error is:
Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.
Again, it's a Global Variable Connector device... so a virtual device already
I gave it a random name, then picked an already existing HubConnect Stub driver (OmniPurpose) that had the attribute I wanted: temperatureMeasurement and then made that the 1st and only Attribute.
Scrolled to the bottom and clicked Save. It goes back to allow you to create another.
OK, so I tried the same thing using a slightly modified version of the HubConnect Dimmer driver (I only added Refresh() capability/command plus Open() and Close() commands):
This happens whether or not I have installed a copy of the HubConnect EcoVent driver on the Remote Client hubs. And again, there are no new entries in the logs on either the Server or Remote Client hubs...
I see that SpeechSynthesis was removed from the ST HubConnect Remote Client 'native devices' section in the post HF3 versions. I had managed to hack the SpeechSynthesis universal driver to enable HE to use a Speak command to activate my Aeotec Doorbell on SmartThings; this worked well (amazingly so since my hacking skills are nonexistent). However, it stopped working with hotfix 4 & 5. Is there a recommended way of accomplishing the same thing with the current Remote Client versions?