ael-code / daikin-control

Unofficial api documentation and web interface to control "Daikin Emura" air conditioner
GNU General Public License v2.0
292 stars 97 forks source link

REST request and parameters #26

Open sdalu opened 4 years ago

sdalu commented 4 years ago

Looking at the 3.3.6 wirless binary, the following requests/parameters seems to exist:

DAIKIN_UDP/debug/24h_info DAIKIN_UDP/common/basic_info DAIKIN_UDP/debug/timeinfo DAIKIN_UDP/debug/s_debug_on DAIKIN_UDP/debug/s_debug_off DAIKIN_UDP/debug/myconsole DAIKIN_UDP/debug/loglevel=e DAIKIN_UDP/debug/loglevel=i DAIKIN_UDP/debug/loglevel=v DAIKIN_UDP/debug/demandON DAIKIN_UDP/debug/demandOFF

aircon/error_notice aircon/get_price aircon/set_price aircon/set_special_mode aircon/get_demand_control aircon/set_demand_control aircon/get_program aircon/set_program aircon/get_model_info aircon/get_control_info aircon/set_control_info aircon/get_scdltimer_info aircon/set_scdltimer_info aircon/get_sensor_info aircon/get_demand_studyinfo aircon/set_demand_studyinfo aircon/get_timer aircon/set_timer aircon/get_scdltimer aircon/set_scdltimer aircon/get_week_power aircon/get_year_power aircon/clr_nw_err aircon/get_nw_err aircon/get_target aircon/set_target aircon/get_month_power_ex aircon/get_week_power_ex aircon/get_year_power_ex aircon/get_day_power_ex aircon/get_scdltimer_body aircon/set_scdltimer_body aircon/get_monitordata aircon/get_info aircon/set_info common/get_date common/set_led common/get_remote_method common/set_remote_method common/get_product_code common/set_product_code common/get_regioncode common/set_regioncode common/set_name common/notify_date_time common/get_datetime common/set_timezone common/get_wifi_setting common/set_wifi_setting common/get_network_setting common/set_network_setting common/get_wlanapch common/get_progsum common/start_wifi_scan common/set_icon common/set_location common/permit_wifi_connection common/start_wifi_connection common/get_sn common/set_sn common/basic_info common/clr_smiinfo common/get_smiinfo common/get_fwinfo common/get_group common/set_group common/look_adapter common/stop_look_adapter common/get_wifi_scan_result common/set_account common/reboot common/set_lpw common/get_holiday common/set_holiday common/get_notify common/set_notify common/get_servername common/set_servername debug/serial_pctool dkac/system/fwupdate

&apw= &port= &type= &reg= &ver= &method= &notice_ip_int= &notice_sync_int= &ope_flg= &adp_kind= &time_info= &notify= &location= &icon= &led= &en_hol=%d &price= &target= &group= &sensor_info= &pushinfo= &model= &status= &tinfo= &pinfo= &scdl_timer_info= &scdl_timer_body1= &scdl_timer_body2= &scdl_timer_body3= &week_power= &year_power= &day_power_ex= &week_power_ex= &month_power_ex= &year_power_ex= &demand= &mondata= &swid= &eepid= &err_info= &apw= &port= &type= &subtype=qa &reg= &ver= &method= &notice_ip_int= &notice_sync_int= &ope_flg= &adp_kind= &time_info= &notify= &location= &icon= &led= &en_hol=%d &price= &target= &group= &sensor_info= &model= &status= &scdl_timer_info= &scdl_timer_body1= &scdl_timer_body2= &scdl_timer_body3=

fredrike commented 4 years ago

:+1:

Looks pretty similar to: https://github.com/ael-code/daikin-control/wiki/Identified-endpoints

Feel free to update the wiki.

sdalu commented 4 years ago

oops, didn't see it. How do you edit the wiki? I don't see an 'edit' button.

Snigit commented 4 years ago

I had to update time of my aircon unit (no network access so I guess it can not update its time). I use "notify_date_time" : /common/notify_date_time?lpw=&date=2020/02/01&zone=GMT&time=22:24:00

Can you add it to your code/wiki ?