-
Notifications
You must be signed in to change notification settings - Fork 26
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
Demand control #127
Comments
I think there are two issues here:
|
I've also noticed that Demand Control entity id is: number.panasonic_heat_pump_main_none |
It's a hack I've used in previous version because there is no mqtt topic to read the data. Recent version of the integration have a more meaningful name but HA does not change entity_id once it has been created. New users of the integration will have a better naming. |
When I publish topic "panasonic_heat_pump/commands/SetDemandControl", it is working... |
My guess is that we send incorrect value to the topic, which are ignored by heishamon. The current implementation I've added is https://github.com/kamaradclimber/heishamon-homeassistant/blob/main/custom_components/aquarea/definitions.py#L257 |
We cannot set native value in entity constructor because the entity has not been added to its platform yet. It leads to: > Entity number.panasonic_heat_pump_main_fakedemandcontrol (<class 'custom_components.aquarea.number.HeishaMonMQTTNumber'>) does not have a platform, this may be caused by adding it manually instead of with an EntityComponent helper, please report it to the custom integration author Solution is to set the value in the entity added to hass callback This is a partial fix for #127
This reverts commit f45e926. Reference: #127 (comment)
As I can see, commands sends correctly and working, but that demand control slider does not stay on position that is set. |
@Safs yes, it's because heishamon don't report back of demand control. it's only one way communication.. so you send to heishamon, and don't get any feadback. it's hard to implement it in home assistant. Also, heishamon saves demand control set-point only once in 5min. so if in that period heishamon will be rebooted, it will not be saved in flash rom. After reboot heishamon pickups last saved demand control value, and use it for heatpump.. so it's not possible to determinate which value heishamon is using. |
I understand. It would be nice to just keep the slider at the last set position HA. |
#130 should do it |
https://github.com/kamaradclimber/heishamon-homeassistant/releases/tag/1.2.5 should fix everything described |
also could anyone of you confirm that demand control is working better than setting pump in desired silent mode? |
Hard to say, I did not compare demand control with silent modes, because for me demand control working well. I define four modes in my automations, 25, 50, 75, and 100% power. Automations is configured to send commands depend on prices of electricity. In my opinion, demand control working well. |
And did you try to set values for 20, 40, 60% does they match same 25, 50, 75 modes? :) i think demand control is not so sensitive.. and i almost 80% shure that values ar tied to silent mode setting.. silent 1 (around 75%) silent 2 (around 50%) silent 3 (around 25%) , ant that value gives feedback.. so os there any reason to use direct demand control? I have external PCB with 0-10V control.. i tried to test different values, and unable to get that precision. |
Yes, you are right, demad control can set not lower than 30% of power. Seems use silent mode is more useful than demand control. |
I was try to play around demand control. No all so bad. |
Yes, starting from 25%. If I set for example 45%, power is remine same, (from current) 45%. |
Ok so 10/15/25% are truly not used? Maybe do you have some graphs by increasing demand control? Smi have tested with mine too, but didn't notice'd 5% precision, maybe my tests was too short. I only noticed 3 or 5 different behavior, but as result i watched only frequency of compressor. Yes current would be better choice for that :) also powerful mode! As i tested only on heating DWH. Also what's are drawbacks of using demand control, if i leave 25% for demand control and heat DWH to 52° it's impossible to reach that value.. so pump will try to heat till reaches its timeout. Also from (if i remember right) from around 40° (dwh) cop drastically falls to 0.2 :D which could bring a lot of troubles for someone.. i think there should also be implemented some control logic fir that too |
Can anybody do this? |
#142 should do it but I don’t have time to test it at the moment. |
Demand control still not working. Now I can move slider, but nothing to happening. Slider always return to 100% after some time and is not possible to set back to 100%, because it is already on 100%...
I tred to get some logs:
The text was updated successfully, but these errors were encountered: