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

Add mywallbox Adapter to latest #1899

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

SKB-CGN
Copy link
Contributor

@SKB-CGN SKB-CGN commented Aug 15, 2022

Adapter for Cloud based Wallboxes like Pulsar or Pulsar Plus

@Apollon77
Copy link
Collaborator

Hi, thank you for your adapter.

Is the adapter for Pulsar Wallboxes only? Then "Wallbox" as name is too generic in my eyes ... or do you pan to add more other such? Could you please rename it to pulsar-wallbox or such?

@Apollon77 Apollon77 added the Adapter-Review needed A developer from the ioBroker Team will review the adapter, will provide comments or require changes label Aug 15, 2022
@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 15, 2022

Hi, thank you for your adapter.

Is the adapter for Pulsar Wallboxes only? Then "Wallbox" as name is too generic in my eyes ... or do you pan to add more other such? Could you please rename it to pulsar-wallbox or such?

The Company is named "Wallbox" therefore i choosed this name.

@Apollon77
Copy link
Collaborator

wow ... puuhh ... a company name which matches a "in the meantime commodoty name of a device type" :-( I will discuss it in core team...
But I hope you also understand my point of view?

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 15, 2022

Sure, understand it. Never mind. They even own www.wallbox.com as their domain.
So its most common name for product and company ;)

Could you do the checks needed for the adapter in the meantime? Thanks beforehand!

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

Hi,
do we have some news here?

@Apollon77
Copy link
Collaborator

Apollon77 commented Aug 17, 2022

Yes, we discussed yesterday. WOuld it be an issue torename tzo "my-wallbox" so we match the name of that cloud servcie you connect to?

Additionally please state in the readme exactly that it is for Wallboxes from company "wallbox" or such ... right now also the Readme could be easiely read "works for all wallboxes". The same for io-package title/tileLang and desc fields please.

This is a special case, but we want to avoid user confusion.

Additionally please adjust the links in the repo file to use raw.githubusercontent.com like the others ... github.com is not a CDN service ...

Thnak you very much for your understanding and support on this

Changed name to My-Wallbox as requested
@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

Hi,
would you please check the things again.

I have updated the name to My-Wallbox and changed (hopefully) all necessary dependencies and files.

Thank you!

@Apollon77
Copy link
Collaborator

I will do the adapter review in the next days ...

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

Great, but now i have the problem, that the adapter is not working anymore ... i do not know, whats going on.

@Apollon77
Copy link
Collaborator

Hm ... data on github looks fine ... what error you get?

Changed Name to MyWallbox
@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

The adapter is not doing anything. No commands running, no Interval is working. Nothing.

Even not able to change to debug to see some output.

@Apollon77
Copy link
Collaborator

Code wise looks good ... also github actionsstart tghe adapter ... how you test locally?

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

i created the adapter with adapter creator and everytime i change the code, i do iobroker upload mywallbox

@Apollon77
Copy link
Collaborator

but you also reinstalled the adapter after that namechange completely?

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

Holy bible. I missed an error-handling. Will fix that shortly.

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 17, 2022

Now its working again. Thanks for waiting.

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Aug 31, 2022

@Apollon77 Do we have some news here? :)

@Apollon77
Copy link
Collaborator

Yes, after vacation, wasn't able to do it before

@GermanBluefox GermanBluefox added auto-checked This PR was automatically checked for obvious criterias must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review labels Sep 6, 2022
@ioBroker ioBroker deleted a comment from Apollon77 Sep 6, 2022
@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Sep 16, 2022

Can someone please tell me, how "ioBroker.my-wallbox" can be removed here? I needed to change the name and the check always goes through my-wallbox either instead of only using mywallbox.

Thank you!

@Apollon77
Copy link
Collaborator

All good ... the checker only checks the initial repo file change ... so clean would be new PR ... but in this case "known", so all fine

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Sep 16, 2022

Ok and all things are good now?

@Apollon77
Copy link
Collaborator

Hi,
here my review comments:

Thank you for checking and adjusting,

Ingo

@github-actions github-actions bot added the *📬 a new comment has been added label Sep 17, 2024
@mcm1957
Copy link
Collaborator

mcm1957 commented Sep 17, 2024

Feel free to take next week too. I'm on holidays next week and will not be able to do a review next week anyway.

@mcm1957 mcm1957 added stale PR seems has no activity, will be closed after some time and removed *📬 a new comment has been added stale - marked for closing There was no feedback vom PR owner, PR will be closed. labels Sep 17, 2024
@github-actions github-actions bot added the *📬 a new comment has been added label Sep 18, 2024
@github-actions github-actions bot deleted a comment from mcm1957 Sep 18, 2024
Copy link

Automated adapter checker

blob

Downloads - Test and Release
NPM

  • ❗ [E000] FATAL: cannot access repository https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob
  • ❗ [E999] GLOBAL ERROR: [object Object], {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:2019:12)\n at Unzip.handleStreamEnd (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:3135:11)\n at Unzip.emit (node:events:529:35)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:4287:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Cache-Control":"no-cache","Pragma":"no-cache","Expires":"0","User-Agent":"axios/1.7.7","Accept-Encoding":"gzip, compress, deflate, br"},"cache":false,"method":"get","url":"https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob"},"code":"ERR_BAD_REQUEST","status":404}

ioBroker.my-wallbox

Downloads - Test and Release
NPM

  • ❗ [E999] GLOBAL ERROR: ReferenceError: packageJson is not defined, {}

ioBroker.mywallbox

Downloads Number of Installations (latest) - Test and Release
NPM

  • ❗ [E254] Versions "0.0.17, 0.0.16, 0.0.15" listed at common.news at io-package.json do not exist at NPM. Please remove from news section.
  • 👀 [S522] Please consider migrating to admin 5 UI (jsonConfig).
  • 👀 [S526] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
  • 👀 [W401] Cannot find "mywallbox" in latest repository

Add comment "RE-CHECK!" to start check anew

@github-actions github-actions bot deleted a comment from mcm1957 Sep 18, 2024
@github-actions github-actions bot deleted a comment from SKB-CGN Sep 18, 2024
Copy link

Automated adapter checker

blob

Downloads - Test and Release
NPM

  • ❗ [E000] FATAL: cannot access repository https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob
  • ❗ [E999] GLOBAL ERROR: [object Object], {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:2019:12)\n at Unzip.handleStreamEnd (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:3135:11)\n at Unzip.emit (node:events:529:35)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:4287:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Cache-Control":"no-cache","Pragma":"no-cache","Expires":"0","User-Agent":"axios/1.7.7","Accept-Encoding":"gzip, compress, deflate, br"},"cache":false,"method":"get","url":"https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob"},"code":"ERR_BAD_REQUEST","status":404}

ioBroker.my-wallbox

Downloads - Test and Release
NPM

  • ❗ [E999] GLOBAL ERROR: ReferenceError: packageJson is not defined, {}

ioBroker.mywallbox

Downloads Number of Installations (latest) - Test and Release
NPM

  • ❗ [E254] Versions "0.0.17, 0.0.16, 0.0.15" listed at common.news at io-package.json do not exist at NPM. Please remove from news section.
  • 👀 [S522] Please consider migrating to admin 5 UI (jsonConfig).
  • 👀 [S526] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
  • 👀 [W401] Cannot find "mywallbox" in latest repository

Add comment "RE-CHECK!" to start check anew

@github-actions github-actions bot deleted a comment from SKB-CGN Sep 18, 2024
Copy link

Automated adapter checker

blob

Downloads - Test and Release
NPM

  • ❗ [E000] FATAL: cannot access repository https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob
  • ❗ [E999] GLOBAL ERROR: [object Object], {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:2019:12)\n at Unzip.handleStreamEnd (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:3135:11)\n at Unzip.emit (node:events:529:35)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:4287:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Cache-Control":"no-cache","Pragma":"no-cache","Expires":"0","User-Agent":"axios/1.7.7","Accept-Encoding":"gzip, compress, deflate, br"},"cache":false,"method":"get","url":"https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob"},"code":"ERR_BAD_REQUEST","status":404}

ioBroker.my-wallbox

Downloads - Test and Release
NPM

  • ❗ [E999] GLOBAL ERROR: ReferenceError: packageJson is not defined, {}

ioBroker.mywallbox

Downloads Number of Installations (latest) - Test and Release
NPM

  • ❗ [E254] Versions "0.0.17, 0.0.16" listed at common.news at io-package.json do not exist at NPM. Please remove from news section.
  • 👀 [S522] Please consider migrating to admin 5 UI (jsonConfig).
  • 👀 [S526] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
  • 👀 [W401] Cannot find "mywallbox" in latest repository

Add comment "RE-CHECK!" to start check anew

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Sep 18, 2024

Hi @mcm1957 - i have updated all things and i think, the adapter is fully operable.
What do you think?

@mcm1957
Copy link
Collaborator

mcm1957 commented Sep 18, 2024

Thanks for Info - I'll do a recheck

@mcm1957 mcm1957 added (RE-)REVIEW pending (mcm1957) Changes requested by review have been applied, re-review could be done. and removed must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review stale PR seems has no activity, will be closed after some time *📬 a new comment has been added labels Sep 18, 2024
@mcm1957
Copy link
Collaborator

mcm1957 commented Nov 1, 2024

RE-CHECK!

@github-actions github-actions bot added the must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review label Nov 1, 2024
@github-actions github-actions bot deleted a comment from SKB-CGN Nov 1, 2024
Copy link

github-actions bot commented Nov 1, 2024

Automated adapter checker

blob

Downloads - Test and Release
NPM

  • ❗ [E000] FATAL: cannot access repository https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob
  • ❗ [E999] GLOBAL ERROR: AxiosError: Request failed with status code 404, {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:2019:12)\n at Unzip.handleStreamEnd (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:3135:11)\n at Unzip.emit (node:events:529:35)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:4287:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Cache-Control":"no-cache","Pragma":"no-cache","Expires":"0","User-Agent":"axios/1.7.7","Accept-Encoding":"gzip, compress, deflate, br"},"cache":false,"method":"get","url":"https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob"},"code":"ERR_BAD_REQUEST","status":404}

ioBroker.my-wallbox

Downloads - Test and Release
NPM

  • ❗ [E020] Name of adapter in package.json must be lowercase and be equal to "iobroker.my-wallbox". Now is "iobroker.mywallbox"
  • ❗ [E103] "common.name" in io-package.json must be equal to "my-wallbox'". Now is mywallbox
  • ❗ [E251] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.my-wallbox
  • ❗ [E999] GLOBAL ERROR: TypeError: Cannot read properties of undefined (reading 'latest'), {}
  • 👀 [W034] @iobroker/adapter-core 3.1.6 specified. 3.2.2 is recommended. Please consider updating dependencies at package.json

ioBroker.mywallbox

Downloads Number of Installations (latest) - Test and Release
NPM

  • ❗ [E254] Versions "0.0.17, 0.0.16" listed at common.news at io-package.json do not exist at NPM. Please remove from news section.
  • 👀 [S522] Please consider migrating to admin 5 UI (jsonConfig).
  • 👀 [S526] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
  • 👀 [W034] @iobroker/adapter-core 3.1.6 specified. 3.2.2 is recommended. Please consider updating dependencies at package.json
  • 👀 [W401] Cannot find "mywallbox" in latest repository

Add comment "RE-CHECK!" to start check anew

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Nov 11, 2024

RE-CHECK!

@github-actions github-actions bot added the *📬 a new comment has been added label Nov 11, 2024
Copy link

Automated adapter checker

blob

Downloads - Test and Release
NPM

  • ❗ [E000] FATAL: cannot access repository https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob
  • ❗ [E999] GLOBAL ERROR: AxiosError: Request failed with status code 404, {"message":"Request failed with status code 404","name":"AxiosError","stack":"AxiosError: Request failed with status code 404\n at settle (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:2019:12)\n at Unzip.handleStreamEnd (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:3135:11)\n at Unzip.emit (node:events:529:35)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/home/runner/work/ioBroker.repositories/ioBroker.repositories/node_modules/axios/dist/node/axios.cjs:4287:41)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Cache-Control":"no-cache","Pragma":"no-cache","Expires":"0","User-Agent":"axios/1.7.7","Accept-Encoding":"gzip, compress, deflate, br"},"cache":false,"method":"get","url":"https://api.github.com/repos/SKB-CGN/ioBroker.wallbox/blob"},"code":"ERR_BAD_REQUEST","status":404}

ioBroker.my-wallbox

Downloads - Test and Release
NPM

  • ❗ [E020] Name of adapter in package.json must be lowercase and be equal to "iobroker.my-wallbox". Now is "iobroker.mywallbox"
  • ❗ [E103] "common.name" in io-package.json must be equal to "my-wallbox'". Now is mywallbox
  • ❗ [E251] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.my-wallbox
  • ❗ [E999] GLOBAL ERROR: TypeError: Cannot read properties of undefined (reading 'latest'), {}

ioBroker.mywallbox

Downloads Number of Installations (latest) - Test and Release
NPM

👍 No errors found

  • 👀 [S522] Please consider migrating to admin 5 UI (jsonConfig).
  • 👀 [S526] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
  • 👀 [W401] Cannot find "mywallbox" in latest repository

Add comment "RE-CHECK!" to start check anew

@github-actions github-actions bot deleted a comment from SKB-CGN Nov 11, 2024
@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Nov 11, 2024

@mcm1957 As all errors have been fixed, can we proceed?

@mcm1957
Copy link
Collaborator

mcm1957 commented Nov 11, 2024

Yes i wll do as soon as I find time.
Have some backlog due to travel to Solingen (Meeting) and back.
Sorry.

@SKB-CGN
Copy link
Contributor Author

SKB-CGN commented Nov 11, 2024

Not a problem ;)
Take your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
30.9.2024 remind after 30.9.2024 *📬 a new comment has been added auto-checked This PR was automatically checked for obvious criterias must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review New at LATEST (RE-)REVIEW pending (mcm1957) Changes requested by review have been applied, re-review could be done.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants