Homebridge Plug-in


#205

@SmartHomePrimer I didn't suggest removing them, but copying them so they could be copied back. One of the issues is that something triggers HomeKit to delete all the devices and room assignments.

The Plug-In Configuration Data link in the App shows you what is actually needed:

"platform": "Hubitat",
"name": "Hubitat",
"app_url": "http:///",
"access_token": ""

Update_method, direct_ip and direct_port are valid and override the defaults... but you have no need to overrride the defaults. Just use the suggested lines only.


#206

what's the path to the node file? Constantly forgetting where it's located.


#207

I would start looking here

usr/local/lib/node_modules


#208

I've DELETED the forked version of Homebridge from the HubitatCommunity repository and recreated it with a pointer to Tony's actual repository.

Those using the code from the HubitatCommunity repo should be seeing that there's newer code: 1.5.2 (via Cobra's version check code.) Tony doesn't make use of this technique, so after updating, version checking will be gone.


#209

@csteele

My homebrdige is seeing the Virtual Presence Plus driver as a motion sensor. How did you get that to show up correctly?


#210

Mine are switches. I can't really say mine are "correct" just working for me. I added them as switches in the Homebridge (Hubitat) App in the All Other Devices section. On my iOS device I see them as switches and use them in the Automations I entered for Presence. (People Arrive / People Leave)

However, they also show as Presence Sensors in RM, AND as switches.


#211

Has anyone been able to get open/close sensors to show actual status in the homebridge plug-in? All of my contact sensors just always say closed, even when they are open.


#212

My Xiaomi do. Checked them off under sensors and they show up as sensor and change status right away when the door opens. Maybe you accidentally have yours checked in two places in the Hubitat-Homebridge app, instead of just under the sensors?


#213

Possibly, I'll double check that.


#214

Nope, that's not it. They are all under "All Other Devices: -> Sensor Devices" and only there. The presence sensors in there work but open/close do not. I'm trying with 2 types of open/close sensors too. ST Multi sensors and the open/close sensors on my AT&T alarm. They all report their state correctly in the Hubitat GUI but not in homebridge.


#215

:thinking: Homebridge 0.4.42 ?


#216

I have two devices in that selector... one is a contact sensor. It works fine.

app:8742018-11-07 05:04:30.612 pm debugSending DEVICE Event (A Pool Level Sensor | CONTACT: closed) to Homebridge at (192.168.7.129:8005)
app:8742018-11-07 05:04:27.213 pm debugSending DEVICE Event (A Pool Level Sensor | CONTACT: open) to Homebridge at (192.168.7.129:8005)
app:8742018-11-07 05:02:32.257 pm debugSending DEVICE Event (A Pool Level Sensor | CONTACT: closed) to Homebridge at (192.168.7.129:8005)
app:8742018-11-07 05:02:29.746 pm debugSending DEVICE Event (A Pool Level Sensor | CONTACT: open) to Homebridge at (192.168.7.129:8005)
app:8742018-11-07 05:02:27.556 pm debugSending DEVICE Event (A Pool Level Sensor | CONTACT: closed) to Homebridge at (192.168.7.129:8005)
app:8742018-11-07 05:02:23.826 pm debugSending DEVICE Event (A Pool Level Sensor | CONTACT: open) to Homebridge at (192.168.7.129:8005)

#217

mine is:
$ homebridge -V
0.4.38

But that's the version of Homebridge, not the plugin(s).


#218

0.4.44 for me


#219

Does it end in.js. if so it might be a likely suspect. Hard for me to say for sure.


#220

No clue. Still can't find it :rofl:

I used npm -g outdated homebridge


#221
$ sudo npm -g outdated homebridge
Package     Current  Wanted  Latest  Location
homebridge   0.4.38  0.4.45  0.4.45

#222

Yeah, I'm staying put. Things are working!


#223

I just peeked at the repo. Looks like the file you would want to modify would be named index.js. likely found in a folder named home bridge something.


#224

Is /usr/lib/node_modules/homebridge-hubitat-tonesto7/index.js what you guys are looking for?