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

[modbus.sbc] Initial contribution #9174

Merged
merged 13 commits into from
Feb 2, 2021
Merged

[modbus.sbc] Initial contribution #9174

merged 13 commits into from
Feb 2, 2021

Conversation

fwolter
Copy link
Member

@fwolter fwolter commented Nov 29, 2020

Signed-off-by: Fabian Wolter [email protected]

@fwolter fwolter added the new binding If someone has started to work on a binding. For a new binding PR. label Nov 29, 2020
@fwolter fwolter requested a review from ssalonen November 29, 2020 19:44
Copy link
Contributor

@ssalonen ssalonen left a comment

Choose a reason for hiding this comment

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

Good job, very clean contribution and could act as a template for the simple read-only modbus bindings.

Some changes suggested.

@fwolter fwolter requested a review from a team as a code owner December 2, 2020 16:42
@fwolter fwolter force-pushed the sbc branch 2 times, most recently from 852005e to 3ec282d Compare December 2, 2020 16:59
@ssalonen
Copy link
Contributor

ssalonen commented Dec 4, 2020

Lgtm!

@cpmeister cpmeister removed the awaiting other PR Depends on another PR label Dec 5, 2020
Copy link
Contributor

@cpmeister cpmeister left a comment

Choose a reason for hiding this comment

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

LGTM

@cpmeister cpmeister added the cre Coordinated Review Effort label Dec 5, 2020
@fwolter
Copy link
Member Author

fwolter commented Dec 6, 2020

@openhab/add-ons-maintainers As @cpmeister reviewed this PR and I created it, we need another reviewer here.

<thing-type id="ald1Unidirectional">
<supported-bridge-type-refs>
<bridge-type-ref id="serial"/>
</supported-bridge-type-refs>
Copy link
Contributor

Choose a reason for hiding this comment

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

You may want to consider adding support for the RTU over TCP ( #9435 ) by adding the following here..

<bridge-type-ref id="tcp"/>

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. People can use serial/ethernet gateways (passing modbus rtu over tcp) or modbus gateways (converting modbus rtu to modbus tcp) with these devices

Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't aware this is possible. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Is adding tcp bridge something that will be added here?

@andrewfg
Copy link
Contributor

FYI: The “RTU over TCP” revisions have now been merged. So this one should be able to build again.

@ssalonen ssalonen added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Dec 28, 2020
@fwolter fwolter added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Dec 28, 2020
@wborn wborn added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Jan 22, 2021
Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

Code looks ok. Just needs update of copyright year and maybe adding that tcp bridge?

<thing-type id="ald1Unidirectional">
<supported-bridge-type-refs>
<bridge-type-ref id="serial"/>
</supported-bridge-type-refs>
Copy link
Member

Choose a reason for hiding this comment

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

Is adding tcp bridge something that will be added here?

@Hilbrand Hilbrand self-assigned this Feb 1, 2021
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
… Apply renaming of Units. Remove feature file.

Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Fabian Wolter <[email protected]>
@fwolter
Copy link
Member Author

fwolter commented Feb 1, 2021

Forgot to add it to the unidirectional meter, too. Thanks! The license headers are also fixed.

Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

LGTM

@Hilbrand Hilbrand merged commit 0be7f60 into openhab:main Feb 2, 2021
@Hilbrand Hilbrand added this to the 3.1 milestone Feb 2, 2021
@Hilbrand Hilbrand removed the cre Coordinated Review Effort label Feb 2, 2021
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this pull request Feb 23, 2021
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
@fwolter fwolter deleted the sbc branch April 11, 2021 18:10
themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this pull request May 10, 2021
Signed-off-by: Fabian Wolter <[email protected]>
Signed-off-by: John Marshall <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants