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

Connecting from external network #931

Closed
Moh-Snoussi opened this issue Feb 6, 2021 · 1 comment
Closed

Connecting from external network #931

Moh-Snoussi opened this issue Feb 6, 2021 · 1 comment

Comments

@Moh-Snoussi
Copy link

Is it possible to send command from external network?

I am able to control the Vacuum on My Local Machine using
miiocli dreamevacuum --ip 192.168.** --token 4****** info

but the same does not work from an external network.

Device information:

  • Model: dreame.vacuum.mc1808

Context

I am creating a website and Alexa skill where users can add named zone and configure their dimensions.
the application work locally but not on server and it will be very nice if this will be possible.

@rytilahti
Copy link
Owner

No, it won't likely work without something proxying the connection, and it is not a good idea to expose these devices directly to the Internet anyway.

You will want to have the backend doing the communication with the device, and your web frontend communicating with that backend. I'm closing this as it is not really something this library is designed to do.

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

No branches or pull requests

2 participants