Skip to content
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

ventilation_extract_only for more than 1 h #16

Closed
zumek66 opened this issue Mar 23, 2022 · 4 comments
Closed

ventilation_extract_only for more than 1 h #16

zumek66 opened this issue Mar 23, 2022 · 4 comments

Comments

@zumek66
Copy link

zumek66 commented Mar 23, 2022

Hi
I need to have ventilation_extract_only for 12 hours instead of 1 hour active. I am not a programmer but after some research it seems like this part of code needs to be modified in commands.h:

#define CMD_ventilation_extract_only { 0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00 }

new value:
#define CMD_ventilation_extract_only { 0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xa8, 0x00, 0x00, 0x00 }

Is it correct? New value is correct?

Thank You

@zumek66
Copy link
Author

zumek66 commented Mar 24, 2023

I've prepared values for 3,6,12 h. Maybe this will be useful for someone.

0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00 - 1h
0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x30, 0x2A, 0x00, 0x00, 0x00 - 3h
0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x60, 0x54, 0x00, 0x00, 0x00 - 6h
0x84, 0x15, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xA8, 0x00, 0x00, 0x00 - 12h

I've tested 3h value change. Working as expected.

@zumek66 zumek66 closed this as completed Mar 24, 2023
@vekexasia
Copy link
Owner

vekexasia commented Mar 24, 2023

Maybe we can add a way to send custom hex commands?

@vekexasia
Copy link
Owner

#46 will allow custom hex sending.

@vekexasia
Copy link
Owner

vekexasia commented Apr 28, 2023

leaving here for reference:

service: esphome.comfoair_send_hex
data:
  hexSequence: "8415070100000000100e000000"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants