So the model reported is: L. Mine is a 315.
Thanks, added.
There are 2 different status screens. One if I click the logo in HA, another if I click my mowers name under Vacuum (by the panels).
Yes, the first one is a device tracker. It should display a GPS position if your mower is equipped with GPS. Does it show Longitude and Latitude? I have created zones in HA for my different lawns:
I can also see where the mower is on the map in HA:
The panel under vacuum is for controlling the mower (start/stop/park). The vacuum platform however only tracks status history as “on” or “off”.
You can see the detailed status when you click on your mower under vacuum. It should display a line that says “Status: …”. By the way, if you see a technical all caps code here (e.g. OK_CUTTING) instead of a proper english word or phrase, please let me know the exact spelling of the code and what your Husqvarna app or the mower itself reports as its current status. I have collected a few statuses already, but I’m sure I’m missing a few still. The same goes for lastErrorCode
s.
What I really liked about your screenshots was the ability to see that shift in status, like how long it has been cutting and charging during the day.
I might re-introduce a simple sensor then in addition to the device tracker and the vacuum that only displays the detailed mower status. That would enable you to analyse the history, percentage, length, etc. of cutting, charging, searching base, etc. Thanks for your feedback.
One says stopping, the other says parked due to timer. And it’s mowing. Can I share anything with you that will help you improve this?
That’s strange. It might be the caching. When you do notice a discrepancy between what your Husqvarna app says and what HA says, the following would help me:
- The value of
storedTimestamp
that the vacuum panel should show you.
- The entire JSON output you’re seeing when you run
husmow --login '<your username>' --password '<your pw>' status
on a command line. (You might need to pip install pyhusmow
before you can run husmow
.)
- If the problem still occurs after a complete HA restart.
Thanks!
Why Husqvarna is not developing plugins for all available smart plattforms is beyond me.
I get it. It’s a lot of work to build and to maintain. There are a ton of automation platforms like OpenHAB, domoticz, etc. Their support staff would need to be trained to support all those, and much more. I completely get why they only offer their app.