Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,469
» Latest member: zaadisoncahvs4279
» Forum threads: 5,413
» Forum posts: 5,617

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 43 Guest(s)
Bing, davidkhann

Latest Threads
The latest release mispla...
Forum: Virtuino IoT
Last Post: davidkhann
11 minutes ago
» Replies: 1
» Views: 106
Porting of a project from...
Forum: Virtuino IoT
Last Post: pberna
03-04-2026, 01:00 PM
» Replies: 0
» Views: 20
Virtuino 6 vs Virtuino IO...
Forum: Virtuino IoT
Last Post: pberna
03-04-2026, 12:45 PM
» Replies: 4
» Views: 3,795
dating for adults
Forum: Virtuino IoT
Last Post: oliverstone1
03-01-2026, 01:36 PM
» Replies: 1
» Views: 480
inbuilt functions
Forum: Virtuino IoT
Last Post: robinrewar
02-26-2026, 12:57 AM
» Replies: 2
» Views: 894
number of installs with o...
Forum: Virtuino IoT
Last Post: torn
02-25-2026, 08:28 AM
» Replies: 0
» Views: 45
How to paid for the pro v...
Forum: Virtuino IoT
Last Post: michaelwillems
02-23-2026, 10:40 PM
» Replies: 5
» Views: 4,458
The $7,300 Profit: Why I'...
Forum: Virtuino IoT
Last Post: carolinamarin
02-20-2026, 02:25 PM
» Replies: 0
» Views: 46
How I Earn $400 Daily fro...
Forum: Virtuino IoT
Last Post: robinkumar
02-19-2026, 11:08 PM
» Replies: 0
» Views: 52
Binance Pool Paid Me $3,1...
Forum: Virtuino IoT
Last Post: autoa1transport
02-19-2026, 07:33 AM
» Replies: 0
» Views: 52

 
  Only one publication to mqtt
Posted by: pacho - 09-08-2023, 10:42 AM - Forum: Virtuino IoT - Replies (2)

Hello, can Text script or Json Creator send only one publication to mqtt? It always sends three publications and I need it to send only one when it receives data or when a variable is true.
I attach a screenshot where you can see how it receives some data and always sends three publications.
I hope you can guide me.
  Thank you so much
Only one publication to mqtt



Attached Files Thumbnail(s)
   
Print this item

  Future request. 'Json to Variable' tool with more outputs
Posted by: Joe - 09-08-2023, 07:54 AM - Forum: Virtuino IoT - Replies (9)

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

Print this item

  Json Variable from HTTP Request?
Posted by: Helmut_number_one - 09-07-2023, 06:03 PM - Forum: Virtuino IoT - Replies (4)

Can I evaluate an Http request with a Json response?
How do I do that? how start the request, with button?
I get this answer by test a result:

OK:{"sensors":[
{"ID":"In1","Disp":0,"P1":0,"P2":0,"Val":0.01,"Min":0,"Max":0,"U":"kg"}
]}

I would like to have "Val":


Must i make a json to variable Converter with var in Emulator?
is a sample on youtube?

Print this item

  Parse json in javascript
Posted by: Joe - 09-06-2023, 12:43 PM - Forum: Virtuino IoT - Replies (3)

Hi, I want to parse the following json string:

{"Time":"2023-09-06T13:38:56","BME280-76":{"Temperature":28.7,"Humidity":47.9,"DewPoint":16.6,"Pressure":1016.7},"BME280-77":{"Temperature":28.6,"Humidity":92.6,"DewPoint":27.3,"Pressure":1017.0},"PressureUnit":"hPa","TempUnit":"C"}


The first javascript line gives already an error


Code:
var json = Virtuino.readValue("inputTag"); //Read inputTag value as String. 
    
ERROR: Unexpected identifier 'Time'. Expected ';' after variable declaration.

If I run this:
Code:
const obj = JSON.parse(Virtuino.readValue("inputTag")); //Read inputTag value as String.   

the error is:
ERROR: Unexpected identifier 'Time'. Expected ')' to end an argument list.

I know I can use the 'Jason to Variable' script tool, but that would require more then 10 scripts to get all the variables.

Any idea?

THX Joe

Print this item

  Write separate Bit
Posted by: Easyman - 09-01-2023, 01:59 PM - Forum: Virtuino IoT - Replies (3)

Hello,can i send from Virtuino to an PLC separate Bits ? 
Address Marker 1 = 1001
Addess Bit 0 = 1001.0 
od Address 1001.1 usw.

CU Martin

Print this item

  Data from Date-Time-Display
Posted by: Helmut_number_one - 08-30-2023, 05:39 PM - Forum: Virtuino IoT - Replies (2)

I use the Date-Time-Display, i connected from a Http-Connection, this Data sec, min, ....  is usefull for other thing in a prg
Can i put the HH MM SS in 3 variable`?

Print this item

  Modbus TCP/IP Duplicate problem
Posted by: Darek53 - 08-24-2023, 05:02 PM - Forum: Virtuino IoT - Replies (1)

Hello
Another bug?
When I make a copy of the modbus TCP/IP connection, the variable names disappear.
If possible, please fix it. This is cumbersome when creating many Modbus connections with a lot of variables.
   

Print this item

  more fields in thingspeak
Posted by: hydroren - 08-23-2023, 07:36 AM - Forum: Virtuino IoT - Replies (7)


Hello

can it be changed so that more fields can be retrieved from thingspeak
v9 only runs local


for example status




Topic: channels/33301/subscribe

QoS: 0

{"channel_id":33301,"created_at":"2021-04-29T19:45:43Z","entry_id":23,
"field1":"45","field2":"60","field3":null,"field4":null,"field5":null,
"field6":null,"field7":null,"field8":null,"latitude":null,"longitude":null,
"elevation":null,"status":"MQTTPUBLISH"}



Attached Files Thumbnail(s)
   
Print this item

  wildcards
Posted by: spidgrou - 08-23-2023, 04:21 AM - Forum: Virtuino IoT - Replies (2)

Hi,
I need to subscribe to a mqqt topic where I don't know in advance a part of it, because it is part of the serial number of the installation.

So for example if the topic is
one/two/XYZ/charge/volt

In node-red I can use the wildcard '+' to jump a level, te example before will be:
one/two/+/charge/volt

How can I do in Virtuino IOT?

Thanks

Print this item

  Chat AI GPT
Posted by: woodnboats - 08-21-2023, 06:18 PM - Forum: Virtuino 6 - No Replies

For those such as I who are weak coders, I just asked Chat AI GPT if it was familiar with and able to write code for Virtuino. The reply was "Yes".
I have asked for a simple example and got a simple sketch for turning on an LED with a button. I'll look at it closely and try it, to see if it works properly.
If so, I'll give it my current project and see if that works too.
This could be a boon to those of us who are only barely conversant with C++.

Print this item