Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
It is nice to know that a dzVents script triggered the action, but I rather would like to know WHICH script initiated the action.
Would that be possible?
This will not be possible. The user that triggered the switch action is determined by the main domoticz process and from the perspective of that process it's dzVents.lua that triggered the action. A dzVents user script is a function of this main script and domoticz does not see that function.
EddyG wrote: ↑Monday 29 June 2020 9:48
So if dzVents gave back to Domoticz, with a parameter, which script initiated the action my problem would/could be solved?
Because of the way the domoticz event system interacts with dzVents (via commandArray and API), I don't think that will ever happen. If you really want to log this kind of information, a dzVents shared_ helper function that writes this in a separate logfile could be the next best thing.