OK. I prepared PR 4619 for this
Thanks waaren for the PR. I'll test it when available in a download.
I cannot reproduce this either.
Perhaps it is more relative to the GUI when clicking too often for testing, so not dzVents?
I think there could be an issue in the loggin GIU. I've double checked the log I've posted regarding the missing trigger
1/ in a file that was a copy/paste of dz logging GUI on the fly
- Spoiler: show
- 2021-02-06 17:44:41.364 Status: EventSystem: Script event triggered: /home/pi/PROD_domoticz/dzVents/runtime/dzVents.lua
2021-02-06 17:44:43.103 Status: User: famille (IP: 192.168.9.201) initiated a switch command (1122/Brise Soleil (Closed) - Manual /Set Level)
2021-02-06 17:45:00.751 Status: dzVents: !Info: Auto_off_V0R2: 0 devices switched off ; 0 devices dimmed
2/ in a logging server where the logs are sent (in reverse, and with no better precision than the second, and I'm not sure there is no mix up!)
- Spoiler: show
- 06/02/2021 17:45:00 "dzVents: !Info: Auto_off_V0R2: 0 devices switched off 0 devices dimmed "
06/02/2021 17:44:43 "EventSystem: Script event triggered: /home/pi/PROD_domoticz/dzVents/runtime/dzVents.lua "
06/02/2021 17:44:43 "dzVents: Info: Stores_V0R2: ------ Finished Stores_V0R2 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Store entrée RFY remains open "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: newBlindProgram NOT changed: Cold "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: lastBlindMode NOT changed: Auto "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: timeConditionsClose OK "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Solar Altitude=-1 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Auto Program remains on: Cold / Outside Temp: 7 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Auto mode execution "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Start Auto slat angle 90 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Store entrée RFY 953 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: -->> Store Entrée (Open) - Auto Cold 1203 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Processing device-adapter for Store entrée RFY: Switch device adapter "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Processing device-adapter for Store Entrée (Open) - Auto Cold: Switch device adapter "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: SlatAngle NOT changed: nul "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: newBlindProgram NOT changed: "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: lastBlindMode NOT changed: Manual "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: devDummyBlind level: 20 stop "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Constructed timed-command: Stop NOTRIGGER "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Constructed timed-command: Stop "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Start Manual slat angle null "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: BSO RFY 673 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: -->> Brise Soleil (Closed) - Manual 1122 "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Processing device-adapter for BSO RFY: Switch device adapter "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: ==>> triggered by device 1122 Brise Soleil (Closed) - Manual "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Processing device-adapter for Elévation du Soleil: Custom sensor device adapter "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Processing device-adapter for Azimut du Soleil: Custom sensor device adapter "
06/02/2021 17:44:43 "dzVents: Debug: Stores_V0R2: Processing device-adapter for Parking: Temperature device adapter "
06/02/2021 17:44:43 "dzVents: Info: ------ Start internal script: Stores_V0R2: Device: ""Brise Soleil (Closed) - Manual (Dummy)"", Index: 1122 "
06/02/2021 17:44:43 "dzVents: Info: Handling events for: ""Brise Soleil (Closed) - Manual "", value: ""◼"" "
06/02/2021 17:44:43 "User: famille (IP: 192.168.9.201) initiated a switch command (1122/Brise Soleil (Closed) - Manual /Set Level) "
06/02/2021 17:44:41 "EventSystem: Script event triggered: /home/pi/PROD_domoticz/dzVents/runtime/dzVents.lua "
And there, there are are more lines!
the logging section is to be used for setting the level and marker at a script level. Like
In fact I made a mistake! I've forgotten the word level in the logging section!!!
I've put it again and I got the right logging.
It would be convinient to have a syntax control... if "domoticz.LOG_" w/o the key word "level" ; at the present time no error.
Issue2: an error in the check of a callback
I still have this new error, I did some testing with the log but it didn't occured

I have the log for tomorrow, al least to know what are the data received
Code: Select all
local function CheckResponse() -- check http response -- 05/02/2021 -- move after PlayingKO to avoid error
if item.callback == CALLBACKPREFIX..'LMS_Status' then
-- check if the player is present (selected)
--dz.log('item.data ' .. item.data, LOG_LEVEL)
local CheckPlayer=string.find(item.data,'<option selected value="'..LMS_player)
if CheckPlayer ~= nil then -- the player is present
dz.log('HTTPResponse CheckPlayer OK ' .. CheckPlayer, LOG_LEVEL)
-- check if the player is playing
--dz.log('item.data ' .. item.data, LOG_LEVEL)
local CheckPlaying=string.find(item.data,'Now Playing')
if CheckPlaying ~= nil then -- the player is playing
dz.log('HTTPResponse CheckPlaying OK ' .. CheckPlaying, LOG_LEVEL)
else -- the player is not playing
dz.log('item.data ' .. item.data, dz.LOG_FORCE)
end
else -- the player is not present
PlayingKO('Player')
end
end
return
end
The bad answer was there "CheckPlaying=string.find(item.data,'Now Playing')"