Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for FastCon meshed devices #645

Open
madmat777 opened this issue Jan 6, 2022 · 5 comments
Open

Add support for FastCon meshed devices #645

madmat777 opened this issue Jan 6, 2022 · 5 comments

Comments

@madmat777
Copy link
Contributor

madmat777 commented Jan 6, 2022

Broadlink devices use FastCon connections to create a mesh WiFi where they connect to each other instead of to the router/AP.

When the following code is executed

import broadlink for dev in broadlink.xdiscover(): print(dev)

the result is only the devices that are connected to the router. The devices that are meshed do not show.

It must be possible to "look through" as both the Broasdlink phone App and Alexa can control all devices.

I've reviewed the FastCon SDK but it is beyond me on how this is possible - does not look easy.
https://docs.ibroadlink.com/public/appsdk_en/appsdk_08/

The interim solution is to put all devices into a network segment that does not have access to the internet. That forces them all to connect to the router (don't ask me why). The con with this is that Alex can not access the devices but the phone App can.

@madmat777
Copy link
Contributor Author

Not sure why the code is all on one line. Should be:

import broadlink
for dev in broadlink.xdiscover():
print(dev)

@felipediel
Copy link
Collaborator

Hi @madmat777. I opened a PR to add FastCon support, but I don't have the device to test. Could you help me?

@madmat777
Copy link
Contributor Author

Yes, for sure. I have them blocked from the internet at the moment but I can release the block and see how it goes.

@madmat777
Copy link
Contributor Author

@felipediel (in case you did not see my reply)

@felipediel
Copy link
Collaborator

No need to allow internet access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants