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

[openwebnet] add support for Thermoregulation (standalone thermostat and sensors) #10756

Merged
merged 15 commits into from
Jun 5, 2021

Conversation

aconte80
Copy link
Contributor

This enhancement restores support for Thermoregulation for standalone thermostat (bus_thermostat) and external wireless temperature sensors (bus_temp_sensor).

Fixes #10702
Fixes #8582

@mvalla
Copy link
Contributor

mvalla commented May 26, 2021

@fwolter, do you think it's possibile to include this in 3.1M5 ? This is an important and long-awaited enhancement and surely users will need to test it before merging in the upcoming 3.1 (expected in June). If we skip merge of this PR to the June milestone, that would mean that it would be integrated in the official 3.1 without much testing by users. Of course we already tested it as much as possibile in our 2 setups, but having feedback from community would be impotant. Thanks!

Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

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

There are some checkstyle warnings left. You could take a look at target/code-analysis/report.html.

@aconte80 aconte80 requested a review from fwolter May 28, 2021 07:58
@aconte80
Copy link
Contributor Author

@fwolter The jenkins build failed but not our fault. Should we do something?

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/bticino-openwebnet-new-openhab2-binding-ready-for-testing/43377/1538

aconte80 and others added 15 commits May 31, 2021 13:49
… 0.5-shapshot)

- [Thermo] new fanspeed channel to control fancoil speed (AUTO, VEL1/2/3)
- [Thermo] support for mode (MANUAL, PROTECTION, OFF) and function (HEATING, COOLING, GENERIC)

Signed-off-by: Conte Andrea <[email protected]>
Signed-off-by: Massimo Valla <[email protected]>
- add channel heatingValve
- removed unused code and comments
- replaced bridgeHandler.gateway.send() with this.send() --> better check for null

Signed-off-by: Conte Andrea <[email protected]>
Signed-off-by: Massimo Valla <[email protected]>
Signed-off-by: Conte Andrea <[email protected]>
Signed-off-by: Massimo Valla <[email protected]>
- added requestActuatorStatus() inside initialize() and bridgeStatusUpdate()

Signed-off-by: Conte Andrea <[email protected]>
Signed-off-by: Massimo Valla <[email protected]>
Signed-off-by: Conte Andrea <[email protected]>
Signed-off-by: Massimo Valla <[email protected]>
Updated conditioning/heatingValve and actutor channels values to strings.
Updated and cleaned-up README

Signed-off-by: Massimo Valla <[email protected]>
Signed-off-by: Massimo Valla <[email protected]>
- added tests for WhereThermo and OwnId

Signed-off-by: Massimo Valla <[email protected]>
…orum hint to actuator/valve status

Signed-off-by: Conte Andrea <[email protected]>
…ed handleSetpoint and handleSetFanSpeed

Signed-off-by: Massimo Valla <[email protected]>
@aconte80 aconte80 force-pushed the dev-3.1M4-thermo branch from 64290b9 to 57a851a Compare May 31, 2021 11:50
@kaikreuzer kaikreuzer added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Jun 5, 2021
Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

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

LGTM

Could you or @mvalla fix this SAT finding in a follow-up PR?

[WARNING] org.openhab.binding.openwebnet.handler.OpenWebNetEnergyHandler.java:[101]
For periodically executed jobs that do not require a fixed rate scheduleWithFixedDelay should be preferred over scheduleAtFixedRate.

@fwolter fwolter merged commit 3dc7b9e into openhab:main Jun 5, 2021
@fwolter fwolter added this to the 3.1 milestone Jun 5, 2021
@fwolter fwolter added the enhancement An enhancement or new feature for an existing add-on label Jun 5, 2021
computergeek1507 pushed a commit to computergeek1507/openhab-addons that referenced this pull request Jul 13, 2021
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this pull request Jul 26, 2021
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this pull request Jul 26, 2021
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this pull request Aug 3, 2021
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this pull request Oct 26, 2021
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
…and sensors) (openhab#10756)

Signed-off-by: Conte Andrea <[email protected]>

Signed-off-by: Massimo Valla <[email protected]>

Co-authored-by: Massimo Valla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
5 participants