SQLHelper: Error script not found
Posted: Thursday 07 March 2019 12:58
Hello,
I am a French newbee on Domoticz and I have a minor problem that I don't understand.
APIR-2150 is a movie sensor with "Action off= nothing" and "Action on= script://CmdEclairageExt.lua" a lua program stocked in DataBase (domoticz.db)
This script switch On a lamp at night when a movie sensor is detected
log
1) 2019-03-07 11:32:25.429 (RFXtrx433XL Somfy) Lighting 2 (APIR-2150)
2) 2019-03-07 11:32:25.430 Status: LUA: Script Started ...DB
3) 2019-03-07 11:32:25.430 Status: LUA: Script Finished ...DB
4) 2019-03-07 11:32:25.427 Error: SQLHelper: Error script not found '/usr/local/domoticz/var/scripts/CmdEclairageExt.lua'
5) 2019-03-07 11:32:26.087 (RFXtrx433XL Somfy) Lighting 2 (APIR-2150)
6) 2019-03-07 11:32:26.088 Status: LUA: Script Started ...DB
7) 2019-03-07 11:32:26.088 Status: LUA: Script Finished ...DB
8) 2019-03-07 11:32:26.085 Error: SQLHelper: Error script not found '/usr/local/domoticz/var/scripts/CmdEclairageExt.lua'
9) 2019-03-07 11:33:03.395 Status: Notification sent (Email) [/size][/size]
No scripts are stored in domoticz directory.
At line 4 and 8 Why a SQL error is send before the script started ?
I suppose it is a request for the script CmdEclairageExt.lua in the DB.
Why it says I can't find it when he executes it a few hundredths of a second later ?
thank you for your answers
I am a French newbee on Domoticz and I have a minor problem that I don't understand.
APIR-2150 is a movie sensor with "Action off= nothing" and "Action on= script://CmdEclairageExt.lua" a lua program stocked in DataBase (domoticz.db)
This script switch On a lamp at night when a movie sensor is detected
log
1) 2019-03-07 11:32:25.429 (RFXtrx433XL Somfy) Lighting 2 (APIR-2150)
2) 2019-03-07 11:32:25.430 Status: LUA: Script Started ...DB
3) 2019-03-07 11:32:25.430 Status: LUA: Script Finished ...DB
4) 2019-03-07 11:32:25.427 Error: SQLHelper: Error script not found '/usr/local/domoticz/var/scripts/CmdEclairageExt.lua'
5) 2019-03-07 11:32:26.087 (RFXtrx433XL Somfy) Lighting 2 (APIR-2150)
6) 2019-03-07 11:32:26.088 Status: LUA: Script Started ...DB
7) 2019-03-07 11:32:26.088 Status: LUA: Script Finished ...DB
8) 2019-03-07 11:32:26.085 Error: SQLHelper: Error script not found '/usr/local/domoticz/var/scripts/CmdEclairageExt.lua'
9) 2019-03-07 11:33:03.395 Status: Notification sent (Email) [/size][/size]
No scripts are stored in domoticz directory.
At line 4 and 8 Why a SQL error is send before the script started ?
I suppose it is a request for the script CmdEclairageExt.lua in the DB.
Why it says I can't find it when he executes it a few hundredths of a second later ?
thank you for your answers