#include <Metriful_sensor.h>

// How often to read and report the data (every 3, 100 or 300 seconds)
#define CYCLE_PERIOD = CYCLE_PERIOD_3_S

// The details of the WiFi network:
#define WIFI_SSID = "..." // network SSID (name, case sensitive)
#define WIFI_PASSWORD = "..." // network password

// Home Assistant settings

// We need a unique name for the device.
// The following code contains a mapping from MAC address to device name.
// In case no mapping is available for a MAC address, a name will be
// constructed based on the MAC address as a fallback.
// Variables in HA will have names like: <SENSOR NAME>.temperature, etc.
DeviceMapping deviceMapping[] = {
    { "01:02:03:ab:ba:f0", "my sensor name" }
};

// You must have already installed Home Assistant on a computer on your 
// network. Go to www.home-assistant.io for help on this.

// Change this to the IP address of the computer running Home Assistant. 
// You can find this from the admin interface of your router.
#define HOME_ASSISTANT_IP "..."

// Security access token: the Readme and User Guide explain how to get this
#define LONG_LIVED_ACCESS_TOKEN "..."
