Device or entity

Hi,

I have HASSIO running on my Mac mini. It works nice. Recently I’ve decided to install homebridge on my RPi3 which is responsible for opening/closing two gates (external and internal). Here is part of my config.json from homebridge:

{
    "bridge": {
        "name": "Homebridge E70D",
        "username": "0E:56:7B:7D:E7:0D",
        "port": 51385,
        "pin": "abc-de-fg-hij"
    },
    "accessories": [
        {
            "name": "External Gate",
            "open": "/var/lib/homebridge/e_open.sh",
            "close": "/var/lib/homebridge/e_close.sh",
            "state": "/var/lib/homebridge/e_getstate.sh",
            "status_update_delay": "15",
            "poll_state_delay": 10,
            "ignore_errors": true,
            "accessory": "GarageCommand"
        },
        {
            "name": "Internal Gate",
            "open": "/var/lib/homebridge/i_open.sh",
            "close": "/var/lib/homebridge/i_close.sh",
            "state": "/var/lib/homebridge/i_getstate.sh",
            "status_update_delay": "15",
            "poll_state_delay": 10,
            "ignore_errors": true,
            "accessory": "GarageCommand"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "en",
            "platform": "config"
        }
    ]
}

After HASSIO restart I can add new devices. Unfortunately Internal Gate is visible as a device and External Gate is visible as an entity. Therefore I can not open/close Internal Gate from HASS interface. Any ideas?

~ $ ha core info
arch: amd64
audio_input: null
audio_output: null
boot: true
image: homeassistant/qemux86-64-homeassistant
ip_address: 172.30.32.1
last_version: 0.114.4
machine: qemux86-64
port: 8123
ssl: false
version: 0.114.4
version_latest: 0.114.4
wait_boot: 600
watchdog: true

2 Likes

I’m having a similar problem, I have migrated to HA this last month, I had all in homebridge before. I did the same as you did there, added homebridge by the HomeKit Controller. When I do that only a couple of devices appear in HA, one of the lights appear as a device and another light appears as its entity. I’m looking for a way to make it work. If I find something I can let you know. And if you found a way you could share it :stuck_out_tongue: