Apollon77 / daikin-controller

Control Daikin Air Conditioner devices using nodejs
MIT License
119 stars 29 forks source link

missing HTTP commands for Daikin Stylish available #230

Open OHacks opened 1 year ago

OHacks commented 1 year ago

Hello Ingo,

I found out how it is possible to set some unsupported options for the Daikin Stylish FTXA by HTTP get:

When you would implement these functions in the daikin-controller, then I would create a documentation about these functions and publish it here.

Apollon77 commented 1 year ago

Post it here. It might needs some time till I come to it.

The library already can set streamer and such so maybe check this out (see setACSpecialMode)

OHacks commented 1 year ago

last chang on march 3nd, 08:03

Turn streamer on: aircon/set_special_mode

GET /aircon/set_special_mode?lpw=&en_streamer=1 HTTP/1.1

demand control: /aircon/set_demand_control

the following options all have to be set when sending set_demand_control:

en_demand=0 => disable demand control en_demand=1 => enable demand control

mode=0 => manual mode=1 => timer mode=2 => auto

type=1 => nothing else works

max_pow=70 => Power limited to 70% (allowed: 40-100 step 5 for Daikin Stylish FTXA)

moc tuc wec thc frc sac suc = Monday Tuesday Wednesday Thrursday Friday Saturday Sunday number of defined timers

mo1_t=600 => 10:00 Uhr Timer monday 1 mo2_t=615 => 10:15 Uhr Timer monday 2 mo3_t=1439 => 23:59 Uhr Timer monday 3 mo1_p=70 => Power = 70% Timer monday 1 mo1_en=1 => enabled Timer monday 1

some examples: GET /aircon/set_demand_control?lpw=&suc=0&moc=1&tuc=0&max_pow=70&type=1&mo1_en=1&thc=0&mode=1&mo1_p=40&wec=0&sac=0&en_demand=1&frc=0&mo1_t=600 HTTP/1.1

GET /aircon/set_demand_control?lpw=&mode=0&suc=0&moc=0&tuc=0&wec=0&sac=0&en_demand=1&frc=0&max_pow=70&type=1&thc=0 HTTP/1.1

GET /aircon/set_demand_control?lpw=&mode=0&suc=0&moc=0&tuc=0&wec=0&sac=0&en_demand=1&frc=0&max_pow=40&type=1&thc=0 HTTP/1.1

GET /aircon/set_demand_control?lpw=&mode=1&suc=0&moc=0&tuc=0&wec=0&sac=0&en_demand=1&frc=0&max_pow=85&type=1&thc=0 HTTP/1.1

GET /aircon/set_demand_control?lpw=&suc=0&moc=3&mo3_en=1&tuc=0&max_pow=100&type=1&mo2_en=1&mo1_en=1&thc=0&mode=1&mo3_p=70&mo2_p=0&mo1_p=40&wec=0&sac=0&mo3_t=1439&en_demand=0&mo2_t=615&frc=0&mo1_t=600 HTTP/1.1

GET /aircon/set_demand_control?lpw=&suc=0&moc=3&mo3_en=1&tuc=0&max_pow=70&type=1&mo2_en=1&mo1_en=1&thc=0&mode=1&mo3_p=70&mo2_p=0&mo1_p=40&wec=0&sac=0&mo3_t=1439&en_demand=1&mo2_t=615&frc=0&mo1_t=600 HTTP/1.1

delete all demand control schedules:

GET /aircon/set_demand_control?lpw=&mode=1&suc=0&moc=0&tuc=0&wec=0&sac=0&en_demand=1&frc=0&max_pow=70&type=1&thc=0 HTTP/1.1

aircon/get_demand_control

ret=OK,type=1,en_demand=1,mode=1,max_pow=100,scdl_per_day=4,moc=1,mo1_en=1,mo1_t=600,mo1_p=40,tuc=0,wec=0,thc=0,frc=0,sac=0,suc=0

ret=OK,type=1,en_demand=1,mode=1,max_pow=100,scdl_per_day=4,moc=3,mo1_en=0,mo1_t=600,mo1_p=40,mo2_en=0,mo2_t=615,mo2_p=0,mo3_en=0,mo3_t=1439,mo3_p=70,tuc=0,wec=0,thc=0,frc=0,sac=0,suc=0

set time?

GET /common/notify_date_time?lpw=&date=2023%2F03%2F01&zone=GMT&time=15%3A48%3A03 HTTP/1.1

enable/disable holiday mode: /common/set_holiday

GET /common/set_holiday?lpw=&en_hol=1 HTTP/1.1 GET /common/set_holiday?lpw=&en_hol=0 HTTP/1.1

read holiday mode status (en_hol): GET /common/basic_info ret=OK,type=aircon,reg=eu,dst=1,ver=1_14_78,rev=XXXXXXXX,pow=0,err=0,location=0,name=xyz,icon=19,method=polling,port=30050,id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,pw=,lpw_flag=0,adp_kind=3,pv=3.30,cpv=3,cpv_minor=20,led=1,en_setzone=1,mac=XXXXXXXXXXXX,adp_mode=run,en_hol=0,ssid1=SSIDOFWLAN,radio1=-43,ssid=DaikinAP00001,grp_name=,en_grp=0

schedule for air condition modus - I am not sure if this already is implemented - :

GET /aircon/set_scdltimer_info?lpw=&scdl1_name=&active_no=1&en_scdltimer=1&scdl2_name=&scdl3_name= HTTP/1.1

time info for set_scdltimer_body: 11422.004937------ 1 - 1=enabled, 0=disabled 1 - 2nd timer block (0 = 1st) ??? 4 = Modus cool/heat/fan/dry/auto 22.0 = Temp 0493 = Time in minutes 8:13 7 = f_rate ------ ??? Sometimes there is a 0 as last character, unclear what that means.

GET /aircon/set_scdltimer_body?lpw=&suc=2&moc=3&we1=11421.50480B-----0&sa1=101----1020------0&tuc=2&fr1=101----1020------0&we2=101----1020------0&sa2=11421.50600B-----0&fr2=11421.50600B-----0&format=v1&su1=11421.50600B-----0&mo1=11225.00725A----10&thc=2&target=1&mo3=11421.50480B-----0&tu2=11421.50480B-----0&su2=101----1020------0&mo2=101----1020------0&tu1=101----1020------0&wec=2&sac=2&frc=2&th1=101----1020------0&th2=11421.50480B-----0 HTTP/1.1

GET /aircon/set_scdltimer_body?lpw=&suc=2&moc=3&we1=11421.50480B-----0&sa1=101----1020------0&tuc=2&fr1=101----1020------0&we2=101----1020------0&sa2=11421.50600B-----0&fr2=11421.50600B-----0&format=v1&su1=11421.50600B-----0&mo1=11225.00725A----10&thc=2&target=1&mo3=11421.50480B-----0&tu2=11421.50480B-----0&su2=101----1020------0&mo2=101----1020------0&tu1=101----1020------0&wec=2&sac=2&frc=2&th1=101----1020------0&th2=11421.50480B-----0 HTTP/1.1

GET /aircon/set_scdltimer_info?lpw=&scdl1_name=&active_no=1&en_scdltimer=1&scdl2_name=&scdl3_name= HTTP/1.1

GET /aircon/set_scdltimer_body?lpw=&suc=2&moc=2&we1=11421.50480B-----0&sa1=101----1020------0&tuc=2&fr1=101----1020------0&we2=101----1020------0&sa2=11421.50600B-----0&fr2=11421.50600B-----0&format=v1&su1=11421.50600B-----0&mo1=101----1020------0&thc=2&target=1&tu2=11421.50480B-----0&su2=101----1020------0&mo2=11421.50480B-----0&tu1=101----1020------0&wec=2&sac=2&frc=2&th1=101----1020------0&th2=11421.50480B-----0 HTTP/1.1

GET /aircon/set_scdltimer_body?lpw=&suc=2&moc=2&we1=11421.50480B-----0&sa1=101----1020------0&tuc=2&fr1=101----1020------0&we2=101----1020------0&sa2=11421.50600B-----0&fr2=11421.50600B-----0&format=v1&su1=11421.50600B-----0&mo1=101----1020------0&thc=2&target=1&tu2=11421.50480B-----0&su2=101----1020------0&mo2=11421.50480B-----0&tu1=101----1020------0&wec=2&sac=2&frc=2&th1=101----1020------0&th2=11421.50480B-----0 HTTP/1.1

ask schedules:

GET /aircon/get_scdltimer_body?lpw=&target=1 HTTP/1.1 ret=OK,format=v1,target=1,en_scdltimer=1,moc=3,mo1=112----0725A----10,mo2=10-----1020-------,mo3=11421.50480B------,tuc=2,tu1=10-----1020-------,tu2=11421.50480B------,wec=2,we1=11421.50480B------,we2=10-----1020-------,thc=2,th1=10-----1020-------,th2=11421.50480B------,frc=2,fr1=10-----1020-------,fr2=11421.50600B------,sac=2,sa1=10-----1020-------,sa2=11421.50600B------,suc=2,su1=11421.50600B------,su2=10-----1020-------

GET /aircon/get_scdltimer_info?lpw= HTTP/1.1 (updated:corrected answer) "ret=OK,format=v1,f_detail=total#18;_en#1;_pow#1;_mode#1;_temp#4;_time#4;_vol#1;_dir#1;_humi#3;_spmd#2,scdl_num=3,scdl_per_day=6,en_scdltimer=1,active_no=1,scdl1_name=,scdl2_name=,scdl3_name="

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 1 year ago

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.