18.01.2017, 21:32
(This post was last modified: 29.04.2017, 07:15 by lpala.
Edit Reason: Updated files
)
I've just update the module and made it somewhat more usable.
Please have a look at example that you find attached
testvbus.lua (Size: 1.4 KB / Downloads: 30)
.
You can define as device profiles as you want, just add it in
vbusprofiles.lua (Size: 2.66 KB / Downloads: 35)
.
Now I've tested it with LM and it works.
I've update the luavbuspacket module to get profile data directly from it (have a look at example).
Direct commands are not yet implemented (maybe never).
It should not be difficult to implement them, but i've no use case to test it.
Feel free to submit comments, bugs, correction.
I'll post new versions as I develop it.
Luca
You must add
luavbuspacket.lua (Size: 6.19 KB / Downloads: 24)
luavbus.lua (Size: 27.48 KB / Downloads: 23)
vbusprofiles.lua (Size: 2.66 KB / Downloads: 35)
as user libraries.
Please have a look at example that you find attached

You can define as device profiles as you want, just add it in

Now I've tested it with LM and it works.
I've update the luavbuspacket module to get profile data directly from it (have a look at example).
Direct commands are not yet implemented (maybe never).
It should not be difficult to implement them, but i've no use case to test it.
Feel free to submit comments, bugs, correction.
I'll post new versions as I develop it.
Luca
You must add


