2020-05-28 02:20:02 +02:00
|
|
|
#include "wled.h"
|
|
|
|
/*
|
|
|
|
* Register your v2 usermods here!
|
|
|
|
* (for v1 usermods using just usermod.cpp, you can ignore this file)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Add/uncomment your usermod filename here (and once more below)
|
|
|
|
* || || ||
|
|
|
|
* \/ \/ \/
|
|
|
|
*/
|
|
|
|
//#include "usermod_v2_example.h"
|
2020-09-13 19:26:27 +02:00
|
|
|
#ifdef USERMOD_DALLASTEMPERATURE
|
|
|
|
#include "../usermods/Temperature/usermod_temperature.h"
|
|
|
|
#endif
|
2020-12-26 14:23:14 +01:00
|
|
|
|
2020-05-28 02:20:02 +02:00
|
|
|
//#include "usermod_v2_empty.h"
|
2020-12-26 14:23:14 +01:00
|
|
|
|
2020-12-14 05:43:28 +01:00
|
|
|
#ifdef USERMOD_BUZZER
|
|
|
|
#include "../usermods/buzzer/usermod_v2_buzzer.h"
|
|
|
|
#endif
|
2020-12-29 19:35:59 +01:00
|
|
|
#ifdef USERMOD_SENSORSTOMQTT
|
|
|
|
#include "usermod_v2_SensorsToMqtt.h"
|
|
|
|
#endif
|
2020-05-28 02:20:02 +02:00
|
|
|
|
2020-12-25 21:17:30 +01:00
|
|
|
// BME280 v2 usermod. Define "USERMOD_BME280" in my_config.h
|
|
|
|
#ifdef USERMOD_BME280
|
|
|
|
#include "../usermods/BME280_v2/usermod_bme280.h"
|
|
|
|
#endif
|
2020-05-28 02:20:02 +02:00
|
|
|
|
|
|
|
void registerUsermods()
|
|
|
|
{
|
2020-12-29 19:35:59 +01:00
|
|
|
/*
|
2020-05-28 02:20:02 +02:00
|
|
|
* Add your usermod class name here
|
|
|
|
* || || ||
|
|
|
|
* \/ \/ \/
|
|
|
|
*/
|
|
|
|
//usermods.add(new MyExampleUsermod());
|
2020-12-26 14:23:14 +01:00
|
|
|
|
2020-09-13 19:26:27 +02:00
|
|
|
#ifdef USERMOD_DALLASTEMPERATURE
|
|
|
|
usermods.add(new UsermodTemperature());
|
|
|
|
#endif
|
2020-12-26 14:23:14 +01:00
|
|
|
|
2020-05-28 02:20:02 +02:00
|
|
|
//usermods.add(new UsermodRenameMe());
|
2020-12-26 14:23:14 +01:00
|
|
|
|
2020-12-14 05:43:28 +01:00
|
|
|
#ifdef USERMOD_BUZZER
|
|
|
|
usermods.add(new BuzzerUsermod());
|
|
|
|
#endif
|
2020-12-26 14:23:14 +01:00
|
|
|
|
2020-12-25 21:17:30 +01:00
|
|
|
#ifdef USERMOD_BME280
|
|
|
|
usermods.add(new UsermodBME280());
|
|
|
|
#endif
|
2020-05-28 02:20:02 +02:00
|
|
|
}
|