Robonect module in Husqavarna Automower via mqtt vacuum

After remove and adding again I get the following error:

Logger: homeassistant.config_entries
Source: config_entries.py:947 
First occurred: 13:37:45 (1 occurrences) 
Last logged: 13:37:45

Config entry 'Fredi' for robonect integration not ready yet: Exception 'utf-8' codec can't decode byte 0xfc in position 301: invalid start byte; Retrying in background

What I wonder: I configured the username and passwort → is this for the Login like bevore, or for the MQTT? And where to configure the other one?

Oliver,

would be easier if you join us on Discord: Discord

The error you have, should be resolved in the 1.0.2 beta

Regarding username/password: this is when you use REST. in fact MQTT is limited in possibilities, so I have added the REST sensors/actions to be complete and get all out of Robonect

Stable release including MQTT & REST sensors available, with vacuum, service for mowing job, buttons and device_tracker

1 Like

How to use mqtt? In your screenshots I could set the topic but in v1.0.0 I can’t

Hi, when setting up the integration, you can set it in the first config flow screen:

I upgraded from a previous version, when I try to configure it, there is no option to do that.

Ah indeed, if you want to configure it I advise to remove the integration and add it again.

Otherwise it takes the standard ‘automower’ topic

The geertmeersman / robonect integration is awesome but the API would not update unless mowing.
Read that MQTT is prefered but I have no experience with that.

I understand MQTT Integration and Mosquitto broker needs to be installed, but how to configure them for Robonect integration??
I think I have the MQTT configered proberly with a user account and the host (core-mosquitto), but how and where to put the subscribed topics and all that?

Anyone up for a step-by-step for the MQTT part of the integration?

Hrm… Guess I had a “breaktrhough” in my quest…
Gotta enable “MQTT-Client” in the seetings :smile:

Is it possible to make an error notification with an exact description of the error that just happened and send it to a mobile phone? I can’t figure it out.

I currently have “mower in error state” notification.

alias: Mower in Fault mode, send IOS notification
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.automower_status
    to: Fault
condition: []
action:
  - service: notify.mobile_app_iphone
    data:
      title: Automower
      message: Is in Fault state!
    enabled: true
mode: single

you can do like:

action:
  - data:
      message: Automower error {{states.sensor.automower_mower_error_message}}

Thanks! Almost working. :slight_smile: How can I see only “Fault 0”

mower_error_1

action:
  - service: notify.mobile_iphone
    data_template:
      title: Mower error:
      message: "{{states.sensor.automower_mower_error_message}}"
mode: single

you should have message without quotes to get the right error:

 message: Automower error {{states.sensor.automower_mower_error_message}}

You can add a trigger. like:

  - platform: state
    entity_id:
      - sensor.automower_mower_error
    to: Fault0

note, not verified, its free from memory :slight_smile:

It’s working now:

action:
  - service: notify.mobile_app_iphone
    data_template:
      title: Mower
      message: "{{states('sensor.automower_mower_error_message')}}"