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
10der 823
Hi!
I have obsession
intergrate broadlink device in HC2.
so, lets go
1) so. we have opensource database devices with codes for broadlink (attached)
we can't store this database as is cuz Fibaro disable all file system operation.
so, find by serach in file device for what ypu have play to use (for example as for me codes\climate\1682.json
new trying converting this file to LUA code
(JSON2LUA.LUA)
voila!
Please login or register to see this attachment.
so, now add some useful feature
Please login or register to see this code.
now we can find broadlink code by mnemonic
Please login or register to see this attachment.
yay!!!!!
but for sending command to broadlink device we should convert base54 code to hex format.
ok let add another two functions
Please login or register to see this code.
Please login or register to see this attachment.
good!
so., now we can scene for device (why scene? ok.let's go).
if you have, for example 3 Lg Tv in your house and 3 broadlink as well you can use single scene for control 3 tvs passing to scene brodlink VD + command.
in attach full example scene for LG TV broadlink device router
Please login or register to see this attachment.
Please login or register to see this attachment.
Please login or register to see this attachment.
Please login or register to see this attachment.
Link to comment
Share on other sites
12 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.