ilcato / homebridge-mqttswitch

Homebridge accessory plugin that create an HomeKit Switch based on MQTT topics
Apache License 2.0
31 stars 41 forks source link

Clarity around config #18

Closed SupraJames closed 6 years ago

SupraJames commented 6 years ago

Hi,

I've made a small change to the README and supplied a more real-world config.json example. It took me a while to get things going without this, due to a couple of reasons:

  1. I didn't know to start with that the broker URL was mqtt://server
  2. In my config, integerValue was set to 'false' but code is simply checking it's defined.

Cheers, James