comfoconnect icon indicating copy to clipboard operation
comfoconnect copied to clipboard

Set Bypass and Bypass time

Open RobZe89 opened this issue 5 years ago • 5 comments

Hello

I would like to set Bypass on / off and the time for this to be effected.

Thank you for your help.

RobZe89 avatar Oct 09 '20 09:10 RobZe89

image

0x0E10 = 3600 sec = 1 hour You need to test for yourself which timer values work, and which do not. I think that the time field is 4 bytes long, LSB encoded.

This is a RMI command, the "reference" is located at https://github.com/michaelarnauts/comfoconnect/blob/master/PROTOCOL-RMI.md

decontamin4t0R avatar Oct 09 '20 16:10 decontamin4t0R

It looks like if you issue the following commands you can permanently active/deactive the bypass:

8415 0201 00000000 ffffffff 01 Activate bypass
8415 0201 00000000 ffffffff 02 Deactivate bypass

Any experience with this? Suggestions?

jonesPD avatar Jun 02 '21 20:06 jonesPD

How can i send these command from home assistant to open and close the bypass? (its possible to change ventilatie "speed" with the home assistant addon that usage this library) so the command structure should be very similar. Can somebody then me how to add these 2 command to home assistent. My goal is to automate the bypass based on the room temperature sensor.

frank8the9tank avatar Jun 04 '21 13:06 frank8the9tank

You can send these commands using the comfoconnect.cmd_rmi_request command part of the library. I don't use home assistent so can't help you on that front.

jonesPD avatar Jun 04 '21 14:06 jonesPD

Reading trough the example.py and the const.py i have seen that the command is there. So am i correct that sending: "comfoconnect.cmd_rmi_request (CMD_BYPASS_ON)" without the"" is the correct command? The same for closing the bypass? "comfoconnect.cmd_rmi_request (CMD_BYPASS_OFF)"

I have home assistant running and like to use these command there on the command line. What are the complete/full command line commands for the 2 above command then?

frank8the9tank avatar Jun 17 '21 07:06 frank8the9tank

As @jonesPD suggested, you can use ffffffff (-1 in signed int, little endian) to specify an unlimited timeout.

I've implemented this as a method in the aicomfoconnect rewrite

See https://github.com/michaelarnauts/aiocomfoconnect/blob/master/aiocomfoconnect/comfoconnect.py#L180

michaelarnauts avatar Dec 02 '22 13:12 michaelarnauts