veista / smartthings

A fork of the Home Assistant SmartThings Integration. This adds better support for Samsung OCF Devices.
173 stars 40 forks source link

AC WindFree Display Switch has gone? #105

Open phgsbr opened 5 months ago

phgsbr commented 5 months ago

Hey!

im using this integration for the last 2 years with my AC Windfree Plus ( ARTIK051_PRAC_20K ) . A very useful feature is turn off the display of AC using HA, because im using a automation to do it when is bed time. Unfortunately, some weeks ago, this feature has gone from my HA. I tried to reinstall Smartthings Custom and recreate the access token, but without sucess. The display switch is no longer available in my AC device inside HA. Someone can help me?

Screenshot_5

geecy84 commented 4 months ago

Mines gone too - did you ever find a solution?

nbernardes commented 4 months ago

+1 here too I have to manually go into the smart things app and disable the light every time I switch the AC. It's a pain and having the sensor in HA was way better

1danielsan commented 4 months ago

same for me, is there a way to work around the problem? is seems that the command has been removed from the samsung system, but if it can be done from the original app, it means the command name has just been changed but it still exists somehow

DiogoMadureira10 commented 4 months ago

Same here. I have 3 Samsung windfree, 1 of which I had installed a long time ago, the light switch appears to me, now I installed 2 more of these, the light option no longer appears to me

veista commented 3 months ago

Most likely the device model is different and has to be added in code.

DiogoMadureira10 commented 3 months ago

Most likely the device model is different and has to be added in code.

But my models its same its not diference

phgsbr commented 3 months ago

Most likely the device model is different and has to be added in code.

How can I do that? I read the code (I'm not a dev) and try to specify my model like other models, using the same variables to display, but without success.

DiogoMadureira10 commented 3 months ago

com luz sem luz

same firmeware same model but one have light switch and the other dont have

veista commented 3 months ago

Please try: 1. Remove integration. 2. From smartthings mobile app, remove homeassistant instances. 3. Re-install integration.

DiogoMadureira10 commented 3 months ago

Please try: 1. Remove integration. 2. From smartthings mobile app, remove homeassistant instances. 3. Re-install integration.

how can i remove homeassistant instances from smartthings mobile app?

veista commented 3 months ago

Routines-> smart apps. Tap and hold, then click delete.

DiogoMadureira10 commented 3 months ago

Routines-> smart apps. Tap and hold, then click delete.

I try this and dont work same problem have light switch and the other dont have

veista commented 3 months ago

Go to smartthings control panel web portal and make sure both ac have device type defined. If not, select OCF climate. Repeat previous advice.

veista commented 3 months ago

It seems the old IDE is gone. And is replaced by this https://my.smartthings.com/advanced. There is no longer an option to see detailed information on the device or edit anything. Look that both devices register as OCF though. I would try to delete the device and reincluding it.

DiogoMadureira10 commented 3 months ago

sem luz

my 3 samsung windfree all devices register as OCF

veista commented 3 months ago

You have so many devices. I would try only having the AC registered in one account (delete other devices). See if that helps. If it does, create another account for the rest.

DiogoMadureira10 commented 3 months ago

You have so many devices. I would try only having the AC registered in one account (delete other devices). See if that helps. If it does, create another account for the rest.

I can try but I don't think it's because I have too many devices. It doesn't make sense to create an account for each Samsung device, that is, I have 3 AC 1 refrigerator 2 soundbars. Do I have to create an account for each device?

viniciuscmartins commented 3 months ago

I have only a single ac, it actually has the control at smart things, and sending the command via HA CMD line works, but it does not show at the integration. It used to before, and suddenly disappeared.

Once I'm home I'll send some prints.

viniciuscmartins commented 3 months ago

I have Samsung windfree installed since last year, it is my only Samsung device at smartthings . image

It had shown the display light control at HA until a couple months ago. It suddenly lost the entity, no updates on HACS that I can remember of.

I tried removing the Smartthings integration and adding again, removing the HA Token from Smarthings and creating a new one and even changing the Region to United States at Samsung side to see if this was some weird location issue (Smartthings is known for blocking features for some regions for no reason). I also tried to remove the HACS package and install only the pure Smartthings integration, as I read it now supports the Windfree as well. Didn`t show up there as well. image

None of the above worked out. I then tried to create my on Rest or Post request to see if it worked as a workaround.

with the following commands, I can control the display light: turn_on: "curl --location --request POST 'https://api.smartthings.com/v1/devices/e6192269-785f-ac34-0089-xxxxxxxx/commands' --header 'Authorization: Bearer xxxxxxx-9425-485e-9f7f-xxxxxxxxx' --header 'Content-Type: text/plain' --data-raw '[{\"capability\":\"samsungce.airConditionerLighting\",\"command\":\"setLightingLevel\",\"arguments\":[\"on\"]}]'"`

turn_off: "curl --location --request POST 'https://api.smartthings.com/v1/devices/e6192269-785f-ac34-0089-xxxxxxxx/commands' --header 'Authorization: Bearer xxxxxxxx-9425-485e-9f7f-xxxxxxxxx' --header 'Content-Type: text/plain' --data-raw '[{\"capability\":\"samsungce.airConditionerLighting\",\"command\":\"setLightingLevel\", \"arguments\":[\"off\"]}]'"

And with the following I can get the current state: `sensor:

But it does a crappy workaround job, as the default entity update time is around 30 sec and is via pooling, so not the ideal way to do it. This is a restriction from HA as far as I searched.

I`d really appreciate to have the feature back properly at the integration lvl, let me know If I can assist with any logs or experimentations from my side.

veista commented 3 months ago

This is something that I will address in the new integration. Hopefully I can get it up and running before christmas.

DiogoMadureira10 commented 3 months ago

This is something that I will address in the new integration. Hopefully I can get it up and running before christmas.

Thanks 🙏🏻

DiogoMadureira10 commented 1 month ago

Hello, anything new about updating?