mduran80 / daikin_madoka

Home Assistant custom component integration for the BRC1H thermostat (madoka)
MIT License
49 stars 13 forks source link

Integrate several devices #7

Open mdnieto opened 3 years ago

mdnieto commented 3 years ago

First, I want to thank you the amazing work: muchas gracias!

I have 1 Madoka unit working and running, but I need to integrate a couple of them. I know it will be really easy to do, and I guess I only have to insert both mac addresses in the first blank space. But I do not know how to separate both macs. I tried with "," ";" "-" and many more, with no success.

image

Can anybody help me?

Thanks!

mduran80 commented 3 years ago

Hi!

The config flow looks weird without the messages and titles (an explanation on each field format is given in them). I don't know if HA has changed the internalization format for custom components or if you are missing the required files. Anyway, for several devices you have to specify them with a comma-separated list of mac addresses.

Also make sure you are not controlling them as primary-secondary (not implemented in this integration) because the device can only be attached to one controller (either phone app or another thermostat or the integration).

Finally, the mac addresses are case-sensitive. Write them down as reported by bluetoothctl scan.

I hope this will be enough, let me know if you need more help. If it still doesn't work, try setting them up one by one. If that works, I will review the code more thoroughfully.

mdnieto commented 3 years ago

Hola tocayo!

It worked! I was able to pair both devices and immediately integrate both of them using comma and 1 space as separators. I'm not sure why it wasn't working before. I restarted HA, performed several changes, and now I can see both:

image

And yeah, it's kind of weird the interface without the messages and titles. Maybe it's a problem with the translation. Not sure about that, but it doesn't help.

Muchas gracias!!