hello,
i have idea but maybe it is already possible. Create script that reacts on selector switch button with popup window in gui, where you can edit or write variable (could be saved for example in domoticz variables). So its posible to use dzvents/lua code to call popuup window in gui?
I want to use it for mpsyt audio artists (that works great allready but only with predefined values)
Popup window idea
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Popup window idea
Even it is possible to create this with Lua/dzVents, it wil not fly. The domoticz event system is single threaded meaning that only one script can run simultaneously at any given time. While the script is waiting for user input, no other script can run and domoticz will send messages likedevros wrote: Sunday 21 October 2018 1:05 hello,
i have idea but maybe it is already possible. Create script that reacts on selector switch button with popup window in gui, where you can edit or write variable (could be saved for example in domoticz variables). So its posible to use dzvents/lua code to call popuup window in gui?
I want to use it for mpsyt audio artists (that works great allready but only with predefined values)
"Error: EventSystem: Warning!, lua script /opt/domoticz/scripts/dzVents/scripts/popup.lua has been running for more than 10 seconds"
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Popup window idea
Thanks for info, what about with combination with js or php code in gui? In aurora theme are some quite clever hacks to modify gui.
Re: Popup window idea
Ok found dirty way how to do it
viewtopic.php?f=8&t=25444
viewtopic.php?f=8&t=25444
Who is online
Users browsing this forum: No registered users and 1 guest