Hi,
Is it possible to have only the lastvalue displayed on the message column under the log table, specifically upon error state, rest of the time the message is good, but upon error, we get a long message stating "error caused by lookup file...." We just need the last value even on error state, or else we need to have an additional column, which can just give us a last value.
Thank you
Article Comments
Hello Arne,
We are displaying log table on our map, so like you said, is it possible to get the lastvalue via an API call and the same last value to be displayed under a column on the log table object of the map. If yes, please explain, an example would be great.
Thank you
Jan, 2023 - Permalink
Hello,
with maps, only certain types of API accesses are possible. In principle you can have a sensor list which includes lastvalue, but not lastmessage.
As this is customization, we provide some documentation, but not custom examples. The general approach would be to check out how a default sensor table works, then copying that file under new name, changing the internal object name in the file and modifying the table in the file.
An introduction to custom map objects is here, we also provide more specific examples how to modify tables.
Jan, 2023 - Permalink
Hello,
the sensor status message cannot be altered. If you want to get the lastvalue, you can use that placeholder (%lastvalue) in notifications, or query it via an API call. The sensor Log tab however always shows the default status message.
Jan, 2023 - Permalink