openhab.h 354 B

123456789101112131415161718
  1. /*
  2. * openhab.h
  3. *
  4. * Created on: May 25, 2019
  5. * Author: sebastian
  6. */
  7. #ifndef OPENHAB_H_
  8. #define OPENHAB_H_
  9. #define OPENHAB_IP "192.168.0.10" // IP of openhab instance
  10. #define OPENHAB_PORT 8080 // Port
  11. #define OPENHAB_URI "/rest/items/KaffeeOn/state"
  12. void openhabInit(void);
  13. void *httpTimerHandler(void *threadid);
  14. #endif /* OPENHAB_H_ */