Mirror temperature sensor to virtual device

You can use my.smartthings advanced rules.

Instructions are here:

Add only action when you add rule using my.smartthings advanced rules

Change your Device IDs to json and paste json

        {
            "every": {
                "interval": {
                    "value": {
                        "integer": 5
                    },
                    "unit": "Minute"
                  },
			  "actions": [
						 {
						"command": {
						  "devices": [
							"757d033d-0168-4934-b6c8-d270893b08ad"
						  ],
						  "commands": [
							{
							  "component": "main",
							  "capability": "partyvoice23922.vtempset",
							  "command": "setvTemp",
							  "arguments": [
								{
								  "device": {
									"devices": [
									  "b64a38a7-907d-406a-90f8-c8cf7a0eae86"
									],
									"component": "main",
									"capability": "temperatureMeasurement",
									"attribute": "temperature"
								  }
								}
							  ]
							}
						  ]
						}
					  }
					]
	         }
	     }
1 Like

thanks how do I enable the new rule, as it is in not active status after the creation and I cannot turn active

I do not know. All my rules are enabled and not possible to disable.

my_smartthings_com-advanced Rules Rules API  Rule Enabled

1 Like