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
JanJoh 1
Ok, complete newbie with HC2, but a long time electronics builder and semi-coder.
Please login or register to see this image.
/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />Before i got my HC2 we bought a new house which had a nice out side hot tub, but with a dagerous electrical system.
So, that got rebuilt, and the control of that is now handled by a RPi, some power relay modules and a few sensors. Internet connected and all
Please login or register to see this image.
/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />However, i would now like to create a virtual device in HC2 to get some data from the tub.
I can (as an example) browse to
Please login or register to see this link.
and that will return38.741788
(Not as a proper html-file, it just contains that data)
Now, how the heck do I create LUA to get this data from my HC2, and update a label on my virtual device with this informtation? I goofed around quite a lot the last two nights, bit got nowhere fast..
Any hints?
Thanks!
4 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.