trunneml / homeassistant-vorwerk Goto Github PK
View Code? Open in Web Editor NEWHome assistant integration to control Vorwerk VR Vacuum cleaners
License: Apache License 2.0
Home assistant integration to control Vorwerk VR Vacuum cleaners
License: Apache License 2.0
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?
The vacuum entity is not associated with the device as its device info is never retrieved.
Lines 71 to 76 in 6af1373
if self.robot_info is None:
will never yield True, as self.robot_info
is initialized with an empty dict in Line 58 in 6af1373
None
.
I'd suggest:
try:
if not self.robot_info:
self.robot_info = self.robot.get_general_info().json().get("data")
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.
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
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.
Warnings after install of latest beta 2012.12.b0
2021-12-04 08:29:05 WARNING (MainThread) [homeassistant.helpers.entity] Entity vacuum.robot_vac (<class 'custom_components.vorwerk.vacuum.VorwerkConnectedVacuum'>) implements device_state_attributes. Please report it to the custom component author.
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!
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
Logger: custom_components.homeassistant-vorwerk
Source: custom_components/homeassistant-vorwerk/init.py:91
Integration: homeassistant-vorwerk
Failed to connect to robots: Service houseCleaning is not supported by your robot
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 …
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! :)
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.
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.
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.
Lines 120 to 124 in 6af1373
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
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 :(
Status at Dec. 2022: Working !
Thanks a lot !
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.