Arduino code for integration with ominous