diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b005a81..4d3bbe9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,9 +37,7 @@ firmware-build:
- pio run -t clean
- pio run --environment basic
- pio run --environment mesh
- - pio run --environment meshPixel
- pio run --environment meshMqttBridge
- - pio run --environment ota
artifacts:
paths:
- .pioenvs/*/firmware.*
diff --git a/platformio.ini b/platformio.ini
index 5124119..7a26082 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -22,6 +22,8 @@ lib_deps =
ESPAsyncTCP
TaskScheduler
SPIFFS
+ ESP8266mDNS
+ ArduinoOTA
;[env:build]
;src_filter = +<*> -
@@ -68,17 +70,4 @@ monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
painlessMesh
- PubSubClient
-
-[env:ota]
-src_filter = +<*> +<*/plugins/*> - +
-platform = espressif8266
-board = esp12e
-upload_speed = ${common.upload_speed}
-upload_flags = --auth=f4ncy
-monitor_baud = ${common.monitor_baud}
-framework = ${common.framework}
-lib_deps = ${common.lib_deps}
- ESP8266mDNS
- painlessMesh
- ArduinoOTA
\ No newline at end of file
+ PubSubClient
\ No newline at end of file
diff --git a/src/Mediator.h b/src/Mediator.h
new file mode 100644
index 0000000..88f6d68
--- /dev/null
+++ b/src/Mediator.h
@@ -0,0 +1,31 @@
+#ifndef __MEDIATOR__
+#define __MEDIATOR__
+
+#include
+#include
+#include
+#include
+#include