You need to paste this code into a new device handler, not a smart app.
Thanks a lot Mark for your tip! And of course, Brian. Itâs connected and now I just need to learn how to really manage it, we only need âcoolâ, âon/offâ and temp control. There are some threads about it that I will follow. Thx again!
Glad to hear youâve got it working. Itâs not the most straightforward device to use with ST, but if you read through the forum posts you can hopefully get it to do what you need. There arenât a lot of options for controlling window ACs.
Fantastic work. So far so good. A few issues with the sliders still and I work in C not F - before I bug you with to many questions can you send over or version the code files so we can see the latest?
Hi Ron,
Thanks for your efforts here. nice work.
I got my samsung smarthing hub and the ZXT 120. by following this thread I was able to add it and configure it to work with my Haier split unit.
I have the following questions.
1- there is no ON button, to switch it on I have to press COOL button right?
2- I see first slide for heat, that I will never use
3- the second slide for cool, when I change the temperature is not sending anything to my AC. should I press anything after choosing the temperature?
4- the 3ed slide I am not sure what is used for?
5- My AC have 2 type of swings up/down and left/right. I think the 2 buttons available for up/down only. right?
6- My AC have an option to put fix the swings full up or full down. how can I add those options?
Thanks
- Yes
- OK, you can hide it if you edit the list of tiles. https://github.com/gouldner/SmartThingsPublic/blob/master/devicetypes/gouldner/zxt-120-ir-sender-improved.src/zxt-120-ir-sender-improved.groovy#L313-L323 Just remove line 317 for example. That is why the comment is there to tell you what it displays.
https://github.com/gouldner/SmartThingsPublic/blob/master/devicetypes/gouldner/zxt-120-ir-sender-improved.src/zxt-120-ir-sender-improved.groovy#L317 - Yes, I donât like sending the code as the temp is changing because the slider can be tricky. Do you really want to send all your mistakes with the slider
So set your temp and then click âcoolâ to send your selection. When the temp is sent it will update the tile which displays the current configured cool temp selection. Thatâs my way of letting you know it was sent.
- 3rd slider is for learning mode. You donât likely need it. You can hide it by removing them from the same sections I mentioned in #2⌠Namely remove âlearningPositionâ,âlearningPositionControlâ, NOTE: I make place it on itâs own line to make that easier. Which will mess up this reply because line numbers will changeâŚLetting you know just in case.
- I canât answer that. It all depends on what code you use and what the company chose to place in the memory for IR codes for the swing modes. You will have to play and test to learn this.
- You canât. Limitation of the ZXT-120. Itâs far from a perfect device.
Dear Ron
Thanks for the handler, its working fine for me, except I dont seem to be able to affect the temperature tile with the offset setting, also, the device doesnt seem to be polling unless I press the refresh button. Am I doing it wrong?
I believe thatâs a limitation of the device itself.
Are you sure, cos the handler has the time of last poll, the header mentions polling, the device used to refresh itâs reading when connected to a zipato system and besides it would be totally useless if it didnât poll automatically!
No Iâm not 100% sure. But AFAIK, the zxt-120 doesnât periodically report temperature updates on its own unless itâs specifically polled by the controller. So you have to affirmatively do something to get it to update, like change setpoint, mode, hit the refresh button, etc.
I havenât actually used my zxt-120 for some time because I went with another solution to control my window a/câs, so hopefully @Ron can clarify further.
Polling as been programmed into the DH but SmartThings drops the ball completely when it comes to polling. It always has and no matter how many people complain the SmartThings folks just donât seem to care.
For example here is my post regarding the subject from March 2015. Thatâs right 2015!
I use Fibaro Motion sensors to get my temp readings because they transmit updates when temp changes. They work perfectly. I have tried solutions to fix Smart Things polling. But they all reply on Smart Things not dropping the ball, like scheduled requests to update, relying on actions from other devices to trigger a SmartApp. They ALL fail. SmartThings is terrible on the cloud side. Smart Apps periodically just stop working. So what did SmartThings do to fix it. They added âUpdateâ buttons to smart apps in the ide so you can manually fix your smart apps when they start working. How is that home âautomationâ? If you have to manually check your apps all the time to make sure they are still active.
Anyway, donât rely on SmartThings. It works more often than not but expect to have to jump though quite a few hoops to keep it up and running. If you want to try to fix polling for the zxt-120 give pollster a try but trust me and donât rely on it.
My Mitts Mr. Slim has 4 fan modes. The highest I can achieve with the ZXT (from 1 to 4) is a 3 (high). Is there a way to get it to use the highest/fastest fan mode?
Thanks for your answer Ron, that was very useful.
OK I have my AC working from the app thanks. I would like to run a routine that does the following.
I only got this system to control my guests in my rental homes.
If Any Door sensor is open for 10 minutes then turn off AC via ZXT-120 in each room. Then if a guest turns the AC back on again (using AC remote) whilst the doors are still open it turns off again after another 10 minutes. Forcing them to close all the doors.
How can this be achieved do I have to create a smartapp ??any help would be awesome.
Thanks Steve