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

username and password won't save


Question

Posted

Why will this not save in my scene

 

local username = "0"
local password = "0"

local test1 = "&username="..username
local test2 = "&password="..password

local test = test1..test2

fibaro:debug(test)

 

 

if i change "&password"=..password to "&passwordd"=..password it works

 

as if &username and &password can't be placed in one sentis

 

 

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

Dear all, I have the same problem. I have asked the fibaro Netherlands and they cannot or will not answer. is it a protection provided by fibaro or by LUA. does anyone know how you can bypass this protection. Kind regards, Wim

Edited by fibaro8271
addition to my question
  • 0
Posted

Hi @Kage @fibaro8271

 

Strangely enough above code works for me on my HC2 with 4.550 in VD code same as in scene code and of course is saved without problem.

 

  • 0
Posted

hi sankotronic, can you indicate which HC2 software version you have saved the program with. It may be that if you have saved the VD and scene during an earlier version of HC2, it will still work as normal, but if you want to save with te latest version, it's no longer posibble.

 
 

Please login or register to see this code.

  • 0
Posted
On 8/31/2019 at 8:20 AM, fibaro8271 said:

hi sankotronic, can you indicate which HC2 software version you have saved the program with. It may be that if you have saved the VD and scene during an earlier version of HC2, it will still work as normal, but if you want to save with te latest version, it's no longer posibble.

 

 

 

Hi @fibaro8271 ,

 

Added new VD and scene on FW 4.550, copied above code and tested working OK.

 

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