Giter VIP home page Giter VIP logo

Comments (11)

Mosibi avatar Mosibi commented on July 17, 2024

Hi Alexander,

We have to set the “3-state switch” in the middle position, on ours that’s ‘1’.

from whr_930.

avaneerd avatar avaneerd commented on July 17, 2024

Hi Richard,

I have mainly been testing with the ventilation set to 1, my switch goes from 1 to 3 so the middle position would be 2 for mine. I will do some more testing with this.

Further on this, do you get a response back when send the commands to set the fan speed? I get no response at all, it seems only the queries get handled and the commands are ignored.

from whr_930.

Mosibi avatar Mosibi commented on July 17, 2024

If have just commited a new version of whr930.py where i changed the set_ventilation_level function to check the returning data for an ACK.

Btw this is our 3-way switch.

img_1482

from whr_930.

avaneerd avatar avaneerd commented on July 17, 2024

Thanks but unfortunately it returns no ACK for me. I tried various things (2 full days) but no result.
Maybe my unit is to old (9-10 years)...

I'm happy enough I can read out the sensor information now, this I can use to switch it with hardware mention here: https://gathering.tweakers.net/forum/list_messages/1645798

from whr_930.

Mosibi avatar Mosibi commented on July 17, 2024

Ok, too bad it's not working for you.

There are more 'set' commands you can try, when you read the PDF i mentioned in my blog. Maybe one of those do work, then you at least know that setting a value is possible.

from whr_930.

avaneerd avatar avaneerd commented on July 17, 2024

Yea I tried a few commands, I thought it had to do with some settings. I tried to use 'RS232 Modus setzen' from the protocol but this also gives me no response.

I also checked if there was a setting in the menu of the unit that could change this, but unfortunately no :(

from whr_930.

avaneerd avatar avaneerd commented on July 17, 2024

Hello Richard,

I wanted to let you know I have booked succes in another way! From the protocol I found that I can use 'Ventilationsstufe setzen' to set the fan speed of the absent level (which is 1 on my switch).

This is the code I used for it

def set_ventilation_speed(vent_in, vent_out):
    speed_in_a = int(vent_in)
	speed_out_a = int(vent_out)
	speed_in_1 = 15
	speed_out_1 = 15
	speed_in_2 = 45
	speed_out_2 = 45
	speed_in_3 = 75
	speed_out_3 = 75
	checksum = 207 + 10 + speed_in_a + speed_out_a + speed_in_1 + speed_out_1 + speed_in_2 + speed_out_2 + speed_in_3 + speed_out_3 + 1 + 1 + 173
	checksum = checksum & 255
    command = "\x07\xF0\x00\xCf\x0a{0}{1}{2}{3}{4}{5}{6}{7}\x01\x01{8}\x07\x0F".format(chr(speed_out_a), chr(speed_out_1), chr(speed_out_2), chr(speed_in_a), chr(speed_in_1), chr(speed_in_2), chr(speed_out_3), chr(speed_in_3), chr(checksum))
	data = serial_command(command)

    if data:
		info_msg('Changed the ventilation to {0}% in and {1}% out'.format(vent_in, vent_out))
    else:
        warning_msg('Changing the ventilation went wrong, did not receive an ACK after the set command'.format(nr))

from whr_930.

Mosibi avatar Mosibi commented on July 17, 2024

Hi,

Cool! Still strange that the other command fails with your WHR930.

from whr_930.

jeroenst avatar jeroenst commented on July 17, 2024

When we write the fanspeed levels are these stored in the eeprom/flash of the whr930?

Because that could cause wear-out and causing the WHR930 not to function anymore...

I also would like to know if writing current ventilation level 0x00 0x99 wil write to the eeprom/flash and also cause wear-out.

from whr_930.

Mosibi avatar Mosibi commented on July 17, 2024

Hi @jeroenst,

You are replying to a closed issue, please next time open a new issue.

When we write the fanspeed levels are these stored in the eeprom/flash of the whr930?

I assume you are talking about the "set_default_fan_speed_levels" function (https://github.com/Mosibi/whr_930/blob/master/src/whr930.py#L362). These values are so called "write commando's" which indeed will be stored in the WHR 930. I think you assumption is right that you should not do this very often

Because that could cause wear-out and causing the WHR930 not to function anymore...

True. Changing the default fan speed values is not something that you normally would do very often. So in a normal situation where a "write command" is executed once in a while, this will not lead to such an issue.

I also would like to know if writing current ventilation level 0x00 0x99 wil write to the eeprom/flash and also cause wear-out.

Nope, it is just an instruction that is sent to the WHR930 which is not stored.

from whr_930.

jeroenst avatar jeroenst commented on July 17, 2024

Thank you very much!

from whr_930.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.