I just configured a Roomba 895 on Home Assistant. All seems to work well - but with this roomba, it won’t show me the bin status.
Nothing too exciting in the configuration.yaml file:
vacuum:
- platform: roomba
host: roomba.home
username: xxxxxxxxxxxxxxxxxxxxxx
password: xxxxxxxxxxxxxxxxxxxxxxxxxx
It shows me the following attributes when I look at the roomba component in the state menu:
"status": "Charging",
"battery_level": 100,
"battery_icon": "mdi:battery-charging-100",
"bin_present": true,
"software_version": "3.2.19+49",
"friendly_name": "Roomba",
"supported_features": 479
So, we can see that it shows me that the bin is present, but doesn’t report on if the bin is full or not.
Looking at the HA logs, I see in the logs that it shows that bin is full. But it isn’t exposed as an attribute in HA. You can see this in the part of the log that says ““bin”:{“present”:true,“full”:true}” as you can see below in the raw log. How can I get this variable exposed into HA so I can run an automation based on this?
Logs:
2018-11-05 18:43:37 INFO (Thread-2) [roomba.roomba.Roomba] Received Roomba Data : $aws/things/xxxxxxxxxxxxxx/shadow/update, b'{"state":{"reported":{"cleanMissionStatus":{"cycle":"clean","phase":"stop","expireM":88,"rechrgM":0,"error":0,"notReady":0,"mssnM":0,"sqft":0,"initiator":"localApp","nMssn":27},"dock":{"known":true},"bin":{"present":true,"full":true},"batteryType":"lith","batPct":100,"mobilityVer":"6636","bootloaderVer":"4","soundVer":"13"}}}'