mnordseth / enet-homeassistant

Enet Smart Home integration for Home Assistant
Apache License 2.0
26 stars 7 forks source link

Electric shutters and newer eNET essays Series 5492xx or 5493xx #10

Closed rphamel closed 2 weeks ago

rphamel commented 1 year ago

Hello Magnus,

first of all I would like to thank you for the great work you have put into this integration. I was looking for something usable for the integration of an eNET environment in HA for a long time. I have quite a large eNET environment with a lot of actuators and radio attachments and I encountered some peculiarities when implementing your integration. All lamps stored on the eNET server were recognized without errors as devices with their entities. Even those that have a dimmer function.

In addition, I have a number of outdoor electric shutters that were also recognized. Here I discovered the first anomaly. These were also detected as lamps with "dimming function". In fact, however, the switch works and lets the shutters move to the 100% or 0% position. When using the slider for the dimmer, they also move to intermediate positions. Here a declaration as "shutter" or "roller shutter" would be nice, because the entity would not talk about "brightness" then. However, another conspicuous feature would be of greater importance: GIRA has changed from the 2000 system to the 3000 system over the years. Here also the correct eNET essays for roller shutter controls or dimmers must be bought, since GIRA ensures by attached "plastic clips" that only these can be used. Here exactly I now have the problem that just these essays were not recognized by the integration. All previous essays (old series 5491 xx) worked as described above. The new ones (series 5492 xx and 5493 xx) are all not recognized.

Can this be easily fixed? Interestingly, the mini roller shutter actuators (eNET) have been recognized without any problems (even as dimmed lights).

If I can provide any further input please feel free to contact me, I will be happy to do so. Also I am available for any further tests of integration with my environment.

Many greetings and thanks again for the great work so far! Rolf

mnordseth commented 1 year ago

Hi Rolf,

I have not implemented covers as they are called in home assistant, but chose to have the blinds show up as a light, so that it at least can be controlled from within Home Assistant. You can also change the icon, etc in HA to make it look like a blind.

I will look into having them show up properly when time permits.

For the devices that don't show up, I will need some data to figure out. Can you send me the debug info from the integration? You can go to any enet device and click "Download diagnostics". If you send that to me by email, I will take a look.

rphamel commented 1 year ago

Hello Magnus,

I am not shure if my last mail has reached you? I got an error during the send-mail process.

Just let me know if you got the requested diagnostics file.

Regards, Rolf

Am 16.01.2023 um 23:41 schrieb Rolf Hamel @.***>:

Hello Magnus,

I am very happy to send you the json file from the integration. I have only anonymized a few things for security reasons.

I have already changed the icons and can live with it for now.I also noticed in the meantime that with the multiple actuators "8-fold" the state is not updated in the HA.

I would be glad to hear from you again and am available for tests in my environment. As you can see from the config, this is quite an extensive implementation.

Greetings Rolf

Am 16.01.2023 um 21:23 schrieb Magnus Nordseth @. @.>>:

Hi Rolf,

I have not implemented covers as they are called in home assistant, but chose to have the blinds show up as a light, so that it at least can be controlled from within Home Assistant. You can also change the icon, etc in HA to make it look like a blind.

I will look into having them show up properly when time permits.

For the devices that don't show up, I will need some data to figure out. Can you send me the debug info from the integration? You can go to any enet device and click "Download diagnostics". If you send that to me by email, I will take a look.

— Reply to this email directly, view it on GitHub https://github.com/mnordseth/enet-homeassistant/issues/10#issuecomment-1384519461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR6H2HRF3VZIGU4XR2IJJ73WSWU23ANCNFSM6AAAAAAT4Z34QY. You are receiving this because you authored the thread.

mnordseth commented 1 year ago

No I didn't get it, so it would be great if you tried again.

On Sat, Jan 21, 2023, 17:08 rphamel @.***> wrote:

Hello Magnus,

I am not shure if my last mail has reached you? I got an error during the send-mail process.

Just let me know if you got the requested diagnostics file.

Regards, Rolf

Am 16.01.2023 um 23:41 schrieb Rolf Hamel @.***>:

Hello Magnus,

I am very happy to send you the json file from the integration. I have only anonymized a few things for security reasons.

I have already changed the icons and can live with it for now.I also noticed in the meantime that with the multiple actuators "8-fold" the state is not updated in the HA.

I would be glad to hear from you again and am available for tests in my environment. As you can see from the config, this is quite an extensive implementation.

Greetings Rolf

Am 16.01.2023 um 21:23 schrieb Magnus Nordseth @. @.>>:

Hi Rolf,

I have not implemented covers as they are called in home assistant, but chose to have the blinds show up as a light, so that it at least can be controlled from within Home Assistant. You can also change the icon, etc in HA to make it look like a blind.

I will look into having them show up properly when time permits.

For the devices that don't show up, I will need some data to figure out. Can you send me the debug info from the integration? You can go to any enet device and click "Download diagnostics". If you send that to me by email, I will take a look.

— Reply to this email directly, view it on GitHub < https://github.com/mnordseth/enet-homeassistant/issues/10#issuecomment-1384519461>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AR6H2HRF3VZIGU4XR2IJJ73WSWU23ANCNFSM6AAAAAAT4Z34QY . You are receiving this because you authored the thread.

— Reply to this email directly, view it on GitHub https://github.com/mnordseth/enet-homeassistant/issues/10#issuecomment-1399279918, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARX6LB6NAF7DAN5TPGEAW3WTQCWVANCNFSM6AAAAAAT4Z34QY . You are receiving this because you commented.Message ID: @.***>

iMarcusR commented 1 year ago

Hey Magnus, appreciate your great work on eNet! In case you‘re adding better support for covers/window blinds, I‘d be up for testing it, too. Mine are DVT_SJA1 (Centre plate for blinds control). As I want to use them in Homekit, my inner monk is going nuts with them being lights :) Cheers!

rphamel commented 1 year ago

Hello Magnus,

after intensive use of v0.94 I notice that the blinds cannot be addressed quite correctly. Coming from a value greater than zero setting to 0% does not lead to a raising (i.e. opening) of the blinds. Here rather a value of 1% must be selected so that something happens. I also believe that the current status of all actuators should be queried even better. All actuators must be switched on and off at least once, depending on their status, in order to perform the actual action during the third switching operation. Do you see a possibility to improve this? A few eNet devices are not yet recognized from my extensive configuration. For example, current measurement actuators such as a motion detector that would also provide values for motion and brightness in addition to the connected device (for example, a spotlight). I would be happy to hear if you plan to continue working on the integration of these devices as well. However, the current intermediate status is really great for eNet users! Thanks a lot for this great work! Greetings Rolf

mnordseth commented 1 year ago

Hi Rolf,

I am working on supporting the blinds as cover in Home Assistant, and that will hopefully address the first issue you raise.

The second issue you describe regarding state of actuators sound like a bug. Can you open a seperate issue where you describe if this affect all devices or certain types. Also what is the initial state that is reported?

In order to support more devices (Energy measurement, etc), I will be dependant on getting enough information about what data they provide to support it. I do not have access to any such device myself (actually I only have dimmers in my own installation). In addition, it will depend on my available time or someone else contributing code.

iMarcusR commented 1 year ago

Hey Magnus, I've tried the new 0.95b and the covers are integrated much nicer now from my setup. Only the % of open/close seems to be off, but that has been the case in the eNet App, too. I guess it's just passing that problem on. Thanks a lot anyway!

mnordseth commented 1 year ago

I just made a small fix on the cover position. Enet represents them as 0-100, while HA is 0-255. So it should be better now.

Do any of you have blinds with tilt control?

iMarcusR commented 1 year ago

Amazing! Works a lot better. Thank you! I have classic rolling shutters, not tilting unfortunately. There's still a little "offset", ie "30% open" translates to ~20% openess of the shutter. But I can easily life with that. I guess that offset makes sense as it counts the "dead room" into account that it needs to pull up the shutters, until it actually starts to let light in, if you know what I mean :)

webdevsmarthome commented 1 year ago

Hi Magnus, great job -writing this integration. I'm waiting for that for years and now I love your integration. I have a eNet integration with 31 devices and it is working - not perfect at the moment, but I look forward to further versions with confidence. My wish is to implement a better support of louvre (shutter) for setting correct positions and better status support from switches by manual use. If you need some for testing, let me know how I can support you. Many, many thanks for this Home Assistant Integration! :-) :-) :-)

rphamel commented 1 year ago

Hi Magnus,

I can only agree with the previous speakers, I had been hoping for a long time that someone would take on the task of creating such an integration too.

I noticed with some blinds (v0.95c) that the position at the top or bottom is not recognized. The two arrows for up or down are both black in this case.

For the blinds where the detection works, the position where the blind is at the end is grayed out. So only the arrow that moves from the respective end position to the correct opposite position can be triggered. As it should be.

Very pleasant would be a "stop motion" button where the movement of the motor could be stopped at the current position. At the moment this is only possible by clicking the "position slider".

In fact, the visualization is now much better, but due to the previously described display error, some blinds are now displayed incorrect or unrecognized positions.

So much for my observation and again a big thanks for all the effort! I am also available for further tests. Thank you very much !!

mnordseth commented 1 year ago

I have recently made some updates to how the position of blinds is represented. Can you confirm if that is working for you now?

As to the ability to stop the blind, I can see from the enet api that there is some function for it, but I unfortunately don't know what arguments to supply.

ChrisSoelder commented 1 year ago

Hi Magnus, first of all I want to thank you for your awesome work you have done with this integration. I was also looking forward to something usable to integrate my eNET environment for a long time. As you mentioned before, you are in need for additional data for the different devices in the eNet ecosystem. I've got an extensive setup in my home including dimmer (dali, 1-10v, regular), switches, blinds with tilts, light sensor, universal sender for wind sensor etc. If this can be of any help supporting your work, I'm happy to provide what I can.

mnordseth commented 1 year ago

Hi Chris, do you have devices that are not supported by the integration?