Barma-lej / halandroid

Worx Landroid package for Home Assistant based on Landroid Cloud by @MTrab
MIT License
112 stars 49 forks source link

Can´t get this to work #41

Closed chrisruetten closed 2 years ago

chrisruetten commented 2 years ago

Hi Thanks a lot for all your work. I followed your install instructions manualy and via HACS but get always the same errors. Since there are now errors up to the point form MTrab I post this here

Most errors say int() argument must be a string, a bytes-like object or a number, not 'NoneType'

[548149954208] Error handling message: Unknown error 18:22:07 – (FEHLER) Home Assistant WebSocket API (benutzerdefinierte Integration) websocket_api script: Error executing script. Unexpected error for call_service at pos 1: int() argument must be a string, a bytes-like object or a number, not 'NoneType' 18:22:07 – (FEHLER) Worx Landroid Cloud (benutzerdefinierte Integration) Mower set rain delay and time extension: Error executing script. Unexpected error for call_service at pos 1: int() argument must be a string, a bytes-like object or a number, not 'NoneType' 18:22:07 – (FEHLER) Skript (benutzerdefinierte Integration)

Can you give me a hint? Really appreceated. Thanks Chris

Barma-lej commented 2 years ago

Do you have sensors: sensor.landroid_mower_battery, sensor.landroid_mower_error, sensor.landroid_mower_status?

chrisruetten commented 2 years ago

Yes. Different names but sensors are there

Sent from mobile device. Please excuse shortness of message and typos. Best regards Christoph

Am 08.04.2022 um 18:19 schrieb Barma-lej @.***>:

 Do you have sensors: sensor.landroid_mower_battery, sensor.landroid_mower_error, sensor.landroid_mower_status?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

Barma-lej commented 2 years ago

If you have different name of your lawnmower then you need rename all the names of these sensors (sensor.landroid_mower_battery, sensor.landroid_mower_error, sensor.landroid_mower_status) in the files __package/landroid_de.yaml, package/landroid_LANGUAGE_CODE.yaml and in new Lovelace card__ or Change the name of lawnmower in App to Mower

See Installation Number 6

chrisruetten commented 2 years ago

All names are correct and several entities like battery are correct but not all. Some are missing like distance etc. See screenshot grafik When pressing the start button, the error comes up and nothing will happen. Could it be an error from Websocket API?

Barma-lej commented 2 years ago
  1. What is name of your lawnmower?
  2. Did you make changes in landroid.yaml, landroid_de.yaml and in your dashboard card?
chrisruetten commented 2 years ago

Ok, I forgot to make changes to the two files. Fixed it and now it is working like charm. Sorry for bothering and really appreceate your support! Many thanks!!!