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

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,651
» Latest member: aexisttso4131
» Forum threads: 5,413
» Forum posts: 5,625

Full Statistics

Online Users
There are currently 137 online users.
» 1 Member(s) | 134 Guest(s)
Bing, Google, bloopnub

Latest Threads
Problems with the Chart w...
Forum: Virtuino IoT
Last Post: Darek53
19 minutes ago
» Replies: 1
» Views: 107
How to use a variable's v...
Forum: Virtuino IoT
Last Post: Vehicletracking
Yesterday, 01:15 PM
» Replies: 1
» Views: 695
verified women for secret...
Forum: Virtuino IoT
Last Post: fxstocksmarketing
04-23-2026, 11:53 AM
» Replies: 2
» Views: 627
Virtuino console
Forum: Virtuino IoT
Last Post: oliverstone1
04-21-2026, 06:13 AM
» Replies: 6
» Views: 3,609
verified women online now
Forum: Virtuino IoT
Last Post: dubey905
04-16-2026, 10:59 PM
» Replies: 1
» Views: 605
Girls In Your Town - Anon...
Forum: Virtuino IoT
Last Post: michaelwillems
03-28-2026, 08:36 AM
» Replies: 0
» Views: 82
Virtuino Esp8266 e telegr...
Forum: Virtuino 6
Last Post: Araqel
03-23-2026, 10:07 AM
» Replies: 1
» Views: 218
Porting of a project from...
Forum: Virtuino IoT
Last Post: iliaslamprou
03-15-2026, 11:07 AM
» Replies: 3
» Views: 432
Button to switch between ...
Forum: Virtuino IoT
Last Post: digivendinstitute
03-12-2026, 11:53 PM
» Replies: 3
» Views: 2,229
Virtuino 6 vs Virtuino IO...
Forum: Virtuino IoT
Last Post: iliaslamprou
03-09-2026, 05:41 PM
» Replies: 5
» Views: 4,252

 
  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