mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +03:00
Schematic diagramm for hardware added
This commit is contained in:
BIN
hardware/LightHub.pdf
Normal file
BIN
hardware/LightHub.pdf
Normal file
Binary file not shown.
@@ -918,7 +918,7 @@ int Item::checkFM() {
|
||||
int pwr = node.getResponseBuffer(3);
|
||||
if (pwr > 0) aJson.addNumberToObject(out, "pwr", pwr / 10.); else aJson.addNumberToObject(out, "pwr", 0);
|
||||
|
||||
if (ftemp>fset+FM_OVERHEAT_CELSIUS && set)
|
||||
if (ftemp>FM_OVERHEAT_CELSIUS && set)
|
||||
{
|
||||
mqttClient.publish("/alarm/ovrht", itemArr->name);
|
||||
Ctrl(CMD_OFF); //Shut down
|
||||
|
||||
@@ -1121,7 +1121,7 @@ void thermoLoop(void) {
|
||||
mqttClient.publish("/alarm/snsr", item->name);
|
||||
|
||||
}
|
||||
if (curtemp > itemTempSetting + THERMO_OVERHEAT_CELSIUS) mqttClient.publish("/alarm/ovrht", item->name);
|
||||
if (curtemp > THERMO_OVERHEAT_CELSIUS) mqttClient.publish("/alarm/ovrht", item->name);
|
||||
|
||||
thermostatCheckPrinted = true;
|
||||
Serial.print(item->name);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Configuration of drivers enabled
|
||||
#ifndef PIO_SRC_REV
|
||||
#define PIO_SRC_REV v0.994
|
||||
#define PIO_SRC_REV v0.995
|
||||
#endif
|
||||
|
||||
#define TXEnablePin 13
|
||||
@@ -10,8 +10,8 @@
|
||||
#define IET_ATTEMPTS 1
|
||||
|
||||
#define THERMO_GIST_CELSIUS 2
|
||||
#define THERMO_OVERHEAT_CELSIUS 5
|
||||
#define FM_OVERHEAT_CELSIUS 5.
|
||||
#define THERMO_OVERHEAT_CELSIUS 38
|
||||
#define FM_OVERHEAT_CELSIUS 40.
|
||||
|
||||
#define EEPROM_offset 32+6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user