@Stephan4711 Thanks for the tips. I tried playing around with it a bit, but only get this response:
With limited understanding of German and much less when it comes to XML, I guess I flunked somehow. Since, as I mentioned, I only have one blind, I tried with room and shutter values at 00 00 and 01 01 and 00 01, kept changing the counter, but same same. Any suggestions?
If you have any updates to the library or the integration that you would like to contribute, feel free to create a pull request. I canāt really extended the library as Iāve only vertical blinds and thus canāt reverse engineer the protocol.
@Stephan4711 Cornimās integration with HA provides the status (current_position in HA). However, it is not real time when you change the position in the UI, so typically the status updates after the shade has reached its set point. Cornim would be able to explain this better with regards to polling intervalls or delays
OK. Thank you for your prompt reply.
Some time ago, I tried to integrate Warema through Cornimās integration. But unfortunately I didnāt manage to do it. (Warema WMS and Home Assistant Ā· Issue #1 Ā· cornim/wms_webcontrol Ā· GitHub). @siggy, do you have another tip for me, or how did you do it?
I have roller shutters and external venetian blinds
Iāve got it going. Since I also have external venetian blinds where I can also adjust the angle of the slats, is it possible to control them? Iāve tried to understand it, but I donāt see it.
it should go with this:
SHADE_POSITION = '03 {} ffffff ā
where {} is the angle?
unfortunately I am getting error messages in the log and do not see any of the blinds. I have tried a lot of different things, but am at the point where I might need your help.
I was able to get the integration to the point where the WMS stick gets successfully recognized and I can see MQTT messages for temperature and illuminance from the Warema weather station.
Scanning finds all 19 actuators, labelling them as āType 21 Plug receiversā in the log file. Registering gives the error message āUnrecognized device type: 21ā for each actuator.
Each blind is actually driven by a āWMS Actuator UPā (Art. Nr. 1002880) rather than a āPlug receiverā, but Type 21 seems correct. Based on the following link it looks like āType 20ā should be marked as a āPlug receiverā and Type 21 should be an āActuator UPā: warema-wms-venetian-blinds - npm.
But otherwise the two device types might be very similar in communicating with the WMS stick.
Would you have any idea on what is not working here? Is Type 21 currently not supported / recognized by the Add-on? Or is something else wrong in my setup?
P.S.
(I did not want to post the whole log file here, hoping the sections below are enough. Please let me know if you need more info)
Add-on version: dev
You are running the latest version of this add-on.
System: Home Assistant OS 5.13 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.6.3
Home Assistant Supervisor: 2021.05.4
Scanningā¦
10 21:30:28.380 I Interval for position update: 30 seconds.
10 21:30:28.500 I /dev/ttyUSB0 Scanned device: 444E08 Type 21 Plug receiver
10 21:30:28.505 I /dev/ttyUSB0 Scanned device: AC5108 Type 21 Plug receiver
10 21:30:28.508 I /dev/ttyUSB0 Scanned device: CC5108 Type 21 Plug receiver
10 21:30:28.510 I /dev/ttyUSB0 Scanned device: CF5108 Type 21 Plug receiver
10 21:30:28.513 I /dev/ttyUSB0 Scanned device: F94507 Type 21 Plug receiver
10 21:30:28.515 I /dev/ttyUSB0 Scanned device: B12B09 Type 21 Plug receiver
10 21:30:28.516 I /dev/ttyUSB0 Scanned device: 6DF00A Type 06 Weather station
10 21:30:28.517 I /dev/ttyUSB0 Scanned device: 125008 Type 21 Plug receiver
10 21:30:28.569 I /dev/ttyUSB0 Scanned device: 315008 Type 21 Plug receiver
10 21:30:28.571 I /dev/ttyUSB0 Scanned device: 574D08 Type 21 Plug receiver
10 21:30:28.573 I /dev/ttyUSB0 Scanned device: FB4F08 Type 21 Plug receiver
10 21:30:28.575 I /dev/ttyUSB0 Scanned device: 764E08 Type 21 Plug receiver
I took the liberty to look at the code in ābridge.jsā to see what might be causing the error messages in the log file. Am I correct with my assumption that the add-on currently only handles devices of type 20 and 25?
Would you consider adding the handling of type 21 devices (element.type = 21) in the function āregisterDevice()ā, by expanding the switch statement?
If I can be so bold, I would like to propose augmenting the code in āregisterDevice()ā with the following ācaseā to also support āWMS Actuator UPā devices. Please let me know if I can help in any way.
Yes, the type 21 is currently not handled, as I donāt have devices to test. Feel free to open a PR - I really have to focus on getting that add-on back on track and have automated builds/releasesā¦
I want to thank you all for your remarks and contributions in this thread, and especially kudos to Giuseppe!
With my setup (Raspberry Pi, HomeAssisant via Docker, WMS stick, Warema awnings + LED stripes) I finally got everything to work and had to use all of your suggetions in this thread The USB extension and the force_devices option did the trick.
I might have found a solution for the unavilability of the devices in home assistant: It seems that the will message published on the warme/bridge/ topic somehow interfered with the availability of the devices themselves. When I added an explicit message to report the bridge as āonlineā on connect, all devices were fully available in HomeAssistant.
Also, I have Warema LED stripes installed that I can steer the same way as the cover itself with the remote. Since I always found that a bit clumsy, I did some more modifications to the bridge.js code, some of wich you might also call a hack:
Added the possibility to register force_devices of a different type (via optional syntax passed via docker, snr:type. If no type is given, 25 stays default)
Added a āfakeā type ā1000ā for LED stripes that register in HomeAssistant as light and can be managed as such
Updated to latest version of warema-venetian-blinds, which gets rid of some unwanted confirmation messages in the logs and updates the other dependencies
I have not done much programming since my education, and I am a Git and .js noob, but I will try do create a pull request so Giuseppe can review my changes and add them to the āofficialā version if he likes to.
Glad to see that this is gaining traction. I have recently switched jobs, so my time for personal projects is quite limited, but Iāll try to go through the open PRs as soon as I can.
After reading all the posts on this integration, I came to the conclusion that a Warema USB stick is needed. I have a Warema controller āWebControl Proā, is it possible to integrate it with Home Assistant? Thanks.
Hi @cassisn ,
Since i were not able to find any documentation about a official (open) API to WebControl Pro (I had the same problem) I guess it would not be easily possible to integrate this. But the integration works very well with the stick.
Hi @florianmulatz
I have a warema slat roof lamaxa L60, and three motorized screens. Can the integration act on the slat roof and screens?
Does the USB stick have a good range? Does it have the same range as WebControl Pro? My HA installation is a VM in proxmox, will I have difficulty installing the USB stick?
Thank you very much for the clarifications.
for me the Topic Home Assistant/ Home Automation startet a few Days ago
Is it Possible to get a Step by Step Instruction for the integration of Warema WMS?
Or maby Some One how hooks me up on Discord? (Maby in German, my English is ok butā¦ )
Hard to tell. Itās working in the 2.4GHz frequency range, but the antenna in the stick limits the range. My apartment spans around 120sqm, with a few concrete walls in the middle, and by placing it in the center of the flat I get to talk to all the shades. I am considering adding an external antenna tho, as I see quite some query timeouts in the logs.
Oh, and donāt forget to keep it distant from USB3 ports
Does it have the same range as WebControl Pro?
Havenāt had the chance to compare. I assume they use similar hardware (or at least thatās with WebControl - have only seen one from my neighbours, and it looks like a rpi in a custom case)
My HA installation is a VM in proxmox, will I have difficulty installing the USB stick?
No, as long as you pass-through the USB port to the VM, it will work. Itās detected as a normal usb->serial adapter. Again, if you have any USB3 port around, use a USB extension cord!