Comments (26)
i will use the dustcloud but at this time i dont understand how to install it. in my thought. i Use a raspberry with apache where i put the www files. the database is store all messages? where i habe to put the server.py. Next qestion. the vac communicate to the dustcloud ant the dustcloud talk to xiaomi and otherwise xiaomi to the dust and dust to to robot?
from dustcloud.
installation instructions would be a great help to everyone with varying degree of linux know-how, i would like to give it a try but yet to digest the big picture and inner workings. I did put up a vmware ubuntu, did apt install apache2 mysql php-myadmin but didnt go far from that the other day.
from dustcloud.
I´m going to...
from dustcloud.
I definetly want to disconnect from xiaomi cloud but still be able to use tje mi home app. I didn't try dustcloud yet, never needed a database or php webserver for home use.
Could I put the whole dustcloud stuff on my rockrobo or will the database use up too much diskspace?
I wouldn't mind a simpler, easier to set up solution if there's a possibility.
from dustcloud.
Well, yeah. You could strip it down, that it does not record the messages anymore and use the keys from the default partition automaticly. However the main purpose of the dustcloud makes no sense to run on the vacuum. Well, i will create some example code, as it does need to have too much logic ;)
from dustcloud.
i set up a new vm with a ubuntu-server. i think everytthing was ok at installation. now i get an error while enter a new device in newdevice.php
Field 'vinda' doesn't have a default value
from dustcloud.
soo.. now the php files running... after i set all fedault value manually with phpmyadmin to NULL... i did not change the server at the robot but thats now the next step.. But should i become messages from xiaomi without changeing the server at vacuum? because at this time im not get any response from xiaomi
from dustcloud.
I am going to, once my robot arrives 😁
from dustcloud.
server is running and get messages from the robot but they are <32
--------------- Thread-id: 139698152388352
192.168.178.38 via tcp wrote:
RAW: b''
len < 32
Close Request
Class destroyed
anybody an idea?
from dustcloud.
I would love to. But I can't get it working right now ;)
Same problem as MeisterTR in the post above
btw.: When starting the server.py via server.sh it results in Permission denied. Maybe because of running as www-data?
from dustcloud.
from dustcloud.
Has it to be port 80? Another one would be more useful because when rooting, the firmware-package has to be on a webserver reachable on 80.
from dustcloud.
I want and I will use it as soon as I have time and understood how it works and how to install it. I'm not a linux pro and don't want to brick my nice new white toy.
Actually, I'm keen to use it as e. g. pihole DNS or FHEM server since it sits there anyway.
from dustcloud.
from dustcloud.
from dustcloud.
BTW you can make a http redirection. I will post the code for that.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080
But the "len < 32"-problem seems to be the show-stopper
from dustcloud.
i just implemented a simple tcp server, not simple for me beause i not a python writter. but the result was the same, the data contains just b''. i also seted the buffer to 1024 but there were no changes. System is a vm with a ubuntu server. So i have no more ideas now and wait till someone find a solutuion.
from dustcloud.
No I did not run dustcloud yet. I'm still not understanding exactly what it does? It is a proxy for the commands send to xiaomi and offers a way to block certain commands from being executed on the robot?
I would probably use it if I have a comfortable way to see the room map data and also start/stop/schedule cleanup jobs without the need of the xiaomi app.
from dustcloud.
I will be as soon as my robot arrives
from dustcloud.
@dgiese and colleagues thanks a lot for your efforts!!! Great Work!
...have just set it up on a dedicated VM - was not straight forward, but achievable.
It would be really nice to have it running locally on the bot (maybe integrated into the custom-image ;-). My key-benefit is the total independence from the xiaomi-cloud.
from dustcloud.
I just got it running yesterday. It was not easy to setup and required some troubleshooting, but the fact that I am now off xiaomi cloud is well worth it.
from dustcloud.
Installed it right now on my RasPi, everything worked almost out of the box.
from dustcloud.
At the moment I dont use dustcloud. My robovac only communicates with home assistant. It is block by my firewall.
Is there some site where I can get an overview of dustcloud's functions? Perhaps with some screens of the webui (is there any?).
from dustcloud.
Yes some screenshot of web UI will be fine. Personnaly I'm planning to use it.
from dustcloud.
I've been trying to use dustcloud but I can't figure out how to get the command server to work or how to get the upload_map.sh to work.
All I'm using it for atm is to stop my vacuum from locking up when trying to reach the xiaomi servers
from dustcloud.
the upload_map.sh transfers the current cleaning map from the robot to the dustcloud.
Start it on the robot
watch -n5 ./upload_map.sh
If you have Docker installed, you can try this.
https://github.com/JackGruber/docker_dustcloud
from dustcloud.
Related Issues (20)
- Discussion: S6 MaxV UART pins HOT 1
- Replace soundpack on roborock s6 pure HOT 1
- Dreame Vacuum D9 is dead
- Which Xiaomi robot vacs ared supported?
- Roborock S5 Max firmware ver 1566 11/2021 confirmed rootable HOT 5
- SFTP support for Roborock HOT 4
- Rooting Xioami MJSTG1 HOT 28
- Support for Neato D8/D9/D10 HOT 2
- Support for Xiaomi Mi Robot Vacuum-Mop 2 Lite HOT 1
- Support for Dreame W10 rooting HOT 2
- Error while rooting xiaomi vacuum
- How to flash v8 to viomi v8 version? HOT 1
- Problem with voice generator
- docker-compose up -d --build fails with "SyntaxError: invalid syntax"
- Experience with STYTJ02YM robots HOT 14
- Vacuum mop 2 pro support?
- Roborock S5max update failed
- Region lock
- Roborock S5 Max soft-briked, then recovered
- Any language with this PHP script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dustcloud.