-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warema WMS and Home Assistant #1
Comments
Sorry, I didn't see this earlier. |
It only supports vertical blinds right now, though, as I don't own anything else. |
Hi, |
Hi, self.wms_ctrl: wms_ctrl Nothing happens. can you tell me what i did wrong? |
Hi, |
Hello Mr. Mund, |
Yes, I can help. |
I uploaded the integration here |
Hi, |
You have to install the warema library via pip.
|
Hi, |
That might be. I don't really know anything about HassOS. |
@Stephan1908 you need to make sure to include: you need to make sure you have this in your configuration.yaml: python_script: and then using the cover platform: ('warema_wms_webcontrol:' will not give you anything) cover:
you alos might want to add logs: for debug info. Before restarting HA, you need to add a folder under config/custom_components, called warema_wms_webcontrol with the HA integration files from cornim under config you need to create a folder called python_scripts (if it isn't there already) and then in that folder a new folder called warema_wms where you copy the warema_wms files from cornims core folder. Hopefully this puts you on a working path for this. |
Sorry to jump in so late. I too am trying to get this working and everything seems pretty much straight forward but I can't get it to run successfully. Any assistance is highly appreciated.
Here's the content of my config/custom_components/warema_wms_webcontrol folder: And here's the content of my config/python_scripts/warema_wms folder: HA report configuration as valid, but during restart I get this errors in the log:
Rgds |
at least at my setup it works with the following: configuration.yaml: python_script: cover: #send from my mobile, so indentations maybe wrong, but i think HA assists you here# config/custom_components/warema_wms_webcontrol folder looks ok for me config/python_scripts/warema_wms folder looks suspicious and in there, config/python_scripts/warema_wms/warema_wms hope this helps |
it looks like, whatever is being returned by your web control server isn't well formed xml. Please enable debug logging to see what is being returned from the server. |
Hello Dr. @cornim - thanks for stopping by 👍
My attempt to enable debug logging is as follows:
Apparently, only the homeassistant.components.cover: debug resulted in anything being logged. The log can be found here: https://pastebin.com/TM5SZtYS Please advise. |
As I have guessed the response you are getting is not the expected response. You get some html page back instead of the expected xml. Why that is I can only guess. What happens if you open the page manually.
Maybe this helps us determine the reason behind this error. |
All that happens is that I get redirected to : http://192.168.1.133/system which is the same as the default opening page of the WebControl server. |
just to be sure, do you have the WebControl or the WebControl Pro Box? |
I have the WebControl Pro box |
That one doesn't work with this plugin. |
@Pferdebockwurst - I can only assume that you are right about that. |
Since the communication protocol was reverse engineered only someone with the WebControl Pro could reverse engineer the communication with that one and extent this plugin. |
So, even with guidance from someone with the right knowledge - such as yourself, I couldn't do it? |
That very much depends on your proficiency with HTTP get call reengineering and Python programming. Of course I can explain to you how I did this for the WebControl but it requires at least some technical skill and it might work differently for the WebControl Pro and since I don't own one of these, I cannot have a look myself. |
I contacted Warema and inquired about API information. Still waiting. |
I once mailed them about that topic. My mail got right to the developer who posted at the homee forums (because they have produced a homee cube to integrate it in that ecosystem). Never got a response. Please keep us updated, if you get a response. |
Do you have a link to the post on the Homee Forum? |
Homee is not open source. Edit: I don't remember the exact forum posts, but look at this thread in the homee forums: https://community.hom.ee/t/warema-wms-cube/34917/25 WAREMA_Stefan was the guy I mailed to. |
Coming back to this issue - trying to figure out how to reverse engineer the WMS Web Control Pro. |
Hi, ` cover: warema_wms_webcontrol: debug I have copy and created all the files from: Someone know what is missing? cu |
Hello Mr. Mund,
In my house, I used the Warema WMS system with 3 shutters and 7 external blinds.
I would like to integrate the WMS system into my Home Assistant system. I can't find anything on the internet, but today I found your example in Python.
Can you tell me if it works with Home Assistant? Then I would buy the Warema WMS WebControl web server.
Do you have any tips for me? I'm unfortunately a beginner in terms of integrating and especially Python.
Sincerely yours
Stephan
from Germany :-)
The text was updated successfully, but these errors were encountered: