?
Oczywiście po za zmianą koncepcji
Spróbuj wrzucić ustawienie initial caption I sprawdź czy bez tego działa ok[email protected] wrote: Sun Jun 23, 2024 7:46 am @klew co mogę zrobić żeby ruszyć ten temat do przodu
?
Oczywiście po za zmianą koncepcji![]()
Też brak jednostek w Cluod i w Aplikacji Androidklew wrote: Sun Jun 23, 2024 8:00 amSpróbuj wrzucić ustawienie initial caption I sprawdź czy bez tego działa ok[email protected] wrote: Sun Jun 23, 2024 7:46 am @klew co mogę zrobić żeby ruszyć ten temat do przodu
?
Oczywiście po za zmianą koncepcji![]()
A poprawiłeś już to blokowania apki na 10s?[email protected] wrote: Sun Jun 23, 2024 1:36 pmTeż brak jednostek w Cluod i w Aplikacji Androidklew wrote: Sun Jun 23, 2024 8:00 amSpróbuj wrzucić ustawienie initial caption I sprawdź czy bez tego działa ok[email protected] wrote: Sun Jun 23, 2024 7:46 am @klew co mogę zrobić żeby ruszyć ten temat do przodu
?
Oczywiście po za zmianą koncepcji![]()
Tak, zrobiłem test z 4 kanałami KPOP do których nic nie było fizycznie podpięte i nie wymagało dodatkowych bibliotek . Na chwilę obecną podsumował bym problem tak: przy kilku kanałach KPOP są one widoczne ale nie aplikuja się jednostki podane przez klienta gdy dane do wifi i logowania są podane w kodzieklew wrote: Sun Jun 23, 2024 3:59 pmA poprawiłeś już to blokowania apki na 10s?[email protected] wrote: Sun Jun 23, 2024 1:36 pmTeż brak jednostek w Cluod i w Aplikacji Androidklew wrote: Sun Jun 23, 2024 8:00 am
Spróbuj wrzucić ustawienie initial caption I sprawdź czy bez tego działa ok
Ja to testowałem kiedyś na 100 kanałów kpop :p[email protected] wrote: Sun Jun 23, 2024 4:28 pmTak, zrobiłem test z 4 kanałami KPOP do których nic nie było fizycznie podpięte i nie wymagało dodatkowych bibliotek . Na chwilę obecną podsumował bym problem tak: przy kilku kanałach KPOP są one widoczne ale nie aplikuja się jednostki podane przez klienta gdy dane do wifi i logowania są podane w kodzie
Proszę Cię bardzo, kod poniżej, co prawda z Platformio ale nie ma tu nic co by nie weszło do pliku *.ino, dopasuj sobie tylko wifi, maila i GUIDy.klew wrote: Sun Jun 23, 2024 4:43 pm
Ja to testowałem kiedyś na 100 kanałów kpop :p
Napisz jaki mógłbym to zreprodukować? Podaj link do programu, albo opis co trzeba ustawić. Tylko aby nie wymagał fizycznych czujników itp.
Wiem że wcześniej kod kilka razy wklejałeś, ale tak mi będzie łatwiej
Czy sprawdzałeś na innym koncie?
Code: Select all
#include <Arduino.h>
#include <SuplaDevice.h>
#include <Wire.h>
#include <supla/channel_element.h>
#include <supla/network/esp_wifi.h>
#include <supla/storage/littlefs_config.h>
#include <supla/network/esp_web_server.h>
#include <supla/network/html/device_info.h>
#include <supla/network/html/wifi_parameters.h>
#include <supla/network/html/protocol_parameters.h>
#include <supla/device/supla_ca_cert.h>
#include <LittleFS.h>
bool resetOncePerHour = true;
Supla::LittleFsConfig configSupla;
// PODMIEN SOBIE NA RZECZYWISTE WARTOSCI
Supla::ESPWifi wifi(wifiSSID, wifiPass);
namespace Supla
{
namespace Sensor
{
class LightSensorCopy : public GeneralPurposeMeasurement
{
public:
LightSensorCopy()
{
this->setInitialCaption("Natężenie światła");
this->setDefaultUnitAfterValue("lx");
};
void onInit()
{
}
double getValue()
{
return random();
}
};
};
};
void setup()
{
Serial.begin(115200);
// Replace the falowing GUID with value that you can retrieve from https://www.supla.org/arduino/get-guid
char GUID[SUPLA_GUID_SIZE] = {0x59...};
// Replace the following AUTHKEY with value that you can retrieve from: https://www.supla.org/arduino/get-authkey
char AUTHKEY[SUPLA_AUTHKEY_SIZE] = {0xF9...};
Supla::Storage::Init();
auto cfg = Supla::Storage::ConfigInstance();
if (cfg)
{
char buf[100];
if (!cfg->getGUID(buf))
{
Serial.println("[Main] setting config.");
// PODMIEN SOBIE NA RZECZYWISTE WARTOSCI
cfg->setGUID(GUID);
cfg->setAuthKey(AUTHKEY);
cfg->setWiFiSSID(wifiSSID);
cfg->setWiFiPassword(wifiPass);
cfg->setSuplaServer(serverVariable);
cfg->setEmail(emailVariable);
}
else
{
Serial.println("[Main] Can load guid.");
}
}
else
{
Serial.println("[Main] Config not found.");
}
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
Wire.setClock(100000);
SuplaDevice.setSuplaCACert(suplaCACert);
SuplaDevice.setSupla3rdPartyCACert(supla3rdCACert);
// PODMIEN SOBIE NA RZECZYWISTE WARTOSCI
SuplaDevice.begin(GUID, // Global Unique Identifier
serverVariable, // SUPLA server address
emailVariable, // Email address used to login to Supla Cloud
AUTHKEY);
}
void loop()
{
SuplaDevice.iterate();
}
U mnie działa ok
Code: Select all
#include <Arduino.h>
#include <SuplaDevice.h>
#include <Wire.h>
#include <supla/channel_element.h>
#include <supla/network/esp_wifi.h>
#include <supla/storage/littlefs_config.h>
#include <supla/network/esp_web_server.h>
#include <supla/network/html/device_info.h>
#include <supla/network/html/wifi_parameters.h>
#include <supla/network/html/protocol_parameters.h>
#include <supla/device/supla_ca_cert.h>
#include <supla/sensor/general_purpose_measurement.h>
#include <LittleFS.h>
bool resetOncePerHour = true;
Supla::LittleFsConfig configSupla;
Supla::ESPWifi wifi;
namespace Supla {
namespace Sensor {
class LightSensorCopy : public Supla::Sensor::GeneralPurposeMeasurement {
public:
LightSensorCopy() {
this->setInitialCaption("Natężenie światła");
this->setDefaultUnitAfterValue("lx");
}
void onInit() {
}
double getValue() {
return random();
}
};
}
}
void setup()
{
Serial.begin(115200);
// Replace the falowing GUID with value that you can retrieve from https://www.supla.org/arduino/get-guid
char GUID[SUPLA_GUID_SIZE] = {0x1B,0xFC,0x98,0x03,0xD2,0x41,0xB7,0xC9,0x67,0xEC,0x91,0x85,0x6D,0xD5,0x20,0xA3};
// Replace the following AUTHKEY with value that you can retrieve from: https://www.supla.org/arduino/get-authkey
char AUTHKEY[SUPLA_AUTHKEY_SIZE] = {0x1B,0xFC,0x98,0x01,0xD3,0x44,0xB5,0xC9,0x67,0xEC,0x91,0x85,0x6D,0xD5,0x20,0xA4};
Supla::Storage::Init();
auto cfg = Supla::Storage::ConfigInstance();
if (cfg)
{
char buf[100];
if (!cfg->getGUID(buf))
{
Serial.println("[Main] setting config.");
// PODMIEN SOBIE NA RZECZYWISTE WARTOSCI
const char serverVariable[] = "beta-cloud.supla.org";
const char emailVariable[] = "mail";
const char wifiSSID[] = "wifi";
const char wifiPass[] = "hasło";
cfg->setGUID(GUID);
cfg->setAuthKey(AUTHKEY);
cfg->setWiFiSSID(wifiSSID);
cfg->setWiFiPassword(wifiPass);
cfg->setSuplaServer(serverVariable);
cfg->setEmail(emailVariable);
}
else
{
Serial.println("[Main] Can load guid.");
}
}
else
{
Serial.println("[Main] Config not found.");
}
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
new Supla::Sensor::LightSensorCopy();
Wire.setClock(100000);
SuplaDevice.setSuplaCACert(suplaCACert);
SuplaDevice.setSupla3rdPartyCACert(supla3rdCACert);
SuplaDevice.begin();
}
void loop()
{
SuplaDevice.iterate();
}
Code: Select all
09:27:39.905 > Main storage not configured
09:27:39.922 > [ 35][E][vfs_api.cpp:105] open(): /littlefs/supla-dev.cfg does not exist, no permits for creation
09:27:39.932 > LittleFsConfig:: config file missing
09:27:39.935 > [Main] setting config.
09:27:39.937 > Channel[0] initial caption set to 'Natężenie światła'
09:27:39.942 > GPM[0]: DefaultUnitAfterValue "lx"
09:27:39.945 > Channel[1] initial caption set to 'Natężenie światła'
09:27:39.950 > GPM[1]: DefaultUnitAfterValue "lx"
09:27:39.953 > Channel[2] initial caption set to 'Natężenie światła'
09:27:39.955 > GPM[2]: DefaultUnitAfterValue "lx"
09:27:39.955 > Channel[3] initial caption set to 'Natężenie światła'
09:27:39.955 > GPM[3]: DefaultUnitAfterValue "lx"
09:27:39.970 > Channel[4] initial caption set to 'Natężenie światła'
09:27:39.975 > GPM[4]: DefaultUnitAfterValue "lx"
09:27:39.978 > [ 88][E][Wire.cpp:381] setClock(): could not acquire lock
09:27:39.978 > Supla - starting initialization
09:27:39.978 > Main storage not configured
09:27:39.989 > Security level: Supla CA
09:27:40.022 > GPM[0]: config loaded successfully
09:27:40.026 > GPM[0]: RefreshIntervalMs 5000 ms
09:27:40.042 > GPM[1]: config loaded successfully
09:27:40.057 > GPM[1]: RefreshIntervalMs 5000 ms
09:27:40.079 > GPM[2]: config loaded successfully
09:27:40.079 > GPM[2]: RefreshIntervalMs 5000 ms
09:27:40.106 > GPM[3]: config loaded successfully
09:27:40.110 > GPM[3]: RefreshIntervalMs 5000 ms
09:27:40.126 > GPM[4]: config loaded successfully
09:27:40.126 > GPM[4]: RefreshIntervalMs 5000 ms
09:27:40.126 > GUID: 5937A923697E90D3482A30C7A796AF46
09:27:40.126 > Device name: SUPLA-ESP32
09:27:40.139 > Device software version: SDK 24.06.01-dev
09:27:40.143 > Initializing network layer
09:27:40.145 > [Wi-Fi] Network AP/hostname: SUPLA-ESP32-AC67B236E4B8
09:27:40.146 > Using Supla protocol version 23
09:27:40.146 > Current status: [5] SuplaDevice initialized
09:27:40.157 > Enter normal mode
09:27:40.159 > WiFi: establishing connection with SSID: "Dom44A"
09:27:42.058 > Connected BSSID: 32:DE:4B:9D:ED:DE
09:27:42.058 > local IP: 192.168.0.127
09:27:42.074 > subnetMask: 255.255.255.0
09:27:42.077 > gatewayIP: 192.168.0.1
09:27:42.079 > Signal strength (RSSI): -75 dBm
09:27:42.082 > Establishing encrypted connection with: svr85.supla.org (port: 2016)
09:27:43.398 > Connected via IP 192.168.0.127
09:27:43.401 > SSL error: 48, PADLOCK - Input data should be aligned
09:27:43.406 > LAST STATE ADDED: PADLOCK - Input data should be aligned
09:27:43.411 > Connected to Supla Server
09:27:43.413 > Initializing SRPC (proto: 23)
09:27:43.415 > LAST STATE ADDED: Register in progress
09:27:43.415 > Current status: [10] Register in progress
09:27:43.415 > Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 F7 02 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F9 39 9D 7E 4E E6 6B 92 1E 18 BD 9A 39 B2 B2 0E 59 37 A9 23 69 7E 90 D3 48 2A 30 C7 A7 96 AF 46 53 55 50 4C 41 2D 45 53 50 33 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
09:27:43.512 > CH[0], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
09:27:43.515 > Send: [00 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 ]
09:27:43.532 > CH[1], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
09:27:43.546 > Send: [01 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 ]
09:27:43.546 > CH[2], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
09:27:43.566 > Send: [02 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 ]
09:27:43.577 > CH[3], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
09:27:43.583 > Send: [03 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 ]
09:27:43.599 > CH[4], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
09:27:43.612 > Send: [04 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 ]
09:27:43.615 > Send: [53 55 50 4C 41 ]
09:27:43.733 > Recv: [53 55 50 4C 41 17 01 00 00 00 46 00 00 00 07 00 00 00 03 00 00 00 78 18 01 53 55 50 4C 41 ]
09:27:43.742 > Device registered (activity timeout 120 s, server version: 24, server min version: 1)
09:27:43.750 > LAST STATE ADDED: Registered and ready
09:27:43.753 > Current status: [17] Registered and ready
09:27:43.757 > Changing activity timeout to 30 s
09:27:43.760 > Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
09:27:43.765 > Send: [53 55 50 4C 41 ]
09:27:43.765 > Send: [53 55 50 4C 41 17 03 00 00 00 80 02 00 00 1E 00 00 00 00 00 00 00 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 ]
09:27:43.781 > Send: [53 55 50 4C 41 ]
09:27:43.783 > Send: [53 55 50 4C 41 17 04 00 00 00 80 02 00 00 1E 00 00 00 01 00 00 00 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 ]
09:27:43.797 > Send: [53 55 50 4C 41 ]
09:27:43.799 > Send: [53 55 50 4C 41 17 05 00 00 00 80 02 00 00 1E 00 00 00 02 00 00 00 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 ]
09:27:43.812 > Send: [53 55 50 4C 41 ]
09:27:43.814 > Send: [53 55 50 4C 41 17 06 00 00 00 80 02 00 00 1E 00 00 00 03 00 00 00 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 ]
09:27:43.828 > Send: [53 55 50 4C 41 ]
09:27:43.830 > Send: [53 55 50 4C 41 17 07 00 00 00 80 02 00 00 1E 00 00 00 04 00 00 00 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 ]
09:27:43.843 > Send: [53 55 50 4C 41 ]
09:27:43.845 > 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 ]
09:27:43.859 > Received new device config
09:27:43.862 > Sending device config result OK (1)
09:27:43.865 > Send: [53 55 50 4C 41 17 08 00 00 00 B7 02 00 00 0A 00 00 00 01 00 00 00 00 00 00 00 00 00 ]
09:27:43.866 > Send: [53 55 50 4C 41 ]
09:27:43.877 > Recv: [53 55 50 4C 41 17 03 00 00 00 AA 02 00 00 08 00 00 00 00 08 02 00 00 00 00 00 53 55 50 4C 41 ]
09:27:43.882 > Received SetChannelConfig for channel 0, function 520, config type 0, config size 0
09:27:43.893 > Channel[0]: handleChannelConfig, func 520, configtype 0, configsize 0
09:27:43.899 > Channel[0] no config on server
09:27:43.899 > Sending channel config result OK (1)
09:27:43.899 > Send: [53 55 50 4C 41 17 09 00 00 00 B4 02 00 00 03 00 00 00 01 00 00 ]
09:27:43.912 > Send: [53 55 50 4C 41 ]
09:27:43.914 > Recv: [53 55 50 4C 41 17 04 00 00 00 AB 02 00 00 01 00 00 00 00 53 55 50 4C 41 ]
09:27:43.915 > Received ChannelConfigFinished for channel [0]
09:27:43.915 > Send: [53 55 50 4C 41 17 0A 00 00 00 A9 02 00 00 74 00 00 00 00 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
09:27:43.961 > Send: [53 55 50 4C 41 ]
09:27:43.963 > Channel[0]: Sending channel config
09:27:43.966 > Recv: [53 55 50 4C 41 17 05 00 00 00 AA 02 00 00 08 00 00 00 01 08 02 00 00 00 00 00 53 55 50 4C 41 ]
09:27:43.967 > Received SetChannelConfig for channel 1, function 520, config type 0, config size 0
09:27:43.982 > Channel[1]: handleChannelConfig, func 520, configtype 0, configsize 0
09:27:43.983 > Channel[1] no config on server
09:27:43.983 > Sending channel config result OK (1)
09:27:43.995 > Send: [53 55 50 4C 41 17 0B 00 00 00 B4 02 00 00 03 00 00 00 01 00 01 ]
09:27:43.999 > Send: [53 55 50 4C 41 ]
09:27:43.999 > Recv: [53 55 50 4C 41 17 06 00 00 00 AB 02 00 00 01 00 00 00 01 53 55 50 4C 41 ]
09:27:44.010 > Received ChannelConfigFinished for channel [1]
09:27:44.015 > Send: [53 55 50 4C 41 17 0C 00 00 00 A9 02 00 00 74 00 00 00 01 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
09:27:44.049 > Send: [53 55 50 4C 41 ]
09:27:44.049 > Channel[1]: Sending channel config
09:27:44.049 > Recv: [53 55 50 4C 41 17 07 00 00 00 AA 02 00 00 08 00 00 00 02 08 02 00 00 00 00 00 53 55 50 4C 41 ]
09:27:44.066 > Received SetChannelConfig for channel 2, function 520, config type 0, config size 0
09:27:44.066 > Channel[2]: handleChannelConfig, func 520, configtype 0, configsize 0
09:27:44.079 > Channel[2] no config on server
09:27:44.082 > Sending channel config result OK (1)
09:27:44.086 > Send: [53 55 50 4C 41 17 0D 00 00 00 B4 02 00 00 03 00 00 00 01 00 02 ]
09:27:44.092 > Send: [53 55 50 4C 41 ]
09:27:44.094 > Recv: [53 55 50 4C 41 17 08 00 00 00 AB 02 00 00 01 00 00 00 02 53 55 50 4C 41 ]
09:27:44.100 > Received ChannelConfigFinished for channel [2]
09:27:44.100 > Send: [53 55 50 4C 41 17 0E 00 00 00 A9 02 00 00 74 00 00 00 02 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
09:27:44.134 > Send: [53 55 50 4C 41 ]
09:27:44.143 > Channel[2]: Sending channel config
09:27:44.146 > Recv: [53 55 50 4C 41 17 09 00 00 00 AA 02 00 00 08 00 00 00 03 08 02 00 00 00 00 00 53 55 50 4C 41 ]
09:27:44.149 > Received SetChannelConfig for channel 3, function 520, config type 0, config size 0
09:27:44.162 > Channel[3]: handleChannelConfig, func 520, configtype 0, configsize 0
09:27:44.166 > Channel[3] no config on server
09:27:44.166 > Sending channel config result OK (1)
09:27:44.166 > Send: [53 55 50 4C 41 17 0F 00 00 00 B4 02 00 00 03 00 00 00 01 00 03 ]
09:27:44.182 > Send: [53 55 50 4C 41 ]
09:27:44.182 > Recv: [53 55 50 4C 41 17 0A 00 00 00 AB 02 00 00 01 00 00 00 03 53 55 50 4C 41 ]
09:27:44.182 > Received ChannelConfigFinished for channel [3]
09:27:44.196 > Send: [53 55 50 4C 41 17 10 00 00 00 A9 02 00 00 74 00 00 00 03 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
09:27:44.231 > Send: [53 55 50 4C 41 ]
09:27:44.234 > Channel[3]: Sending channel config
09:27:44.234 > Recv: [53 55 50 4C 41 17 0B 00 00 00 AA 02 00 00 08 00 00 00 04 08 02 00 00 00 00 00 53 55 50 4C 41 ]
09:27:44.246 > Received SetChannelConfig for channel 4, function 520, config type 0, config size 0
09:27:44.250 > Channel[4]: handleChannelConfig, func 520, configtype 0, configsize 0
09:27:44.259 > Channel[4] no config on server
09:27:44.261 > Sending channel config result OK (1)
09:27:44.264 > Send: [53 55 50 4C 41 17 11 00 00 00 B4 02 00 00 03 00 00 00 01 00 04 ]
09:27:44.266 > Send: [53 55 50 4C 41 ]
09:27:44.266 > Recv: [53 55 50 4C 41 17 0C 00 00 00 AB 02 00 00 01 00 00 00 04 53 55 50 4C 41 ]
09:27:44.281 > Received ChannelConfigFinished for channel [4]
09:27:44.283 > Send: [53 55 50 4C 41 17 12 00 00 00 A9 02 00 00 74 00 00 00 04 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
09:27:44.316 > Send: [53 55 50 4C 41 ]
09:27:44.316 > Channel[4]: Sending channel config
09:27:44.326 > Recv: [53 55 50 4C 41 17 0D 00 00 00 DC 00 00 00 03 00 00 00 1E 0A F0 53 55 50 4C 41 ]
09:27:44.333 > Activity timeout set to 30 s
09:27:44.333 > Recv: [53 55 50 4C 41 17 0E 00 00 00 8A 02 00 00 1F 00 00 00 00 00 00 00 03 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 53 55 50 4C 41 ]
09:27:44.351 > Receieved setChannelCaptionResult for channel [0]
09:27:44.356 > Recv: [53 55 50 4C 41 17 0F 00 00 00 8A 02 00 00 1F 00 00 00 01 00 00 00 03 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 53 55 50 4C 41 ]
09:27:44.371 > Receieved setChannelCaptionResult for channel [1]
09:27:44.374 > Recv: [53 55 50 4C 41 17 10 00 00 00 8A 02 00 00 1F 00 00 00 02 00 00 00 03 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 53 55 50 4C 41 ]
09:27:44.377 > Receieved setChannelCaptionResult for channel [2]
09:27:44.394 > Recv: [53 55 50 4C 41 17 11 00 00 00 8A 02 00 00 1F 00 00 00 03 00 00 00 03 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 53 55 50 4C 41 ]
09:27:44.410 > Receieved setChannelCaptionResult for channel [3]
09:27:44.412 > Recv: [53 55 50 4C 41 17 12 00 00 00 8A 02 00 00 1F 00 00 00 04 00 00 00 03 16 00 00 00 4E 61 74 C4 99 C5 BC 65 6E 69 65 20 C5 9B 77 69 61 74 C5 82 61 00 53 55 50 4C 41 ]
09:27:44.428 > Receieved setChannelCaptionResult for channel [4]
09:27:44.428 > Recv: [53 55 50 4C 41 17 13 00 00 00 B3 02 00 00 03 00 00 00 01 00 00 53 55 50 4C 41 ]
09:27:44.428 > Channel[0] Set channel config succeeded (1)
09:27:44.444 > Recv: [53 55 50 4C 41 17 14 00 00 00 AA 02 00 00 74 00 00 00 00 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 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 ]
09:27:44.478 > Received SetChannelConfig for channel 0, function 520, config type 0, config size 108
09:27:44.478 > Channel[0]: handleChannelConfig, func 520, configtype 0, configsize 108
09:27:44.494 > GPM[0]: RefreshIntervalMs 5000 ms
09:27:44.494 > Sending channel config result OK (1)
09:27:44.494 > Send: [53 55 50 4C 41 17 13 00 00 00 B4 02 00 00 03 00 00 00 01 00 00 ]
09:27:44.494 > Send: [53 55 50 4C 41 ]
09:27:44.510 > Recv: [53 55 50 4C 41 17 15 00 00 00 B3 02 00 00 03 00 00 00 01 00 01 53 55 50 4C 41 ]
09:27:44.511 > Channel[1] Set channel config succeeded (1)
09:27:44.511 > Recv: [53 55 50 4C 41 17 16 00 00 00 AA 02 00 00 74 00 00 00 01 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 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 ]
09:27:44.545 > Received SetChannelConfig for channel 1, function 520, config type 0, config size 108
09:27:44.562 > Channel[1]: handleChannelConfig, func 520, configtype 0, configsize 108
09:27:44.562 > GPM[1]: RefreshIntervalMs 5000 ms
09:27:44.576 > Sending channel config result OK (1)
09:27:44.579 > Send: [53 55 50 4C 41 17 14 00 00 00 B4 02 00 00 03 00 00 00 01 00 01 ]
09:27:44.579 > Send: [53 55 50 4C 41 ]
09:27:44.579 > Recv: [53 55 50 4C 41 17 17 00 00 00 B3 02 00 00 03 00 00 00 01 00 02 53 55 50 4C 41 ]
09:27:44.600 > Channel[2] Set channel config succeeded (1)
09:27:44.604 > Recv: [53 55 50 4C 41 17 18 00 00 00 AA 02 00 00 74 00 00 00 02 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 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 ]
09:27:44.629 > Received SetChannelConfig for channel 2, function 520, config type 0, config size 108
09:27:44.645 > Channel[2]: handleChannelConfig, func 520, configtype 0, configsize 108
09:27:44.645 > GPM[2]: RefreshIntervalMs 5000 ms
09:27:44.645 > Sending channel config result OK (1)
09:27:44.662 > Send: [53 55 50 4C 41 17 15 00 00 00 B4 02 00 00 03 00 00 00 01 00 02 ]
09:27:44.665 > Send: [53 55 50 4C 41 ]
09:27:44.665 > Recv: [53 55 50 4C 41 17 19 00 00 00 B3 02 00 00 03 00 00 00 01 00 03 53 55 50 4C 41 ]
09:27:44.678 > Channel[3] Set channel config succeeded (1)
09:27:44.678 > Recv: [53 55 50 4C 41 17 1A 00 00 00 AA 02 00 00 74 00 00 00 03 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 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 ]
09:27:44.712 > Received SetChannelConfig for channel 3, function 520, config type 0, config size 108
09:27:44.728 > Channel[3]: handleChannelConfig, func 520, configtype 0, configsize 108
09:27:44.728 > GPM[3]: RefreshIntervalMs 5000 ms
09:27:44.728 > Sending channel config result OK (1)
09:27:44.745 > Send: [53 55 50 4C 41 17 16 00 00 00 B4 02 00 00 03 00 00 00 01 00 03 ]
09:27:44.745 > Send: [53 55 50 4C 41 ]
09:27:44.745 > Recv: [53 55 50 4C 41 17 1B 00 00 00 B3 02 00 00 03 00 00 00 01 00 04 53 55 50 4C 41 ]
09:27:44.761 > Channel[4] Set channel config succeeded (1)
09:27:44.761 > Recv: [53 55 50 4C 41 17 1C 00 00 00 AA 02 00 00 74 00 00 00 04 08 02 00 00 00 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C 78 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 ]
09:27:44.795 > Received SetChannelConfig for channel 4, function 520, config type 0, config size 108
09:27:44.812 > Channel[4]: handleChannelConfig, func 520, configtype 0, configsize 108
09:27:44.812 > GPM[4]: RefreshIntervalMs 5000 ms
09:27:44.812 > Sending channel config result OK (1)
09:27:44.828 > Send: [53 55 50 4C 41 17 17 00 00 00 B4 02 00 00 03 00 00 00 01 00 04 ]
09:27:44.828 > Send: [53 55 50 4C 41 ]
09:27:44.878 > Channel(0) value changed to 1481765933.47
09:27:44.878 > Channel(1) value changed to 1085377743.47
09:27:44.896 > Channel(2) value changed to 1270216262.47
09:27:44.896 > Channel(3) value changed to 1191391529.47
09:27:44.896 > Channel(4) value changed to 812669700.47
09:27:44.896 > Send: [53 55 50 4C 41 17 18 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 40 0B 7D 14 D6 41 ]
09:27:44.912 > Send: [53 55 50 4C 41 ]
09:27:44.945 > Send: [53 55 50 4C 41 17 19 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 00 00 C0 33 63 2C D0 41 ]
09:27:44.945 > Send: [53 55 50 4C 41 ]
09:27:44.995 > Send: [53 55 50 4C 41 17 1A 00 00 00 67 00 00 00 0E 00 00 00 02 00 00 00 00 00 00 00 80 91 7D ED D2 41 ]
09:27:44.995 > Send: [53 55 50 4C 41 ]
09:27:45.045 > Send: [53 55 50 4C 41 17 1B 00 00 00 67 00 00 00 0E 00 00 00 03 00 00 00 00 00 00 00 40 4A CC C0 D1 41 ]
09:27:45.061 > Send: [53 55 50 4C 41 ]
09:27:45.096 > Send: [53 55 50 4C 41 17 1C 00 00 00 67 00 00 00 0E 00 00 00 04 00 00 00 00 00 00 00 00 82 2D 38 C8 41 ]
09:27:45.112 > Send: [53 55 50 4C 41 ]
09:27:49.888 > Channel(0) value changed to 553475508.47
09:27:49.892 > Channel(1) value changed to 445349752.47
09:27:49.896 > Channel(2) value changed to 1344887256.47
09:27:49.899 > Channel(3) value changed to 730417256.47
09:27:49.902 > Channel(4) value changed to 1812158119.47
09:27:49.905 > Send: [53 55 50 4C 41 17 1D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 DA AE 7E C0 41 ]
09:27:49.916 > Send: [53 55 50 4C 41 ]
09:27:49.950 > Send: [53 55 50 4C 41 17 1E 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 00 00 00 78 7F 8B BA 41 ]
09:27:49.956 > Send: [53 55 50 4C 41 ]
09:27:50.001 > Send: [53 55 50 4C 41 17 1F 00 00 00 67 00 00 00 0E 00 00 00 02 00 00 00 00 00 00 00 00 76 56 0A D4 41 ]
09:27:50.006 > Send: [53 55 50 4C 41 ]
09:27:50.052 > Send: [53 55 50 4C 41 17 20 00 00 00 67 00 00 00 0E 00 00 00 03 00 00 00 00 00 00 00 00 34 A4 C4 C5 41 ]
09:27:50.058 > Send: [53 55 50 4C 41 ]
09:27:50.103 > Send: [53 55 50 4C 41 17 21 00 00 00 67 00 00 00 0E 00 00 00 04 00 00 00 00 00 00 00 C0 A9 D5 00 DB 41 ]
09:27:50.106 > Send: [53 55 50 4C 41 ]
09:27:54.877 > Channel(0) value changed to 147699711.47
09:27:54.893 > Channel(1) value changed to 880268351.47
09:27:54.893 > Channel(2) value changed to 1889772843.47
09:27:54.893 > Channel(3) value changed to 686078705.47
09:27:54.893 > Channel(4) value changed to 2105754108.47
09:27:54.893 > Send: [53 55 50 4C 41 17 22 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 FE 6F 9B A1 41 ]
09:27:54.909 > Send: [53 55 50 4C 41 ]
09:27:54.945 > Send: [53 55 50 4C 41 17 23 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 00 00 80 1F EA 3B CA 41 ]
09:27:54.961 > Send: [53 55 50 4C 41 ]
09:27:54.989 > Send: [53 55 50 4C 41 17 24 00 00 00 67 00 00 00 0E 00 00 00 02 00 00 00 00 00 00 00 C0 4A E9 28 DC 41 ]
09:27:55.004 > Send: [53 55 50 4C 41 ]
09:27:55.051 > Send: [53 55 50 4C 41 17 25 00 00 00 67 00 00 00 0E 00 00 00 03 00 00 00 00 00 00 00 80 78 5D 72 C4 41 ]
09:27:55.051 > Send: [53 55 50 4C 41 ]
09:27:55.098 > Send: [53 55 50 4C 41 17 26 00 00 00 67 00 00 00 0E 00 00 00 04 00 00 00 00 00 00 00 00 7F D0 60 DF 41 ]
09:27:55.114 > Send: [53 55 50 4C 41 ]
09:27:59.879 > Channel(0) value changed to 182546393.47
09:27:59.895 > Channel(1) value changed to 1949118330.47
09:27:59.895 > Channel(2) value changed to 220137366.47
09:27:59.895 > Channel(3) value changed to 1979932169.47
09:27:59.895 > Channel(4) value changed to 1089957932.47
09:27:59.895 > Send: [53 55 50 4C 41 17 27 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 B2 DF C2 A5 41 ]
09:27:59.910 > Send: [53 55 50 4C 41 ]
09:27:59.942 > Send: [53 55 50 4C 41 17 28 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 00 00 80 DE 4B 0B DD 41 ]
09:27:59.957 > Send: [53 55 50 4C 41 ]
09:27:59.988 > Send: [53 55 50 4C 41 17 29 00 00 00 67 00 00 00 0E 00 00 00 02 00 00 00 00 00 00 00 00 2C 0F 3E AA 41 ]
09:28:00.004 > Send: [53 55 50 4C 41 ]
09:28:00.051 > Send: [53 55 50 4C 41 17 2A 00 00 00 67 00 00 00 0E 00 00 00 03 00 00 00 00 00 00 00 40 82 D7 80 DD 41 ]
09:28:00.051 > Send: [53 55 50 4C 41 ]
Możesz spróbować wstawić spowrotem do begin te parametry i zobaczyć, czy wtedy się "popsuje".[email protected] wrote: Mon Jun 24, 2024 7:29 am A teraz poszło i są jednostki w Cloud. Czyli co? Jak ustawie wartości w configu, to potem tylko SuplaDevice.begin() bez parametrów? Spodziewałbym się, że jak podam parametry to po prostu nadpisze.
To rodzi pytanie... jak mam dużo czujników to nie powinienem ich inicjować w onInit() tylko w pierwszym przebiegu iterateAlways/getValue?