Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 15 online users. » 0 Member(s) | 13 Guest(s) Bing, Google
|
Latest Threads |
How to activate the pro v...
Forum: Virtuino 6
Last Post: hu277
07-10-2025, 12:32 PM
» Replies: 10
» Views: 9,196
|
Update interval/Refresh r...
Forum: Virtuino 6
Last Post: Stefan
07-10-2025, 05:21 AM
» Replies: 0
» Views: 27
|
Emulator phone sensor dat...
Forum: Virtuino IoT
Last Post: Stefan
07-07-2025, 08:00 AM
» Replies: 0
» Views: 77
|
length/width ratio
Forum: Virtuino IoT
Last Post: Stefan
07-07-2025, 07:18 AM
» Replies: 0
» Views: 51
|
Create in Windows version...
Forum: Virtuino IoT
Last Post: Stefan
07-07-2025, 06:59 AM
» Replies: 0
» Views: 62
|
The same sketch compilati...
Forum: Virtuino IoT
Last Post: pigkang
07-01-2025, 04:02 AM
» Replies: 4
» Views: 1,649
|
Virtuino Iot, Ubuntu Linu...
Forum: Virtuino IoT
Last Post: Phlow
06-29-2025, 07:58 AM
» Replies: 16
» Views: 12,028
|
New Community Tools/Bug F...
Forum: Virtuino IoT
Last Post: Phlow
06-29-2025, 07:46 AM
» Replies: 4
» Views: 451
|
Option to Mass Import Var...
Forum: Virtuino IoT
Last Post: Phlow
06-29-2025, 07:43 AM
» Replies: 3
» Views: 424
|
App Store
Forum: Virtuino IoT
Last Post: Dr. Mario
06-13-2025, 11:09 AM
» Replies: 1
» Views: 203
|
|
|
Parsing of hexadecimal values |
Posted by: driaan - 07-31-2022, 08:10 AM - Forum: Virtuino IoT
- Replies (2)
|
 |
Good day. I have an MQTT client in the field which is very limited in terms of selecting and configuring messages. All messages gets published to the same topic and I can also not change the format of it in any way. The client is reading data via Modbus RTU and then publishing the following message:
{
"devId": "493C220314031120",
"msgType": "rs485ValueRpt",
"data": "0203140002004E0041000500650000000213EE000300C08051",
"timestamp": "1659254156"
}
The data is the hexadecimal modbus RTU return. My question is whether it would be possible to parse and convert one of these hexadecimal values and then display it on the app in a 'value display' for example convert the 4E to 78. The second question is related in whether I would be able to extract a single bit from one of these hexadecimal values and then use it to display status of an 'LED' for example.
I haven't worked with the app or scripting that much so just want to know whether it would be possible. I'm trying to evaluate which app I can use long term and this one seems the most promising by far.
|
|
|
Retention of Value display item |
Posted by: driaan - 07-28-2022, 12:19 PM - Forum: Virtuino IoT
- Replies (2)
|
 |
I receive data from a remote IO unit which only has on publish topic. I thus get different messages for different data types which the unit publishes every 'x' seconds. For example it will publish Digital input statuses, then digital output statuses, then Analog inputs etc. An example of the Analog input message that gets published is:
{
"devId": "493C220314031120",
"msgType": "aiValueRpt",
"data": {
"AI1": "8580"
},
"timestamp": "1659010523"
}
The topic is /iot/pub
My value for JSON path that I select is data/AI1 and this gives me the correct reading. When a new message comes through without a data/AI1 path, for example the following:
{
"devId": "493C220314031120",
"msgType": "rs485ValueRpt",
"data": "0203140002004E0041000500650000000213EE000300C08051",
"timestamp": "1659010685"
}
My value display goes to 0 because I assume it tries to read the value in each message published to the topic. Is there a way for me to retain the value until a new message gets published which actually contains the data/AI1 path and ignore all other messages if it isn't present?
|
|
|
Bugs in Version 6.0.19 & 20 |
Posted by: Ulbi79 - 07-18-2022, 05:14 PM - Forum: Virtuino 6
- Replies (1)
|
 |
Hi there!
Just discovered two faults in the latest releases of Virtuino 6.
1. App crashes when tapping the project manager button.
2. If you copy an advanced value widget and alter the command properties, it also changes the commands of the original one, which is a bit annoying. To work around this bug you can use an extra If-Then widget, which can be copied as supposed to be.
Cheerio,
Mat
|
|
|
Kincony KC868-H32B relay controller http command |
Posted by: jlc - 07-12-2022, 05:13 PM - Forum: Virtuino IoT
- Replies (6)
|
 |
Hi,
I Try to use KC868-H32B relay controller with Virtuino IOT by http command. I think using Widget with Script and Tool but I don't know how to do.
The extract doc says:
1/ Turn ON/OFF every relay:
http://192.168.1.10/sw_ctl.cgi?Relay01=O...d=admin123 // Relay1 ON
http://192.168.1.10/sw_ctl.cgi?Relay01=O...d=admin123 // Relay1 OFF
http://192.168.1.10/sw_ctl.cgi?Relay30=O...d=admin123 // Relay30 ON
http://192.168.1.10/sw_ctl.cgi?Relay30=O...d=admin123 // Relay30 OFF
http://192.168.1.10/sw_ctl.cgi?RelayFF=O...d=admin123 //Relay ALL ON
http://192.168.1.10/sw_ctl.cgi?RelayFF=O...d=admin123 //Relay ALL OFF
if successful will feedback:
buttonCallback({"btn1":"OFF","btn2":"OFF","btn3":"ON","btn4":"ON","btn5":"OFF","btn6":"ON","btn7":"ON","btn8":"ON","btn9":"ON","btn10":"ON","btn11":"OFF","btn12":"ON","btn13":"ON","btn14":"ON","btn15":"ON","btn16":"ON","btn17":"ON","btn18":"ON","btn19":"ON","btn20":"ON","btn21":"ON","btn22":"ON","btn23":"ON","btn24":"ON","btn25":"ON","btn26":"ON","btn27":"ON","btn28":"ON","btn29":"ON","btn30":"OFF","btn31":"ON","btn32":"ON","post_pwd":"admin123",});
if failed will feedback: Error parameter or password!
2/ Read input port state
http://192.168.1.10/input_ctl.cgi?inputF...d=admin123
if successful will feedback:
inputCallback({"input1":"1","input2":"1","input3":"1","input4":"1","input5":"1","input6":"1"});
1 means: ON 0 means:OFF
if failed will feedback: Error parameter or password!
Thanks for your help,
|
|
|
Switch dashboard |
Posted by: jlc - 07-09-2022, 05:28 PM - Forum: Virtuino IoT
- Replies (1)
|
 |
Hi,
In lock position, how to switch between dashboard?
Is there a menu dashboard or panel in order to organized wdgets better?
|
|
|
Value Recorder not creating or writing to .vrc file |
Posted by: cschroeder2 - 07-08-2022, 03:22 AM - Forum: Virtuino 6
- Replies (3)
|
 |
Device is Galaxy S7, Android 12, UI 4.1. I have tested this both with built in emulater v1 random data and with An 3xternalmodbus server. I have checked app file permissions for virtuino modbus and confirmed file write access. For virtuino6 I don't see file acc3ss in the app permissions.
Is anyone else experiencing this problem or has anyone identified a fix?
|
|
|
|