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

reolink has an invalid jsonConfig: #40

Closed
ebgonline opened this issue Dec 3, 2023 · 8 comments
Closed

reolink has an invalid jsonConfig: #40

ebgonline opened this issue Dec 3, 2023 · 8 comments
Labels
bug Something isn't working not reproducible question Further information is requested

Comments

@ebgonline
Copy link

Describe the bug
A clear and concise description of what the bug is.
Errormessage from the admin-Adapter:
reolink has an invalid jsonConfig: [{"instancePath":"/items/_options/items/cameraProtocol","schemaPath":"#/patternProperties/%5E.%2B/allOf/22/then/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"newline"},"message":"must NOT have additional properties"},{"instancePath":"/items/_options","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match "then" schema"}]

To Reproduce
Steps to reproduce the behavior:
Install reolink-Adapter
Expected behavior
Camera is found and datapoints are filled

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:
starting. Version 1.0.1 (non-npm: aendue/ioBroker.reolink#42863bb6bd74194319503b855f95198849577cf9) in /opt/iobroker/node_modules/iobroker.reolink, node: v18.17.1, js-controller: 5.0.16

  • Adapter version:
  • JS-Controller version:
  • Node version:
  • Operating system: raspberryos (debian bullseye)

Additional context
Add any other context about the problem here.

@oelison oelison added bug Something isn't working question Further information is requested not reproducible labels Dec 5, 2023
@oelison
Copy link
Collaborator

oelison commented Dec 5, 2023

I have tested it with a windows, linux and macOS. I have not seen this issue. How you did the installation? Did you compare the jsonConfig.json with the one from the repository?

@ebgonline
Copy link
Author

I am happy with you, but how does this help?
I didnt compare it, because it was installed from the github-repo and started.

@ticaki
Copy link

ticaki commented Dec 6, 2023

to check/reproduce this u need always the information about used admin version.

There is no error in ur jsonConfig.json

EDIT: this is a false positive schema check.

ioBroker/adapter-react-v5#245

@ticaki
Copy link

ticaki commented Dec 9, 2023

Ups there is an error in Ur jsonconfig

newLine Not newline 😊

@ebgonline
Copy link
Author

Thats funny, because i installed the adapter actually from github, where this was fixed before.
now i get the log-entry from the reolink-adapter that says
"TypeError [ERR_INVALID_URL]: Invalid URL: ERR_INVALID_URL"
That i cant understand, because nowhere in the config is something like "URL" or so.
My admin-Adapter is 6.12.0

@oelison
Copy link
Collaborator

oelison commented Dec 11, 2023

I will change all newlines to newLines asap.

oelison added a commit that referenced this issue Dec 11, 2023
* replaced newline by newLine

#40
oelison added a commit that referenced this issue Dec 19, 2023
* (oelison) known working cameras added
* (oelison) setIrLights accept "On" now
* (oelison) [#40](#40)
* (oelison) [#42](#42)
@mcm1957
Copy link

mcm1957 commented Dec 27, 2023

@oelison
Fixed with 1.0.2 or not?

@ebgonline
Copy link
Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not reproducible question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants