torbjornaxelsson / bumper Goto Github PK
View Code? Open in Web Editor NEWA standalone implementation of the server used by Ecovacs Deebot robots
License: GNU General Public License v3.0
A standalone implementation of the server used by Ecovacs Deebot robots
License: GNU General Public License v3.0
I get the following:
2018-08-24 22:24:21,134 DEBUG from 192.168.1.176: <stream:stream to="ecouser.net" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
2018-08-24 22:24:21,134 INFO 192.168.1.176 state: INIT
2018-08-24 22:24:21,134 DEBUG to 192.168.1.176: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" id="1" from="bumper">
2018-08-24 22:24:21,635 DEBUG to 192.168.1.176: stream:features</stream:features>
2018-08-24 22:24:21,725 DEBUG from 192.168.1.176: REDACTED
2018-08-24 22:24:21,725 ERROR XMPPServer: Can't convert 'NoneType' object to str implicitly
I dont see any implementation of iq type="get" anywhere in the source.
I know python quite okay but sadly nothing about the underling jabber protocol.
Any one can fix this?
also with using sucks instead of the ecovacs app i get the same error NoneType to str but on a diffrent context:
2018-08-24 22:41:32,237 INFO client connected: 10.10.10.10
2018-08-24 22:41:32,237 INFO XMPPServer: awaiting connection
2018-08-24 22:41:32,238 INFO 10.10.10.10 state: CONNECT
2018-08-24 22:41:32,238 DEBUG from 10.10.10.10: <stream:stream to='ecouser.net' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'>
2018-08-24 22:41:32,238 INFO 10.10.10.10 state: INIT
2018-08-24 22:41:32,238 DEBUG to 10.10.10.10: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" id="1" from="bumper">
2018-08-24 22:41:32,739 DEBUG to 10.10.10.10: stream:features</stream:features>
2018-08-24 22:41:32,742 DEBUG from 10.10.10.10:
2018-08-24 22:41:32,742 INFO 10.10.10.10 state: BIND
2018-08-24 22:41:32,742 DEBUG to 10.10.10.10: bumpy
2018-08-24 22:41:32,743 DEBUG from 10.10.10.10:
2018-08-24 22:41:32,744 INFO 10.10.10.10 state: READY
2018-08-24 22:41:32,744 DEBUG to 10.10.10.10:
2018-08-24 22:41:32,747 DEBUG from 10.10.10.10:
2018-08-24 22:41:32,747 ERROR XMPPServer: Can't convert 'NoneType' object to str implicitly
2018-08-24 22:41:32,747 INFO 10.10.10.10 state: DISCONNECT
The readme is wrong cause the variable xmpp isn't there :(
It will only work on the next package that comes out, otherwise you have to install sucks directly from source
Is this project still active and would you accept pull requests? I've made a massive amount of changes in a fork I have within a D901 branch (https://github.com/bmartin5692/bumper/tree/D901). As of today, a PR would include 2,465 additions and 356 deletions.
The D900 series bots use MQTT instead of XMPP for communication, and I've changed almost the entire code base of bumper at this point working on various optimizations. I am sure that at this point I've broken XMPP for bots, but I don't have a bot that utilizes this to test against.
Another example of the changes made is the confserver class - I've re-written this class entirely to use async/aiohttp.
At this point bumper completely replaces the Ecovacs central servers for me, with full functionality.
I have more changes in mind including unit tests, some basic authentication, SQLite for persistent storage of sessions, and more.
Bumper should be able to run as a background daemon/service with logging and automatic restart if it crashes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.