Apollon77 / ioBroker.daikin

Control Daikin Air Conditioner devices
MIT License
14 stars 10 forks source link

Add ready / wrote of "Bedarfssteuerung" #182

Open indie89 opened 6 months ago

indie89 commented 6 months ago

It would be very nice, If the adapter supported to set "Bedarfssteuerung" modes and percentage. Http requests that could be used are described in this post: https://www.akkudoktor.net/forum/postid/190147/ Thanks alot in advance!

Matze2 commented 5 months ago

Just FYI. I started to work on this topic. Visualizing and changing demand control is the only reason why I have to use the daikin-cloud adapter.

In the beginning, I would limit the implementation to changing the percentages in manual mode and maybe also auto mode (I do not use the latter). For sure, I will not implement the timer mode part.

As I am just starting to learn typescript and implement iobroker adapters, it will take a while and feedback is highly appreciated. I forked both relevant projects if someone is interested.

Apollon77 commented 5 months ago

Cool, just provide a PR when you need feedback

Matze2 commented 5 months ago

I think I will split it and send the "read" part first. This one is more obvious and already runs. Will create the first PR in the next days.

Matze2 commented 5 months ago

@indie89 Just curious because you mentioned not only the percentage, but also the mode. What use cases do you you want to cover?

  1. Mode is already preset correctly - usually to MANUAL. And you want to change the percentage (this is my case where I am interested in)
  2. You want to change mode from MANUAL to AUTO and back.
  3. You want to change mode from/to SCHEDULE. But nothing else.
  4. You want to change mode from/to SCHEDULE and change the schedules? (this one I definitely don't want to implement)
  5. You want to enable and disable demand control.

As said. For me use case 1 is enough, but I can imagine to implement the mode changing (2,3) and (de)activation also (5). But only if somebody will make use of it 😃

Matze2 commented 5 months ago

Read part submitted in both projects.

indie89 commented 5 months ago

@indie89 Just curious because you mentioned not only the percentage, but also the mode. What use cases do you you want to cover?

  1. Mode is already preset correctly - usually to MANUAL. And you want to change the percentage (this is my case where I am interested in)
  2. You want to change mode from MANUAL to AUTO and back.
  3. You want to change mode from/to SCHEDULE. But nothing else.
  4. You want to change mode from/to SCHEDULE and change the schedules? (this one I definitely don't want to implement)
  5. You want to enable and disable demand control.

As said. For me use case 1 is enough, but I can imagine to implement the mode changing (2,3) and (de)activation also (5). But only if somebody will make use of it 😃

It's use case 1. Thanks alot for your work!