8000 WS2812FX: Add network support by Boernsman · Pull Request #421 · nymea/nymea-plugins · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WS2812FX: Add network support #421

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

Open
wants to merge 191 commits into
base: nymea-light-ws2812fx
Choose a base branch
from

Conversation

Boernsman
Copy link
Contributor
@Boernsman Boernsman commented Apr 23, 2021

nymea-plugins pull request checklist:

  • Make sure the pull request's title is of format "Plugin name: Add support for xyz" or "New plugin: Plugin name"

  • Did you test the changes on hardware, if not (e.g. absence of required hardware), please mention a person to confirm it has been tested.

  • Did you update the plugin's README.md accordingly?

  • Did you update translations (cd builddir && make lupdate)?

  • If you added a new plugin, should it be added to nymea-plugins-all or nymea-plugins-maker?

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1469/

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1475/

@Boernsman Boernsman force-pushed the ws2812fx-add-network-connection branch from 1e98fd2 to 41b666c Compare May 23, 2021 12:26
@Boernsman Boernsman requested a review from t-mon May 23, 2021 12:26
@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1506/

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1507/

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1508/

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1509/

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1510/

@t-mon t-mon changed the base branch from master to nymea-light-ws2812fx May 25, 2021 10:07
@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1512/

Copy link
Contributor
@t-mon t-mon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice PR. Cant wait to see the firmware code :-)
PS: I changed the PR base for better review and merging


QString interface = thing->paramValue(nymeaLightThingAddressParamTypeId).toString();
NymeaLight *light = nullptr;
if (thing->paramValue(nymeaLightThingConnectionTypeParamTypeId).toString() == "Serial") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting approach to use one device with 2 possible connection interfaces! Nice idea


if (!hardwareManager()->zeroConfController()->available()) {
qCWarning(dcWs2812fx()) << "ZeroConfController not available";
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add info->finish(Thing::ThingErrorNoError); here and return, no need to proceed.

qCWarning(dcWs2812fx()) << "ZeroConfController not available";
}

Q_FOREACH (const ZeroConfServiceEntry &service, m_serviceBrowser->serviceEntries()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better use forach, since the Q_FOREACH macro has been deprecated and will not be supported in future Qt versions.

t-mon and others added 7 commits May 28, 2021 15:54
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.10 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@1.25.10...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@1.26.3...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@Boernsman Boernsman force-pushed the ws2812fx-add-network-connection branch from f3381f7 to 7e90843 Compare September 12, 2021 13:52
@CLAassistant
Copy link
CLAassistant commented Sep 12, 2021

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

✅ loosrob
✅ mzanetti
✅ t-mon
✅ Boernsman
❌ nymea-jenkins
You have signed the CLA already but the status is still pending? Let us recheck it.

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1628/

@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1629/

@Boernsman Boernsman force-pushed the ws2812fx-add-network-connection branch from 678ce54 to 7ff6686 Compare September 28, 2021 20:54
@nymea-jenkins
Copy link
Contributor

Refer to this link for build results (access rights to CI server needed):
https://jenkins.nymea.io/job/nymea-plugins-pull-request-tester/1642/

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

Successfully merging this pull request may close these issues.

7 participants
0