How to start os.execute in DzVents script?

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

Moderator: leecollings

Post Reply
User avatar
DaTTcz
Posts: 7
Joined: Monday 26 September 2016 9:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Czech Republic
Contact:

How to start os.execute in DzVents script?

Post by DaTTcz »

How to start os.execute() command in DzVents script ?

Code: Select all

Error: EventSystem: Warning!, lua script /home/pi/domoticz/scripts/dzVents/runtime/dzVents.lua has been running for more than 10 seconds.
In LUA script os.execute() work good.
Arduino, ESP8266, MySensors. Sorry for my English, I speak Czech.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: How to start os.execute in DzVents script?

Post by emme »

dzVents is still LUA... os.execute is still the right command

that message is a warning, not an error.... and usually it appears all the times you use an external command
The most dangerous phrase in any language is:
"We always done this way"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest