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


I'm new here and want to make my Home Center 3 system better, I have errors weekly and want to fix it myself.


Lindy

Recommended Posts

Hello everyone, 

 

I'm new at this forum and to the world of Fibaro. When I log in on my account. I understand the dashboard. But I see many errors in de console area. 

Like this. 

Please login or register to see this attachment.

 

I would like to fix this, but I don't know where to begin. The company that normally fix these bugs is not responding anymore. 

Can someone tell my or guide my trough this problem. 

 

I know how to get a Lua scene running and I know the button to adjust them. But the company that used to help have been building this. 

Please login or register to see this attachment.

 

 

 

And I only have electric floor heating in three different zones. I hope that someone can help me. 

 

Greetings Lindy

Link to comment

Good morning Lindy.

 

I'm probably not the one who can help you further, my knowledge of LUA is not very good.

But I think it helps the other forum members if they see the actual code that generates the error.

 

So could you post the code from scene 24. Both fields (declaration and action).

Link to comment
  • Topic Author
  • Sure, that's a good idea. 

     

    The action are:

     
    deviceID = 84
    parameterID = 7
    productInfo = "3,68,0,4,0,10,1,5" -- This is a Heltun HLS-01
     
    device=api.get("/devices/" .. deviceID)
     
    if device.properties.productInfo ~= productInfo then
    fibaro.debug("parameter updater","Dit is niet het juiste device, ik doe niets")
    else
    fibaro.call(deviceID,"setConfiguration", parameterID, 11)
    fibaro.debug("parameter updater",os.date("Het is  %d %B %X, ik zet pararameter "..parameterID.." van device [" ..deviceID.. "] naar 1"))
    fibaro.setTimeout(2000function() -- Wacht 12 seconden
                fibaro.call(deviceID,"setConfiguration", parameterID, 10); -- Start Overdag Kast links
                fibaro.debug("parameter updater",os.date("Het is  %d %B %X, ik zet pararameter "..parameterID.." van device [" ..deviceID.. "] terug naar 0"));
            end)
    end
     
    The Declaration are:
     

    {

      conditions = { {

          id = 21,

          isTrigger = true,

          operator = "anyValue",

          property = "value",

          type = "device"

        }, {

          id = 23,

          isTrigger = true,

          operator = "anyValue",

          property = "heatingThermostatSetpoint",

          type = "device"

        }, {

          id = 25,

          isTrigger = true,

          operator = "anyValue",

          property = "value",

          type = "device"

        }, {

          id = 27,

          isTrigger = true,

          operator = "anyValue",

          property = "heatingThermostatSetpoint",

          type = "device"

        }, {

          id = 76,

          isTrigger = true,

          operator = "anyValue",

          property = "value",

          type = "device"

        }, {

          id = 78,

          isTrigger = true,

          operator = "anyValue",

          property = "heatingThermostatSetpoint",

          type = "device"

        } },

      operator = "any"

    }

    Link to comment
    • 3 weeks later...

    Sorry, i missed your reply totally.

     

    But then again, i cant make anything out of it :)

     

    Only thing i can think about is that maybe the ID or status of the load switch is not correct, then the script

    tries to read the value's and errors on that.

     

    Anyone else ?

    Link to comment

    I can try to help you, but for me, this entire scene does not make any sense. Can you please explain what is the purpose of this scene?

    If i am not wrong you are setting parameter 7 of device 84 whenever any setpoin is changed on given devices. But why???

    Maybe i have completely misunderstood this, but i wouldnt do anything like this. Parameter 7 on Heltun thermostat is the – Relay output mode (NO / NC)...

     

     

    Like whithout knowing the logic behind this scene, i would bet that some of the device ID's is incorrect or missing.

    I can't see the line numbers of your code, so i dont know which is the 16th line, but i can guess that this line is making the problem  fibaro.call(deviceID,"setConfiguration", parameterID, 1, 0); -- Start Overdag Kast links

     

    Please explain me what is the purpose of this scene, so maybe i can help you?

    Edited by Neo Andersson
    • Like 1
    Link to comment

    Join the conversation

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

    Guest
    Reply to this topic...

    ×   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...