Virtuino Forum
How to write a string through MQTT? - Printable Version

+- Virtuino Forum (https://virtuino.com/forum)
+-- Forum: Virtuino (https://virtuino.com/forum/forumdisplay.php?fid=1)
+--- Forum: Virtuino IoT (https://virtuino.com/forum/forumdisplay.php?fid=2)
+--- Thread: How to write a string through MQTT? (/showthread.php?tid=1350)



How to write a string through MQTT? - Tommy - 07-24-2023

How to write a string through MQTT?
or
Have input text box? can input number or string.


RE: How to write a string through MQTT? - iliaslamprou - 07-25-2023

Hi,
yes of course.

1. Unlock the dashboard. Click the "plus" icon. Select the tab "Pop-Ups".Add a  "Popup Value Editor".  
On the value settings select: Value Type "TEXT" and the MQTT Variable you want to send the text

2. Add a "Value Display". Select the MQTT Variable you want to send the text
At the bottom select "Long click delay" = 0
Then click the tab "Actions". Click the "plus" icon. Select "Show popup"
Select the "Popup Value Editor"

3. Connect to the broker.
Click on the "Value Display"
You have to see the "Value Editor" dialog

You can find an example on this tutorial at the minute 18:22
https://www.youtube.com/watch?v=Al35JV8cO_o&t=119s


RE: How to write a string through MQTT? - Tommy - 07-25-2023

OK, i know , thank you.


RE: How to write a string through MQTT? - David - 08-19-2023

(07-25-2023, 01:56 AM)iliaslamprou Wrote: Hi,
yes of course.

1. Unlock the dashboard. Click the "plus" icon. Select the tab "Pop-Ups".Add a  "Popup Value Editor".  
On the value settings select: Value Type "TEXT" and the MQTT Variable you want to send the text

2. Add a "Value Display". Select the MQTT Variable you want to send the text
At the bottom select "Long click delay" = 0
Then click the tab "Actions". Click the "plus" icon. Select "Show popup"
Select the "Popup Value Editor"

3. Connect to the broker.
Click on the "Value Display"
You have to see the "Value Editor" dialog

You can find an example on this tutorial at the minute 18:22
https://www.youtube.com/watch?v=Al35JV8cO_o&t=119s
Pop-up does not support Chinese fonts, how to do?


RE: How to write a string through MQTT? - iliaslamprou - 08-24-2023

Hi,
I have tested on Android and Windows. It works fine to me.
Could you upload a link of a video?