api for smartKettle