RainEagle library plus script for polling data
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
771 B

  1. """Simple class for talking to The EAGLE gateway ( RFA-Z109 ) from rainforest automation
  2. """
  3. import sys
  4. if sys.hexversion < 0x20703f0 :
  5. sys.stderr.write("You need python 2.7 or later to run this script\n")
  6. __revision__ = "$Id: 20140301 $"
  7. __version__ = "0.1.8"
  8. __author__ = 'Peter Shipley <peter.shipley@gmail.com>'
  9. __copyright__ = "Copyright (C) 2014 Peter Shipley"
  10. __license__ = "BSD"
  11. import EagleClass
  12. from EagleClass import Eagle, RainEagleResponseError, to_epoch_1970, to_epoch_2000
  13. #from RainEagle.EagleClass import Eagle
  14. __all__ = ['Eagle', 'RainEagleResponseError', 'to_epoch_1970', 'to_epoch_2000']
  15. if __name__ == "__main__":
  16. #import __main__
  17. #print(__main__.__file___)
  18. print("RainEagle.__init__")
  19. print("syntax ok")
  20. exit(0)