Waterproof solar street lamp controller