I have an custom sql sensor with a query. Its about 121 lines. Every line should be a channel in the sensor.
I use the key value pair.
It would be also possible to use every value in the row 0 for one channel, if this is working somehow.
Article Comments
I see that you would like to have 121 channels in a custom sql sensor using Selection by Key Value Pair, is this correct?
Using Channel Value Selection by Key Value Pair will return the value of the column predefined from the row associated to the key value.
And for your question in regard to if it is possible to use every value in row 0 for one channel.
How many columns do you have in row 0? If row 0 contains many columns in the same row it won't be possible to have an exclusive channel since the combination of values in one channel to reflect all attributes in one row will not be possible. If you need this, you must reconstruct your data table.
For more information on how the structure of the please refer to the document Sensors Monitoring Databases Directly.
If you need further assistance please open a ticket with support@paessler.com and we can continue assisting you from there.
Mar, 2023 - Permalink
I see that you would like to have 121 channels in a custom sql sensor using Selection by Key Value Pair, is this correct?
Using Channel Value Selection by Key Value Pair will return the value of the column predefined from the row associated to the key value.
And for your question in regard to if it is possible to use every value in row 0 for one channel.
How many columns do you have in row 0? If row 0 contains many columns in the same row it won't be possible to have an exclusive channel since the combination of values in one channel to reflect all attributes in one row will not be possible. If you need this, you must reconstruct your data table.
For more information on how the structure of the please refer to the document Sensors Monitoring Databases Directly.
If you need further assistance please open a ticket with support@paessler.com and we can continue assisting you from there.
Mar, 2023 - Permalink