Obsługa pcf8574(?)

User avatar
SOYER
Posts: 1623
Joined: Wed Aug 10, 2022 12:29 pm
Location: Kryry
Been thanked: 2 times

Post

Cześć, taki szkic(fragment):

Code: Select all

 #include <Wire.h>
#include <SuplaDevice.h>
#include <supla/io.h>
#include <supla/sensor/DS18B20.h>
#include <supla/control/relay.h>
#include <supla/network/esp_wifi.h>
#include <supla/storage/eeprom.h>
#include <supla/storage/storage.h>
#include <supla/control/virtual_relay.h>
#include <supla/sensor/virtual_thermometer.h>
#include <supla/sensor/general_purpose_measurement.h>
#include <supla/io/pcf8574.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#include <Timers.h>
#include <LiquidCrystal_PCF8574.h>
#include "SH1106Wire.h"

// --- KONFIGURACJA PINÓW I ADRESÓW ---
#define menu D3
#define gora D6
#define dol  D7

Supla::ESPWifi wifi("", "");
Supla::Eeprom eeprom(0);
Supla::Io::PCF8574 pcf(0x20);      // Przekaźniki
LiquidCrystal_PCF8574 lcd(0x27);   // LCD
SH1106Wire display(0x3c, D2, D1);  // OLED (SDA=D2, SCL=D1)

// --- ZMIENNE ---
float t1, t2, t3, t4, t5;
float zadana1 = 20, zadana2 = 20, zadana3 = 20, histereza = 0.5;
int M = 1;
Timer sekund1;
unsigned long lastOled = 0;

// --- ZNAKI SPECJALNE LCD ---
byte stopnia[8] = { 0b00111, 0b00101, 0b00111, 0b00000, 0b00000, 0b00000, 0b00000, 0b00000 };
byte grzanie[8] = { 0b00000, 0b00000, 0b11001, 0b01011, 0b00100, 0b11010, 0b10011, 0b00000 };

// --- OBIEKTY ---
Supla::Control::Relay *relay1, *relay2, *relay3, *relay4, *relay5;
Supla::Sensor::DS18B20 *ds1, *ds2, *ds3, *ds4, *ds5;
Supla::Sensor::GeneralPurposeMeasurement *zad1, *zad2, *zad3, *hist;

// --- KLASA NASTAW (Z POPRAWIONYM ZAPISEM) ---
class RelayAsSetpoint : public Supla::Control::VirtualRelay {
public:
  RelayAsSetpoint(float step, float *targetVar, Supla::Sensor::GeneralPurposeMeasurement *gpm)
    : step(step), targetVar(targetVar), gpm(gpm) {}

  void turnOn(_supla_int_t duration = 0) override {
    Supla::Control::VirtualRelay::turnOn(duration);
    updateAndSave(*targetVar + step);
  }
  void turnOff(_supla_int_t duration = 0) override {
    Supla::Control::VirtualRelay::turnOff(duration);
    updateAndSave(*targetVar - step);
  }
  void updateAndSave(float val) {
    if (val > 30.0) val = 30.0; if (val < 10.0) val = 10.0;
    *targetVar = val;
    virtTemp.setValue(val);
    if (gpm) gpm->setValue(val);
    Supla::Storage::ScheduleSave(2000);
  }
  void onLoadState() override {
    float storedVal = 0;
    if (Supla::Storage::ReadState(reinterpret_cast<unsigned char *>(&storedVal), sizeof(float))) {
      if (storedVal >= 10.0 && storedVal <= 30.0) {
        *targetVar = storedVal;
        virtTemp.setValue(storedVal);
        if (gpm) gpm->setValue(storedVal);
      }
    }
  }
  void onSaveState() override {
    Supla::Storage::WriteState(reinterpret_cast<const unsigned char *>(targetVar), sizeof(float));
  }
protected:
  Supla::Sensor::VirtualThermometer virtTemp;
  float step, *targetVar;
  Supla::Sensor::GeneralPurposeMeasurement *gpm;
};


void setup() {
  Serial.begin(9600); Wire.begin();
  pinMode(menu, INPUT_PULLUP); pinMode(gora, INPUT_PULLUP); pinMode(dol, INPUT_PULLUP);

  lcd.begin(20, 4); lcd.setBacklight(255);
  lcd.createChar(1, stopnia); lcd.createChar(0, grzanie);
  display.init(); display.flipScreenVertically();

  char GUID[SUPLA_GUID_SIZE] = {0xFA,0xB5,0x1F,0x37,0x91,0xB1,0xCB,0x69,0x3C,0x75,0x71,0x9B,0xF3,0xEC,0x30,0xAB};
  char AUTHKEY[SUPLA_AUTHKEY_SIZE] = {0x56,0x7A,0xA4,0xD5,0x02,0xE2,0x93,0x5A,0x66,0xF7,0xD3,0x48,0x17,0x05,0x75,0x41};

  DeviceAddress ds1addr = {0x28,0x3F,0xDF,0x0B,0x8C,0xD0,0xB5,0xFE};
  DeviceAddress ds2addr = {0x28,0xC4,0xC2,0xC4,0x56,0x46,0xE4,0xD8};
  DeviceAddress ds3addr = {0x28,0xD0,0xDF,0x50,0x09,0xFA,0xAD,0x91};
  DeviceAddress ds4addr = {0x28,0x17,0x62,0x81,0xE3,0x50,0x3C,0x4D};
  DeviceAddress ds5addr = {0x28,0xD9,0x04,0x81,0xE3,0xCB,0x3C,0xAC};

  ds1 = new Supla::Sensor::DS18B20(D5, ds1addr);
  ds2 = new Supla::Sensor::DS18B20(D5, ds2addr);
  ds3 = new Supla::Sensor::DS18B20(D5, ds3addr);
  ds4 = new Supla::Sensor::DS18B20(D5, ds4addr);
  ds5 = new Supla::Sensor::DS18B20(D5, ds5addr);

  zad1 = new Supla::Sensor::GeneralPurposeMeasurement(); new RelayAsSetpoint(0.1, &zadana1, zad1);
  zad2 = new Supla::Sensor::GeneralPurposeMeasurement(); new RelayAsSetpoint(0.1, &zadana2, zad2);
  zad3 = new Supla::Sensor::GeneralPurposeMeasurement(); new RelayAsSetpoint(0.1, &zadana3, zad3);
  hist = new Supla::Sensor::GeneralPurposeMeasurement(); new RelayAsSetpoint(0.1, &histereza, hist);

  relay1 = new Supla::Control::Relay(&pcf, 0, false);
  relay2 = new Supla::Control::Relay(&pcf, 1, false);
  relay3 = new Supla::Control::Relay(&pcf, 2, false);
  relay4 = new Supla::Control::Relay(&pcf, 3, false);
  relay5 = new Supla::Control::Relay(&pcf, 4, false);

  sekund1.begin(999);
  SuplaDevice.begin(GUID, "svr63.supla.org", "@gmail.com", AUTHKEY);
}

Kompiluje się wgrywa i działa, jednak są dwa problemy,
pierwszy, w czasie uruchamiania dostaje panica i restartuje się ale w końcu się uruchamia. Logi w drugim poście wkleję.

Drugi problem po restarcie wartości zapisane przez relayAsSetpoint są o 0.1 mniejsze niż przed restartem

Pomoże ktoś?

P.S. kod stworzony z pomocą AI Gemini
Last edited by SOYER on Sun Feb 15, 2026 1:31 pm, edited 2 times in total.
https://youtube.com/@tomaszhamer8134?si=_J1cT_QWsXxgt1Fm
https://kryry01.aqi.eco/pl
https://app.weathercloud.net/d4311785603
https://github.com/Soyer79
User avatar
SOYER
Posts: 1623
Joined: Wed Aug 10, 2022 12:29 pm
Location: Kryry
Been thanked: 2 times

Post

logi:

Code: Select all

 17:07:56.390 -> Connected via IP 192.168.1.179
17:07:56.437 -> Connected to Supla Server
17:07:56.437 -> Initializing SRPC (proto: 23)
17:07:56.484 -> Current status: [10] Register in progress
17:07:56.531 -> Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 4A 05 00 00 72 70 72 79 63 7A 65 6B 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 56 7A A4 D5 02 E2 93 5A 66 F7 D3 48 17 05 75 41 FA B5 1F 37 91 B1 CB 69 3C 75 71 9B F3 EC 30 AB 53 55 50 4C 41 2D 45 53 50 38 32 36 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:07:57.656 -> CH[0], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 f0 38 40]
17:07:57.796 -> Send: [00 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 38 40 00 ]
17:07:57.890 -> CH[1], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 f0 38 40]
17:07:58.077 -> Send: [01 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 38 40 00 ]
17:07:58.171 -> CH[2], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 d0 38 40]
17:07:58.312 -> Send: [02 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D0 38 40 00 ]
17:07:58.452 -> CH[3], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 d0 38 40]
17:07:58.593 -> Send: [03 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D0 38 40 00 ]
17:07:58.733 -> CH[4], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 60 39 40]
17:07:58.874 -> Send: [04 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 39 40 00 ]
17:07:58.968 -> CH[5], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 20 33 33 38 40]
17:07:59.147 -> Send: [05 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 20 33 33 38 40 00 ]
17:07:59.241 -> CH[6], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:07:59.381 -> Send: [06 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:07:59.522 -> CH[7], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 20 33 33 38 40]
17:07:59.663 -> Send: [07 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 20 33 33 38 40 00 ]
17:07:59.756 -> CH[8], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 a0 99 19 34 40]
17:07:59.897 -> Send: [08 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 A0 99 19 34 40 00 ]
17:08:00.037 -> CH[9], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:00.178 -> Send: [09 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:00.272 -> CH[10], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 a0 99 19 34 40]
17:08:00.459 -> Send: [0A DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 A0 99 19 34 40 00 ]
17:08:00.553 -> CH[11], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 34 40]
17:08:00.694 -> Send: [0B 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 40 00 ]
17:08:00.834 -> CH[12], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:00.975 -> Send: [0C 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:01.115 -> CH[13], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 34 40]
17:08:01.256 -> Send: [0D DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 40 00 ]
17:08:01.350 -> CH[14], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:01.490 -> Send: [0E 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:01.631 -> CH[15], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:01.771 -> Send: [0F 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:01.912 -> CH[16], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:02.052 -> Send: [10 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:02.146 -> CH[17], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:02.287 -> Send: [11 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:02.427 -> CH[18], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:02.568 -> Send: [12 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:02.708 -> CH[19], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:02.849 -> Send: [13 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:02.943 -> CH[20], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:03.130 -> Send: [14 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:03.224 -> CH[21], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:03.365 -> Send: [15 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:03.505 -> Send: [53 55 50 4C 41 ]
17:08:03.505 -> Relay[17] turn OFF (duration 0 ms)
17:08:03.552 ->  **** Digital write[17], gpio: 0; value 1
17:08:03.599 -> Relay[18] turn OFF (duration 0 ms)
17:08:03.646 ->  **** Digital write[18], gpio: 1; value 1
17:08:03.693 -> Relay[19] turn OFF (duration 0 ms)
17:08:03.740 ->  **** Digital write[19], gpio: 2; value 1
17:08:03.786 -> Recv: [53 55 50 4C 41 17 01 00 00 00 46 00 00 00 07 00 00 00 03 00 00 00 78 1C 01 53 55 50 4C 41 ]
17:08:03.880 -> Device registered (activity timeout 120 s, server version: 28, server min version: 1)
17:08:03.974 -> Current status: [17] Registered and ready
17:08:04.021 -> Changing activity timeout to 30 s
17:08:04.021 -> Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
17:08:04.115 -> Send: [53 55 50 4C 41 ]
17:08:04.115 -> Relay[6] updating timer value: remainingTime=0 state=0
17:08:04.211 -> SRPC sending: remaining time 0, channel 6, state 0
17:08:04.258 -> Send: [53 55 50 4C 41 17 03 00 00 00 69 00 00 00 E3 00 00 00 06 32 DD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:05.008 -> Send: [53 55 50 4C 41 ]
17:08:05.055 -> Relay[17] turn OFF (duration 0 ms)
17:08:05.102 ->  **** Digital write[17], gpio: 0; value 1
17:08:05.195 -> Relay[18] turn OFF (duration 0 ms)
17:08:05.195 ->  **** Digital write[18], gpio: 1; value 1
17:08:05.242 -> Relay[19] turn OFF (duration 0 ms)
17:08:05.289 ->  **** Digital write[19], gpio: 2; value 1
17:08:05.336 -> Recv: [53 55 50 4C 41 17 02 00 00 00 AD 02 00 00 1B 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 55 50 4C 41 ]
17:08:05.477 -> Received new device config
17:08:05.523 -> Sending device config result OK (1)
17:08:05.570 -> Send: [53 55 50 4C 41 17 04 00 00 00 B7 02 00 00 0A 00 00 00 01 00 00 00 00 00 00 00 00 00 ]
17:08:05.664 -> Send: [53 55 50 4C 41 ]
17:08:05.898 -> Relay[9] updating timer value: remainingTime=0 state=0
17:08:05.992 -> SRPC sending: remaining time 0, channel 9, state 0
17:08:06.039 -> Send: [53 55 50 4C 41 17 05 00 00 00 69 00 00 00 E3 00 00 00 09 32 DD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:06.976 -> Send: [53 55 50 4C 41 ]
17:08:07.351 -> Relay[17] turn OFF (duration 0 ms)
17:08:07.351 ->  **** Digital write[17], gpio: 0; value 1
17:08:07.398 -> Relay[18] turn OFF (duration 0 ms)
17:08:07.445 ->  **** Digital write[18], gpio: 1; value 1
17:08:07.492 -> Relay[19] turn OFF (duration 0 ms)
17:08:07.538 ->  **** Digital write[19], gpio: 2; value 1
17:08:07.585 ->
17:08:07.585 -> User exception (panic/abort/assert)
17:08:07.632 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
17:08:07.679 ->
17:08:07.679 -> Panic core_esp8266_main.cpp:191 __yield
17:08:07.726 ->
17:08:07.726 -> >>>stack>>>
17:08:07.726 ->
17:08:07.726 -> ctx: sys
17:08:07.726 -> sp: 3ffffea0 end: 3fffffb0 offset: 0010
17:08:07.820 -> 3ffffeb0:  3ffefb54 00000000 000000ff 402208e1  
17:08:07.866 -> 3ffffec0:  60000314 00000001 00000002 4021c8b6  
17:08:07.913 -> 3ffffed0:  00000028 00000002 00000000 40275b9c  
17:08:07.960 -> 3ffffee0:  000007d9 00000000 0000001d 00000020  
17:08:08.007 -> 3ffffef0:  00000003 0000
17:08:08.054 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
17:08:08.101 ->
17:08:08.101 -> Panic core_esp8266_main.cpp:191 __yield
17:08:08.147 ->
17:08:08.147 -> >>>stack>>>
17:08:08.147 ->
17:08:08.147 -> ctx: sys
17:08:08.147 -> sp: 3ffffbc0 end: 3fffffb0 offset: 0010
17:08:08.194 -> 3ffffbd0:  00000000 00000000 00000000 401032b2  
17:08:08.241 -> 3ffffbe0:  40103329 00000031 3f302063 4028421c  
17:08:08.288 -> 3ffffbf0:  4028421b 3ffe83c4 3ffffcb0 4022e629  
17:08:08.382 -> 3ffffc00:  00000004 2c9f0300 4000050c 3fffc278  
17:08:08.429 -> 3ffffc10:  401032cc 3fffc200 00000022 3ffe83c4  
17:08:08.476 -> 3ffffc20:  40003b53 00000030 00000010 ffffffff  
17:08:08.522 -> 3ffffc30:  40001ddc 00000030 00018000 00000000  
17:08:08.569 -> 3ffffc40:  00ff0000 5ffffe00 5ffffe00 00000000  
17:08:08.616 -> 3ffffc50:  00018000 00000000 3ffffc13 3ffffd49  
17:08:08.663 -> 3ffffc60:  00000020 0000003c 3fffffb0 00000030  
17:08:08.710 -> 3ffffc70:  0000003c 3ffe83c4 000000a0 4022b899  
17:08:08.804 -> 3ffffc80:  3ffffd61 00000000 0000006e ffff0208  
17:08:08.850 -> 3ffffc90:  3ffffd30 0000009f 000000a0 3ffffe50  
17:08:08.897 -> 3ffffca0:  3fffffb0 3ffe83c4 000000a0 4022b899  
17:08:08.944 -> 3ffffcb0:  3ffffd88 0000009f 00000077 ffff0208  
17:08:08.991 -> 3ffffcc0:  3ffffd60 0000009f 00000004 4022e42c  
17:08:09.027 -> 3ffffcd0:  3ffffe80 3ffffe70 00000004 3ffe83c4  
17:08:09.099 -> 3ffffce0:  00000024 00000000 402293e5 3ffe83c4  
17:08:09.146 -> 3ffffcf0:  00000001 00000020 3ffffd30 4022b8d5  
17:08:09.192 -> 3ffffd00:  3ffffdf0 3ffffde0 00000004 4022b899  
17:08:09.239 -> 3ffffd10:  3ffffde4 000000fe 3ffffd50 4022b8d5  
17:08:09.278 -> 3ffffd20:  40220dcd 00000010 3ffffd60 40220dc0  
17:08:09.372 -> 3ffffd30:  66666633 30666566 3020203a 30303030  
17:08:09.419 -> 3ffffd40:  20333030 30303030 62303030 30303020  
17:08:09.466 -> 3ffffd50:  32303030 30302038 33303030 20203438  
17:08:09.512 -> 3ffffd60:  203a000a 66666633 30616566 646e6520  
17:08:09.559 -> 3ffffd70:  6633203a 66666666 6f203062 65736666  
17:08:09.606 -> 3ffffd80:  30203a74 0a303130 3ffffd00 4022b8d5  
17:08:09.653 -> 3ffffd90:  3ffffe80 3ffffe70 00000004 4022e629  
17:08:09.700 -> 3ffffda0:  00000000 ffffffff ffffffff 00000000  
17:08:09.794 -> 3ffffdb0:  40220dcd 00000022 3f302064 40220dc0  
17:08:09.840 -> 3ffffdc0:  6573550a 78652072 74706563 206e6f69  
17:08:09.887 -> 3ffffdd0:  3ffffdf0 3ffffde0 00000004 7373612f  
17:08:09.935 -> 3ffffde0:  29747265 3ffffef0 00000003 0000000b  
17:08:09.982 -> 3ffffdf0:  00000028 00000384 00000004 00000001  
17:08:10.029 -> 3ffffe00:  3ffffe20 3ffffe10 3fffff00 40220e1a  
17:08:10.076 -> 3ffffe10:  00000020 3ffffea0 3fffffb0 00000010  
17:08:10.123 -> 3ffffe20:  5ffffe00 5ffffe00 0000000f 3ffffe50  
17:08:10.216 -> 3ffffe30:  3fffffb0 00000010 3ffffeb0 402210be  
17:08:10.263 -> 3ffffe40:  3fff2a7c 00000034 0000002d 4022b899  
17:08:10.310 -> 3ffffe50:  000000fe 00000000 00000000 00000000  
17:08:10.357 -> 3ffffe60:  00000000 00000000 00000000 00000000  
17:08:10.404 -> 3ffffe70:  3fffefd0 000000fe 402844d0 3ffefb50  
17:08:10.451 -> 3ffffe80:  00000000 00000001 00000020 3fff0a74  
17:08:10.498 -> 3ffffe90:  00000000 3ffef278 3ffe867c 4022112e  
17:08:10.545 -> 3ffffea0:  3ffefb54 00000001 3ffefb54 4022119b  
17:08:10.591 -> 3ffffeb0:  3ffefb54 00000000 000000ff 402208e1  
17:08:10.638 -> 3ffffec0:  60000314 00000001 00000002 4021c8b6  
17:08:10.685 -> 3ffffed0:  00000028 00000002 00000000 40275b9c  
17:08:10.767 -> 3ffffee0:  000007d9 00000000 0000001d 00000020  
17:08:10.814 -> 3ffffef0:  00000003 0000000b 00000028 00000384  
17:08:10.861 -> 3fffff00:  00000003 00000000 3fff24b4 00000005  
17:08:10.908 -> 3fffff10:  00000001 00000002 00000028 00000080  
17:08:10.955 -> 3fffff20:  00000000 3fffff80 3ffe83c4 3fff24b4  
17:08:11.048 -> 3fffff30:  3ffef278 00000000 00000002 4021ca3c  
17:08:11.095 -> 3fffff40:  00000001 3ffe8a83 3ffef278 4021cc01  
17:08:11.142 -> 3fffff50:  00000013 00000028 00000005 3fff24b4  
17:08:11.189 -> 3fffff60:  40275b9c 00000005 3fffff80 3ffefb08  
17:08:11.236 -> 3fffff70:  40275b9c 3ffe8a83 3ffef278 40206aeb  
17:08:11.283 -> 3fffff80:  4f4c4153 3ffe004e 05000000 3ffefb08  
17:08:11.330 -> 3fffff90:  3fffdad0 00000000 3ffef25c 4021c000  
17:08:11.376 -> 3fffffa0:  3fffdad0 00000000 3ffefadc 4020730e  
17:08:11.423 -> <<<stack<<<
17:08:11.470 ->
17:08:11.470 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
17:08:11.517 -> c_⸮rS⸮fJ⸮j⸮ ⸮⸮Creating OneWire bus for pin: 14
17:08:11.751 -> Initializing OneWire bus at pin 14
17:08:11.939 -> OneWire(pin 14) Parasite power is OFF
17:08:11.986 -> OneWire(pin 14) Found 5 devices:
17:08:12.032 -> Index 0 - address {0x28, 0xD0, 0xDF, 0x50, 0x09, 0xFA, 0xAD, 0x91}
17:08:12.079 -> Index 1 - address {0x28, 0xC4, 0xC2, 0xC4, 0x56, 0x46, 0xE4, 0xD8}
17:08:12.173 -> Index 2 - address {0x28, 0xD9, 0x04, 0x81, 0xE3, 0xCB, 0x3C, 0xAC}
17:08:12.220 -> Index 3 - address {0x28, 0x17, 0x62, 0x81, 0xE3, 0x50, 0x3C, 0x4D}
17:08:12.314 -> Index 4 - address {0x28, 0x3F, 0xDF, 0x0B, 0x8C, 0xD0, 0xB5, 0xFE}
17:08:12.735 ->  *** Supla - starting initialization (platform 0)
17:08:12.817 -> Clock not configured, using default clock
17:08:12.864 -> SD: add flag DEVICE_CONFIG_SUPPORTED
17:08:12.911 -> SD: add flag CALCFG_RESTART_DEVICE
17:08:12.911 -> Storage initialization
17:08:12.958 -> readStorage: 8; Read: [53 55 50 4C 41 1 0 1 ]
17:08:13.005 -> Storage: Number of sections 1
17:08:13.051 -> Reading section: 0
17:08:13.051 -> readStorage: 7; Read: [3 29 0 73 E5 73 E5 ]
17:08:13.098 -> Section type: 3; size: 41
17:08:13.145 -> storedCRC 58739, CRC calc 58739
17:08:13.145 -> Config storage not configured
17:08:13.192 ->  *** Supla - Load state storage
17:08:13.239 -> Validating storage state section with current device configuration
17:08:13.333 -> Storage state section validation successful
17:08:13.380 -> readStorage: 4; Read: [99 99 C1 41 ]
17:08:13.380 -> readStorage: 4; Read: [CD CC A0 41 ]
17:08:13.426 -> readStorage: 4; Read: [0 0 A0 41 ]
17:08:13.473 -> readStorage: 4; Read: [0 0 0 0 ]
17:08:13.520 -> readStorage: 4; Read: [0 0 0 0 ]
17:08:13.520 -> readStorage: 1; Read: [0 ]
17:08:13.567 -> readStorage: 4; Read: [0 0 0 0 ]
17:08:13.614 -> readStorage: 1; Read: [0 ]
17:08:13.614 -> readStorage: 4; Read: [0 0 0 0 ]
17:08:13.661 -> readStorage: 1; Read: [0 ]
17:08:13.708 -> readStorage: 4; Read: [0 0 0 0 ]
17:08:13.754 -> readStorage: 1; Read: [0 ]
17:08:13.754 -> readStorage: 4; Read: [0 0 0 0 ]
17:08:13.801 -> readStorage: 1; Read: [0 ]
17:08:13.801 ->  *** Supla - Load state storage done
17:08:13.895 ->  *** Supla - Init elements
17:08:13.895 -> Channel(0) value changed to 24.93
17:08:13.942 -> Channel(1) value changed to 24.93
17:08:13.989 -> Channel(2) value changed to 24.81
17:08:14.036 -> Channel(3) value changed to 24.81
17:08:14.036 -> Channel(4) value changed to 25.37
17:08:14.082 -> Channel(5) value changed to 24.20
17:08:14.129 -> Relay[6] turn OFF (duration 0 ms)
17:08:14.176 -> Channel(7) value changed to 24.10
17:08:14.176 -> Channel(8) value changed to 20.10
17:08:14.223 -> Relay[9] turn OFF (duration 0 ms)
17:08:14.270 -> Channel(10) value changed to 20.00
17:08:14.317 -> Channel(11) value changed to 20.00
17:08:14.317 -> Relay[12] turn OFF (duration 0 ms)
17:08:14.364 -> Channel(13) value changed to 19.89
17:08:14.404 -> Relay[15] turn OFF (duration 0 ms)
17:08:14.451 -> Relay[17] turn OFF (duration 0 ms)
17:08:14.498 ->  **** Digital write[17], gpio: 0; value 1
17:08:14.545 -> Relay[17] turn OFF (duration 0 ms)
17:08:14.592 ->  **** Digital write[17], gpio: 0; value 1
17:08:14.592 -> Relay[17] init done, storedTurnOnDurationMs 0
17:08:14.685 -> Relay[18] turn OFF (duration 0 ms)
17:08:14.685 ->  **** Digital write[18], gpio: 1; value 1
17:08:14.733 -> Relay[18] turn OFF (duration 0 ms)
17:08:14.780 ->  **** Digital write[18], gpio: 1; value 1
17:08:14.827 -> Relay[18] init done, storedTurnOnDurationMs 0
17:08:14.875 -> Relay[19] turn OFF (duration 0 ms)
17:08:14.922 ->  **** Digital write[19], gpio: 2; value 1
17:08:14.969 -> Relay[19] turn OFF (duration 0 ms)
17:08:14.969 ->  **** Digital write[19], gpio: 2; value 1
17:08:15.062 -> Relay[19] init done, storedTurnOnDurationMs 0
17:08:15.109 -> Relay[20] turn OFF (duration 0 ms)
17:08:15.156 ->  **** Digital write[20], gpio: 3; value 1
17:08:15.156 -> Relay[20] turn OFF (duration 0 ms)
17:08:15.203 ->  **** Digital write[20], gpio: 3; value 1
17:08:15.250 -> Relay[20] init done, storedTurnOnDurationMs 0
17:08:15.297 -> Relay[21] turn OFF (duration 0 ms)
17:08:15.344 ->  **** Digital write[21], gpio: 4; value 1
17:08:15.390 -> Relay[21] turn OFF (duration 0 ms)
17:08:15.437 ->  **** Digital write[21], gpio: 4; value 1
17:08:15.484 -> Relay[21] init done, storedTurnOnDurationMs 0
17:08:15.531 ->  *** Supla - Init elements done
17:08:15.531 -> GUID: FAB51F3791B1CB693C75719BF3EC30AB
17:08:15.578 -> Device name: SUPLA-ESP8266
17:08:15.625 -> Device software version: SDK 25.11-dev
17:08:15.672 ->  *** Supla - Initializing network layer
17:08:15.718 -> [Wi-Fi] Network AP/hostname: SUPLA-ESP8266-BCFF4D104FC0
17:08:15.765 -> Using Supla protocol version 23
17:08:15.812 -> Current status: [5] SuplaDevice initialized
17:08:15.859 -> Enter normal mode
17:08:15.859 -> [Wi-Fi] setNormalMode
17:08:15.906 ->  *** Supla - Initialization done
17:08:15.953 ->  *** Self-test ***
17:08:15.953 -> TEST: ManufacturerID is 0
17:08:16.000 -> TEST failed: ProductID is empty
17:08:16.000 -> TEST failed: missing Config instance
17:08:16.047 -> TEST failed: missing public RSA key
17:08:16.094 -> TEST failed: automatic firmware update is disabled
17:08:16.141 -> TEST failed: missing web server
17:08:16.187 -> TEST failed: security log is disabled
17:08:16.234 ->  *** Self-test done ***
17:08:16.234 -> Wrote 4 bytes to storage at 15
17:08:16.281 -> Wrote 4 bytes to storage at 19
17:08:16.281 -> Wrote 4 bytes to storage at 23
17:08:16.375 -> Wrote 7 bytes to storage at 8
17:08:16.375 -> Commit
17:08:16.375 -> WiFi: establishing connection with SSID: "piwnica"
17:08:16.469 -> Relay[17] turn OFF (duration 0 ms)
17:08:16.516 ->  **** Digital write[17], gpio: 0; value 1
17:08:16.562 -> Relay[18] turn OFF (duration 0 ms)
17:08:16.609 ->  **** Digital write[18], gpio: 1; value 1
17:08:16.656 -> Relay[19] turn OFF (duration 0 ms)
17:08:16.656 ->  **** Digital write[19], gpio: 2; value 1
17:08:16.703 -> Channel(5) value changed to 24.10
17:08:16.750 -> Channel(8) value changed to 20.00
17:08:16.797 -> Channel(11) value changed to 19.89
17:08:17.631 -> Relay[17] turn OFF (duration 0 ms)
17:08:17.678 ->  **** Digital write[17], gpio: 0; value 1
17:08:17.725 -> Relay[18] turn OFF (duration 0 ms)
17:08:17.771 ->  **** Digital write[18], gpio: 1; value 1
17:08:17.805 -> Relay[19] turn OFF (duration 0 ms)
17:08:17.851 ->  **** Digital write[19], gpio: 2; value 1
17:08:18.836 -> Relay[17] turn OFF (duration 0 ms)
17:08:18.883 ->  **** Digital write[17], gpio: 0; value 1
17:08:18.930 -> Relay[18] turn OFF (duration 0 ms)
17:08:18.976 ->  **** Digital write[18], gpio: 1; value 1
17:08:18.976 -> Relay[19] turn OFF (duration 0 ms)
17:08:19.023 ->  **** Digital write[19], gpio: 2; value 1
17:08:20.296 -> Relay[17] turn OFF (duration 0 ms)
17:08:20.343 ->  **** Digital write[17], gpio: 0; value 1
17:08:20.390 -> Relay[18] turn OFF (duration 0 ms)
17:08:20.437 ->  **** Digital write[18], gpio: 1; value 1
17:08:20.484 -> Relay[19] turn OFF (duration 0 ms)
17:08:20.530 ->  **** Digital write[19], gpio: 2; value 1
17:08:21.233 -> WiFi station disconnected
17:08:21.468 -> Relay[17] turn OFF (duration 0 ms)
17:08:21.514 ->  **** Digital write[17], gpio: 0; value 1
17:08:21.561 -> Relay[18] turn OFF (duration 0 ms)
17:08:21.608 ->  **** Digital write[18], gpio: 1; value 1
17:08:21.655 -> Relay[19] turn OFF (duration 0 ms)
17:08:21.702 ->  **** Digital write[19], gpio: 2; value 1
17:08:22.639 -> Relay[17] turn OFF (duration 0 ms)
17:08:22.686 ->  **** Digital write[17], gpio: 0; value 1
17:08:22.733 -> Relay[18] turn OFF (duration 0 ms)
17:08:22.780 ->  **** Digital write[18], gpio: 1; value 1
17:08:22.827 -> Relay[19] turn OFF (duration 0 ms)
17:08:22.873 ->  **** Digital write[19], gpio: 2; value 1
17:08:23.858 -> Relay[17] turn OFF (duration 0 ms)
17:08:23.904 ->  **** Digital write[17], gpio: 0; value 1
17:08:23.904 -> Relay[18] turn OFF (duration 0 ms)
17:08:23.951 ->  **** Digital write[18], gpio: 1; value 1
17:08:23.998 -> Relay[19] turn OFF (duration 0 ms)
17:08:24.045 ->  **** Digital write[19], gpio: 2; value 1
17:08:25.033 -> Relay[17] turn OFF (duration 0 ms)
17:08:25.033 ->  **** Digital write[17], gpio: 0; value 1
17:08:25.080 -> Relay[18] turn OFF (duration 0 ms)
17:08:25.127 ->  **** Digital write[18], gpio: 1; value 1
17:08:25.173 -> Relay[19] turn OFF (duration 0 ms)
17:08:25.220 ->  **** Digital write[19], gpio: 2; value 1
17:08:25.267 -> WiFi station disconnected
17:08:26.204 -> Relay[17] turn OFF (duration 0 ms)
17:08:26.251 ->  **** Digital write[17], gpio: 0; value 1
17:08:26.298 -> Relay[18] turn OFF (duration 0 ms)
17:08:26.298 ->  **** Digital write[18], gpio: 1; value 1
17:08:26.345 -> Relay[19] turn OFF (duration 0 ms)
17:08:26.392 ->  **** Digital write[19], gpio: 2; value 1
17:08:27.376 -> Relay[17] turn OFF (duration 0 ms)
17:08:27.423 ->  **** Digital write[17], gpio: 0; value 1
17:08:27.470 -> Relay[18] turn OFF (duration 0 ms)
17:08:27.516 ->  **** Digital write[18], gpio: 1; value 1
17:08:27.563 -> Relay[19] turn OFF (duration 0 ms)
17:08:27.563 ->  **** Digital write[19], gpio: 2; value 1
17:08:28.549 -> Relay[17] turn OFF (duration 0 ms)
17:08:28.596 ->  **** Digital write[17], gpio: 0; value 1
17:08:28.643 -> Relay[18] turn OFF (duration 0 ms)
17:08:28.690 ->  **** Digital write[18], gpio: 1; value 1
17:08:28.736 -> Relay[19] turn OFF (duration 0 ms)
17:08:28.783 ->  **** Digital write[19], gpio: 2; value 1
17:08:28.971 -> Warning: network is not ready (10 s)
17:08:29.205 -> WiFi station disconnected
17:08:29.722 -> Relay[17] turn OFF (duration 0 ms)
17:08:29.769 ->  **** Digital write[17], gpio: 0; value 1
17:08:29.803 -> Relay[18] turn OFF (duration 0 ms)
17:08:29.850 ->  **** Digital write[18], gpio: 1; value 1
17:08:29.897 -> Relay[19] turn OFF (duration 0 ms)
17:08:29.944 ->  **** Digital write[19], gpio: 2; value 1
17:08:30.928 -> Relay[17] turn OFF (duration 0 ms)
17:08:30.975 ->  **** Digital write[17], gpio: 0; value 1
17:08:30.975 -> Relay[18] turn OFF (duration 0 ms)
17:08:31.022 ->  **** Digital write[18], gpio: 1; value 1
17:08:31.068 -> Relay[19] turn OFF (duration 0 ms)
17:08:31.115 ->  **** Digital write[19], gpio: 2; value 1
17:08:32.101 -> Relay[17] turn OFF (duration 0 ms)
17:08:32.148 ->  **** Digital write[17], gpio: 0; value 1
17:08:32.194 -> Relay[18] turn OFF (duration 0 ms)
17:08:32.194 ->  **** Digital write[18], gpio: 1; value 1
17:08:32.241 -> Relay[19] turn OFF (duration 0 ms)
17:08:32.288 ->  **** Digital write[19], gpio: 2; value 1
17:08:32.335 -> Connected BSSID: 98:25:4A:58:1A:92
17:08:32.382 -> local IP: 192.168.1.179
17:08:32.382 -> subnetMask: 255.255.255.0
17:08:32.429 -> gatewayIP: 192.168.1.1
17:08:32.476 -> Signal strength (RSSI): -82 dBm
17:08:32.476 -> Establishing encrypted connection with: svr63.supla.org (port: 2016)
17:08:32.569 -> Waiting for NTP time sync
17:08:34.832 -> Connected via IP 192.168.1.179
17:08:34.832 -> Connected to Supla Server
17:08:34.879 -> Initializing SRPC (proto: 23)
17:08:34.879 -> Current status: [10] Register in progress
17:08:34.926 -> Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 4A 05 00 00 72 70 72 79 63 7A 65 6B 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 56 7A A4 D5 02 E2 93 5A 66 F7 D3 48 17 05 75 41 FA B5 1F 37 91 B1 CB 69 3C 75 71 9B F3 EC 30 AB 53 55 50 4C 41 2D 45 53 50 38 32 36 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:36.051 -> CH[0], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 f0 38 40]
17:08:36.191 -> Send: [00 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 38 40 00 ]
17:08:36.332 -> CH[1], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 f0 38 40]
17:08:36.473 -> Send: [01 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 38 40 00 ]
17:08:36.566 -> CH[2], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 d0 38 40]
17:08:36.707 -> Send: [02 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D0 38 40 00 ]
17:08:36.847 -> CH[3], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 d0 38 40]
17:08:36.988 -> Send: [03 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D0 38 40 00 ]
17:08:37.082 -> CH[4], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 60 39 40]
17:08:37.222 -> Send: [04 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60 39 40 00 ]
17:08:37.363 -> CH[5], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 a0 99 19 38 40]
17:08:37.503 -> Send: [05 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 A0 99 19 38 40 00 ]
17:08:37.644 -> CH[6], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:37.785 -> Send: [06 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:37.878 -> CH[7], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 a0 99 19 38 40]
17:08:38.066 -> Send: [07 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 A0 99 19 38 40 00 ]
17:08:38.160 -> CH[8], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 34 40]
17:08:38.300 -> Send: [08 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 40 00 ]
17:08:38.441 -> CH[9], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:38.581 -> Send: [09 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:38.722 -> CH[10], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 34 40]
17:08:38.862 -> Send: [0A DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 40 00 ]
17:08:38.956 -> CH[11], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 60 66 e6 33 40]
17:08:39.097 -> Send: [0B 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 60 66 E6 33 40 00 ]
17:08:39.237 -> CH[12], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:39.378 -> Send: [0C 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:39.518 -> CH[13], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 60 66 e6 33 40]
17:08:39.659 -> Send: [0D DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 60 66 E6 33 40 00 ]
17:08:39.753 -> CH[14], type: 9000, FuncList: 0x0, function: 520, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:39.893 -> Send: [0E 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:40.037 -> CH[15], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:40.178 -> Send: [0F 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:40.271 -> CH[16], type: 3034, FuncList: 0x0, function: 40, flags: 0x008010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:40.459 -> Send: [10 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:40.553 -> CH[17], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:40.693 -> Send: [11 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:40.834 -> CH[18], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:40.974 -> Send: [12 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:41.102 -> CH[19], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:41.242 -> Send: [13 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:41.336 -> CH[20], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:41.477 -> Send: [14 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:41.617 -> CH[21], type: 2900, FuncList: 0xEF, function: 0, flags: 0x009010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
17:08:41.758 -> Send: [15 54 0B 00 00 EF 00 00 00 00 00 00 00 00 00 01 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:41.898 -> Send: [53 55 50 4C 41 ]
17:08:41.898 -> Relay[17] turn OFF (duration 0 ms)
17:08:41.945 ->  **** Digital write[17], gpio: 0; value 1
17:08:41.992 -> Relay[18] turn OFF (duration 0 ms)
17:08:42.039 ->  **** Digital write[18], gpio: 1; value 1
17:08:42.086 -> Relay[19] turn OFF (duration 0 ms)
17:08:42.086 ->  **** Digital write[19], gpio: 2; value 1
17:08:42.179 -> Recv: [53 55 50 4C 41 17 01 00 00 00 46 00 00 00 07 00 00 00 03 00 00 00 78 1C 01 53 55 50 4C 41 ]
17:08:42.273 -> Device registered (activity timeout 120 s, server version: 28, server min version: 1)
17:08:42.367 -> Current status: [17] Registered and ready
17:08:42.414 -> Changing activity timeout to 30 s
17:08:42.414 -> Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
17:08:42.508 -> Send: [53 55 50 4C 41 ]
17:08:42.508 -> Relay[6] updating timer value: remainingTime=0 state=0
17:08:42.601 -> SRPC sending: remaining time 0, channel 6, state 0
17:08:42.648 -> Send: [53 55 50 4C 41 17 03 00 00 00 69 00 00 00 E3 00 00 00 06 32 DD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:43.398 -> Send: [53 55 50 4C 41 ]
17:08:43.492 -> Relay[17] turn OFF (duration 0 ms)
17:08:43.538 ->  **** Digital write[17], gpio: 0; value 1
17:08:43.585 -> Relay[18] turn OFF (duration 0 ms)
17:08:43.632 ->  **** Digital write[18], gpio: 1; value 1
17:08:43.679 -> Relay[19] turn OFF (duration 0 ms)
17:08:43.679 ->  **** Digital write[19], gpio: 2; value 1
17:08:43.726 -> Recv: [53 55 50 4C 41 17 02 00 00 00 AD 02 00 00 1B 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 55 50 4C 41 ]
17:08:43.913 -> Received new device config
17:08:43.913 -> Sending device config result OK (1)
17:08:43.960 -> Send: [53 55 50 4C 41 17 04 00 00 00 B7 02 00 00 0A 00 00 00 01 00 00 00 00 00 00 00 00 00 ]
17:08:44.054 -> Send: [53 55 50 4C 41 ]
17:08:44.335 -> Relay[9] updating timer value: remainingTime=0 state=0
17:08:44.382 -> SRPC sending: remaining time 0, channel 9, state 0
17:08:44.429 -> Send: [53 55 50 4C 41 17 05 00 00 00 69 00 00 00 E3 00 00 00 09 32 DD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
17:08:45.367 -> Send: [53 55 50 4C 41 ]
17:08:45.742 -> Relay[17] turn OFF (duration 0 ms)
17:08:45.789 ->  **** Digital write[17], gpio: 0; value 1
17:08:45.836 -> Relay[18] turn OFF (duration 0 ms)
17:08:45.836 ->  **** Digital write[18], gpio: 1; value 1
17:08:45.883 -> Relay[19] turn OFF (duration 0 ms)
17:08:45.930 ->  **** Digital write[19], gpio: 2; value 1
17:08:45.977 ->
17:08:45.977 -> User exception (panic/abort/assert)
17:08:46.024 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
17:08:46.070 ->
17:08:46.070 -> Panic core_esp8266_main.cpp:191 __yield
17:08:46.117 ->
17:08:46.117 -> >>>stack>>>
17:08:46.164 ->
17:08:46.164 -> ctx: cont
17:08:46.164 -> sp: 3ffffea0 end: 402293e5 offset: 0010
17:08:46.211 -> 3ffffeb0:  3ffefb54 00000000 000000ff 402208e1  
17:08:46.258 -> 3ffffec0:  60000314 00000001 00000002 4021c8b6  
17:08:46.305 -> 3ffffed0:  00000028 00000002 00000000 40275b9c  
17:08:46.351 -> 3ffffee0:  000007d9 00000000 0000001d 00000020  
17:08:46.398 -> 3ffffef0:  00000003 0000000b 00000028 00000384  
17:08:46.445 -> 3fffff00:  00000003 00000000 3fff24b4 00000005  
17:08:46.539 -> 3fffff10:  00000001 00000002 00000028 00000080  
17:08:46.586 -> 3fffff20:  00000000 3fffff80 3ffe83c4 3fff24b4  
17:08:46.633 -> 3fffff30:  3ffef278 00000000 00000002 4021ca3c  
17:08:46.679 -> 3fffff40:  00000001 3ffe8a83 3ffef278 4021cc01  
17:08:46.726 -> 3fffff50:  00000013 00000028 00000005 3fff24b4  
17:08:46.773 -> 3fffff60:  40275b9c 00000005 3fff
17:08:46.820 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
17:08:46.867 ->
17:08:46.867 -> Panic core_esp8266_main.cpp:191 __yield
17:08:46.914 ->
17:08:46.914 -> >>>stack>>>
17:08:46.961 ->
17:08:46.961 -> ctx: cont
17:08:46.961 -> sp: 3ffffbc0 end: 402293e5 offset: 0010
17:08:47.007 -> 3ffffbd0:  00000000 00000000 00000000 401032b2  
17:08:47.054 -> 3ffffbe0:  40103329 00000031 3f302063 4028421c  
17:08:47.101 -> 3ffffbf0:  4028421b 3ffe83c4 3ffffcb0 4022e629  
17:08:47.148 -> 3ffffc00:  00000004 2c9f0300 4000050c 3fffc278  
17:08:47.195 -> 3ffffc10:  401032cc 3fffc200 00000022 3ffe83c4  
17:08:47.242 -> 3ffffc20:  40003b53 00000030 00000010 ffffffff  
17:08:47.289 -> 3ffffc30:  40001ddc 00000066 00018000 00000000  
17:08:47.336 -> 3ffffc40:  00ff0000 5ffffe00 5ffffe00 00000000  
17:08:47.429 -> 3ffffc50:  00018000 00000000 3ffffc13 3ffffd52  
17:08:47.476 -> 3ffffc60:  00000020 0000003c 402293e5 00000030  
17:08:47.523 -> 3ffffc70:  0000003c 3ffe83c4 000000a0 4022b899  
17:08:47.570 -> 3ffffc80:  3ffffd61 00000000 0000006e ffff0208  
17:08:47.617 -> 3ffffc90:  3ffffd30 0000009f 000000a0 3ffffe50  
17:08:47.664 -> 3ffffca0:  402293e5 3ffe83c4 000000a0 4022b899  
17:08:47.710 -> 3ffffcb0:  3ffffd88 0000009f 00000077 ffff0208  
17:08:47.757 -> 3ffffcc0:  3ffffd60 0000009f 00000004 4022e42c  
17:08:47.851 -> 3ffffcd0:  3ffffe80 3ffffe70 00000004 3ffe83c4  
17:08:47.898 -> 3ffffce0:  00000024 00000000 402293e5 3ffe83c4  
17:08:47.945 -> 3ffffcf0:  00000001 00000020 3ffffd30 4022b8d5  
17:08:47.992 -> 3ffffd00:  3ffffdf0 3ffffde0 00000004 4022b899  
17:08:48.038 -> 3ffffd10:  3ffffde4 000000fe 3ffffd50 4022b8d5  
17:08:48.085 -> 3ffffd20:  40220dcd 00000010 3ffffd60 40220dc0  
17:08:48.132 -> 3ffffd30:  66666633 30366666 3420203a 35373230  
17:08:48.179 -> 3ffffd40:  20633962 30303030 35303030 66663320  
17:08:48.273 -> 3ffffd50:  38666666 66332030 62666566 20203830  
17:08:48.317 -> 3ffffd60:  203a000a 66666633 30616566 646e6520  
17:08:48.364 -> 3ffffd70:  3034203a 33393232 6f203565 65736666  
17:08:48.411 -> 3ffffd80:  30203a74 0a303130 3ffffd00 4022b8d5  
17:08:48.458 -> 3ffffd90:  3ffffe80 3ffffe70 00000004 4022e629  
17:08:48.505 -> 3ffffda0:  00000000 ffffffff ffffffff 00000000  
17:08:48.552 -> 3ffffdb0:  40220dcd 00000022 3f302064 40220dc0  
17:08:48.599 -> 3ffffdc0:  6573550a 78652072 74706563 206e6f69  
17:08:48.646 -> 3ffffdd0:  3ffffdf0 3ffffde0 00000004 7373612f  
17:08:48.692 -> 3ffffde0:  29747265 3fffff60 40275b9c 00000005  
17:08:48.739 -> 3ffffdf0:  3fffff80 3ffefb08 00000004 00000001  
17:08:48.833 -> 3ffffe00:  3ffffe20 3ffffe10 3fffff70 40220e1a  
17:08:48.880 -> 3ffffe10:  00000020 3ffffea0 402293e5 00000010  
17:08:48.927 -> 3ffffe20:  5ffffe00 5ffffe00 0000000f 3ffffe50  
17:08:48.974 -> 3ffffe30:  402293e5 00000010 3ffffeb0 402210be  
17:08:49.021 -> 3ffffe40:  3fff4a1c 00000034 0000002d 4022b899  
17:08:49.067 -> 3ffffe50:  000000fe 00000000 00000000 00000000  
17:08:49.114 -> 3ffffe60:  00000000 00000000 00000000 00000000  
17:08:49.161 -> 3ffffe70:  3fffefd0 000000fe 402844d0 3ffefb50  
17:08:49.255 -> 3ffffe80:  00000000 00000001 00000020 3fff0a74  
17:08:49.302 -> 3ffffe90:  00000000 3ffef278 3ffe867c 4022112e  
17:08:49.348 -> 3ffffea0:  3ffefb54 00000001 3ffefb54 4022119b  
17:08:49.395 -> 3ffffeb0:  3ffefb54 00000000 000000ff 402208e1  
17:08:49.442 -> 3ffffec0:  60000314 00000001 00000002 4021c8b6  
17:08:49.489 -> 3ffffed0:  00000028 00000002 00000000 40275b9c  
17:08:49.536 -> 3ffffee0:  000007d9 00000000 0000001d 00000020  
17:08:49.583 -> 3ffffef0:  00000003 0000000b 00000028 00000384  
17:08:49.677 -> 3fffff00:  00000003 00000000 3fff24b4 00000005  
17:08:49.723 -> 3fffff10:  00000001 00000002 00000028 00000080  
17:08:49.770 -> 3fffff20:  00000000 3fffff80 3ffe83c4 3fff24b4  
17:08:49.817 -> 3fffff30:  3ffef278 00000000 00000002 4021ca3c  
17:08:49.864 -> 3fffff40:  00000001 3ffe8a83 3ffef278 4021cc01  
17:08:49.911 -> 3fffff50:  00000013 00000028 00000005 3fff24b4  
17:08:49.958 -> 3fffff60:  40275b9c 00000005 3fffff80 3ffefb08  
17:08:50.005 -> 3fffff70:  40275b9c 3ffe8a83 3ffef278 40206aeb  
17:08:50.051 -> 3fffff80:  4f4c4153 3ffe004e 05000000 3ffefb08  
17:08:50.146 -> 3fffff90:  3fffdad0 00000000 3ffef25c 4021c000  
17:08:50.182 -> 3fffffa0:  3fffdad0 00000000 3ffefadc 4020730e  
17:08:50.229 -> 3fffffb0:  00000000 00000000 00000001 40220a3c  
17:08:50.276 -> 3fffffc0:  feefeffe feefeffe 3fffdab0 4010105d  
17:08:50.322 -> 3fffffd0:  feefeffe 3fffefb0 0f919dbd 2f8a204e  
17:08:50.369 -> 3fffffe0:  4010f000 00000002 40001878 4010f175  
17:08:50.416 -> 3ffffff0:  4000044c 3ffffbd0 3ffefc20 7c8a43cc  
17:08:50.510 -> 40000000:  00000000 00000000 00000000 00000000  
17:08:50.557 -> 40000010:  46007200 0000fffe 00000000 00000000  
17:08:50.604 -> 40000020:  00003310 00000000 00000000 00000000  
17:08:50.651 -> 40000030:  46004100 0000fffe 00000000 00000000  
17:08:50.697 -> 40000040:  00000000 00000000 00000000 00000000  
17:08:50.744 -> 40000050:  29ffd112 31613951 e820f695 a0323003  
17:08:50.791 -> 40000060:  71490338 000003a0 00000000 00000000  
17:08:50.838 -> 40000070:  46004140 0000fffe 00000000 00000000  
17:08:50.885 -> 40000080:  00000806 00000000 40000000 2222211f  
17:08:50.932 -> 40000090:  e0000000 400000f3 4000e328 00000000  
17:08:51.025 -> 400000a0:  00000000 e400000c 13050013 21002010  
17:08:51.072 -> 400000b0:  eb30fff5 74303003 2356428c 00620200  
17:08:51.119 -> 400000c0:  20fff221 612013e7 fff02100 61fff151  
17:08:51.166 -> 400000d0:  030cfff1 6650027d 00058610 00000000  
17:08:51.213 -> 400000e0:  00506340 f03d0020 3350f03d 14b3b6c0  
17:08:51.260 -> 400000f0:  70417470 13673440 506340e6 f6c03350  
17:08:51.307 -> 40000100:  2000edb3 ffe25100 7220030c 34407020  
17:08:51.353 -> 40000110:  5050e340 7470c033 f0b3f641 21002030  
17:08:51.400 -> 40000120:  02acffde 12480238 c2222258 0fb3470c  
17:08:51.494 -> 40000130:  554b0568 334b0369 46f43347 0000fff9  
17:08:51.541 -> 40000140:  56fe0356 2000fdd5 002e0500 00000000  
17:08:51.588 -> 40000150:  00000000 00000000 00000000 00000000  
17:08:51.635 -> 40000160:  00000000 00000000 00000000 00000000  
17:08:51.681 -> 40000170:  00000000 00000000 00000000 00000000  
17:08:51.728 -> 40000180:  00000000 00000000 00000000 00000000  
17:08:51.775 -> 40000190:  00000000 00000000 00000000 00000000  
17:08:51.822 -> 400001a0:  00000000 00000000 00000000 00000000  
17:08:51.916 -> 400001b0:  00000000 00000000 00000000 00000000  
17:08:51.962 -> 400001c0:  00000000 00000000 00000000 00000000  
17:08:52.009 -> 400001d0:   ⸮_⸮⸮rS⸮fJ⸮j⸮ ⸮Creating OneWire bus for pin: 14
17:08:52.244 -> Initializing OneWire bus at pin 14
17:08:52.431 -> OneWire(pin 14) Parasite power is OFF
17:08:52.478 -> OneWire(pin 14) Found 5 devices:
17:08:52.525 -> Index 0 - address {0x28, 0xD0, 0xDF, 0x50, 0x09, 0xFA, 0xAD, 0x91}
17:08:52.572 -> Index 1 - address {0x28, 0xC4, 0xC2, 0xC4, 0x56, 0x46, 0xE4, 0xD8}
17:08:52.666 -> Index 2 - address {0x28, 0xD9, 0x04, 0x81, 0xE3, 0xCB, 0x3C, 0xAC}
17:08:52.712 -> Index 3 - address {0x28, 0x17, 0x62, 0x81, 0xE3, 0x50, 0x3C, 0x4D}
17:08:52.806 -> Index 4 - address {0x28, 0x3F, 0xDF, 0x0B, 0x8C, 0xD0, 0xB5, 0xFE}
17:08:53.228 ->  *** Supla - starting initialization (platform 0)
17:08:53.275 -> Clock not configured, using default clock
17:08:53.368 -> SD: add flag DEVICE_CONFIG_SUPPORTED
https://youtube.com/@tomaszhamer8134?si=_J1cT_QWsXxgt1Fm
https://kryry01.aqi.eco/pl
https://app.weathercloud.net/d4311785603
https://github.com/Soyer79
radzik_r
Posts: 468
Joined: Sun Aug 11, 2019 5:32 pm
Has thanked: 1 time
Been thanked: 2 times

Post

https://github.com/SUPLA/supla-device/t ... FKC868-A16

Tutaj masz przykład obsługi pcf8574
User avatar
SOYER
Posts: 1623
Joined: Wed Aug 10, 2022 12:29 pm
Location: Kryry
Been thanked: 2 times

Post

radzik_r wrote: Wed Feb 18, 2026 9:21 am https://github.com/SUPLA/supla-device/t ... FKC868-A16

Tutaj masz przykład obsługi pcf8574
Dzięki, spróbuję to ogarnąć.

Masz może jakiś pomysł dlaczego jest ten problem o którym wspominałem w pierwszym poście, z zapisem do eepromu floatów w funkcji RelayAs Setpoint, dziedziczącej po virtualRelay?
https://youtube.com/@tomaszhamer8134?si=_J1cT_QWsXxgt1Fm
https://kryry01.aqi.eco/pl
https://app.weathercloud.net/d4311785603
https://github.com/Soyer79
User avatar
klew
Posts: 13907
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

SOYER wrote: Wed Feb 18, 2026 1:01 pm Masz może jakiś pomysł dlaczego jest ten problem o którym wspominałem w pierwszym poście, z zapisem do eepromu floatów w funkcji RelayAs Setpoint, dziedziczącej po virtualRelay?
"virtualTemp" oraz "gpm" przyjmują "setValue(double)", także tam float jest konwertowany do double.
Może tutaj coś się różni.
Ja bym wstawił siobie logi, aby printować dokładnie co tam z "targetVal" się zapisuje i odczytuje.
To są liczby typu float i one mają ograniczoną precyzję. W formacie float nie da się zrobić dokładnej reporezentacji wszystkich wartości z dokładnością do 0.1. Czasem po przeliczeniu 20.3 na float wychodzi 20.2999999, co potem może generować pojawienie się 20.2 zamiast 20.3.
Najlepsze suple dla Twojego domu :mrgreen:
radzik_r
Posts: 468
Joined: Sun Aug 11, 2019 5:32 pm
Has thanked: 1 time
Been thanked: 2 times

Post

SOYER wrote: Sun Feb 15, 2026 11:26 am
a możesz rozwinąć intencje tego programu?
co ma robić, jak się zachowywać.
Tak po ludzku jak "krowie na rowie"
User avatar
SOYER
Posts: 1623
Joined: Wed Aug 10, 2022 12:29 pm
Location: Kryry
Been thanked: 2 times

Post

Do końca nie wiem.
Pomagam szwagrowi który stawia pierwsze kroki w supli, a drugie w programowaniu.
Nie mam fizycznie tego układu u siebie, nie mogę na bieżąco sprawdzać efektów zmian.
Z tego co wiem, chce mieć trzy pokoje z osobnymi wyświetlaczami oled , ustawianie temperatury zadanej i wyświetlanie aktualnej. Plus sterowanie przekaźnikami dla funkcji termostatów jakich tam.

Generalnie z logiką sterowania ogrzewaniem sobie będzie radził sam.
Ja miałem pomóc ze zgraniem tego z suplą, by mógł indywidualnie dla każdego pokoju ustawić w aplikacji temperaturę i widzieć aktualną w pomieszczeniach. Dodatkowo by miał możliwość stosowania przekaźnikami dla indywidualnego zastosowania. Jako, że pracuje dla producenta kotłów to i pomysły ma ciekawe i chce to zrobić po swojemu.

Kod który wkleiłem w pierwszym poście działa dokładnie tak jak on potrzebuje, jest „tylko” problem z resetami(panic) przed uruchomieniem modułu, oraz stanem zmiennych temperatury zadanej(float) przy resecie urządzenia. Opisane w poprzednich postach.
https://youtube.com/@tomaszhamer8134?si=_J1cT_QWsXxgt1Fm
https://kryry01.aqi.eco/pl
https://app.weathercloud.net/d4311785603
https://github.com/Soyer79

Return to “Ogólna dyskusja”