-
Notifications
You must be signed in to change notification settings - Fork 285
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 deyeidc to latest #2187
Add deyeidc to latest #2187
Conversation
Bluefox ist also invinited to npm |
Link to repo: https://github.com/raschy/ioBroker.deyeidc adapter checker seems to be OK: @GermanBluefox |
First of all - THANK YOU for the time and effort you spend to maintain this adapter. I would like to give some (preliminary) feedback based on my personal oppinion. This is NOT an offical review and @Apollon77 might have several additional suggestions or even a different oppinion to one or the other statement. Please feel free to contact him (or wait for a response from him) if you cannot follow my suggestsions or before you spend major effort.
Thanks for reading and evalutaing this suggestions. |
RE-CHECK! |
Please RE-CHECK the Release 0.0.7 from 27.05.2023 |
Please RE-CHECK the Release 0.0.9 from 10.07.2023 |
[W505] setTimeout found in "main.js", but no clearTimeout detected - false positive |
Do I have to do anything else to get into the latest repository with the adapter? |
No not st the moment. thanks |
Automated adapter checkerioBroker.deyeidc👍 No errors found
Add comment "RE-CHECK!" to start check anew |
First of all - THANK YOU for the time and effort you spend to maintain this adapter. I would like to give some additional (preliminary) feedback based on my personal oppinion. This is NOT an offical review and @Apollon77 might have several additional suggestions or even a different oppinion to one or the other statement. Please feel free to contact him (or wait for a response from him) if you cannot follow my suggestsions or before you spend major effort.
Thanks for reading and evaluating this suggestions. Please add a comment when you have reviewed and fixed the suggestionsor at least commented the suggestions and you think the adapter is ready for a re-review! Note: W505 setTimeout is a false positive. |
I would also like to thank someone for taking care of the adapter. |
Current code is
You can simply change
to
Background: Every state has an ack flag. When listening to external states (States of other adapters) most likely the code should react on ack=true only. |
Thank you for the quick answer and the detailed explanation. |
I do not really understand... Its ok if your OWN adapter writes with ack-flag true. But in this case I do not see why you would take the overhead of onStateChange processing? External code should write with ack=false. |
The data points that are subscribed to there are set by the adapter itself. I cannot judge how much overhead the onStateChange produces. I have not seen any other way to solve this. |
As asking for another solution. I guess you could call "doProcessing" directly after a setState the same way as using an onSetState callback. So I do not see the problem to do it directly. But I will leave this to @Apollon77 to decide whether its OK that a adapter communicates with itself using subscribed states. |
@Apollon77 |
I understand the concern about the correct, resource-saving way of working of an adapter. However, since the data points can be freely selected by the user and I do not know which data points are to be "used", I find it very difficult to find the other way at the moment. Nevertheless, I will pay special attention to this point in any further development. |
According to feedback at telegramm this logic is OK. |
ok to release according to tg |
This adapter has been released to latest repository and should be visible within 24h maximum. Please create a thread at https://forum.iobroker.net/category/91/tester titled like "Test Adapter " to collect some user feedback and provide a link to this topic when requesting addition to stable repository later. Note: If an other testing topic already exists, ist OK to continue using this topic too. |
Thank you for including the adapter in the latest repository. |
Thats totally OK |
Please add my adapter ioBroker.deyeidc to latest.
This pull request was created by https://www.iobroker.dev c0726ff.