koalazak / dorita980

Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
MIT License
932 stars 147 forks source link

Mission status sqft no longer reported #137

Closed drinfernoo closed 2 years ago

drinfernoo commented 3 years ago

It appears that sqft is no longer updated by the robot in firmware 2.4.16-126. I have a Roomba 960, but am trying to find any statistic that could be used to get this from the robot.

koalazak commented 2 years ago

sqft is reported on my roomba980 with latest firmware 2.4.16-126 inside the cleanMissionStatus object.

drinfernoo commented 2 years ago

Is it updated? The field exists in my response, but never changes from 0.

koalazak commented 2 years ago

you are rigth. it exist but always in 0.

koalazak commented 2 years ago

I see bbrun.sqft too but always in 3333 value. Maybe it is updated every X time. I did not leave the robot cleaning too much time to test this...let me know if bbrun.sqft works for you

drinfernoo commented 2 years ago

I believe that the bbrun fields are some type of "historical" data, probably lifetime or average values from the robot.

What initially tripped my suspicion (and led to me opening this issue) was that the Home Assistant integration no longer updated it's "area cleaned" (or "cleaning time") attribute(s). I used this package to analyze my response directly, and found that those two fields never update anymore.

https://github.com/home-assistant/core/issues/50333