Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field Tag 'level' not available in InfluxDB #11

Open
6 tasks done
DomKow2008 opened this issue Sep 22, 2021 · 1 comment
Open
6 tasks done

Field Tag 'level' not available in InfluxDB #11

DomKow2008 opened this issue Sep 22, 2021 · 1 comment

Comments

@DomKow2008
Copy link

DomKow2008 commented Sep 22, 2021

Just tried out this PlugIn as it seems to fit my purpose very well. However I am struggling to get it work properly.

I have configured the DB, and I get information about my devices, but not what I have hoped.

  • Ensure you are running the latest released version. You can check that via the Apps > Local Apps screen in your Z-Wave>Me. (you might need to remove filters). If a red arrow is displayed next to this module, a newer version is available.

done

  • State the Z-Wave>Me version. See Management > Info

v1.13.3 (Built date: 15-09-2021 18:52:02)

  • Make sure that you followed all installation instructions in the README. If installed via git ensure that the directory is NOT prefixed with 'ZWay-' and that the user running zway can access all files inside the directory.

done

  • Include log messages generated while running the highest log level. Log level can be set via /opt/z-way-server/config.xml (highest level = 0, file location may be different). Be sure to include enough context: Not only the line showing the error, but also a couple of lines before and after. Log file is usually located at /var/log/z-way-server.log

[2021-09-22 17:41:48.284] [I] [core] Load app "InfluxDbStats" from folder ...
[2021-09-22 17:41:48.293] [I] [core] Loading module InfluxDbStats from userModules/InfluxDbStats
[2021-09-22 17:41:48.296] [I] [core] Executing script: /*** InfluxDbStats Z-Way HA module ******************************************* ...
[2021-09-22 17:47:24.462] [I] [core] Instantiating module 16 from class InfluxDbStats
[2021-09-22 17:47:24.467] [I] [core] --- Starting module InfluxDb Statistics Collector
[2021-09-22 17:48:24.491] [I] [core] [InfluxDbStats-16] Update all
[2021-09-22 17:48:24.499] [I] [core] [InfluxDbStats-16] Update zway.1
[2021-09-22 17:48:24.506] [I] [core] [InfluxDbStats-16] Update zway.34
[2021-09-22 17:48:24.509] [I] [core] [InfluxDbStats-16] Update zway.36
[2021-09-22 17:48:24.511] [I] [core] [InfluxDbStats-16] Update zway.37
[2021-09-22 17:49:24.489] [I] [core] [InfluxDbStats-16] Update all
[2021-09-22 17:49:24.491] [I] [core] [InfluxDbStats-16] Update zway.1
[2021-09-22 17:49:24.493] [I] [core] [InfluxDbStats-16] Update zway.34
[2021-09-22 17:49:24.494] [I] [core] [InfluxDbStats-16] Update zway.36
[2021-09-22 17:49:24.497] [I] [core] [InfluxDbStats-16] Update zway.37
[2021-09-22 17:50:24.511] [I] [core] [InfluxDbStats-16] Update all
[2021-09-22 17:50:24.513] [I] [core] [InfluxDbStats-16] Update zway.1
[2021-09-22 17:50:24.515] [I] [core] [InfluxDbStats-16] Update zway.34
[2021-09-22 17:50:24.516] [I] [core] [InfluxDbStats-16] Update zway.36
[2021-09-22 17:50:24.518] [I] [core] [InfluxDbStats-16] Update zway.37
[2021-09-22 17:51:24.536] [I] [core] [InfluxDbStats-16] Update all
[2021-09-22 17:51:24.538] [I] [core] [InfluxDbStats-16] Update zway.1
[2021-09-22 17:51:24.539] [I] [core] [InfluxDbStats-16] Update zway.34
[2021-09-22 17:51:24.540] [I] [core] [InfluxDbStats-16] Update zway.36
[2021-09-22 17:51:24.542] [I] [core] [InfluxDbStats-16] Update zway.37

  • Append the configuration of the module. The configuration can be obtained by opening this URL in your browser http://#IP#:8083/ZAutomation/api/v1/instances/#INSTANCE-ID#

{"data":{"moduleId":"InfluxDbStats","active":true,"title":"InfluxDb Statistics Collector","params":{"port":8086,"tags":[],"server":"http://10.0.0.100","database":"razberry","excludeTags":[],"interval":1},"id":16,"creationTime":1632325644,"category":"logging"},"code":200,"message":"200 OK","error":null}

  • If applicable, please also include steps to reproduce.

This is the InfluxDB output of 'show field keys':
name: zwave.36
fieldKey fieldType


battery float
failed float
failure float
queue float
success float

name: zwave.37
fieldKey fieldType


failed float
failure float
queue float
success float

For 'show tag keys' its not much more:
name: zwave.36
tagKey

title
type

name: zwave.37
tagKey

title
type

@DomKow2008
Copy link
Author

Okay, you have to provide at least one tag, I thought this field is optional, but it's required. Maybe it's worth to make this more prominent or make this field required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant