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


Question

Posted (edited)

Hey everyone,

 

i want to make a LUA scene, that simply calls a URL. Its porpose is to activate or deactivate the discover mode of my netatmo presence cams. 

I do have a scene, that also calls a URL (for my AC units) that works. But to be honest... it was quite a nightmare to make those running, because i am not a LUA guy at all. I had help from this forum here... the problem was the encoding of the URL.

 

So I thought, lets just copy the scene and change the URL. But this does not work.

Any hint would be highly appreciated.

 

The action part of my scene does this:

 

Please login or register to see this code.

 

(I anonymized IP and secretkey to post it here). Unfortunately, this does not work. If I copy the URL to my browser it works fine. So the URL itself is correct.

Edited by missenberger
Correction of some typing errors

2 answers to this question

Recommended Posts

  • 0
Posted

I don’t understand url1. Shouldn’t the first url be url1? 

  • 0
Posted (edited)
20 hours ago, missenberger said:

Hey everyone,

 

i want to make a LUA scene, that simply calls a URL. Its porpose is to activate or deactivate the discover mode of my netatmo presence cams. 

I do have a scene, that also calls a URL (for my AC units) that works. But to be honest... it was quite a nightmare to make those running, because i am not a LUA guy at all. I had help from this forum here... the problem was the encoding of the URL.

 

So I thought, lets just copy the scene and change the URL. But this does not work.

Any hint would be highly appreciated.

 

The action part of my scene does this:

 

Please login or register to see this code.

 

(I anonymized IP and secretkey to post it here). Unfortunately, this does not work. If I copy the URL to my browser it works fine. So the URL itself is correct.

At first glance

 

Please login or register to see this code.

 

Edited by Neo Andersson

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