kuestess / homebridge-platform-insteonlocal

Homebridge platform plugin for local Insteon control
Other
76 stars 26 forks source link

PLM Error cannot open USB0 #310

Closed languy99 closed 5 months ago

languy99 commented 5 months ago

Hello,

I am using the PLM and I am getting this error

Error: Error: Permission denied, cannot open /dev/ttyUSB0

This is the config that I am using.


{
    "name": "Insteon Local",
    "user": "true",
    "pass": "true",
    "host": "/dev/ttyUSB0",
    "port": "25105",
    "model": "PLM",
    "refresh": "0",
    "server_port": "3000",
    "keepAlive": "0",
    "devices": [
        {
            "name": "home",
            "deviceID": "3A84FE",
            "dimmable": "true",
            "deviceType": "dimmer"
        }
    ],
    "platform": "InsteonLocal"
}
languy99 commented 5 months ago

I fixed it. It was a permission error.

Ran

sudo chmod a+rw /dev/ttyUSB0

and the allowed homebridge to red the USB.