-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Smartthings Device with 3 Components ==> Missing Switches / Sensors #91892
Comments
Hey there @andrewsayre, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) smartthings documentation |
@andrewsayre Do you have any idea how to solve this issue? I would appreciate your contribution. Best regards, |
Device Components are not currently supported in the integration. This isn't an issue, but a feature request. |
I have a similar setup, except I only use one of the zones called INDOOR which is also missing. |
I have a PR which adds support for components: #99924 |
Hi David, is there a way I could install/test this now? They are saying on the discord it could take months for the PR. |
Yep, I'm doing that. I placed my version of the |
Sorry, can you explain more on the step to put |
The |
I tried your fork, but I'm getting this error in the logs and the integration won't start:
EDIT: It seem like the error was fixed by removing the smartthings integration and setting it up again through the homeassistant ui. |
Yeap, mine works now, need to add version to the manifest file. Thanks. So far it show up correctly. Hope this PR will merge soon. |
Hi @dwradcliffe, nice to hear that you have a solution. Putting the smart things folder to custom_components will atumatically "override" the original? Where exactly do I have to put the "pysmartthings". Directly under "config" into folder "pysmartthings"? The complete repository or just the files you changed? Will it also override the original? Is there a nice way to do so, or do I have to download the code and copy it? Thank you for help. |
Yes, pysmartthings can put directly on config folder as a whole directly
but make sure edit manifest file in smartthings custom_conponents folder by
adding version to it as well. Any version number will do.
…On Tue, 19 Sept 2023, 02:37 thomas-coenen, ***@***.***> wrote:
Hi @dwradcliffe <https://github.com/dwradcliffe>,
nice to hear that you have a solution. Putting the smart things folder to
custom_components will atumatically "override" the original? Where exactly
do I have to put the "pysmartthings". Directly under "config" into folder
"pysmartthings"? The complete repository or just the files you changed?
Will it also override the original? Is there a nice way to do so, or do I
have to download the code and copy it?
Thank you for help.
Regards,
Thomas
—
Reply to this email directly, view it on GitHub
<#91892 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVKQU75P5FPNULCM5TVXT3X3CIFXANCNFSM6AAAAAAXIM3JOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I managed to get it working. All sensors are now available. Well done. Unfortunately all temperature set points are also only sensors which cannot be set. Any ideas for that? |
Hi @dwradcliffe , i have another issue. My Heatpump is integrated as an Airconditioner but does not support FAN Mode. I removed it from the list of necessary features. That worked. Unfortunately I can control only the temperature of the first component. Now my question: Best regards, |
In theory yes but as I don't have anything like that to test locally it's more difficult for me. I may attempt it after I get the first round merged or maybe someone else can pick it up. |
How soon will these get merged in? Samsung fridge sensors have been broken in Home Assistant for years (I've found no less than 5 threads going back 2-3 years, multiple pages). Is there a way I can just use this now? Please, thank you. |
Yep, manually install the fix in following the instruction in above comment. Mine works for weeks now. |
Sadly I haven't had much luck with this custom component. I'm getting the following error. I did try removing and re-adding the integration in home assistant. I have 2 TVs, 1 Soundbar, 1 Air con and 1 Robot vacuum if that helps
|
Integration is working with main device only, found the issue and working on PR, |
Just in case, here is a fixed (at least for me) SmartThings you can install via HACS: https://github.com/contemplator1998/smartthings (Pulled #99924 and wrapped into a HACS repo) It makes everything accessible, even sensors/controls that are always unavailable (just disable them in the HA). |
Thanks for the work you have done @contemplator1998 in my configuration I was only seeing Indoor 1 (Flow Temperature to Radiators) temperature and set point. I lost the Domestic Hot Water temperature and set point measurements. This is not to be critical, it is to assist @elad-bar in their efforts to develop a pull request that enables all features/sensors of the ASHP which is clearly a complex task. Here's hoping that the relevant entities can be presented to show thermostats even if they are not used as such. |
I have a solution that should be adopted into the smartthing package, since it's big change (details below) i guess it will take time to deliver it, problem with the approach to open all components without looking into which components are disabled and to have hard-coded mapping of capabilities is that even if additional components will get opened, there will be continous need to update the package, below are the main focus of what i have done and shared in my repo elad-bar/dynamic-smart-things. General functionality representing the integration dyanmically:
Functionality that should be available for HA:
|
Is there a way that I could trial this? I have got used to testing other HACS SmartThings integrations but I am not sure this is prepared in that way. I do not have the skill to read your code and review it for you but I am OK to implement it (I back up before changes) and provide feedback against a complex device. I have an EHS Mono Quiet Air Source Heat Pump which should exercise your code.
…________________________________
From: Elad Bar ***@***.***>
Sent: Thursday, January 18, 2024 11:19
To: home-assistant/core ***@***.***>
Cc: ColinSainsbury ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/core] Smartthings Device with 3 Components ==> Missing Switches / Sensors (Issue #91892)
I have a solution that should be adopted into the smartthing package, since it's big change (details below) i guess it will take time to deliver it, problem with the approach to open all components without looking into which components are disabled and to have hard-coded mapping of capabilities is that even if additional components will get opened, there will be continous need to update the package,
what i'm suggesting is more dynamic approach relaying on the api samiliar to the mobile app, mapping to complex HA components should be done in the level of HA component and not the package.
below are the main focus of what i have done and shared in my repo elad-bar/dynamic-smart-things<https://github.com/elad-bar/dynamic-smart-things>.
General functionality representing the integration dyanmically:
* Importing all devices, components, capabilities and attributes
* Importing locations and rooms
* Importing capabilities and their details
* Performing commands including validation (all capabilities with commands are supported)
* Future support of additional capabilities and attributes
* Excluding components and capabilities marked as disabled
* Diagnostic details for debugging available over function (HA can use it for diagnostic of integration)
Functionality that should be available for HA:
* Dynamically mapping simple entities to binary_sensor, sensor, number, switch, select
* Dynamically mapping complex entities to climate, fan, media_player, light, lock
—
Reply to this email directly, view it on GitHub<#91892 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIBRFMKZ7QWC7VB2MX57Q4TYPEANFAVCNFSM6AAAAAAXIM3JOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYGI4DOOJVGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
sure, you can download the code and run it locally, all you need to setup is your token as environment variable and run it, I can work on custom integration so it will be also available in HACS but i will need few more days for that once i will have time for it, hopefully in 2 weeks. Pls let me know how it works for you |
Ciao @elad-bar i'm not familiar with how to run your python code so a bit lost on required steps. |
Hi @ePiccio, didn't get to create custom integration out of that code yet, bit overloaded now, but will work on it as soon as I will be able to promote it, |
Is this available via HACS now? I would love to test this as the other one by @contemplator1998 doesn't work with power reading on the Samsung Fridges. So we have 2 half solutions. The official HA will report power usage but not temps or set-points and @contemplator1998 HACS plugin will report temps but not power. And if you try to remove one and install the other you end up with a bunch of orphaned or broken entities. Been looking for a solution for over a year now. |
Hi, can you please write me the exact procedure to get all Smartthings entities in Home Assistant? When I use the integration from HA, I only see the options for hot water from the heat pump, when I copy the smartthings folder to the custom_components folder, I only see the entities related to the 2 heating circuits, but again I don't see the hot water options. |
Hi, I just had a ASHP installed and I've love to create automations on it with hot water and heating. Are there any options to support this? EDIT: For anyone interested I've managed to use the Smartthings API and the Restful sensor/Restful commands home assistant integration to create my own sensors and climate entity to control the samsung heat pump. |
Hi, can you please write the exact instructions? Thank you. |
I posted them here #101265 (comment) |
Again: |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I have a Heat pump with Samsung Wifi Kit. In the Smartthings App everything is working properly. The Heat pump is one device with 3 components. Warm Water, Normal Heating (INDOOR1) and Floor Heating (INDOOR2). In Home assistant I can only see the switch and actual values for the Warm Water. Please find the infos got by SmartthingsCLI below:
There was a similar issue (#83136), but it has been closed by the bot.
What version of Home Assistant Core has the issue?
core-2023.4.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
SmartThings
Link to integration documentation on our website
https://www.home-assistant.io/integrations/smartthings/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: