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