stvmallen / homebridge-roomba-stv

Homebrige plugin for Roomba 9xx
MIT License
38 stars 15 forks source link

Roomba 976 not working #74

Open okleinschmidt opened 3 years ago

okleinschmidt commented 3 years ago

Seems it doesn't work with 976?

03/02/2021, 17:33:05 [Robert] Enabling autoRefresh every 30 seconds
03/02/2021, 17:33:05 Bridge is running on port 51826.
03/02/2021, 17:33:05 [Robert] Running status requested
03/02/2021, 17:33:05 [Robert] Battery level requested
03/02/2021, 17:33:05 [Robert] Charging status requested
03/02/2021, 17:33:05 [Robert] Battery status requested
03/02/2021, 17:33:05 [Robert] Running status requested
03/02/2021, 17:33:05 [Robert] Battery level requested
03/02/2021, 17:33:05 [Robert] Charging status requested
03/02/2021, 17:33:05 [Robert] Battery status requested
03/02/2021, 17:33:05 [Robert] Running status requested
03/02/2021, 17:33:05 [Robert] Battery level requested
03/02/2021, 17:33:05 [Robert] Charging status requested
03/02/2021, 17:33:05 [Robert] Battery status requested
03/02/2021, 17:33:05 [Robert] Running status requested
03/02/2021, 17:33:05 [Robert] Battery level requested
03/02/2021, 17:33:05 [Robert] Charging status requested
03/02/2021, 17:33:05 [Robert] Battery status requested
03/02/2021, 17:33:25 [Robert] Running status requested
03/02/2021, 17:33:25 [Robert] Battery level requested
03/02/2021, 17:33:25 [Robert] Charging status requested
03/02/2021, 17:33:25 [Robert] Battery status requested
03/02/2021, 17:33:53 [Robert] Running status requested
03/02/2021, 17:33:53 [Robert] Battery level requested
03/02/2021, 17:33:53 [Robert] Charging status requested
03/02/2021, 17:33:53 [Robert] Battery status requested```

Robot Data: { ver: '3', hostname: 'Roomba-31C2C60410513740', robotname: 'Robert', ip: '192.168.XXX', mac: 'XXXX', sw: 'v2.4.14-122', sku: 'R976040', nc: 0, proto: 'mqtt', cap: { pose: 1, ota: 2, multiPass: 2, pp: 1, binFullDetect: 1, langOta: 1, maps: 1, edge: 1, eco: 1, svcConf: 1 }, blid: 'XXXXXX' } Password=> :XXXX <= Yes, all this string. Use this credentials in dorita980 lib :)

solbadguy2010 commented 3 years ago

Can you post your Homebridge config?

you should also consider moving to https://github.com/iRayanKhan/homebridge-roomba2

okleinschmidt commented 3 years ago

Can you post your Homebridge config?

you should also consider moving to https://github.com/iRayanKhan/homebridge-roomba2

Sure! I run Homebridge in docker on Synology DS218+, I have also already tried another Docker host. I can get the robots root pw from inside the container and it also pings pretty well. With Hoobs in Docker, I get the same issues. Maybe it's docker related?! For Synology I followed this guide: https://github.com/oznu/homebridge-syno-spk

I also already checked roomba2, I tried nearly every roomba plugin, no luck.

Docker Image: https://registry.hub.docker.com/r/oznu/homebridge/

{
    "bridge": {
        "name": "Homebridge 55E9",
        "username": "0E:52:1F:4A:55:E9",
        "port": 53923,
        "pin": "xxx-45-xxx"
    },
    "accessories": [
        {
            "name": "Robert",
            "model": "976",
            "blid": "xxxx",
            "robotpwd": ":x:xxxx:xxx",
            "ipaddress": "192.168.1xx.1xx",
            "autoRefreshEnabled": true,
            "keepAliveEnabled": true,
            "cacheTTL": 30,
            "accessory": "Roomba"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        }
    ]
}
solbadguy2010 commented 3 years ago

Config looks good. I think this really is a docker problem.

okleinschmidt commented 3 years ago

Thanks. I'll try again in a virtual machine. I'll keep you updated.

okleinschmidt commented 3 years ago

Mh. Same results with latest Hoobs installed in a ubuntu 20.04 VM on Proxmox, network of hoobs and roomba is the same, no firewall or any other paket filtering. strange...

Do I have the robots home button every time I setup a plugin, or just when I get the rootpw? Does the rootpw change at any time?

solbadguy2010 commented 3 years ago

Don‘t use Hoobs. And you should switch to https://github.com/iRayanKhan/homebridge-roomba2. Its based ob this plugin, but the developer is responding to issues. You should create an issue there.