Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Future request. 'Json to Variable' tool with more outputs
#1
Hi, 
is it possible to get a 'Json to Variable' tool wit more outputs, like you did it on other tools.

e.g.
The MQTT device can store 500 variables and let say we have 50 topics, each holding 10 sensor datas,
then we need 500 'Json to Variable' tools to get all the sensors.

That makes it very confusing if you have to find missing or double sensors.

Having 50 such tools with e.g. 10 'Value Json Path' outputs and a clever naming, then this will make it more clear.


Thanks, Joe
Reply
#2
Hi Joe,
Ι am facing the same problem with my own projects.
I think I should have added that from the beginning. 
On the occasion of this message I took some time and made the addition which will be available in the next update.
Thanks for this suggestion!
Reply
#3
Thumbs Up 
(09-08-2023, 09:44 PM)iliaslamprou Wrote: Hi Joe,
Ι am facing the same problem with my own projects.
I think I should have added that from the beginning. 
On the occasion of this message I took some time and made the addition which will be available in the next update.
Thanks for this suggestion!

That sounds really great.
Looking forward to testing it.

Cheers, Joe
Reply
#4
While I'm just working with 'Text to variables converter' ...

When you upgrade the "Json to variable tool' :


1) can you fix the "Add output +" on top while scrolling down.
2) if the previous variable was stored under MQTT, the next selection should jump to MQTT and not always to Emulator

Joe
Reply
#5
Hi,
I am sorry but I can't.
This window has "full window vertical scroling". I can't add new scrolling for the output list inside the page scroling.
Ιt would create a problem on mobile and tablet devices.
Reply
#6
Similar request, is there a way to have multiple outputs/commands/actions on logic gates or LED widgets? I'm trying to avoid learning JSON haha.

You do have the "Actions" tab on the Button widget, but it seems to require a manual button press to activate said actions. If a logic gate of if/then is used to activate the button widget variable, the button icon & variable will change, but all Actions are ignored. As soon as I manually press the button, all Actions immediately change.

My original program on Virtuino 4 & 5 would use a logic gate to handle multiple inputs. It would output to a single variable attached to an LED widget. Then that LED would send out all the subsequent Commands. I attached a photo to reference the older "Leds Command" tab.

I appreciate the help!


Attached Files Thumbnail(s)
   
Reply
#7
Hi, 
yes you can use the script "If then" unlimited times to create multiple outputs.
In Virtuino 6 app the script is includend in the widget. Now it is a script.
Reply
#8
(09-10-2023, 07:16 PM)iliaslamprou Wrote: Hi, 
yes you can use the script "If then" unlimited times to create multiple outputs.
In Virtuino 6 app the script is includend in the widget. Now it is a script.

That's what I was trying to avoid. Since the scripts are global I'm going to have hundreds of instances in that list. At least having them included in the LED Widget I could keep them semi contained. I liked what you guys were talking about with multiple outputs in the JSON to Variable tool and was hoping to extend that idea. Having multiple outputs in the Logic Gates seems to be a more elegant version of the old LED Widget structure. You could feasibly create some rather complex, nested scripts with only a couple Logic Gates. I'm slightly terrified of managing 50 copies of if/then or AND logic gates just to create one large script lol.

A possible quick work around, could the Button Widget Action "Switch ON or Button Down" include script activation? E.G. I use an AND Logic Gate, it outputs to the Button Widget variable thus "pressing" the button, it then sets off the Actions listed on the Button Widget. I'd still prefer multiple outputs on Logic Gates, but this method might be easier on you.
Reply
#9
Our VIP Delhi escorts are too appealing models who are seeking for those kinds of men who need sexual joy in their life. Delhi Escorts are a wonderful curvy female who is fit to make your evenings noteworthy for a lifetime.
Reply
#10
Most of these beauties are the ones who are studying in college or working in big companies here. They are more attracted towards living a luxurious life. Some of Escort in Delhi have just begun their college which gives an impression that these girls are quite young and ready to explore more sexual fun.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)