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
Joep 200
I automated my two Xiaomi Roborock S50 vacuum cleaning robots with Node-RED and Uni-Fi presence detection. If my wife or I are not at home in the morning the robot's start cleaning.
Now I read the robots state with Node-RED and want to push this to a Fibaro Virtual Device. I use the Fibaro app as default GUI for my automation information, but I don't want to port the Roborock and Unifi nodes to the HC2 and LUA. Node-RED just works and I want to have the logic on that machine.
In HC2 I created an empty Virtual Device and I found out I can change one label with the HTTP call:
Please login or register to see this code.
But I have a lot of labels, and I have to fire this GET URL 6 times. Does someone know if it is possible to create a JSON object and send the Virtual Device update in 1 HTTP POST call? How is the JSON structure and HTTP URL for that, if it is possible?
Please login or register to see this attachment.
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.