rickymarcon / homebridge-daikin

A Homebridge plugin for Daikin.
https://www.npmjs.com/package/homebridge-daikin-unofficial
MIT License
14 stars 3 forks source link

Multiple Daikin units? #7

Open mazcreate opened 3 years ago

mazcreate commented 3 years ago

Hi there, thank you so much for this daikin homebridge plugin. I have successfully implemented it via Hoobs and now have my Daikin unit showing on my Homekit. But I have two identical Daikin units, each with their own BRP072C42 controller. The plugin doesn't appear to allow me to add another unit/accessory. If I name the second unit "Daikin" (like the first) or anything else, the plugin appears to become non-functional and the existing unit becomes unresponsive in Homekit. I have tried to modify the config.json and this has also been unsuccessful. Does the plugin support multiple units? What is the correct way to add the second unit in the config? Thanks.

rickymarcon commented 3 years ago

Hi @mazcreate, unfortunately this plugin doesn't support multiple accessories. I believe it would have to be a fundamental change to make it work and unlikely to find the time to update it anytime soon. Feel free to make a pull request if you'd like to take a shot.

vhardono commented 3 years ago

@rickymarcon & @mazcreate surprisingly, i am able to add all 3 of my BRP072C42 using Homebridge without any issue. From the UI --> Plugins --> Homebridge Daikin Unofficial --> Settings. Add the following script, click on new accessories and insert the same script for each one of the unit and you are good to go. { "accessory": "Daikin", "name": "[INSERT YOUR AC NAME]", "host": "https://[INSERT HOST NAME]", "uuid": "[INSERT UUID]", "plugin_map": { "plugin_name": "homebridge-daikin-unofficial", "index": 0 } }