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

[teleinfo] Add support for Standard tic mode #11375

Merged
merged 22 commits into from
Dec 12, 2021

Conversation

olivierkeke
Copy link
Contributor

Resolves #10527

This PR adds support for new Standard tic mode introduced by Linky Telemeters.
This update is fully backward compatible with old configs.
Early versions have been tested by @Jacques83300.
Binaries can be found in this community thread.

@olivierkeke olivierkeke force-pushed the standard-tic-mode branch 2 times, most recently from fd5356c to 2a8005f Compare October 12, 2021 14:53
Signed-off-by: Olivier Marceau <[email protected]>
@Skinah Skinah added the enhancement An enhancement or new feature for an existing add-on label Oct 13, 2021
@wborn wborn added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Nov 6, 2021
Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
@olivierkeke
Copy link
Contributor Author

olivierkeke commented Dec 11, 2021

@fwolter Thank you for your review! I think I've done the requested changes and I've tried to answer your question.

Signed-off-by: Olivier Marceau <[email protected]>
@fwolter fwolter merged commit 5d52435 into openhab:main Dec 12, 2021
@fwolter fwolter added this to the 3.2 milestone Dec 12, 2021
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Dec 30, 2021
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <[email protected]>

* Improve checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard field labels

Signed-off-by: Olivier Marceau <[email protected]>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <[email protected]>

* Fix typo

Signed-off-by: Olivier Marceau <[email protected]>

* Add some required null annotation

Signed-off-by: Olivier Marceau <[email protected]>

* Add parser for relais states

Signed-off-by: Olivier Marceau <[email protected]>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <[email protected]>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <[email protected]>

* Update documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix code issues

Signed-off-by: Olivier Marceau <[email protected]>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <[email protected]>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <[email protected]>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <[email protected]>

* Add trace log

Signed-off-by: Olivier Marceau <[email protected]>

* Fix group labels

Signed-off-by: Olivier Marceau <[email protected]>

* Make labels uppercase

Signed-off-by: Olivier Marceau <[email protected]>

* Make options lowercase

Signed-off-by: Olivier Marceau <[email protected]>

* Simplify group label

Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Nick Waterton <[email protected]>
mischmidt83 pushed a commit to mischmidt83/openhab-addons that referenced this pull request Jan 9, 2022
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <[email protected]>

* Improve checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard field labels

Signed-off-by: Olivier Marceau <[email protected]>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <[email protected]>

* Fix typo

Signed-off-by: Olivier Marceau <[email protected]>

* Add some required null annotation

Signed-off-by: Olivier Marceau <[email protected]>

* Add parser for relais states

Signed-off-by: Olivier Marceau <[email protected]>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <[email protected]>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <[email protected]>

* Update documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix code issues

Signed-off-by: Olivier Marceau <[email protected]>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <[email protected]>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <[email protected]>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <[email protected]>

* Add trace log

Signed-off-by: Olivier Marceau <[email protected]>

* Fix group labels

Signed-off-by: Olivier Marceau <[email protected]>

* Make labels uppercase

Signed-off-by: Olivier Marceau <[email protected]>

* Make options lowercase

Signed-off-by: Olivier Marceau <[email protected]>

* Simplify group label

Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Michael Schmidt <[email protected]>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <[email protected]>

* Improve checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard field labels

Signed-off-by: Olivier Marceau <[email protected]>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <[email protected]>

* Fix typo

Signed-off-by: Olivier Marceau <[email protected]>

* Add some required null annotation

Signed-off-by: Olivier Marceau <[email protected]>

* Add parser for relais states

Signed-off-by: Olivier Marceau <[email protected]>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <[email protected]>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <[email protected]>

* Update documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix code issues

Signed-off-by: Olivier Marceau <[email protected]>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <[email protected]>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <[email protected]>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <[email protected]>

* Add trace log

Signed-off-by: Olivier Marceau <[email protected]>

* Fix group labels

Signed-off-by: Olivier Marceau <[email protected]>

* Make labels uppercase

Signed-off-by: Olivier Marceau <[email protected]>

* Make options lowercase

Signed-off-by: Olivier Marceau <[email protected]>

* Simplify group label

Signed-off-by: Olivier Marceau <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <[email protected]>

* Improve checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard field labels

Signed-off-by: Olivier Marceau <[email protected]>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <[email protected]>

* Fix typo

Signed-off-by: Olivier Marceau <[email protected]>

* Add some required null annotation

Signed-off-by: Olivier Marceau <[email protected]>

* Add parser for relais states

Signed-off-by: Olivier Marceau <[email protected]>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <[email protected]>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <[email protected]>

* Update documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix code issues

Signed-off-by: Olivier Marceau <[email protected]>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <[email protected]>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <[email protected]>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <[email protected]>

* Add trace log

Signed-off-by: Olivier Marceau <[email protected]>

* Fix group labels

Signed-off-by: Olivier Marceau <[email protected]>

* Make labels uppercase

Signed-off-by: Olivier Marceau <[email protected]>

* Make options lowercase

Signed-off-by: Olivier Marceau <[email protected]>

* Simplify group label

Signed-off-by: Olivier Marceau <[email protected]>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <[email protected]>

* Improve checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard field labels

Signed-off-by: Olivier Marceau <[email protected]>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <[email protected]>

* Fix typo

Signed-off-by: Olivier Marceau <[email protected]>

* Add some required null annotation

Signed-off-by: Olivier Marceau <[email protected]>

* Add parser for relais states

Signed-off-by: Olivier Marceau <[email protected]>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <[email protected]>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <[email protected]>

* Update documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix code issues

Signed-off-by: Olivier Marceau <[email protected]>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <[email protected]>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <[email protected]>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <[email protected]>

* Add trace log

Signed-off-by: Olivier Marceau <[email protected]>

* Fix group labels

Signed-off-by: Olivier Marceau <[email protected]>

* Make labels uppercase

Signed-off-by: Olivier Marceau <[email protected]>

* Make options lowercase

Signed-off-by: Olivier Marceau <[email protected]>

* Simplify group label

Signed-off-by: Olivier Marceau <[email protected]>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <[email protected]>

* Improve checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard field labels

Signed-off-by: Olivier Marceau <[email protected]>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <[email protected]>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <[email protected]>

* Fix typo

Signed-off-by: Olivier Marceau <[email protected]>

* Add some required null annotation

Signed-off-by: Olivier Marceau <[email protected]>

* Add parser for relais states

Signed-off-by: Olivier Marceau <[email protected]>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <[email protected]>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <[email protected]>

* Update documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <[email protected]>

* Fix code issues

Signed-off-by: Olivier Marceau <[email protected]>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <[email protected]>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <[email protected]>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <[email protected]>

* Add trace log

Signed-off-by: Olivier Marceau <[email protected]>

* Fix group labels

Signed-off-by: Olivier Marceau <[email protected]>

* Make labels uppercase

Signed-off-by: Olivier Marceau <[email protected]>

* Make options lowercase

Signed-off-by: Olivier Marceau <[email protected]>

* Simplify group label

Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Andras Uhrin <[email protected]>
@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/new-teleinfo-binding-tester-and-feedback-welcome/77857/71

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
Development

Successfully merging this pull request may close these issues.

[teleinfo] 'standard' TIC mode not supported
5 participants