Coder Social home page Coder Social logo

homeassistant-vorwerk's People

Contributors

trunneml 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeassistant-vorwerk's Issues

InsecureRequestWarning flooding logs

First off, many thanks for your work! Got my VR200 implemented into HA with ease thanks to it 👍

But after setting everything up, the core logs are being flooded with:

warnings.warn( /usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'nucleo.ksecosys.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings

Short lookup on this url shows [email protected] as owner of the self signed certificate in use.

From all I understand, an unverified HTTPS request is sent towards ksecosys.com as the verification of the selfsigned certificate is not possible. Am I on track?

Vacuum entity has no device info

The vacuum entity is not associated with the device as its device info is never retrieved.

def _update_state(self):
try:
if self.robot_info is None:
self.robot_info = self.robot.get_general_info().json().get("data")
except NeatoRobotException:
_LOGGER.warning("Couldn't fetch robot information of %s", self.robot.name)

if self.robot_info is None: will never yield True, as self.robot_info is initialized with an empty dict in
self.robot_info: dict[Any, Any] = {}
which is not equal to None.

I'd suggest:

        try:
            if not self.robot_info:
                self.robot_info = self.robot.get_general_info().json().get("data")

Unable to communicate with robot

Hi!
Just added this integration (0.9.6) and completed the login flow but i can't manage to establish a connection.

/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'nucleo.ksecosys.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'nucleo.ksecosys.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
2023-02-07 11:21:25.823 ERROR (MainThread) [custom_components.vorwerk] Failed to connect to robots: Unable to communicate with robot

Communication via mobile app works.

DEVICE_CLASS_BATTERY will be removed

Hi,

please note the warning I received with latest HA Version:

Logger: homeassistant.components.sensor
Source: helpers/deprecation.py:205
Integration: Sensor (documentation, issues)
First occurred: 08:28:49 (2 occurrences)
Last logged: 08:28:49

DEVICE_CLASS_BATTERY was used from vorwerk, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please report it to the author of the 'vorwerk' custom integration

cheers,
Christian

Specify zones for cleaning with VR300

Just to let you know, that I'm working on this one.

I already managed to get the map (id|name|image) during the config flow and am saving them in the robot config and alter pass it to the robot state.

VR300 identified as VR220

First thanks for your great integration. I tried this one for my VR300. Workflow works fine but at the end my VR300 is identified as VR220. I think that is also the reason why VR300 optimizations from FUEMPEL is not working right?
Any suggestion how to get my robot identified correctly?
Thanks!

HomeAssistantType was used from vorwerk, this is a deprecated alia

Logger: homeassistant.helpers.typing
Quelle: helpers/deprecation.py:197
Erstmals aufgetreten: 16:12:50 (1 Vorkommnisse)
Zuletzt protokolliert: 16:12:50

HomeAssistantType was used from vorwerk, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'vorwerk' custom integration

Status of switch.kobold_schedule doesn‘t change

Sorry for finding again an issue ^^

I have an automation to switch off the schedule of my VR200 in case of a calendar entry. Well, the automation is working well and when I habe a look to the Vorwerk App the schedule is switched off.
The only thing is, the switch.kobold_schedule in HA is still on …

No reconnect or refresh?

One of my robots was emtpy, so that this integration can not communicate with the robot.
So the integration goes into an error state. But now all robots are fine and I see them in the app, but the integration stays in this error ...
If I delete the integration and setup new, than everything is fine ...

Could you help me?
Is there any reconnect, refresh or reintialation?

Thanks and regards! :)

Vacuum won't start when docked :(

I integrated your fine work but unfortunately it doesn't work with my VR200
The only thing what works correctly is the battery status.

When I use "clean" in an automation nothing happens as well when I use the switch to activate the schedule. I the second case the switch shows schedule is on but it isn't on the VR200.

required key not provided @ data['availableServices']

Hi,

I had raised this in the other thread however that was probably a mistake as I think this is a new issue?

Please let me know what more information you need, as I'd really love to get this working again. Thanks.

2023-03-06 20:26:40.693 WARNING (SyncWorker_48) [pybotvac.robot] Invalid response from https://nucleo.ksecosys.com/vendors/vorwerk/robots/###########/messages: required key not provided @ data['availableServices']. Got: {'version': 1, 'reqId': '1', 'result': 'ko', 'error': 'ui_alert_invalid'}

I've a relatively up to date HASS Core version (2023.2.5) , and running Python 3.10 on Bullseye (under venv), however think it wasn't working a little before that, I've only just tried to get it going again after a while of previously working.

I've reloaded the integration 2 -3 times, no joy, and I removed the device from the App, and re-installed it there with a new name. redid the HASS integration and still get the same issue as above. So yes, sounds like the API has been changed,

I have a VR200, and whilst it gets status updates ok, like battery life, I can't issue commands, I get the error above.

Originally posted by @buzz-b in #18 (comment)

same error as @bhuebschen, as noted in other issue on the 22nd Dec.

Better status when charging while cleaning

I figured out a smaller issue.
When VR200 returns back for loading and cleaning is not finished the sensor displays "cleaning". But the VR200 is docked and loading. Don't know whether it is possible to differ this status. I think something like "cleaning/charging" would be not so bad.
Image

TypeError in VorwerkState

First, great thanks for working on this integration!

I am experiencing this error when using it with my VR300

2021-05-15 11:22:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/workspaces/home-assistant-core/homeassistant/helpers/update_coordinator.py", line 130, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/workspaces/home-assistant-core/homeassistant/helpers/update_coordinator.py", line 262, in _async_refresh
    update_callback()
  File "/workspaces/home-assistant-core/homeassistant/helpers/update_coordinator.py", line 322, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/workspaces/home-assistant-core/homeassistant/helpers/entity.py", line 350, in async_write_ha_state
    self._async_write_ha_state()
  File "/workspaces/home-assistant-core/homeassistant/helpers/entity.py", line 384, in _async_write_ha_state
    state = self._stringify_state()
  File "/workspaces/home-assistant-core/homeassistant/helpers/entity.py", line 356, in _stringify_state
    state = self.state
  File "/workspaces/home-assistant-core/homeassistant/components/vorwerk/vacuum.py", line 131, in state
    return self._state.state if self._state else None
  File "/workspaces/home-assistant-core/homeassistant/components/vorwerk/api.py", line 123, in state
    if robot_state["action"] != ROBOT_ACTION_DOCKING:
TypeError: 'int' object is not subscriptable

It seems a bit odd to me to attempt to access a key of a dict when comparing for equality with an int in the previous line.

elif robot_state == ROBOT_STATE_BUSY:
if robot_state["action"] != ROBOT_ACTION_DOCKING:
state = STATE_RETURNING
else:
state = STATE_CLEANING

Did that really work for your robot?

  • Home Assistant 2021.6.0-dev
  • Vorwerk VR300 @ 4.6.1-102

Not available in HACS

Hello trunneml and folks,

I'm trying to install your custome integration (for my VR300). As stated in the readme, it should be possible to install it via HACS but I can't find any related repostitory. Can you please guide me to the repo? I searched with VR300 and Vorwerk but nothing namingly is fitting.
Maybe I'm just a noob and still don't know enough about HA :-) but at least HACS is running.

Any help to point me in the right direction would be more than appreciated.

LawF0rge52

No function with 0.9.4

Since this last update there is no functionality on my VR200.
The sensors are all OK but there is no action on my automations. Even when I hit the start cleaning at the device in HA there is no action.
Before the last update everything worked well and now the is no cleaning :(

Certificate warnings

Hi,
thanks for creating this integration!
I started getting these errors in the home-assistant log:
InsecureRequestWarning: Unverified HTTPS request is being made to host 'nucleo.ksecosys.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings

I tried to bump the pybotvac to version 0.0.24 but it contains an old certificate and so the communication stops entirely...
I created a pull request with the new cert:
stianaske/pybotvac#82
but I wonder if there would be a better way? to just enable the urllib3 cert validation like suggested in the link above?

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.