Is there a way to integrate mqtt with frappe

Hi

Is there anyway to integrate frappe or erpnext to perform with mqtt?Is there any inbuilt options or do one have to set it up manually?If yes ,can you give me a basic outline of how to do it?