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
michal_pu 0
Hello,
can anyone please advise me? I need to send the command "http://192.168.10.88:8765/?doorbell=show" to the scene in lua in HC3, just like I would type it into web browsers and enter.
I write like this, but it doesn't work for me, resp. does not overwrite "? doorbell = show"
Please login or register to see this code.
when I sent from fibaro, I get an answer:
Hello, World
Header
content-length : 4 remote-addr : 192.168.10.6 http-client-ip : 192.168.10.6 host : 192.168.10.88:8765 content-type : application/json cache-control : no-cache accept : application/json user-agent : Boost.Beast/306
----
method = GET
uri = /
Params
NanoHttpd.QUERY_STRING : null
when I sent from web browser, I get an answer:
Hello, World
Header
referer : http://192.168.10.88:8765/?doorbell remote-addr : 192.168.10.50 http-client-ip : 192.168.10.50 accept-language : cs-CZ,cs;q=0.9,en;q=0.8,sk;q=0.7 host : 192.168.10.88:8765 upgrade-insecure-requests : 1 connection : keep-alive accept-encoding : gzip, deflate user-agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 accept : text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
----
method = GET
uri = /
Params
doorbell : show
NanoHttpd.QUERY_STRING : doorbell=show
Can anyone please help me and fix lua in the scene?
Thank you
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.