I need some assistance with "Sendnotification"
I'm trying the following very simple LUA script:
Code: Select all
--
print('this will end up in the domoticz log')
commandArray = {}
print(_VERSION)
commandArray[SendNotification]='subject#body#extraData#priority#sound'
return commandArray
Here's what I fing in the log:
Code: Select all
2016-05-12 21:44:18.173 LUA: this will end up in the domoticz log
2016-05-12 21:44:18.174 LUA: Lua 5.2
2016-05-12 21:44:18.174 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_version.lua: /home/pi/domoticz/scripts/lua/script_device_version.lua:7: table index is nil Domoticz "last stable version" 3.4834
Thank you,
Olivies