kongkx / homebridge-gree-air-conditioner

Apache License 2.0
20 stars 8 forks source link

How to find out the broadcast ip ? #15

Open ne0n2010 opened 1 year ago

ne0n2010 commented 1 year ago

Hello,

i am a new homebridge user and i was able to install the plugin via the UI. I read the readme and i was able to find out the mac adress from my ac but i dont know where i get the broadcast IP.

Can somebody tell me where to insert this command prompt to get the broadcast IP ? On the Rasperry or on my windows pc ? I google the prompt and it says that this is a linux prompt.

Can somebody tell me in detail how to get the broadcast IP ?

Best wishes ne0n

BogdanMar93 commented 1 year ago

Hello! I am curious about this as well, and also how to find what port is the right one. If anyone can help, it will be amazing! thank you!

kongkx commented 1 year ago

About the broadcast address. It's related to your router's settings. (LAN IP address and Subnet mask)

https://en.m.wikipedia.org/wiki/Broadcast_address

About the port. You can use any port number that does not conflict with other program. Maybe give 7000 a try.

BogdanMar93 @.***>于2023年1月9日 周一04:02写道:

Hello! I am curious about this as well, and also how to find what port is the right one. If anyone can help, it will be amazing! thank you!

— Reply to this email directly, view it on GitHub https://github.com/kongkx/homebridge-gree-air-conditioner/issues/15#issuecomment-1374915426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXIOOBQLCLHAWXF2L4IKMDWRMMLZANCNFSM6AAAAAATPFHJGI . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

BogdanMar93 commented 1 year ago

Thank you for your answer, it is much appreciated! I put the broadcast address and the port 7000, and now in the status is an extra line: [09/01/2023, 12:19:40] [Gree AC] Broadcast '{"t":"scan"}' x.x.x.255:7000 [09/01/2023, 12:19:40] [Gree AC] handleMessage {"t":"scan"} But still any of the AC is showing up. They are both connected on the Ewpe and GREE+ apps and working. Thank you again!