mihsu81 / addon-theengsgw

TheengsGateway HA Add-on
MIT License
17 stars 7 forks source link

Malformed configuration file when I set BLACKLIST #39

Open llaumgui opened 3 days ago

llaumgui commented 3 days ago

When I set BLACKLIST on YAML :

Malformed configuration file /root/theengsgw.conf: Expecting ':' delimiter: line 30 column 39 (char 923)
[15:16:39] INFO: Creating TheengsGateway configuration...
[15:16:43] INFO: IDENTITIES: 
[15:16:43] INFO: BINDKEYS: 
[15:16:43] INFO: BLACKLIST: {"XX:XX:XX:XX:XX:XX","XX:XX:XX:XX:XX:XX"}
[15:16:43] INFO: WHITELIST: 
[15:16:43] INFO: Starting TheengsGateway...

And Theengs don't start. If I remove blacklist, all is OK.

mihsu81 commented 3 days ago

I don't use the whitelist and blacklist. The syntax I wrote in the documentation is just an approximation based on the syntax of the other arguments. https://github.com/theengs/gateway/blob/development/docs/use/use.md is not really clear on how to add more than 1 address. If you replace "," with ":", the error goes away. Please check of it actually works. Maybe @1technophile or @johhanes can clarify the syntax.