Luup syntax help please

Newbie here. I am trying to set a username and password field in a Blue Iris camera plugin device. Documentation says to run the following in test code:

luup.attr_set(“username”,{“Bi username”},{Device ID})
luup.attr_set(“password”,{“Bi password”},{Device ID})

I tried this for my login of Fred and password of rogers with different various brackets and " taken out.

luup.attr_set(“username”,{“Fred”},{42})
luup.attr_set(“password”,{“rogers”},{42})

Failed test code, please try again. Can someone give some guidance. It would be appreciated.
Thank You

Where did you copy the code from?

Could it be forum pretty quotes vs proper ones.

luup.attr_set("username",{"Fred"},{42})
luup.attr_set("password",{"rogers"},{42})

Try copying and use this code, does it then work?

No{}

luup.attr_set("password","rogers",42)
4 Likes

ElCid, this worked! Thank you so much!