This commit is contained in:
Yurii
2022-07-02 01:23:11 +03:00
parent a952b8f771
commit 0b887a8400
7 changed files with 9 additions and 5 deletions

3
.gitignore vendored
View File

@@ -1,3 +0,0 @@
/.vscode
/bin/*
!/bin/src.ino.bin

4
otgateway.ino Normal file
View File

@@ -0,0 +1,4 @@
/*
This file is needed by the Arduino IDE because the ino file needs to be named as the directory name.
Don't worry, the Arduino compiler will "merge" all files, including src/main.cpp
*/

View File

@@ -1,3 +1,4 @@
#pragma once
extern PubSubClient client;
class HomeAssistantHelper {

View File

@@ -1,3 +1,5 @@
#pragma once
#include <Arduino.h>
#include <OpenTherm.h>
extern SchedulerClass Scheduler;
@@ -19,7 +21,6 @@ public:
Scheduler.yield();
}
//unsigned long response = OpenTherm::sendRequest(request);
unsigned long _response;
if (!sendRequestAync(request)) {
_response = 0;

View File

@@ -1,3 +1,4 @@
#pragma once
#include <Arduino.h>
#if defined(EQUITHERM_INTEGER)

View File

@@ -67,4 +67,4 @@ void setup() {
Scheduler.begin();
}
void loop() {}
void loop() {}