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!



Smart Home Forum by FIBARO Team

Search the Community

Showing results for tags 'HCLHTTP request'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie


  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL





Found 1 result

  1. I'm using a virtual device to turn on the radio on my Denon HEOS system which is integrated using a servlet. The API is very simple, just plain GETs with some arguments. GET /heos/?player=537956540&command=play&vd=138 HTTP/1.1 Host: 0x0D0x0A0x0D0x0A Every now and then the radio doesn't turn on. I looked in the Tomcat log (which runs the servlet) and the request is never received. Luckily I'm running a HCL with 4.058 beta which features Lua-based scenes! So I added some debug messages in the scene and even though the scene runs the part which "press" the button on the virtual device, the HTTP request is never sent. fibaro:call(138, "pressButton", "16"); So, being able to use Lua, I re-wrote that part that sends the request using net.HTTPClient(), -- Turn on radio local httpClient = net.HTTPClient(); httpClient:request(radioURL, { success = function(response) fibaro:debug('Turning on radio: ' .. response.data); end }); Now it works perfectly, the radio always turn on it hasn't failed a single time. Is this some bug or am I missing something? What kind of implementation is the virtual device using behind the scenes?
  • Create New...