I have homebridge set to default visibility to be hidden, but it’s not working. I have to go into my customize file and hide each and every item that gets exposed to Homebridge, this is everything from sensors to groups and automations. It’s kinda annoying and I have no idea why it’s not using the default visibily setting.
This is my config.json for Homebridge. Any help would be appreciated.
I even uninstalled homebridge from npm and the homebridge-homeassistant addon for homebridge globally from my pi, and rebooted and reinstalled both.
Even having “default_visibility”: “hidden”, from the get go, it still lumped all devices into Homekit. I now have over 64 devices mostly groups, automations and other silly items to hide.
Done some more investigating today. Ended up all homebridge components and re-installing a few times. Seems there are a few files that are not uninstalled and were causing issues in the new install. Mainly having devices show up when there is no platforms setup.
Anyway, I now have default_visibility: hidden working, but now I have no devices at all. I have the homebridge_visible: true tag there, but it’s just not working.
yes, I have much much more in there. lots of other devices with friend names, icons, etc. this is just one device I’m trying to use with homebridge. it was working when I had everything visible, but my customize.yaml file was getting rather big, so i swapped it around. now everything is hidden as expected, but I can’t get anything exposed.
I had simmilar issue:
Remove HB from HomeAssistant , and pair again. If You are not be able to find home bridge, please check port availability which is used by homebridge or change it for diffrent one.
hmm, i think i may be on to something. totally unrelated to the persist folder though…
somehow in the config.json for homebridge, and comma “,” had somehow ended up at the end on the “logging”: true line. I’ve removed that and it seems to have started something to work. Not fully yet though. Funny enough it wasn’t there on my first post above. Not sure how it got there.
Actually, I’ve just rebooted my Pi3 and it seems to be working now. Seems that this extra comma was the culprit. Easy to look over as every other line has the comma.
under platform, there is a field called host, and a field called password. Host is filled with http://hassio/homeassistant, while the password is empty.