Jump to content

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


  • 0

ADAX WiFi panel heater integration into HC3


Question

Posted

Dear Fibaro Community Members,

 

I have purchased HC3 recently an am a newbie with it.

I was wondering if it was possible to integrate a WIFI radiator ADAX NEO WiFi (

Please login or register to see this link.

) into FIBARO HC3 and control the panel heater as remote WiFi client from HC3

 

I have this available:

a) IP address of the device in my network:

b) ADAX Remote Client API User Guide: 

Please login or register to see this link.

 with Python code samples and JAVA code samples

c) My REST API authentication credetials for the device

d) my Acoount ID

 

Do you think it would be possible to add such device into Fibaro system and be able to:

- read heating target temperature from the device

- read current temperature from the device

- set the heating target temperature

 

If possible, I would appreciate some navigation or help with this how to add such virtual device into fibaro system.

 

Thanky you very much,

 

Peter

 

  • Like 1

8 answers to this question

Recommended Posts

  • 0
Posted

Hi 

I have made the Adax addon for Fibaro, it will be finished today. 
 

 

  • 0
  • Inquirer
  • Posted

    Sounds great eb1982

    I would be happy if you could upload it and send me the download link, unless you want to place it on fibaro market or download section.

    Currently, I am using workaround with Alexa skill for Adax, but that only supports manual mode, I cannot set "away mode" whilst keeping the week heating schedule.

    Thank u,

    Peter

    • 0
    Posted

    Hello. I also need this addon. Is it available for download somewhere?

    • 0
    Posted

    I have made a code to get actual temperature now, but I am struggling to set target temperature.

    Anyone?

     

    • 0
    Posted

    Hello

     

    Have someone a working code for the Adax WiFi and are willing to chare the codeP

     

    Best Regards

    Henrik

    • 0
    Posted
    On 1/21/2022 at 10:25 PM, TrygveD said:

    I have made a code to get actual temperature now, but I am struggling to set target temperature.

    Anyone?

     

    Hi Trygve,

    Did you get this working? I would also like to get this working... Haven't started coding anything on this yet, so if you have something you would share?

    • 0
    Posted

    Yes. I have shared this with another Henrik J, and he have improved it. However I havent tried his version yet.

    I share my version, then you could ask Henrik J for his version.

     

     

    First I have a scene thar runs every day for updating Token. Username and password must be inserted where code is ¤¤¤¤. 

    -- Username can be read in account-tab in Adax-app
    -- Password is generated/found in account-tab/3rd-party integration/Extern API/
     
    I have pasted the token scene below. I have also attached 2 QA's for monitoring/controlling. One of these need to replace ID of your heating device.

     

    DECLARATIONS (Conditions/Triggers):

     

    {
      conditions = { {
          isTrigger = true,
          operator = "match",
          property = "cron",
          type = "date",
          value = { "30""00""*""*""*""*" }
        } },
      operator = "all"
    }
     
    ACTIONS
    -- Renewal of access token needs to be done daily
    -- This scene is run 00:30 every day.
    -- Token is stored in Global vaiable "AdaxToken"
     
    local http = net.HTTPClient();
     
    -- Define payload for Adax
    -- Add Username and Password
    -- Username can be read in account-tab in Adax-app
    -- Password is generated/found in account-tab/3rd-party integration/Extern API/
     
    local payload = 'grant_type=password&username=¤¤¤¤¤¤&password=¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤';
     
    --API.POST to Adax
    http : request('https://api-1.adax.no/client-api/auth/token',  {
        options = {
            method = "POST",
            headers = {
                   ['Content-Type'] = 'application/x-www-form-urlencoded'
          },
          data = payload
        },
        success = function(response)
        --fibaro.debug(response.data)
        local result = json.decode(response.data);
        local Token = result.access_token
       --fibaro.debug (Token)      
     
       fibaro.setGlobalVariable("AdaxToken", Token)     
        end,
             error = function(err) fibaro.debug ("Error:" .. err)
        end
        
    });

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
    Posted
    W dniu 4.02.2023 o 20:07, TrygveD napisał:

    Yes. I have shared this with another Henrik J, and he have improved it. However I havent tried his version yet.

    I share my version, then you could ask Henrik J for his version.

     

     

    First I have a scene thar runs every day for updating Token. Username and password must be inserted where code is ¤¤¤¤. 

    -- Username can be read in account-tab in Adax-app
    -- Password is generated/found in account-tab/3rd-party integration/Extern API/
     
    I have pasted the token scene below. I have also attached 2 QA's for monitoring/controlling. One of these need to replace ID of your heating device.

     

    DECLARATIONS (Conditions/Triggers):

     

    {
      conditions = { {
          isTrigger = true,
          operator = "match",
          property = "cron",
          type = "date",
          value = { "30""00""*""*""*""*" }
        } },
      operator = "all"
    }
     
    ACTIONS
    -- Renewal of access token needs to be done daily
    -- This scene is run 00:30 every day.
    -- Token is stored in Global vaiable "AdaxToken"
     
    local http = net.HTTPClient();
     
    -- Define payload for Adax
    -- Add Username and Password
    -- Username can be read in account-tab in Adax-app
    -- Password is generated/found in account-tab/3rd-party integration/Extern API/
     
    local payload = 'grant_type=password&username=¤¤¤¤¤¤&password=¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤';
     
    --API.POST to Adax
    http : request('https://api-1.adax.no/client-api/auth/token',  {
        options = {
            method = "POST",
            headers = {
                   ['Content-Type'] = 'application/x-www-form-urlencoded'
          },
          data = payload
        },
        success = function(response)
        --fibaro.debug(response.data)
        local result = json.decode(response.data);
        local Token = result.access_token
       --fibaro.debug (Token)      
     
       fibaro.setGlobalVariable("AdaxToken", Token)     
        end,
             error = function(err) fibaro.debug ("Error:" .. err)
        end
        
    });

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Anyone som could bild samme for hc2? 

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...