-
Notifications
You must be signed in to change notification settings - Fork 101
Getting auth error with firmware 3.3.6 #24
Comments
Which adapter / unit do you have? Do you get auth error even for the "read state" commands? |
Emura unit with 'Wi-Fi Online Controller Daikin BRP069A41' controller unit. I'm getting it on /aircon/get_control_info So I guess all others are the same, too. When I try the same url's via https , it times out, so I presume even the new firmware uses just http; . I'm not sure what they're trying to achieve with authentication as I can most likely get the username/pw from the headers easily. But it's a bit of a pita to set up a sniffer in my network configuration so I was hoping someone else has looked into this and that there would be an easy solution. |
Hi, I can confirm that mine is working ok via api commands after the new firmware update (3.3.6) so it maybe related to your specific network setup (my unit is FTXM with the same controller). I don't believe the unit has anything to do with the app and/or the API as all the communication is done via the controller which we have the same. |
OK after further investigation, it seems that it works when you use the IP address in the URL, but not when you use a hostname (this used to work). I have my network set up with DNS so that I don't have to worry about IP addresses changing (my DHCP assigns the same IP address to the same MAC each time, but I find using DNS cleaner). So with this firmware update, you get the 403 when you use a hostname it doesn't know about, but using the IP address works like it always did. Thanks for checking. |
Allow me to ask for additional help on this issue. I have successfully used both GET and POSt before upgrading to 3.3.6. All GET commands are still working, but POST requests fail on some units, see details below. There are two installations at two different locations. One using 192.168.1.xxx, the other 192.168.2.xxx to access several Daikin A/C. The unist working are FTXG25 from 2014, the units not working are equally FTXG25, but from 2015, 2016 and 2017 Adapters used BRP069A41 For the following tests I have used Google REST ARC POST http://192.168.1.xxx/aircon/set_control_info with xxx = IP[3] of A/C unit On those units from 2014 everything works as before, whilst on those using 192.168.1.xxx, I consistently get: ret=PARAM NG, adv= P.S.: Power cycling the A/C and their adapters did not help. PARAM NG indicates, as far as I understand, a wrong or incomplete message, but unfortunately, I have no idea how to find the missing piece. Do you have any suggestions? Thanks READOUTS (for me both look identical, ignoring the different settings and unit specific details) From A/Cs workingbasic info: get_control_info get_model_info A/C returning PARAM NGbasic info: get_Control_info get_model_info |
Only idea would be to intercept the comands the mobile app sends to the devices and compare those |
Mine does this too since the upgrade, looks like the web server on the wifi unit no longer accepts the hostname in DNS as a valid host, and instead needs IP address. Accessing via IP address is fine. Phew. |
Do these auto-update, out of interest? |
Hello, I confirm that doesn't work anymore with firmware 3.3.6 where it's working few weeks ago. Unzip and open with Wireshark |
Ok, I see the following: all GET calls have a "lpw=" parameter added |
Sam problem for me. Local DNS was the problem. If I use IP it works again.
But it's works with or without it for me. |
I connected to the units from external network via modem port forwarding, and this mode also seems to no longer work. Now it is possible to call the units only from the internal network (or in the VPN) directly with their ip. I'm afraid Daikin can completely block the API in a future firmware update! |
Hi, |
Try sending a complete, valid HTTP 1.1 request, i.e. with a Host header etc. |
I tried this: |
I found in a forum the solution to the 403 error problem when calling via dns or any other system that is not the internal ip of the daikin controller. Original post link: |
I have the adapter BRP069B42 (which should be an updated version of the A model) running FW 1.2.51 connected to a Daikin FVXS-F AC from 2013. While testing the php web app, I got a lot of 403's and seldom correct responses. Why file_get_contents fails is still a mystery to me, since it should do exactly the same thing. Maybe it's a timing issue or some kind of header inserted by Apache. |
I recently updated to firmware 3.3.6 (had to, the real Daikin app wouldn't let me use it otherwise) and now all requests to the URL's documented here give me a 403 error. Had anyone figured out how to authenticate rest calls?
The text was updated successfully, but these errors were encountered: