Aqara wall switch to turn on power socket

Moderator: leecollings

Post Reply
GilbertvH
Posts: 18
Joined: Tuesday 23 June 2020 11:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Aqara wall switch to turn on power socket

Post by GilbertvH »

Hi folks,

I had a good working Neo Coolcam power socket for switching on some lights with an Aqara (single) wall switch. Unfortunately my Neo Coolcam (flashed with Tasmota) power socket died and I tried to replace it with a LSC (Tuya) power socket. I've added the power socket to the Tuya app and thanks to the Tuya plugin the device was automatically added to Domoticz with idx 131. I've changed the on/off commands in the Aqara wall switch to the new idx but the lights (or power plug) doesn't turn on. I can switch the lights on and off directly but I need it to work with the wall switch.

My on/off commands are like this:

On: http://192.168.178.150:8080/json.htm?ty ... cmd=Toggle
Off: http://192.168.178.150:8080/json.htm?ty ... nvalue=off

I tried to add the power socket as a Sub/Slave device in the Aqara settings but that didn't make a difference.

Does anyone know what's going wrong and how I can fix this?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests