Hello, I'm a new C-8 user. This thing is really cool. How did I not know about all this long ago?
Platform version: 2.4.1.167
I deep dived into it this weekend and got all my bits and pieces working very nicely. 3000 sq foot mesh. Smart plugs, bulbs, door/window sensors, alarm lights and sirens, etc.
There were a few odd little UI bugs in the Hubitat web UI, but no significant showstoppers.
I'm almost done, and I was testing my logic for arrival/departure state changes (which worked very well in my initial real world test (leaving my geofence area and coming back) once I got past a tricky bug relating to setting up the geofence area, but then I found this Virtual device in Devices > Virtual > System > "Connector Presence Sensor". Based on some of what I've read, I presume it's a virtual switch that is intended to expose the "presence" state of my iPhone and allow me to switch the state?
But when I add this Presence Sensor Connector and then go to Device Details > Commands and send it a Departed or Arrived command, I get this in this logs:
dev:242025-05-04 08:49:43.853 PMerrorjava.lang.NullPointerException: Cannot invoke method setGlobalV() on null object on line 39 (method arrived)
dev:242025-05-04 08:49:43.842 PMinfoPresenceConnector arrived
dev:242025-05-04 08:47:51.737 PMerrorjava.lang.NullPointerException: Cannot invoke method setGlobalV() on null object on line 46 (method departed)
dev:242025-05-04 08:47:51.674 PMinfoPresenceConnector departed
The Presence Connector 'presence' state seems to change successfully when I send the commands - it's logged as such, but...nothing happens. My Rule Machine triggers don't fire, and I'm quite certain the logic in the rule is sound...so it doesn't actually seem to be working. But I'm not really sure if this is the correct device type for this use case?
My Rule Machine rule for toggling the state of things is as per the screenshot (leveraging a 'haveArrived' global to compare the current presence state to the phone's state).
Is the java error a known issue?
Is there a way to do what I'm trying to do? (simulate the iPhone departing/arriving)
Thank you,
Bryan
(oops - the forum won't let me upload a screenshot )