Hi, I'm having some issues and I could use some help.
I have a python script with which I get some values from an AP. When I create an item I can easily get a value from the script.
The problem is when it is more than one. I was guided by the documentation, it tells me how the item key should be:
script.py [<param1>, <param2>]
but how should the print be in the script? A print for each parameter or concatenating the values?
Also try gathering the values in a JSON format and printing that. Hence with dependent items call each value with JSON path but it doesn't work either. It gives me a timeout error for the upper item and the lower ones do not recognize the JSON.
What am I doing wrong? Any suggestion?
I have a python script with which I get some values from an AP. When I create an item I can easily get a value from the script.
The problem is when it is more than one. I was guided by the documentation, it tells me how the item key should be:
script.py [<param1>, <param2>]
but how should the print be in the script? A print for each parameter or concatenating the values?
Also try gathering the values in a JSON format and printing that. Hence with dependent items call each value with JSON path but it doesn't work either. It gives me a timeout error for the upper item and the lower ones do not recognize the JSON.
What am I doing wrong? Any suggestion?