Giter VIP home page Giter VIP logo

Comments (26)

MeisterTR avatar MeisterTR commented on August 15, 2024

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.

akeilox avatar akeilox commented on August 15, 2024

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.

dervitti avatar dervitti commented on August 15, 2024

I´m going to...

from dustcloud.

trohnjavolta avatar trohnjavolta commented on August 15, 2024

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.

dgiese avatar dgiese commented on August 15, 2024

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.

MeisterTR avatar MeisterTR commented on August 15, 2024

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.

MeisterTR avatar MeisterTR commented on August 15, 2024

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.

xwavex avatar xwavex commented on August 15, 2024

I am going to, once my robot arrives 😁

from dustcloud.

MeisterTR avatar MeisterTR commented on August 15, 2024

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.

drhirn avatar drhirn commented on August 15, 2024

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.

dgiese avatar dgiese commented on August 15, 2024

from dustcloud.

drhirn avatar drhirn commented on August 15, 2024

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.

Kugeleis avatar Kugeleis commented on August 15, 2024

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.

dgiese avatar dgiese commented on August 15, 2024

from dustcloud.

dgiese avatar dgiese commented on August 15, 2024

from dustcloud.

drhirn avatar drhirn commented on August 15, 2024

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.

MeisterTR avatar MeisterTR commented on August 15, 2024

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.

rudelm avatar rudelm commented on August 15, 2024

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.

Stevehans avatar Stevehans commented on August 15, 2024

I will be as soon as my robot arrives

from dustcloud.

aebgit avatar aebgit commented on August 15, 2024

@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.

mdallaire avatar mdallaire commented on August 15, 2024

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.

Gulaschcowboy avatar Gulaschcowboy commented on August 15, 2024

Installed it right now on my RasPi, everything worked almost out of the box.

from dustcloud.

linuxlurak avatar linuxlurak commented on August 15, 2024

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.

fab33 avatar fab33 commented on August 15, 2024

Yes some screenshot of web UI will be fine. Personnaly I'm planning to use it.

from dustcloud.

dugite-code avatar dugite-code commented on August 15, 2024

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.

JackGruber avatar JackGruber commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.