Skip to content

Add missing lifespan sensors (weedRope, trimmerBrush) for GOAT models #1623

@monsivar

Description

@monsivar

Checks

  • I have read the above text and I'm aware of the situation
  • I have searched the existing issues and no issue is describing my issue
  • I have installed the latest version

The feature you want to suggest

Hi again,

Following up on some GOAT O1200 (class 2i0fns) testing. In Home Assistant, I currently get the lifespan sensor for the blades (sensor.r2d2_blade_lifespan), but the sensors for the edge trimmer rope and the edge brush are missing.

By sniffing the MQTT traffic while navigating the accessory menu in the app, I captured the getLifeSpan request and the corresponding response from the mower.

It seems the mower reports three consumables: blade, weedRope, and trimmerBrush. Currently, deebot-client only parses the blade.

The Request (Query):

topic=iot/p2p/getLifeSpan/HelperMQClientId-.../q/...
payload={"header":{"pri":"1","ts":1780091571.442,"tzm":480,"ver":"0.0.50"},"body":{"data":["blade","weedRope","trimmerBrush"]}}

The Response (Publish):

`topic=iot/p2p/getLifeSpan/.../p/...
payload={"header":{"tzm":120,"ts":"1780089246372493955","fwVer":"1.8.18"},"body":{"code":0,"msg":"ok","data":[{"type":"blade","left":3718,"total":4800},{"type":"weedRope","left":289,"total":340},{"type":"trimmerBrush","left":56,"total":60}]}}`

Request:
Could support be added to parse weedRope and trimmerBrush from the getLifeSpan payload so they can be exposed as percentage sensors in Home Assistant alongside the blades?

Thanks for all the hard work on this library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions