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
Yuliy 0
Hello everybody here,
I'm new on this forum and I have an issue with my virtul device created on HCL. In particular, after have been created a virtual device with a button and a label, I would like to assign an action for a such button.
Let's say, I want to turn on some phiscal device and update a label's value to "Turned On" respectively.
By using a String option on HCL, I managed to send a single SOAP request(on a button click) in order to either turn on device or change label's value separately. The issue is that, I would like to execute both things togather.
In the following I'll share my code which I've tried to assign to the button:
Please login or register to see this code.
Case 1 Works fine
Please login or register to see this code.
Case 2 Works fine
Please login or register to see this code.
Case 3, both things together, No. It executes only the first request.
So I've been wondering, is it even possible to carry out something like case 3? And if so, where I've been failing?
Thanks for any kind of help!
Edited by Yuliycorrection of mistakes
Link to comment
Share on other sites
1 answer 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.