bmartin5692 / bumper

A standalone and self-hosted implementation of the central server used by Ecovacs vacuum robots.
GNU General Public License v3.0
273 stars 48 forks source link

Raspberry Pi 4 as Server with RaspAP as Access Point and unrooted Android as Control - Data submission error #125

Open ErfolgreichCharismatisch opened 2 years ago

ErfolgreichCharismatisch commented 2 years ago

My goal is to use it with the following configuration

My goal is to use bumper and a hotspot raspap on the rp4 that the android and robot can connect to and no internet access whatsoever(finally, currently I have ia using LAN-cable Pi -> Router).

I downloaded the certificates installed them on my phone(without root).

I used for server ip 127.0.0.1 and I started it with

sudo pipenv run python -m bumper --listen 127.0.0.1 --announce 127.0.0.1

I got

[2021-10-20 18:30:16,280] :: INFO :: bumper :: Starting Bumper
[2021-10-20 18:30:16,357] :: INFO :: mqttserver :: Starting MQTT Server at 127.0.0.1:8883
[2021-10-20 18:30:16,362] :: INFO :: hbmqtt.broker :: Listener 'tls1' bind to 127.0.0.1:8883 (max_connections=-1)
[2021-10-20 18:30:16,367] :: INFO :: xmppserver :: Starting XMPP Server at 127.0.0.1:5223
[2021-10-20 18:30:16,395] :: INFO :: hbmqtt.broker :: Listener 'tls1': 1 connections acquired
[2021-10-20 18:30:16,395] :: INFO :: hbmqtt.broker :: Connection from 192.168.178.23:59642 on listener 'tls1'
[2021-10-20 18:30:16,398] :: INFO :: mqttserver :: Bumper Authentication Success - Helperbot: helperbot@bumper/helperbot

With the bot being switched off(!)

I switched it on, ran sudo pipenv run python -m bumper --listen 127.0.0.1 --announce 127.0.0.1 again and got the same output.

I connected to raspap with my Android and then ran the app.

I got 206, -9003 then 003, -9003 then Data Submission Error.

How to make it work?

edenhaus commented 2 years ago

First don’t comment to other issues, asking for help. This is called spamming (in my opinion)!!

Second your setup cannot work with the settings above. Please inform you more on the network topology and on the address 127.0.0.1 and which can connect to it.

ErfolgreichCharismatisch commented 2 years ago

First don’t give me commands, especially regarding unrelated issues.

Second your reply has to have the form "The problem with 127.0.0.1 is and this works instead".