ralphm2004 / broadlink-thermostat

link broadlink thermostat with mqtt to openhab
GNU General Public License v3.0
35 stars 15 forks source link

delet or modify Mac control #11

Open OlegJktu opened 5 years ago

OlegJktu commented 5 years ago

Hi! I use https://github.com/mukowman/MQTT-Hysen/commit/47f16f3bb8ba3db174cc5555dbf29eab92ee7d5e It looks like it the same code.

divicemac = ''.join(format(x, '02x') for x in device.mac)

Like in: https://github.com/ralphm2004/broadlink-thermostat/blob/master/broadlink-thermostat.py

I think that is mac control. But my device beok has MAC like 34:ea:34:70

I make dev = bl For all cases, and now it work whith my devices.

Please can you delete or modify MAC control?

PS sorry for my English.