Very simple change that i think would help me in troubleshooting is when a user variable changes it writes its change to the log.
Current functionality when it changes nothing is written to the log
Requested functionality when user variable changes write the name of the user variable and the value it changed to.
This would operate almost exactly as a switch would write to a log. It writes the switch name and then what value it changed to
Any feedback on this would be great
User variable write to log
Moderators: leecollings, remb0
-
- Posts: 279
- Joined: Sunday 03 January 2016 14:55
- Target OS: -
- Domoticz version:
- Location: Sweden
- Contact:
Re: User variable write to log
This can be done with a LUA script or even Blocky
-
- Posts: 34
- Joined: Wednesday 26 October 2016 21:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: User variable write to log
That's great didn't know this. I will try this out however why cant this just be integrated as a function? I would suspect it wouldn't be that hard to implement.
Is there anything stopping this from being implemented? As in a conflict with something else?
Reason i push for this, is it helps in troubleshooting and almost everything else is already writing to the log. And when troubleshooting i shouldn't have to implement another item just to troubleshoot.
Do you have a script that does this? Is it somewhere in the forum already? Ill see if i can find this later
Sent from my GT-N5110 using Tapatalk
Is there anything stopping this from being implemented? As in a conflict with something else?
Reason i push for this, is it helps in troubleshooting and almost everything else is already writing to the log. And when troubleshooting i shouldn't have to implement another item just to troubleshoot.
Do you have a script that does this? Is it somewhere in the forum already? Ill see if i can find this later
Sent from my GT-N5110 using Tapatalk
Re: User variable write to log
You can set a uservariable "debug" and depending on it's value print all uservariables to the log????
-
- Posts: 34
- Joined: Wednesday 26 October 2016 21:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: User variable write to log
SweetPants wrote:You can set a uservariable "debug" and depending on it's value print all uservariables to the log????
Do you mean in blocky? I see the debug. i shall use this as well.
These are all great work arounds and I appreciate the suggestions because I have not thought about that. I will be using these
However my suggestion still stands for this to be implemented into domoticz.
Till then I will use these thanks
Who is online
Users browsing this forum: No registered users and 1 guest