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 BayernLuft Adapter to latest #1986

Closed
wants to merge 9 commits into from

Conversation

Marco15453
Copy link
Contributor

No description provided.

@Apollon77 Apollon77 added the Adapter-Review needed A developer from the ioBroker Team will review the adapter, will provide comments or require changes label Oct 31, 2022
@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 Oct 31, 2022
@ioBroker ioBroker deleted a comment from Apollon77 Oct 31, 2022
@Apollon77
Copy link
Collaborator

SUpported languages notes can be ignored

@ioBroker ioBroker deleted a comment from Marco15453 Oct 31, 2022
@Apollon77 Apollon77 removed the must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review label Oct 31, 2022
@Marco15453 Marco15453 changed the title Added BayernLüfter Adapter Added BayernLuft Adapter Nov 4, 2022
@Apollon77
Copy link
Collaborator

Apollon77 commented Nov 16, 2022

Hi, here is my review feedback:

Thank you for checking and adjusting the mentioned relevant points

@Apollon77 Apollon77 added question Something needs to be done or answered by the adapter developer must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review and removed Adapter-Review needed A developer from the ioBroker Team will review the adapter, will provide comments or require changes auto-checked This PR was automatically checked for obvious criterias labels Nov 16, 2022
@Marco15453
Copy link
Contributor Author

  • It might be easier to remember which objects were already checked and so existing than checkig this for every calue you write in each "data read loop" This produces a lot of database traffic which is unneeded.

What do you exactly mean with this?

@Apollon77
Copy link
Collaborator

Right now whenever you receive data and want to write a state you do a getObject and then do comparisms based on that object. Given the point that datatype, unit and such not change with each data request (if this would be true we need to talk about other topics) in fact ONE getObject at the start would be enough if you simply would create a Map in the adapter wehere you remember this object by his id. So you also know the content without having to read it from the DB everytime anew

@Apollon77
Copy link
Collaborator

@Marco15453 Happy new year, how we should proceed?

@Marco15453
Copy link
Contributor Author

I don't quite understand what you exactly want, if you could destribe it a bit better.

@GermanBluefox GermanBluefox added the auto-checked This PR was automatically checked for obvious criterias label May 20, 2023
@ioBroker ioBroker deleted a comment from Marco15453 May 20, 2023
@Apollon77
Copy link
Collaborator

@Marco15453

I don't quite understand what you exactly want, if you could destribe it a bit better.

To which point exactly you need more information? Is it about the remember alreadyf created objects or any other point?

if it is that point then this is simply a performance topic:
In your checkDevices when you write data then you always do a "getObject" to verify if the object is existing or not. If yes you just do setState else you craete objects, but you aaalways do a getObject. And in fact you do this in any pull loop, so any x Seconds.
My idea was that you have e.g. ean object with named keys where you remember when you did the getObject check or created the object becaus ethen you do not need to do that again for thw whole run of your instance.

Is that more clear?

Innfact with a getObject you dpuble the number of requests your adapter does internally to the DB per "pull loop".

@mcm1957
Copy link
Collaborator

mcm1957 commented May 22, 2023

Please add node 18 test-and-release.yml and (optionally) add node 20 to testing matrix.

And in addition please REMOVE source-dist-stabel from this PR. New adapters MUST be available for some time at latest before accepted for stabel repository. So ist inappropiate to add this adapter to both repositories at once

Thanks
McM1957

@github-actions github-actions bot deleted a comment from mcm1957 Jul 12, 2023
@mcm1957
Copy link
Collaborator

mcm1957 commented Jul 12, 2023

PR must not change latest and stabel at the same time
Addition to stable requires that the adapter is available at latest for some time (at least a week) and have some users.

So please remove changes for stable repo from this PR

@mcm1957
Copy link
Collaborator

mcm1957 commented Jul 15, 2023

Check of bayernluefter irrelavant and caused by old commits.

❗ [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.bayernluft

must be fixed, further review to be done

@mcm1957 mcm1957 removed the question Something needs to be done or answered by the adapter developer label Jul 15, 2023
@github-actions github-actions bot deleted a comment from Marco15453 Jul 15, 2023
@github-actions github-actions bot deleted a comment from Marco15453 Jul 16, 2023
@Apollon77
Copy link
Collaborator

@Marco15453 Please check the checker comments

@mcm1957 mcm1957 added the (RE-)REVIEW pending (mcm1957) Changes requested by review have been applied, re-review could be done. label Jul 27, 2023
@mcm1957
Copy link
Collaborator

mcm1957 commented Aug 4, 2023

RE-CHECK!

@github-actions github-actions bot deleted a comment from Marco15453 Aug 4, 2023
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

Automated adapter checker

ioBroker.bayernluefter

Downloads
NPM

  • ❗ [E020] Name of adapter in package.json must be lowercase and be equal to "iobroker.bayernluefter". Now is "iobroker.bayernluft"
  • ❗ [E103] "common.name" in io-package.json must be equal to "bayernluefter'". Now is bayernluft
  • ❗ [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.bayernluefter
  • ❗ [E510] "/admin/i18n/uk/translations.json" or "admin/i18n/uk.json" not found, but admin support is declared
  • 👀 [W171] "common.title" is deprecated in io-package.json
  • 👀 [W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W202] Version of package.json (1.2.2) doesn't match latest version on NPM ({"_id":"iobroker.bayernluefter","name":"iobroker.bayernluefter","time":{"created":"2022-10-31T12:27:57.986Z","1.0.0":"2022-10-31T12:27:58.198Z","modified":"2022-11-04T20:32:58.749Z","1.0.2":"2022-10-31T12:33:11.324Z","1.1.0":"2022-10-31T13:53:38.032Z","1.1.1":"2022-10-31T13:59:36.502Z","1.1.2":"2022-10-31T14:43:23.802Z","1.2.0":"2022-11-03T18:53:16.251Z","unpublished":{"time":"2022-11-04T20:32:58.749Z","versions":["1.0.0","1.0.2","1.1.0","1.1.1","1.1.2","1.2.0"]}}})
  • 👀 [W400] Cannot find "bayernluefter" in latest repository

ioBroker.bayernluft

Downloads Number of Installations (latest)
NPM

  • ❗ [E510] "/admin/i18n/uk/translations.json" or "admin/i18n/uk.json" not found, but admin support is declared
  • 👀 [W171] "common.title" is deprecated in io-package.json
  • 👀 [W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • 👀 [W400] Cannot find "bayernluft" in latest repository

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

@mcm1957 mcm1957 changed the title Added BayernLuft Adapter Add BayernLuft Adapter to latest Feb 2, 2024
@mcm1957 mcm1957 added ⚠️check Issue/PR needs attention and removed (RE-)REVIEW pending (mcm1957) Changes requested by review have been applied, re-review could be done. labels Mar 4, 2024
@mcm1957
Copy link
Collaborator

mcm1957 commented Mar 6, 2024

@Marco15453
As there was no reaction to last poll from mid 2023 and adapter has not been updated since app 2 years this PR seems to be outdated / stale.

@Marco15453
Please respond if you still want this adapter to be added to the repositories and would adapt the adapter if required after review. I'll do a new rive then.

If there is no reaction / comment until 15.04.2024 I will close this PR

Of course opening a new PR at any time is welcome.

Thanks for writing an adapter for ioBroker.

reminder 31.3.2024

@mcm1957 mcm1957 added stale PR seems has no activity, will be closed after some time and removed ⚠️check Issue/PR needs attention labels Mar 6, 2024
@Marco15453 Marco15453 closed this Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 stale PR seems has no activity, will be closed after some time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants