ViX Posted September 26 Share Posted September 26 Hello If I make Number -> Slider virtual component How I can get that variable to script? http://192.168.0.45/rpc/Number.GetStatus?id=200 gives reply {"value":6,"source":"rpc","last_update_ts":1727366865} I'd need that 6 as variable to script  print( Shelly.call("Number.Get", {'id': 200})); gives undefined Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
ViX Posted September 26 Share Posted September 26 Hello Found this working solution to slider value let virt200 = Virtual.getHandle("number:200"); print(Â virt200.getValue("value")Â ); Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
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.