I setup my iRobot Roomba 671 in Home Assistant and it seems to be communicating more frequently then I was expecting. I’m not sure if this is normal even with continuous mode disabled. Here is a snippet of my logs, the process is constantly repeating:
2018-10-14 20:32:56 INFO (Thread-4) [roomba.roomba.Roomba] Attempting to Reconnect
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Roomba Connected
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : wifistat, b'{"state":{"reported":{"netinfo":{"dhcp":true,"addr":2886860824,"mask":4294967040,"gw":2886860801,"dns1":2886860801,"dns2":0,"bssid":"80:2a:a8:d1:ac:25","sec":4}}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : wifistat, b'{"state":{"reported":{"wifistat":{"wifi":1,"uap":false,"cloud":1}}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : wifistat, b'{"state":{"reported":{"netinfo":{"dhcp":true,"addr":2886860824,"mask":4294967040,"gw":2886860801,"dns1":2886860801,"dns2":0,"bssid":"80:2a:a8:d1:ac:25","sec":4}}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 DEBUG (Thread-183) [roomba.roomba.Roomba] Subscribed: 174 (0,)
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : wifistat, b'{"state":{"reported":{"wlcfg":{"sec":7,"ssid":"42486F6D6557696669"}}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : wifistat, b'{"state":{"reported":{"mac":"40:9f:38:f9:a1:a1"}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"country": "US"}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"cloudEnv": "prod"}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"svcEndpoints":{"svcDeplId": "v007"}}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"name": "Rosie The Roomba"}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"cap":{"ota":1,"eco":1,"svcConf":1},"cleanSchedule":{"cycle":["none","none","none","none","none","none","none"],"h":[0,0,0,0,0,0,0],"m":[0,0,0,0,0,0,0]},"language":0,"cleanMissionStatus":{"cycle":"none","phase":"charge","expireM":0,"rechrgM":0,"error":0,"notReady":0,"mssnM":74,"sqft":0,"initiator":"","nMssn":81},"dock":{"known":true},"bin":{"present":true,"full":false},"batteryType":"lith","batPct":100,"mobilityVer":"6836","bootloaderVer":"4","soundVer":"13"}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"langs":[{"en-US":0},{"en-GB":15},{"fr-FR":1},{"de-DE":2},{"es-ES":3},{"es-XL":11},{"pt-PT":12},{"pt-BR":19},{"it-IT":4},{"nl-NL":5},{"da-DK":6},{"sv-SE":7},{"nb-NO":8},{"fi-FI":16},{"pl-PL":10},{"cs-CZ":17},{"ru-RU":18},{"he-IL":20},{"ja-JP":13},{"zh-CN":14},{"zh-TW":9}],"audio":{"active":false},"binPause":false,"carpetBoost":false,"noAutoPasses":false,"noPP":false,"openOnly":false,"twoPass":false,"vacHigh":false,"sku":"R671020","timezone":"America/New_York"}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/3148401080922780/shadow/update, b'{"state":{"reported":{"tz":{"ver":5,"events":[{"dt":1522598400,"off":-240},{"dt":1541311201,"off":-300},{"dt":1552201201,"off":-240}]},"ecoCharge":false,"wifiSwVer":"3.3.19-remotes/origin/release/3.3@4f9f669/11","softwareVer":"3.3.19-remotes/origin/release/3.3@4f9f669/11","lastCommand":{"command": "start", "time": 1539515388, "initiator": "alexa"},"schedHold":false,"hardwareRev":2}}}'
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] updated state to: Charging
2018-10-14 20:32:59 INFO (Thread-183) [roomba.roomba.Roomba] Disconnected From Roomba
2018-10-14 20:33:00 INFO (Thread-4) [roomba.roomba.Roomba] Attempting to Reconnect
My configuration:
#Roomba
vacuum:
- platform: roomba
host: 172.18.0.24
username: SomeUsername!
password: SomePassword!
continuous: false
name: Rosie The Roomba
I am seeing a log message indicating its running in periodic mode, so I believe its configured correctly:
2018-10-14 20:43:11 INFO (MainThread) [roomba.roomba.Roomba] PERIODIC connection