richierockskool / homebridge-inkbird-wifi-gateway

homebridge Inkbird wifi gateway
https://github.com/richierockskool/homebridge-inkbird-wifi-gateway
Apache License 2.0
7 stars 6 forks source link

Provide valid configuration example #16

Open keeema opened 1 year ago

keeema commented 1 year ago

Describe Your Problem: Hi,

I really appreciate that someone works on integration for inkbird wifi gateway. What I would really appreciate is working example with description what to change where for combination of devices IBS-M1 (2gen) + IBS-PO1/B. I am stucked with non working configuration and honestly I don't understand how to define it.

Sample contains invalid json with object in object without key or array. It contains only part of fields and there is no mention which mac address to use where (BLE mac of sensor or wifi mac of GW?) or where to find device ID, how to add accessories etc....

Please, look at the samples and update it to be clear.

Thank You

wonderways commented 1 year ago

i would really appreciate some examples with the configuration, im also stuck

keeema commented 1 year ago

My target was working sensor and gw in HA and I completed this by following https://community.home-assistant.io/t/inkbird-ibs-m1-with-ibs-p01/255050/136?u=keeema

karaoak commented 1 year ago

@richierockskool Your sample [Sample-config.json](https://github.com/richierockskool/homebridge-inkbird-wifi-gateway/blob/master/Sample-config.json)is not matching the config.schema.json

Also if I look in the code, an email + pw is required, but this is nowhere mentioned in the example config.

if(!config.email || !config.password){
      this.log.error('Valid email and password are required in order to communicate with the inkbird, please check the plugin config')
    }

Can you provide a valid configuration example?