Closed XavCamp closed 3 years ago
@XavCamp MAC setting is optional, so line is okay. You need to set mac( that condition is met) and it has to fall to meet regex: /^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/
Check if your MAC falls here. https://regexr.com/
Or maybe why it doesn't? (AA:BB:DD:CC:EE:FF works)
Ok I see, the issue is that my MAC address was using lowercase letters, not uppercase. I don’t think case matters for MAC addresses, but I’ll fix my config. Thanks!
On Fri 4 Jun 2021 at 18:32, Konrad Knitter @.***> wrote:
@XavCamp https://github.com/XavCamp MAC setting is optional, so line is okay. You need to set mac( that condition is met) and it has to fall to meet regex: /^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/
Check if your MAC falls here. https://regexr.com/
Or maybe why it doesn't? (AA:BB:DD:CC:EE:FF works)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/konradknitter/homebridge-philips-android-tv/issues/38#issuecomment-854860436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZUYKOVRZDTNWNRWYR3GTTRD52BANCNFSM46DD6GXQ .
Hi, thanks for the hard work on this great plugin!
Describe The Bug: In the logs there is an error about mac address:
To Reproduce: That's when you provide a mac address in the config.
I think it's because in https://github.com/konradknitter/homebridge-philips-android-tv/blob/master/src/PhilipsTVPlatform.ts#L41 it should be
if (!this.mac ...
Expected behavior:
Logs:
Plugin Config:
Environment: