bmartin5692 / bumper

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

Can't use android app - DNS Configuration #62

Open 4lphac opened 4 years ago

4lphac commented 4 years ago

Hello I've followed the instructions to use the android app (cert, dns fowarding etc), now when I open the app I get "error sending data (nnn,-9005)" where nnn looks like a random number. I've got the latest app and an Ozmo 930

bmartin5692 commented 4 years ago

What version of Android, which app/version? Try with Debug (--debug) to see if there are any errors/messages that may help.

4lphac commented 4 years ago

Android 5, Ecovacs Home version 1.3.1, ok I'll try this weekend, keep you updated

4lphac commented 4 years ago

Hi I figured it partially, I'm using ddwrt to redirect dns, but looks like that writing

config 'domain' option 'name' 'ecovacs.net' option 'ip' '192.168.1.140'

only fowards the main dns name and not the subdomains, do you know the exact subdomains the client calls or a way to add wildcard to dhcp conf?

bmartin5692 commented 4 years ago

I'm not familiar with DDWRT and configuring it, but I found the following with a search: https://coolaj86.com/articles/redirect-domains-and-dns-using-dd-wrt.html

It looks like you may be able to modify the DNSMasq configuration, which is the easiest way to handle all the subdomains. I've tried to document individual domains as much as possible, and details of DNS here, in the event you need to set each individually (there are a lot though): https://github.com/bmartin5692/bumper/blob/master/docs/DNS_Setup.md