config.h 604 B

123456789101112131415161718192021222324
  1. #ifndef __CONFIG_H__
  2. #define __CONFIG_H__
  3. #include "driver/gpio.h"
  4. #define SW_VERSION "1.0"
  5. // These defines configures which code to generate (to save download time during development)
  6. #define WIFI_ENABLED
  7. #define HTTP_ENABLED
  8. #define MQTT_ENABLED
  9. #define ENABLE_KWH_COUNTER
  10. #define ENABLE_DS18B20
  11. #define MQTT_DEBUG // Add an extra debug string to the topic-string
  12. #define VVB_RELAY_OUTPUT_IO GPIO_NUM_22 // Output GPIO of a relay control of VVB
  13. #define KWH_COUNTER_INPUT_IO GPIO_NUM_16 // Input
  14. #define ONE_WIRE_BUS_IO GPIO_NUM_26 // Temp sensors
  15. #endif