Hello,
My idea es have a "console" or something similar to put one lua command and test it.
In some case i want to test a command because i dont know if works fine or not and i must create a "test script"; with this idea you can use the console to test it and view the results.
its posible?, do you see usefull like me?
thanks!
Console for lua/dzvents
Moderators: leecollings, remb0
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Console for lua/dzvents
If you refer to a standard Lua command you can try it on the Command Line Interface. Install Lua if not already done (sudo apt-get install lua5.2),DAVIZINHO wrote: ↑Thursday 03 January 2019 14:09 My idea es have a "console" or something similar to put one lua command and test it.
In some case i want to test a command because i dont know if works fine or not and i must create a "test script"; with this idea you can use the console to test it and view the results.
its possible?, do you see useful like me?
type lua from the prompt and you are in the Lua command interpreter. Here you can test all commands ( but you won't have the data (structures) available from the domoticz instance)
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
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Console for lua/dzvents
Could this console help you ?DAVIZINHO wrote: ↑Thursday 03 January 2019 14:09 My idea es have a "console" or something similar to put one lua command and test it.
In some case i want to test a command because i dont know if works fine or not and i must create a "test script"; with this idea you can use the console to test it and view the results.
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
-
- Posts: 234
- Joined: Sunday 27 August 2017 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Spain
- Contact:
Re: Console for lua/dzvents
Wow, great!!waaren wrote: ↑Friday 04 January 2019 21:16Could this console help you ?DAVIZINHO wrote: ↑Thursday 03 January 2019 14:09 My idea es have a "console" or something similar to put one lua command and test it.
In some case i want to test a command because i dont know if works fine or not and i must create a "test script"; with this idea you can use the console to test it and view the results.
thanks a lot!
Who is online
Users browsing this forum: No registered users and 1 guest