I'm not sure why the server hub is receiving mode changes. In fact, there is nothing on the remote hub that would change the mode (except HubConnect).
On the server hub, I cant seem to find where to select "send mode changes to remote". I can find receive mode changes from client (again on server hub).
If you are using EventSocket then mode is included.. no special need to enable it. It's the receive that needs to be selected: yea or nay ... track what comes in or ignore.
The "error" is simply saying it's ignoring. I think "Error" is a bit over the top. It's more in the "Info" realm to me.
A quick update on the issue I had identified. It seems that there was a connection issue between the hubs. I noticed today that some other devices were not communicated. Oddly enough, the commands were going through but didn't seem to be recognized... Though that is just a guess... (Toggeling a switch on a dashboard of the hub with the virtual device would send a signal to the one with the connected device, but the light would not turn off.)
I ended up going to the Hub Connect app, in the hub's Connect menu chose "connect to remote hub", and "Send connection key and automatically configure the remote hub?". After I pressed "Done" until I was out, everything started working again, including the reporting of status of my devices.
So in conclusion, everything seems to be working now! Yay!
IF the migration technique that Bruce describes works for "real devices" then it should work for virtuals too. BUT, I don't know, never tried it.
I've moved many a device over the years, including Locks and GDO in the last month. I used the older technique of a 'placeholder virtual' that gets swapped into all the Rules, across all the Hubs. Then swapped back when the device is available again.
Want to give it a try and let us all know how it works?
An issue I think for hub migration is going to be devices that use webURLs regularly.
They won't be 'moved' during backup / restore - ie the rest endpoints will change due to the HUBUID changing.
It is going to be important for folks to understand easily how to correct this, or do they need to re-setup an app like hub connect, homebridge, etc. This will be another pain point if you have to start over with these apps.
I will let everyone know how that approach works.
If it works that way, the migration will be easy peasy.... (I hope).
I think that the real key benefit of HubConnect is that it allows (without too much penalty), for the real devices to be on one hub, and the automations on another. From the tremendous amount of interest in Node-Red, that approach is being used more and more. As others have said "Hubitat is a good device manager". Since my Home Automation needs are relatively modest, I hope that I can also say "Hubitat is a good Home Automater".
It's saying both of those things, at the same time (on the same hub), that's the issue!
Would anyone know if one would work? And what would be value I should be looking for?
EDIT: I did some testing and found that when a re-connect is initiated (Ex.: By toggling "Send connection key and automatically configure the remote hub?" from the "Connect to Remote Hub..." screen on the server hub) the "switch" attribute will toggle off and on.
Tried it and confirmed that it does trigger my rule.
Edit 2: I just noticed that on the server hub, the "switch" is set to "off" in the HubConnect Remote Hub device that points to my other hub. Is that normal? Shouldn't it be set to "On"? Does anyone know what would cause it to be set to "Off?
Agreed. None of the HubConnect.to site links are for a 'clean install.' The only 'clean' one is from you, Edge, above.
We're in a 'trough' between fully released and supported v1.6 and public beta v2.0 RC1 with minimal documentation.
I don't have WRITE access to HubConnect.to to put a version out there. Steve ran out of time prior to his 'start-of-camping-season' in April. I assume everyone knows that once RC1 was released, we started creating RC2. We decided that RC2 was good enough to release.. but he wasn't able to do all the work in the limited time. We'll see what he's dreamed up when he gets back. I'm hoping he'll spend time on releasing it, which INCLUDES removing the v1.6 github code (and then updating that with JUST the v2.0 drivers.)
In other words, Public Beta v2.0 Release Candidate 1 (RC1) is what we have.
Use the HubConnect DomeMotion Sensor driver. It has illuminance, temp, motion, and battery. I'm using it with a Hue outdoor motion sensor and it works without issue.