-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update Register 101, 102, 200 and added COP #54
Conversation
Added COP -efficiency of heat pump -tells how much energy is produced from 1kWh of energy consumed -eg 3.69 means 3.69 more kWh energy in heat was produced consumed 1kWh of power energy -bigger is better moved register 101 to text sensor with status from hp -status 5 was missing in service manual but is assumed as dhw heat register 200 is moved to text sensor and decoded with apliance type etc with easly add new values if needed -for only alreadey filled i have data
Added COP -efficiency of heat pump -tells how much energy is produced from 1kWh of energy consumed -eg 3.69 means 3.69 more kWh energy in heat was produced consumed 1kWh of power energy -bigger is better moved register 101 to text sensor with status from hp -status 5 was missing in service manual but is assumed as dhw heat register 200 is moved to text sensor and decoded with apliance type etc with easly add new values if needed -for only alreadey filled i have data
heatpump.yaml
Outdated
output += to_string(rawdata); | ||
if (rawdata == 0) output = "OFF"; | ||
else if (rawdata == 2) output = "Cooling"; | ||
else if (rawdata == 3) output = "CO Heating"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"CO Heating" -> "Heating"
hii see this in history of reg 101 in homeassistant -this value of 5 doesn’t exist in service manual but in york it exists please check in history this 101 PozdrawiamRyszard GwizdakMARM.pl Sp. z o.o.Wiadomość napisana przez Richard Arends ***@***.***> w dniu 20.10.2024, o godz. 17:41:
@Mosibi commented on this pull request.
In heatpump.yaml:
+ modbus_controller_id: "${devicename}"
+ name: "Operating Mode"
+ id: "${devicename}_operating_mode"
+ icon: mdi:state-machine
+ register_type: holding
+ address: 0x65
+ response_size: 2
+ lambda: |-
+ int idx = item->offset;
+ uint16_t rawdata = (uint16_t(data[idx]) << 8) + uint16_t(data[idx + 1]);
+ std::string output = "Unknown: ";
+ output += to_string(rawdata);
+ if (rawdata == 0) output = "OFF";
+ else if (rawdata == 2) output = "Cooling";
+ else if (rawdata == 3) output = "CO Heating";
+ else if (rawdata == 5) output = "DHW Heating";
I do not see this one, when DHW is heating, the output is still 3. Where/when did you see the output 5?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Register 101 is the sensor for register 1, where the operational mode is selected. I am very surprised that York shows that is doing a DHW thing, but if it does, then let’s enjoy it and keep it in ! |
OK. |
Thanks again! |
Added COP -efficiency of heat pump -tells how much energy is produced from 1kWh of energy consumed -eg 3.69 means 3.69 more kWh energy in heat was produced consumed 1kWh of power energy -bigger is better
moved register 101 to text sensor with status from hp -status 5 was missing in service manual but is assumed as dhw heat
register 200 is moved to text sensor and decoded with apliance type etc with easly add new values if needed -for only alreadey filled i have data
I decided to send these 4 together -there isn't too much change.
about 271 we can discus tomorrow ;) -i propose to add check to not out of range array ;)