ebaauw / homebridge-nb

Homebridge plugin for Nuki Bridge
Apache License 2.0
51 stars 3 forks source link

How to set NB_TOKEN and NB_HOST variable? #89

Closed MirkoKas closed 1 year ago

MirkoKas commented 1 year ago

Hi, I don’t find any documentation where and how to set NB_TOKEN and NB_HOST variables to not have to enter them manually each time I use the command line.

Thx for your help.

ebaauw commented 1 year ago

These are environment variables. On Linux/Unix you’d want to set them from your .profile or similar, using export. It’s been well over a decade since I used Windows, and I’m afraid I no longer remember how to set them on there.

MirkoKas commented 1 year ago

Thx. That was enough context for me to use google and find some instructions how to do this. Never set any environment variables before, so I had no clue what to at first :-D

works like a charm now