[EDGE] Moes Smart IR Remote Control


Hi Joel,
Mariano told me how to fix it. Thanks a lot again.
Today is a “paella day”. I’m in the countryside with my family. When I arrive home, I’ll publish a new driver version.
Thanks,
Javi

Hi Joel,
I have just published the new version: 2023-10-29T21:27:02.247587177
I hope the power button work fine again.
Thanks,
Javi

Look, now i have on/off avalable. But if i press on/0ff or if i try learning, it will refresh for several seconds and give me a network error… I’ve removed device and driver and Will wait until tomorrow. I will give it 12 or more hours until try gain. Strange thing it happens: when i try the new version, if i learn 1,2,3… buttons the TV goes to 11, ,22, 33 and not to 1,2,3.

Hi Javier,
Still not working…

Now on/off is avalable

When i press de button it still for a few seconds like this:

After a few seconds retrieve this error:

All the rest working fine.

Hi Joel,
Tomorrow I’ll check with my device.
I have a question, power button fails when the device is learning or when you are using the learned code?
Thanks for your patience,
Javi

Fail when i press it. It’s the same with the device in learning mode, fail when i press it.
Thank you

Hi Joel,
I found what was wrong. I removed all the buttons from my device and realized that the problem was with my implementation of Option 1. I fixed the bug, however, I will do more testing before publishing the new version.
Sorry for the inconvenience.
Javi

Hi,
I published a new version with the fixed option 1 for Power button.

  • Switch state off → Learn mode on → driver learns button off → Learn mode off → switch goes On
  • Switch state on → Learn mode on → driver learns button on → Learn mode off → switch goes Off

If you only learn one state, on or off, the learned key code will be used for on and off states.
You can see the learned button in the app history as well.
I hope it works fine for you Joel.
Thanks,
Javi

2 Likes

Hi Javier,
Good job…
It’s working as expected. Thank you so much to share and assist your driver. I can now rid off my tuya hub. I hope you don’t give up on improving your driver. Maybe buttons as condition on routines, and a way to generate separate profiles to have others tv’s or other equipements at same time. Thank you One more time…

1 Like

@Pyrylamo Buttons can not be used as preconditions. Preconditions need to have state (on or off). You can create virtual switch that change state with push of the button, and use that virtual switch as precondition to control other devices.

Hi @otivax !

I have a TS1201 (manufacturer: _TZ3290_ot6ewjvmejq5ekhl), and i can’t select the learning mode (it doesn’t do anything)…
Can you help me?
Thanks!

Hi Cesar,
Go to SmartThings Advanced Web App, devices, choose your device, commands, click on setMode and put any value. After that it will be ok on the APP.

2 Likes

@Pyrylamo It worked! Great tip… I didn’t knew that!
Thank you so much!!!

Hi,
I’m glad you fix it.
I will change the code to set the learning mode in added and init events if it is not set in a new version. Sorry for the inconveniences.
Javi.

1 Like

Thanks for your work!!
When you add air conditioner???
Thanks!!!

Hi Rui,
As Pyrylamo suggested, I’ll add a new ability to manage multiple devices. My idea is to add a capability where you can select a device like a television, air conditioner,… and you can learn their key codes and use them, or add them in automation. For example, select TV, send button 1 code.
Winter is coming :joy: and I am now writing a driver for a Beok thermostat. I will use it for my gas boiler.
Thanks,
Javi

1 Like

I waiting new version :wink:

One device can be learned, but how can I control multiple devices? Please tell me how to use it.

Hi,
At this moment the driver can only control one device. When I have some free time, I’ll add the ability to learn and control several devices.

Happy new year to all community :clinking_glasses: