-
-
Notifications
You must be signed in to change notification settings - Fork 28.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit support for Luxembourg Smarty meter in dsmr integration #43975
Conversation
out of curiosity will that also take care of the decryption? |
No it won't. It will just map the correct OBIS references as described here: |
Thank you for the info the only ones doing encryption :-( WHY .... |
I'm quite new to Python, yet I know there is a python script which decrypt te serial data. Is that possible to use as kind of wrapper? |
As this is code communicating with a device, it needs to be put in a library and published on PyPi. As mentioned, if someone can make the script available as library on PyPi, it can integrated in HA. |
|
This is the python code I mentioned... what if this could be integrated into HA (I'm looking into this to see if I can make this to a pypi library). Meanwhile I've received information from usriot that they are able to enable decryption in their serial module. If that's true and working, than I can supply ethernet dongles with decryption build in ... fingers crossed, hoping for a positive reaction. |
Is there something blocking here? I am stuck in old version. Thanks a lot ! |
It needs a review from a core developer. |
@RobBie1221 i see another PR of yours was already merged. Do we know if there is something blocking? |
As said, it needs review. It's up to the core team to do that. You could copy the source to the custom_components folder to be able to update home assistant. |
175c641
to
d83e55b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the platform schema change and we can merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
We can clean up the tests and continue the improvement work in other PRs.
Noticed we're missing a docs PR. Please link that asap. |
Thanks! I'll make the docs PR today. |
Added docs PR: home-assistant/home-assistant.io#16025 |
Thanks a lot for the progress @RobBie1221 ! |
* 'dev' of https://github.com/home-assistant/core: Fix Tasmota device triggers (home-assistant#44574) Improve nest setup error handling (home-assistant#44385) Tado: add full list of devices (home-assistant#44475) Simplify nest event handling (home-assistant#44367) Add explicit support for Luxembourg Smarty meter in dsmr integration (home-assistant#43975) Fully remove Avri integration (home-assistant#44478) Add Olivia voice to Amazon Polly TTS (home-assistant#44513) Bump pydeconz to version 77 (home-assistant#44514) Add album art support in the mpd component (home-assistant#44527) Fix falsey comparisons in NWS weather (home-assistant#44486) Upgrade huawei-lte-api to 1.4.17 (home-assistant#44499) Update README.rst to avoid redirects (home-assistant#44519) Handle missing Somfy devices during update (home-assistant#44425) Convert mpd component to use the async MPDClient (home-assistant#44384) Bump pywemo to 0.5.6 (home-assistant#44440) Support auto as Dyson fan on device state (home-assistant#44472) [ci skip] Translation update Remove useless async_add_executor_job (home-assistant#44496) Fix the docstring in type_fans.py (home-assistant#44511)
Breaking change
Proposed change
Before connection validation in dsmr integration, Smarty meters used to work with the integration. This broke because Smarty is using a slightly different specification. As of library version 0.24, this is fully supported from the library. This PR adds explicit support for the Smarty meter restoring the functioning of it.
Type of change
Example entry for
configuration.yaml
:# Example configuration.yaml
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: