maheus / fumis_integration

Homeassistant Fumis Integration
10 stars 3 forks source link

Modify the power #7

Closed Bibouche closed 1 year ago

Bibouche commented 1 year ago

Hey

Thanks for the code. Is there a possibility to modify the power from 1 to 5? Because on my stove only the power modifies the temperature

maheus commented 1 year ago

Hi @Bibouche , i'm sorry but i don't understand your issue . Do you can give me some more details please ?

Bibouche commented 1 year ago

On the PelletControl application or on home assistant with fumis, when I change the temperature, the stove does not react. The stove reacts only to powers 1 - 2 - 3 - 4 and 5. The more the power increases, the more the stove heats up. I would like to know if there is the possibility to change the power

maheus commented 1 year ago

ok, il see. my stove have a "auto power" and it changes automatically . Maybe your stove have not this functionality. i'm not sure that a climate entity can doing this. do you can execute curl command and view the differences after you change the power

maheus commented 1 year ago

curl -H 'username:0016D00+++++' -H 'password:++++' https://api.fumis.si/v1/status/

Bibouche commented 1 year ago

For information my stove is the Clou Pellet Compact. I ran the command and here are the two results. I specify that I changed the power via the PelletControl application because I cannot on Home assistant On the first image the stove is in power 3 and on the second in power 1

maheus commented 1 year ago

Hi @Bibouche , i'm sorry but i must have delete your pictures because your ID was in.

Bibouche commented 1 year ago

Ah darn . Were you able to look at the images before deleting?

maheus commented 1 year ago

yes , test in progress

maheus commented 1 year ago

changes is ok, i commit tomorrow

maheus commented 1 year ago

acutal power -> image set new power via service -> image new power -> image

maheus commented 1 year ago

commit in branch refactor, please @Bibouche do you can test it .

Bibouche commented 1 year ago

Thank you for the test . I can't call the service because I don't have the function : set_power_stove

maheus commented 1 year ago

you have get new code from refactor branch and restart homeassistant ?

Bibouche commented 1 year ago

Oh no, I didn't see. I remove the old integration and reinstall the new one with the new code and I test

Bibouche commented 1 year ago

Everything works ! It's perfect. I can now change the power. Thank you very much for your time and help. Now I will look to create a button to change the levels

maheus commented 1 year ago

yes it is easy , for example create an entry number and an automation who is triggering by a changement on the new entry number. the automation action will call the service set_power_stove with the trigger.to_state.state who contains the new value