Add CI
This commit is contained in:
19
firmware/main_mcu/src/config-example.h
Normal file
19
firmware/main_mcu/src/config-example.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// This is an example config file. Copy this file to "config.h" and set the
|
||||
// values needed for your network.
|
||||
|
||||
#ifndef __CONFIG_H_
|
||||
#define __CONFIG_H_
|
||||
|
||||
// These values will need to be modified for your environment
|
||||
#define CONFIG_SSID "network-name"
|
||||
#define CONFIG_PSK "password"
|
||||
#define CONFIG_MQTT_SERVER "mqtt.example.com" // Either IP or hostname
|
||||
#define CONFIG_MQTT_SERVER_PORT 1883 // 1883 is the default to unencrypted MQTT port
|
||||
|
||||
// You might want to change these, but don't likely need to.
|
||||
#define CONFIG_BUTTON_EVENT_TOPIC_PREFIX "devices/"
|
||||
#define CONFIG_HOMEASSISTANT_MQTT_PREFIX "homeassistant/"
|
||||
#define CONFIG_BUTTON_STATE_TOPIC_NAME "state"
|
||||
#define CONFIG_BUTTON_TRIGGER_TOPIC_NAME "trigger"
|
||||
|
||||
#endif // __CONFIG_H_
|
||||
Reference in New Issue
Block a user