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
deanrparry 19
--[[
%% properties
%% globals
--]]
VU = Net.FHttp("192.168.0.15",8080);
VU:setBasicAuthentication("user","password")
response = VU:GET('/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["title", "album", "artist", "season", "episode", "duration", "showtitle", "tvshowid", "thumbnail", "file", "fanart", "streamdetails"], "playerid": 1 }, "id": "VideoGetItem"}');
jsonTable = json.decode(response);
item = jsonTable.title;
fibaro:call(1345,"setProperty","ui.Label1.value",item);
fibaro:sleep(10*1000);
tcpdisconnect();
^^^^^^^^^^^^^^
i though that may work for a virtual device with id 1345 i get a response in my browser from xbmc using the url as above but label does not change debug shows LuaScript error that is it? any help would be appreciated!
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" />0 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.