Giter Site home page Giter Site logo

ha-automower's People

Contributors

andreasfelder avatar maflo321 avatar nelsonblaha avatar nicole-ashley avatar walthowd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ha-automower's Issues

Model 'K'

For the MODELS mapping,

Model 'K' = Automower 310

401 Client Error

Hello!
Component seems to work, however I receive many (> 2800 times) errors in the log-file like these:

I use HomeAssistant 0.108.6

Protokolldetails ( ERROR )
Logger: homeassistant.helpers.entity
Source: custom_components/automower/__init__.py:290
First occurred: 20. April 2020, 16:41:42 (2885 occurrences)
Last logged: 9:29:42

Update for vacuum.edelsgrub fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/automower/__init__.py", line 290, in update
    self._state = self._api.status()
  File "/usr/local/lib/python3.7/site-packages/pyhusmow/husmow.py", line 182, in status
    response.raise_for_status()
  File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://amc-api.dss.husqvarnagroup.net/v1/mowers/181003060-171934209/status

Can you please look into this and let me know if I can provide additional information / do testing, etc!

Thank you very much!

Albert

Update Icon?

Is there a way to update the icon used via the config? I'd really like to use mdi:robot-mower-outline as it's more appropriate.

Feature Request: Park until next schedule

Firstly, thanks for creating this custom component. I recently bought an automower and it was great to be able integrate it within home assistant using this component.

I'd like to request the addition of "Park until next schedule". Currently when I invoke the return_to_base service, the mower is parked manually which means I have to manually turn it on the following day. I would like to request an additional service that will park the mower but will it will start on next schedule.

Doesn't update data

From this morning the card shows that the mower is still charging. Unfortunately, the plug-in has stopped showing real data.

Remote end closed connection without response

For the last couple of days been getting this error regularly. Only two of three mowers are appearing now too.

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.10/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/local/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

Integration can not be loaded

HA 2022.3.7
Integation no longer works.
From the log:
Felet härrör från en anpassad integration.

Logger: homeassistant.setup
Source: custom_components/automower/init.py:217
Integration: automower (documentation)
First occurred: 10:10:40 (1 occurrences)
Last logged: 10:10:40

Error during setup of component automower
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/automower/init.py", line 217, in setup
robots = api.list_robots()
File "/usr/local/lib/python3.9/site-packages/pyhusmow/husmow.py", line 162, in list_robots
response.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://amc-api.dss.husqvarnagroup.net/v1/mowers

Invalid config

Bonjour,

I tried to set it into HA, but without success.
I installed it through Home Assistant Community Store.

Then I added the relevant infos in my configuration.yaml and secrets.yaml files.
I have also added the camera with my google API.

It did not create a vacuum entity nor a device_tracker entity...

I get the following warning/notification message instead :

Invalid config
The following integrations and platforms could not be set up:
automower
Please check your config.

Any idea on how to fix it ? Thank you :)

VaccumDevice depreciated error message

Installed via HACS and configured my automower. When restarting HA,the following error message appears in the log:

2020-06-10 16:18:39 WARNING (MainThread) [homeassistant.components.vacuum] VacuumDevice is deprecated, modify AutomowerDevice to extend VacuumEntity

feature request : cutting height

Hello,
thanks for the ressources, it really work well.
do you think it possible to have the cutting height option ? (model 430x)

Not working

2019-07-23 23:56:05 ERROR (MainThread) [homeassistant.setup] Error during setup of component ha-automower
Traceback (most recent call last):
File "/usr/src/app/homeassistant/setup.py", line 156, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha-automower/init.py", line 117, in setup
api.login(config.get(CONF_USERNAME), config.get(CONF_PASSWORD))
AttributeError: 'NoneType' object has no attribute 'get'

No 'version' key in the manifest file

Hi,
I saw this message in the core logfile.

"No 'version' key in the manifest file for custom integration 'automower'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'automower'"

I hope this is an easy fix.

Kind regards,
Peter

Warning about device_state_attributes

I've started getting the following message upon startup of home assistant:

2022-01-22 00:24:33 WARNING (MainThread) [homeassistant.helpers.entity] Entity vacuum.jabba (<class 'custom_components.automower.AutomowerDevice'>) implements device_state_attributes. Please report it to the custom component author.

Not sure what it means but I hope reporting it is the right thing to do! ;-)

I'm running core-2021.12.10

Device tracker?

Installed using Hacs. Mower shows up OK as vacuum entity but no device tracker is created. I have an Automower 430x and is using HA 0.97.2. Any suggestions?

Localization feature request

It would be great if the automower custom component would support localization e.g. German

I translated all status and error codes in the init.py, but this obviously doesn't make sense e.g. in combination with HACS where everything will be overwritten with the next update.

I tried to understand the principle of strings.json and translation folder for the status and error descriptions, but my python knowledge is very limited...

Best,
Tobias

Home Assistant 2021.9.6

When updating from Home Assistant 2021.9.5 to Home Assistant 2021.9.6 I get the below message, same issue on two (2) separate instances of HA, tried to reinstall Automower and restarted HA, same issue.

screenshot 1322

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.