homebridge-iRobot icon indicating copy to clipboard operation
homebridge-iRobot copied to clipboard

Support Request: UDP Port(s) to Open

Open metalshark opened this issue 3 years ago • 5 comments

Describe Your Problem:

Unless I open all UDP ports on the server to the IP address of the Roomba I get the error UDP Disabled.

Expected behavior:

Knowing the exact port number to open on the server and it always requiring that same port each time.

Logs:

[iRobot] Failed To Configure Device: {"password":"*","sku":"e515440","softwareVer":"3.4.67+100","name":"Roomba","cap":{"ota":1,"eco":1,"svcConf":1},"svcDeplId":"v007","user_cert":false,"blid":"*"} 
With error: UDP Disabled

Config:

{
    "name": "iRobot",
    "email": "*",
    "password": "*",
    "manualDiscovery": false,
    "lowBattery": 20,
    "offAction": "pause:dock",
    "status": "cycle:clean",
    "platform": "iRobotPlatform"
}

Node Version:

16.16.0

NPM Version:

8.11.0

Homebridge Version:

1.5.0

Plugin Version:

3.0.0-beta.16

Operating System:

Other

metalshark avatar Jul 23 '22 12:07 metalshark

If it's possible to know the incoming UDP port numbers required, or limit/fix them for firewall rules that'd be amazing, please.

metalshark avatar Jul 26 '22 11:07 metalshark

What it’s doing if you don’t specify a Roomba ip address is a udp broadcast so that it pings every device and recognizes a Roomba response UDP line

bloomkd46 avatar Jul 26 '22 14:07 bloomkd46

It has an IP under devices (192.168.75.99) unless I'm (likely) missing something image am having to use the following rule on the Synology (Homebridge server) at present image as cannot determine the UDP port the Roomba needs to talk back on.

metalshark avatar Jul 26 '22 14:07 metalshark

this is built off of dorita980, which uses port 8883. make sure your firewall has bi directional rules set up (rule 1: homebridge ip -> Roomba ip on port 8883, rule 2: Roomba ip -> homebridge ip on port 8883).

senorshaun avatar Sep 27 '22 22:09 senorshaun

Please try the latest beta: npm

bloomkd46 avatar Jan 02 '23 04:01 bloomkd46