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

file-naming converting issue when DP has a ":" in the naming #198

Open
daloki83 opened this issue Sep 30, 2022 · 0 comments
Open

file-naming converting issue when DP has a ":" in the naming #198

daloki83 opened this issue Sep 30, 2022 · 0 comments

Comments

@daloki83
Copy link

daloki83 commented Sep 30, 2022

Versions:

  • Adapter version: v2.2.0
  • JS-Controller version: 4.0.23
  • Node version: v18.8.0
  • Operating system: linux

While moving data from history to MySql the script ignores some ID's. After some investigation the namings of these .json files are not 1:1 like the DPs and therefore be skipped. In this case ":" was replaced by "~".

Datapoint:
bshb.0.hdm:ZigBee:385b44fffeabccbb.PowerMeter.powerConsumption
File in Data-Dir:
history.bshb.0.hdm~ZigBee~385b44fffeabccbb.PowerMeter.energyConsumption.json

Datapoints are created from the Adapter "ioBroker.bshb v0.1.20" for the Bosch devices.

Additional Info: Output from history2db.js:
Day 20220925 - history.bshb.0.hdm~ZigBee~385b44fffeabccbb.PowerMeter.energyConsumption.json Ignore ID history.bshb.0.hdm~ZigBee~385b44fffeabccbb.PowerMeter.energyConsumption.json: bshb.0.hdm~ZigBee~385b44fffeabccbb.PowerMeter.energyConsumption

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