Text box

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Text box

Post by jacobsentertainment »

Hi all,
I'm looking for some way to display the status from some selected devices in a textbox (dummy text device) I know we have the log but this is all data that domoticz is handling. I'm looking for specific scripts to add a line that will display the status of that script. I have several scripts running to but have to flick trough several screens to gather all the data I would like to know.
I tried searching on text, print etc but have a hard time finding some helpful info, so if someone could help me out that would be appreciated 8-)
User avatar
waltervl
Posts: 6691
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Text box

Post by waltervl »

Check for example viewtopic.php?t=34392

if you search for updateText on the forum then you will get more scripts where a text device is updated with dzVents.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Text box

Post by jacobsentertainment »

This is getting me somewhere :) Only have to figure out if it is possible to get several lines in this text box. I'm aiming at a smaller log but only for some sensors...
User avatar
waltervl
Posts: 6691
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Text box

Post by waltervl »

from the wiki https://www.domoticz.com/wiki/Dummy_for ... ext_sensor
TEXT = Text you want to display, can be multiple lines when adding \r\n to the string.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Text box

Post by jacobsentertainment »

Thanks! I only searched on the dzvents page, ill have a play with it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest