Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Guest mrchief
Hi, I have an ACTRONAIR at Home with Wireless Controller. I have done extensive research to understand how the AC is controlled. It turns out that the AC wireless controller get it's instruction from a Web Service in the cloud. I have intercepted the Web Service Call and this is what get passed on to the cloud:
Please login or register to see this link.
HTTP/1.1Accept: application/json
Content-Type: application/json
Referer:
Please login or register to see this link.
Accept-Language: en-AU,en;q=0.8,ar-LB;q=0.5,ar;q=0.3
Origin:
Please login or register to see this link.
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393
Host: actron.ninja.is
Content-Length: 24
Connection: Keep-Alive
%% properties
%% events
%% globals
--]]
-- Callback at success
local function successCallback(resp)
fibaro:debug('connection success, status: ' .. resp.status)
end
local function errorCallback(resp)
fibaro:debug('connection no success, error: ' .. resp)
end
local http = net.HTTPClient()
fibaro:debug('this is the payload: ' .. payload .. '.')
{
options = payload,
success = successCallback,
error = errorCallback
}
)
end
getDirect()
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.