Comments (11)
Hi Alexander,
We have to set the “3-state switch” in the middle position, on ours that’s ‘1’.
from whr_930.
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.
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.
from whr_930.
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.
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.
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.
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.
Hi,
Cool! Still strange that the other command fails with your WHR930.
from whr_930.
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.
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.
Thank you very much!
from whr_930.
Related Issues (20)
- UnboundLocalError: local variable 'EnthalpyPresent' referenced before assignment HOT 1
- WHR 930 Basic model doesn't support all commands HOT 2
- Q: is there a way to install this module on Hasio? (the os) HOT 4
- Error in HA wtw: !include includes/wtw.yaml HOT 2
- Speed 100% HOT 3
- Question HOT 1
- Home Assistant has changed MQTT Fans HOT 2
- If message is empty and debug > 1 out of index is thrown HOT 3
- few questions HOT 2
- question about custom:wtw-card
- Problem installing on RPi4 HA HOT 3
- Lovelace error: Custom element doesn't exist: wtw-card. HOT 9
- MQTT entity naming HOT 4
- Error in calculation of fan speed HOT 1
- Filter Status HOT 4
- Unable to set sensor.wtw_comfort_temperature HOT 1
- Warning get_fan_status HOT 1
- get_status type wrong HOT 1
- get_operating_hours could not get serial data HOT 9
- ValueError: invalid literal for int() with base 10: 'a0' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whr_930.