How to make an IoT protocol (parsing, answering)?

Unfortunately your flow isn't currently importable.Please read the following post How to share code or flow json and then edit the above message.