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

ignoreBelowNumber isn't working when entering 0 #287

Open
chkrause opened this issue Aug 21, 2022 · 1 comment · May be fixed by #422
Open

ignoreBelowNumber isn't working when entering 0 #287

chkrause opened this issue Aug 21, 2022 · 1 comment · May be fixed by #422

Comments

@chkrause
Copy link

Describe the bug
I have a modbus object which retruns the value -2147483648 in case of the PV inverter is switching off. I configured the data point that values below 0 should be ignored. Nevertheless these values (-2147483648) will be logged.

As a workaround I configured the value to -1, then it's working for me. (Unfortunately, the UI displays an error when typing minus sign, this initially indicates that no negative values can be entered.)

To Reproduce
Steps to reproduce the behavior:

  1. Create a new DataPoint
  2. Enable InfluxDB Logging
  3. Configure that numbers below 0 should be ignored
  4. Enter manually the value -2147483648

Expected behavior
The value -2147483648 should not be logged into the influxDB

Screenshots & Logfiles
createDataPoint

configureDataPoint

enterValue

SavedValues

Versions:

  • Adapter version: 3.1.7
  • JS-Controller version: 4.0.23
  • Node version: v16.17.0
  • Operating system: Linux iobroker 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux

Additional context
Add any other context about the problem here.

@chkrause chkrause changed the title ignoreBelowNumber isn't working ignoreBelowNumber isn't working when entering 0 Aug 21, 2022
@Apollon77 Apollon77 added the bug label Dec 27, 2022
@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

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

Successfully merging a pull request may close this issue.

2 participants