Thanks @Gene_Eilebrecht for the device handler & SmartApp.
For those who want to use webcore, you can reference to this: