Giter Site home page Giter Site logo

bumper's People

Contributors

torbjornaxelsson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bumper's Issues

not working with deebot r98

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

Sucks example doesn't work with 0.8.3

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

Feature: make it more secure

  • IP filtering to only accept connections from trusted clients
  • Update documentation with security notes and best practices (run on a trusted local network behind firewall, block outside connections)
  • Possibly implement XMPP TLS encryption (currently bypassed)

Active?

@torbjornaxelsson

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.

Feature: run as a daemon

Bumper should be able to run as a background daemon/service with logging and automatic restart if it crashes.

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.