-
I successfully managed to create a parameter.json and run ism7mqtt and receive MQTT messages. I use telegraf to copy them into my local influxdb. As of now I copy all parameters. I want to strip down my parameter.json so it just collects the parameters I want to see in grafana. I know ism7mqtt creates MQTT messages only if parameters changed. But nevertheless all parameters have to be queried. I want to reduce the query time and don't want to store all the data in my influxdb. I know I can select the parameters to copy into influxdb in telegraf but nevertheless all data will be queried by ism7mqtt. How can I find out which parameter I have to keep in my parameter.json if I want to get for example Kesseltemperatur only? If I understand the algorithm I may create a script which accepts a parameter name and delivers
and contribute it in a PR 😉 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
you can use the ParameterTemplates.xml to look up your current parameters. Just search for the element with The problem is, that the names are not unique - If you want to know which parameters are supported for each device, you can look this up in DeviceTemplates.xml. For each device you can see a list of supported parameter ids. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your hints. I agree it would be helpful for my use case to have the parameter names included in the generated json. But it's actually not required because I just created a small bash script which accepts a search string and searches for all parameter names defined in If you find it useful I can contribute the script in a PR. Just let me know in which directory I should add the script and which name I should give the script. Sample invocation and result:
|
Beta Was this translation helpful? Give feedback.
-
If somebody is interested in my script: It's located in my bashScriptCollection |
Beta Was this translation helpful? Give feedback.
If somebody is interested in my script: It's located in my bashScriptCollection