żaluzje fasadowe na esp 32

Maniek913
Posts: 593
Joined: Thu Feb 22, 2018 9:46 pm

Post

Następne kliknięcie ( idzie do 100% , wraca do 38%, i idzie do 76%

Code: Select all

RS[0] new value from server: position/task 110, tilt -1
RS[0] set target position: 100, tilt: -1
RS[0] New movement value: 62, new tilting value: 0
 **** Digital write[0], gpio: 4; value 0
 **** Digital write[0], gpio: 5; value 1
Channel(0) value changed to 41, tilt 0
Send: [53 55 50 4C 41 17 D4 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 29 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 43, tilt 0
Send: [53 55 50 4C 41 17 D5 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 46, tilt 0
Send: [53 55 50 4C 41 17 D6 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 48, tilt 0
Send: [53 55 50 4C 41 17 D7 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 30 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 51, tilt 0
Send: [53 55 50 4C 41 17 D8 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 33 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 53, tilt 0
Send: [53 55 50 4C 41 17 D9 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 35 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 56, tilt 0
Send: [53 55 50 4C 41 17 DA 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 38 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 58, tilt 0
Send: [53 55 50 4C 41 17 DB 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 61, tilt 0
Send: [53 55 50 4C 41 17 DC 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 63, tilt 0
Send: [53 55 50 4C 41 17 DD 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 66, tilt 0
Send: [53 55 50 4C 41 17 DE 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 42 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 68, tilt 0
Send: [53 55 50 4C 41 17 DF 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 44 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 71, tilt 0
Send: [53 55 50 4C 41 17 E0 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 47 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 73, tilt 0
Send: [53 55 50 4C 41 17 E1 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 49 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 76, tilt 0
Send: [53 55 50 4C 41 17 E2 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 78, tilt 0
Send: [53 55 50 4C 41 17 E3 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 81, tilt 0
Send: [53 55 50 4C 41 17 E4 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 51 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 83, tilt 0
Send: [53 55 50 4C 41 17 E5 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 53 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 86, tilt 0
Send: [53 55 50 4C 41 17 E6 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 56 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 88, tilt 0
Send: [53 55 50 4C 41 17 E7 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 58 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 91, tilt 0
Send: [53 55 50 4C 41 17 E8 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 93, tilt 0
Send: [53 55 50 4C 41 17 E9 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 96, tilt 0
Send: [53 55 50 4C 41 17 EA 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 60 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 98, tilt 0
Send: [53 55 50 4C 41 17 EB 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 62 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] operation timeout: 4500
Channel(0) value changed to 39, tilt 0
Send: [53 55 50 4C 41 17 EC 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 27 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 42, tilt 0
Send: [53 55 50 4C 41 17 ED 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 44, tilt 0
Send: [53 55 50 4C 41 17 EE 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 47, tilt 0
Send: [53 55 50 4C 41 17 EF 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 49, tilt 0
Send: [53 55 50 4C 41 17 F0 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 31 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 52, tilt 0
Send: [53 55 50 4C 41 17 F1 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 34 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 54, tilt 0
Send: [53 55 50 4C 41 17 F2 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 36 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 57, tilt 0
Send: [53 55 50 4C 41 17 F3 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 39 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 59, tilt 0
Send: [53 55 50 4C 41 17 F4 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 62, tilt 0
Send: [53 55 50 4C 41 17 F5 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 64, tilt 0
Send: [53 55 50 4C 41 17 F6 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 40 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 67, tilt 0
Send: [53 55 50 4C 41 17 F7 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 43 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 69, tilt 0
Send: [53 55 50 4C 41 17 F8 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 45 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 72, tilt 0
Send: [53 55 50 4C 41 17 F9 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 48 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 74, tilt 0
Send: [53 55 50 4C 41 17 FA 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] set target position: -5, tilt: -1
RS[0] Operation timeout
RS[0] Stop requested
RS[0] Stop movement
 **** Digital write[0], gpio: 4; value 0
 **** Digital write[0], gpio: 5; value 0
Channel(0) value changed to 76, tilt 0
Send: [53 55 50 4C 41 17 FB 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Wrote 10 bytes to storage at 15
Wrote 7 bytes to storage at 8
Commit
Last edited by Maniek913 on Sun Jan 04, 2026 7:01 pm, edited 1 time in total.
Maniek913
Posts: 593
Joined: Thu Feb 22, 2018 9:46 pm

Post

Następne kliknięcie ( idzie do 100% wraca do 76%, i kończy na 100 %

Code: Select all

RS[0] new value from server: position/task 110, tilt -1
RS[0] set target position: 100, tilt: -1
RS[0] New movement value: 24, new tilting value: 0
 **** Digital write[0], gpio: 4; value 0
 **** Digital write[0], gpio: 5; value 1
Channel(0) value changed to 77, tilt 0
Send: [53 55 50 4C 41 17 07 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 79, tilt 0
Send: [53 55 50 4C 41 17 08 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 82, tilt 0
Send: [53 55 50 4C 41 17 09 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 52 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 84, tilt 0
Send: [53 55 50 4C 41 17 0A 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 54 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 87, tilt 0
Send: [53 55 50 4C 41 17 0B 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 57 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 89, tilt 0
Send: [53 55 50 4C 41 17 0C 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 59 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 92, tilt 0
Send: [53 55 50 4C 41 17 0D 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 94, tilt 0
Send: [53 55 50 4C 41 17 0E 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 97, tilt 0
Send: [53 55 50 4C 41 17 0F 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 61 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 99, tilt 0
Send: [53 55 50 4C 41 17 10 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 63 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] operation timeout: 4500
Channel(0) value changed to 78, tilt 0
Send: [53 55 50 4C 41 17 11 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 80, tilt 0
Send: [53 55 50 4C 41 17 12 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 50 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 83, tilt 0
Send: [53 55 50 4C 41 17 13 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 53 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 85, tilt 0
Send: [53 55 50 4C 41 17 14 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 55 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 88, tilt 0
Send: [53 55 50 4C 41 17 15 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 58 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 90, tilt 0
Send: [53 55 50 4C 41 17 16 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 93, tilt 0
Send: [53 55 50 4C 41 17 17 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 95, tilt 0
Send: [53 55 50 4C 41 17 18 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 98, tilt 0
Send: [53 55 50 4C 41 17 19 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 62 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 0
Send: [53 55 50 4C 41 17 1A 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 10
Send: [53 55 50 4C 41 17 1B 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 0A 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 20
Send: [53 55 50 4C 41 17 1C 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 14 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 30
Send: [53 55 50 4C 41 17 1D 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 1E 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 40
Send: [53 55 50 4C 41 17 1E 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 28 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 51
Send: [53 55 50 4C 41 17 1F 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 33 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] set target position: -5, tilt: -1
RS[0] Operation timeout
RS[0] Stop requested
RS[0] Stop movement
 **** Digital write[0], gpio: 4; value 0
 **** Digital write[0], gpio: 5; value 0
Channel(0) value changed to 100, tilt 53
Send: [53 55 50 4C 41 17 20 01 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 35 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Wrote 10 bytes to storage at 15
Wrote 7 bytes to storage at 8
Commit
radzik_r
Posts: 468
Joined: Sun Aug 11, 2019 5:32 pm
Has thanked: 1 time
Been thanked: 2 times

Post

Code: Select all

/*
  Copyright (C) AC SOFTWARE SP. Z O.O.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

#include <SuplaDevice.h>
#include <supla/control/button.h>
#include <supla/control/pin_status_led.h>
#include <supla/control/roller_shutter.h>
#include <supla/device/status_led.h>
#include <supla/network/esp_web_server.h>
#include <supla/network/esp_wifi.h>
#include <supla/network/html/device_info.h>
#include <supla/network/html/protocol_parameters.h>
#include <supla/network/html/status_led_parameters.h>
#include <supla/network/html/wifi_parameters.h>
#include <supla/storage/littlefs_config.h>

#define STATUS_LED_GPIO 2

Supla::ESPWifi wifi;
Supla::LittleFsConfig configSupla;

Supla::Device::StatusLed statusLed(STATUS_LED_GPIO, true);  // inverted state
Supla::EspWebServer suplaServer;

void setup() {
  Serial.begin(115200);

  // HTML www component
  new Supla::Html::DeviceInfo(&SuplaDevice);
  new Supla::Html::WifiParameters;
  new Supla::Html::ProtocolParameters;
  new Supla::Html::StatusLedParameters;

  Supla::Control::RollerShutter *rs =
      new Supla::Control::RollerShutter(30, 31, false);
  Supla::Control::Button *buttonOpen =
      new Supla::Control::Button(28, true, true);
  Supla::Control::Button *buttonClose =
      new Supla::Control::Button(29, true, true);

  // Add two LEDs to inform about roller shutter relay status
  // If inverted value is required, please add third parameter with true value
  new Supla::Control::PinStatusLed(
      30, 24);  // pin 30 status to be informed on pin 24
  new Supla::Control::PinStatusLed(
      31, 25);  // pin 31 status to be informed on pin 25

  // TODO(anyone): replace with addButton method on rs instance
  buttonOpen->addAction(Supla::OPEN_OR_STOP, *rs, Supla::ON_PRESS);
  buttonClose->addAction(Supla::CLOSE_OR_STOP, *rs, Supla::ON_PRESS);

  SuplaDevice.setInitialMode(Supla::InitialMode::StartInCfgMode);
  SuplaDevice.begin();
}

void loop() {
  SuplaDevice.iterate();
}


przykład z biblioteki pochodzi z modyfikacji pod arduino mega , ale ma niepoprawne gpio które było użyte dla arduino mega
Zmień numery gpio odpowiednie dla ESP32
Image

EDIT*
@klew przydało by sie zaktualizować numery gpio dla esp32 w example
Maniek913
Posts: 593
Joined: Thu Feb 22, 2018 9:46 pm

Post

No nie, aż takim "ignorantem" nie jestem - jednak patrzę co tam się znajduje w kodzie(choć nie wszystko rozumiem ;) ). Jak sama nazwa wskazuje to tylko przykład, więc naturalnie trzeba go dostosować do własnych projektów.

Może ktoś, kto miał do czynienia z fasadówkami sprawdzić czy efekt tu opisany u niego też występuje?
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

Maniek913 wrote: Sun Jan 04, 2026 6:59 pm
Daj proszę logi od samego startu urządzenia i 1-2x kliknięcie na 100% zamknięcia.

W tych logach widać, że dzieje się coś dziwnego ;), ale nie mam pojęcia dlaczego. Spróbowałem u siebie ustawić całą konfigurację, tak jak dlałeś na zdjęciu, ale u mnie to działa poprawnie.

Daj też proszę cały kod jaki używasz, albo odpal to bezpośrednio na kodzie z przykładu (oczywiście z poprawionymi gpio)
Najlepsze suple dla Twojego domu :mrgreen:
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

radzik_r wrote: Sun Jan 04, 2026 9:23 pm @klew przydało by sie zaktualizować numery gpio dla esp32 w example
Jest wiele różnych wersji ESP32 i płytek "dev". Jeśli chciałbyś przykład dostosować pod jakąś konkrentą, to możesz:
1. wrzucić PR z odpowiednimi GPIO i napisać tam pod jaką wersję dev boarda to jest przygotowane lub
2. zrobić to samo, ale tutaj na forum, to wrzucę update.

Ale nie chce mi się szukać i sprawdzą 10 wariantów ESP32 i 50 wariantów dev boardów do tych ESP32, aby znaleźć jakiś "uniwersalny" zestaw GPIO :)
Najlepsze suple dla Twojego domu :mrgreen:
LukaszH
Posts: 710
Joined: Sat Dec 14, 2019 11:49 pm

Post

Próbowałem na esp32 c3 super mini (przekaźniki i przyciski), ale nie mogę pokonać ustawień dla platformio.ini (VS Code), aby jakiś przykład z biblioteki ruszył - pewnie źle ustawiam partycje. Dzisiaj może jeszcze powalczę z tematem. Szkoda że dla supladevice nie ma oficjalnego projektu jak GG, aby przez stronę konfiguracyjną ustawić co się chce, jakie GPIO podpinamy i aby wgrało się przez stronę webową. Pewnie założenie jest takie że jak ktoś potrafi poskładać urządzenie DIY, to będzie potrafił obsługiwać programowanie w oparciu o supladevice. Tutaj jednak jest różnica spora między instalatorami (elektrycy/elektronicy), a programistami kodu c++. Sprawdzałem z różnymi AI (GPT, Gemini) i też nie dają rady poskładać działającego kodu. Pewnie za dynamicznie jest rozwijana supladevice i modele używają starych metod. Nie ma jednego dobrze opisanego pliku dokumwntacji coś w rodzaju „API” aby wiedzieć wszystkie metody, elementy, itp. z supladevice. Przykłady są ok ale, jest ich mało i jak na wstępie nie ma ustawień do platformio.ini dla różnych modeli esp.
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

LukaszH wrote: Mon Jan 05, 2026 9:24 am Próbowałem na esp32 c3 super mini (przekaźniki i przyciski), ale nie mogę pokonać ustawień dla platformio.ini (VS Code), aby jakiś przykład z biblioteki ruszył - pewnie źle ustawiam partycje. Dzisiaj może jeszcze powalczę z tematem. Szkoda że dla supladevice nie ma oficjalnego projektu jak GG, aby przez stronę konfiguracyjną ustawić co się chce, jakie GPIO podpinamy i aby wgrało się przez stronę webową. Pewnie założenie jest takie że jak ktoś potrafi poskładać urządzenie DIY, to będzie potrafił obsługiwać programowanie w oparciu o supladevice. Tutaj jednak jest różnica spora między instalatorami (elektrycy/elektronicy), a programistami kodu c++. Sprawdzałem z różnymi AI (GPT, Gemini) i też nie dają rady poskładać działającego kodu. Pewnie za dynamicznie jest rozwijana supladevice i modele używają starych metod. Nie ma jednego dobrze opisanego pliku dokumwntacji coś w rodzaju „API” aby wiedzieć wszystkie metody, elementy, itp. z supladevice. Przykłady są ok ale, jest ich mało i jak na wstępie nie ma ustawień do platformio.ini dla różnych modeli esp.
Jaki to ma związek z tematem? Nie róbmy tutaj offtopa. Załóż nowy temat, albo kontynuuj w tym temacie w GG, który otworzyłeś. Chyba, że przypadkiem w tym temacie to wrzuciełeś?
Najlepsze suple dla Twojego domu :mrgreen:
LukaszH
Posts: 710
Joined: Sat Dec 14, 2019 11:49 pm

Post

Masz racje trochę zmiksowałem tematy, ale próbowałem zrobić testy żaluzji fasadowych, to nie idzie mi ich wgranie softu używając biblioteki supladevice. Jak jakoś dam radę, a później udźwignę obsługę przycisków i AT, to wrzucę rezultaty testów i zachowania aplikacji.
Maniek913
Posts: 593
Joined: Thu Feb 22, 2018 9:46 pm

Post

klew wrote: Mon Jan 05, 2026 9:15 am
Maniek913 wrote: Sun Jan 04, 2026 6:59 pm
Daj proszę logi od samego startu urządzenia i 1-2x kliknięcie na 100% zamknięcia.

W tych logach widać, że dzieje się coś dziwnego ;), ale nie mam pojęcia dlaczego. Spróbowałem u siebie ustawić całą konfigurację, tak jak dlałeś na zdjęciu, ale u mnie to działa poprawnie.

Daj też proszę cały kod jaki używasz, albo odpal to bezpośrednio na kodzie z przykładu (oczywiście z poprawionymi gpio)
Kod jakiego używam : (Płytka esp32 C3 superMini) i przykład "Roller Shutter"

Code: Select all

/*
  Copyright (C) AC SOFTWARE SP. Z O.O.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

#include <SuplaDevice.h>
#include <supla/control/button.h>
#include <supla/control/pin_status_led.h>
#include <supla/control/roller_shutter.h>
#include <supla/device/status_led.h>
#include <supla/network/esp_web_server.h>
#include <supla/network/esp_wifi.h>
#include <supla/network/html/device_info.h>
#include <supla/network/html/protocol_parameters.h>
#include <supla/network/html/status_led_parameters.h>
#include <supla/network/html/wifi_parameters.h>
#include <supla/storage/littlefs_config.h>

#define STATUS_LED_GPIO 8

Supla::ESPWifi wifi;
Supla::LittleFsConfig configSupla;

Supla::Device::StatusLed statusLed(STATUS_LED_GPIO, true);  // inverted state
Supla::EspWebServer suplaServer;

void setup() {
  Serial.begin(115200);

  // HTML www component
  new Supla::Html::DeviceInfo(&SuplaDevice);
  new Supla::Html::WifiParameters;
  new Supla::Html::ProtocolParameters;
  new Supla::Html::StatusLedParameters;

  Supla::Control::RollerShutter *rs =
      new Supla::Control::RollerShutter(4, 3, false);
  Supla::Control::Button *buttonOpen =
      new Supla::Control::Button(1, true, true);
  Supla::Control::Button *buttonClose =
      new Supla::Control::Button(0, true, true);
      rs->addTiltFunctions();

  // Add two LEDs to inform about roller shutter relay status
  // If inverted value is required, please add third parameter with true value
  //new Supla::Control::PinStatusLed(
    //  30, 24);  // pin 30 status to be informed on pin 24
  //new Supla::Control::PinStatusLed(
    //  31, 25);  // pin 31 status to be informed on pin 25

  // TODO(anyone): replace with addButton method on rs instance
  buttonOpen->addAction(Supla::OPEN_OR_STOP, *rs, Supla::ON_PRESS);
  buttonClose->addAction(Supla::CLOSE_OR_STOP, *rs, Supla::ON_PRESS);

  SuplaDevice.setInitialMode(Supla::InitialMode::StartInCfgMode);
  SuplaDevice.begin();
}

void loop() {
  SuplaDevice.iterate();
}
Lecz z uwagi na to że nie mogę z niej logować , (opisane zjawisko występuje na każdej płytce) to używam płytki Wemos z ESP8266 i przykładu Webinterface :

Code: Select all

/*
  Copyright (C) AC SOFTWARE SP. Z O.O.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

/* This example shows ESP82xx/ESP32 based device with simple WebInterface
 * used to configure Wi-Fi parameters and Supla server connection.
 * There is one RollerShutter, one Relay and 3 buttons configured.
 * Two buttons are for roller shutter with Action Trigger.
 * Third button is for controlling the relay and for switching module to
 * config mode.
 * After fresh installation, device will be in config mode. It will have its
 * own Wi-Fi AP configured. You should connect to it with your mobile phone
 * and open http://192.168.4.1 where you can configure the device.
 * Status LED is also configured. Please adjust GPIOs to your HW.
 */

#define STATUS_LED_GPIO 2
#define ROLLER_SHUTTER_UP_RELAY_GPIO 4
#define ROLLER_SHUTTER_DOWN_RELAY_GPIO 5
#define RELAY_GPIO 12
#define BUTTON_UP_GPIO 13
#define BUTTON_DOWN_GPIO 14
#define BUTTON_CFG_RELAY_GPIO 0

#include <SuplaDevice.h>
#include <supla/network/esp_wifi.h>
#include <supla/control/roller_shutter.h>
#include <supla/control/relay.h>
#include <supla/control/button.h>
#include <supla/control/action_trigger.h>
#include <supla/device/status_led.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/protocol_parameters.h>
#include <supla/network/html/status_led_parameters.h>
#include <supla/network/html/wifi_parameters.h>
#include <supla/events.h>

// Choose where Supla should store roller shutter data in persistent memory
// We recommend to use external FRAM memory
#include <supla/storage/eeprom.h>
Supla::Eeprom eeprom;
// #include <supla/storage/fram_spi.h>
// Supla::FramSpi fram(STORAGE_OFFSET);

Supla::ESPWifi wifi;
Supla::LittleFsConfig configSupla;

Supla::Device::StatusLed statusLed(STATUS_LED_GPIO, true); // inverted state
Supla::EspWebServer suplaServer;


void setup() {

  Serial.begin(115200);

  // HTML www component
  new Supla::Html::DeviceInfo(&SuplaDevice);
  new Supla::Html::WifiParameters;
  new Supla::Html::ProtocolParameters;
  new Supla::Html::StatusLedParameters;

  // Channels configuration
  // CH 0 - Roller shutter
  auto rs = new Supla::Control::RollerShutter(
      ROLLER_SHUTTER_UP_RELAY_GPIO, ROLLER_SHUTTER_DOWN_RELAY_GPIO, true);
  // CH 1 - Relay
  auto r1 = new Supla::Control::Relay(RELAY_GPIO);
  // CH 2 - Action trigger
  auto at1 = new Supla::Control::ActionTrigger();
  // CH 3 - Action trigger
  auto at2 = new Supla::Control::ActionTrigger();
  // CH 4 - Action trigger
  auto at3 = new Supla::Control::ActionTrigger();
  rs->addTiltFunctions();

  // Buttons configuration
  auto buttonOpen = new Supla::Control::Button(BUTTON_UP_GPIO, true, true);
  auto buttonClose = new Supla::Control::Button(BUTTON_DOWN_GPIO, true, true);
  auto buttonCfgRelay =
    new Supla::Control::Button(BUTTON_CFG_RELAY_GPIO, true, true);

  buttonOpen->addAction(Supla::OPEN_OR_STOP, *rs, Supla::ON_PRESS);
  buttonOpen->setHoldTime(1000);
  buttonOpen->setMulticlickTime(300);

  buttonClose->addAction(Supla::CLOSE_OR_STOP, *rs, Supla::ON_PRESS);
  buttonClose->setHoldTime(1000);
  buttonClose->setMulticlickTime(300);

  buttonCfgRelay->configureAsConfigButton(&SuplaDevice);
  buttonCfgRelay->addAction(Supla::TOGGLE, r1, Supla::ON_CLICK_1);

  // Action trigger configuration
  at1->setRelatedChannel(rs);
  at1->attach(buttonOpen);

  at2->setRelatedChannel(rs);
  at2->attach(buttonClose);

  at3->setRelatedChannel(r1);
  at3->attach(buttonCfgRelay);

  SuplaDevice.setInitialMode(Supla::InitialMode::StartInCfgMode);
  SuplaDevice.begin();
}

void loop() {
  SuplaDevice.iterate();
}
Logi są właśnie z tej płytki od uruchomienia poprzez 3-krotne wywołania opuszczenia rolety do osiągnięcia 100% na animacji. Ustawienia w cloud takie jak na wcześniejszym zrzucie.
LOG :

Code: Select all

rld▒▒|▒$▒|
▒
d▒
b<▒▒▒s▒b▒
c▒▒'o▒dog▒▒▒c8▒lrl{lx▒n▒
▒
l▒▒
co▒|▒
▒▒c▒▒og▒l▒▒l`▒
d`gs▒ۓn
cl▒d8▒g▒
;▒▒▒▒▒▒
#g▒|
▒
#▒▒no▒
d`▒
d`gs▒▒▒n
c▒▒`{ۓo
#▒▒`▒
ll▒▒l`▒▒'▒$▒▒▒▒o▒;▒▒g|▒l▒
d`c▒
▒|s▒l▒o▒
▒g▒l`▒▒{▒d▒l
▒SD: initial mode: Start in cfg mode (legacy, deprected)
 *** Supla - starting initialization (platform 0)
Clock not configured, using default clock
SD: add flag DEVICE_CONFIG_SUPPORTED
SD: add flag CALCFG_RESTART_DEVICE
Main storage not configured
LittleFsConfig: file "/supla-dev.cfg" size 577
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result success
 *** Supla - Config initalization
SD: add flag CALCFG_ENTER_CFG_MODE
SD: add flag CALCFG_FACTORY_RESET_SUPPORTED
Automatic firmware update is disabled
Device mode: 0
Security level: Supla CA
 *** Supla - Config load for elements
SD: add flag CALCFG_IDENTIFY_DEVICE
RemoteDeviceConfig: Registering field 0x000000001
Channel[0] invalid function: 900
RS[0] rsConfig: motor: normal (1), button: normal (1), time margin: -1, visualization: 0
Button[0] setButtonType: monostable (0)
Button[0] setHoldTime: 1000
Button[0] enabling IN as config button
Button[1] setButtonType: monostable (0)
Button[1] setHoldTime: 1000
Button[1] enabling IN as config button
RemoteDeviceConfig: Registering field 0x000000010
Clock: automaticTimeSync: 1
 *** Supla - Config load for elements done
 *** Supla - Init elements
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 1
Channel(0) value changed to -1
Button[0]: Initialized: pin 13, pullUp 1, invertLogic 1, state 1
Button[1]: Initialized: pin 14, pullUp 1, invertLogic 1, state 1
 *** Supla - Init elements done
GUID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Device name: SUPLA-ESP8266
Device software version: SDK 25.11-dev
 *** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-500291697F60
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Enter normal mode
[Wi-Fi] setNormalMode
 *** Supla - Initialization done
 *** Self-test ***
TEST: ManufacturerID is 0
TEST failed: ProductID is empty
TEST failed: missing public RSA key
TEST failed: automatic firmware update is disabled
TEST failed: config encryption is disabled
TEST failed: invalid certificates format
TEST failed: security log is disabled
TEST failed: initial mode is set to config mode
 *** Self-test done ***
WiFi: establishing connection with SSID: "xxxxxx"
Connected BSSID: 94:3C:96:80:40:44
local IP: 192.168.0.200
subnetMask: 255.255.255.0
gatewayIP: 192.168.0.1
Signal strength (RSSI): -39 dBm
Establishing encrypted connection with: svr9.supla.org (port: 2016)
Waiting for NTP time sync
Connected via IP 192.168.0.200
Connected to Supla Server
Initializing SRPC (proto: 23)
LAST STATE ADDED: Register in progress
Current status: [10] Register in progress
Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 6B 02 00 00 64 61 6D 69 61 6E 32 30 33 40 6F 32 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 00 00 00 00 48 4D 38 8C EF 27 85 31 11 9C 2B B9 A6 99 2F D8 6E E6 65 A0 05 1A 8E A8 F8 E2 80 8D C1 AB E0 19 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 ]
CH[0], type: 2900, FuncList: 0x3E18010, function: 110, flags: 0x008014080, online, validityTimeSec: 0, icon: 0, value: [ff 00 00 00 00 00 00 00]
Send: [00 54 0B 00 00 10 80 E1 03 6E 00 00 00 80 40 01 08 00 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
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 ]
Device registered (activity timeout 120 s, server version: 28, server min version: 1)
LAST STATE ADDED: Registered and ready
Current status: [17] Registered and ready
Changing activity timeout to 30 s
Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 03 00 00 00 E0 01 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 02 00 00 00 AD 02 00 00 1D 00 00 00 01 00 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 02 00 00 01 53 55 50 4C 41 ]
Received new device config
Processing StatusLed config
Processing AutomaticTimeSync config
Sending device config result OK (1)
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 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 03 00 00 00 AA 02 00 00 3D 00 00 00 00 84 03 00 00 00 35 00 98 3A 00 00 98 3A 00 00 B8 0B 00 00 01 01 FF 5A 00 B4 00 03 00 00 00 00 00 00 00 00 00 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 ]
Channel[0] Received SetChannelConfig: fnc 900, config type 0, config size 53
Channel[0] handleChannelConfig, func 900, configtype 0, configsize 53
Channel[0] function changed to 900
RS[0] applyChannelConfig, func 900, configtype 0, configsize 53
RS[0] new time settings received. Opening time: 15000 ms; closing time: 15000 ms. Starting calibration...
FB[0] new tilting time received. Tilting time: 3000 ms.
RS[0] set target position: -5, tilt: -1
RS[0] rsConfig: motor: normal (1), button: normal (1), time margin: -1, visualization: 0
FB[0] tiRS[0] Stop requested
RS[0] Stop movement
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 1
ltConfig: tiltingTime: 3000, tilt0Angle: 90, tilt100Angle: 180, tiltControlType: TILTS_ONLY_WHEN_FULLY_CLOSED (3)
Channel[0] ConfigType 0 applied
Channel[0] Sending SetChannelConfigResult OK (1)
Send: [53 55 50 4C 41 17 05 00 00 00 B4 02 00 00 03 00 00 00 01 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to -1, tilt 0
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 ]
Channel[0] Received ChannelConfigFinished
Send: [53 55 50 4C 41 17 06 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 FF 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 05 00 00 00 DC 00 00 00 03 00 00 00 1E 0A F0 53 55 50 4C 41 ]
Activity timeout set to 30 s
Recv: [53 55 50 4C 41 17 06 00 00 00 EA 01 00 00 1A 00 00 00 EA 07 01 05 02 0C 35 20 0E 00 00 00 45 75 72 6F 70 65 2F 57 61 72 73 61 77 00 53 55 50 4C 41 ]
Clock: current time: 2026-01-05 11:53:33
Clock: time diff (system-new): -3599 s
Clock: new time: 2026-01-05 12:53:32
LittleFsConfig: writing to file "/supla-dev.cfg"
LittleFsConfig: writing to file "/supla-dev.cfg.bak"
Recv: [53 55 50 4C 41 17 07 00 00 00 6E 00 00 00 11 00 00 00 EF 22 00 00 00 96 00 96 00 6E FF 00 00 00 00 00 00 53 55 50 4C 41 ]
RS[0] new value from server: position/task 110, tilt -1
RS[0] set target position: 100, tilt: -1
RS[0] New movement value: 101, new tilting value: 0
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 0
Channel(0) value changed to 0, tilt 0
Send: [53 55 50 4C 41 17 07 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 2, tilt 0
Send: [53 55 50 4C 41 17 08 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 02 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 5, tilt 0
Send: [53 55 50 4C 41 17 09 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 05 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 7, tilt 0
Send: [53 55 50 4C 41 17 0A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 07 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 10, tilt 0
Send: [53 55 50 4C 41 17 0B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 0A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 12, tilt 0
Send: [53 55 50 4C 41 17 0C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 0C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 15, tilt 0
Send: [53 55 50 4C 41 17 0D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 0F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 17, tilt 0
Send: [53 55 50 4C 41 17 0E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 11 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 20, tilt 0
Send: [53 55 50 4C 41 17 0F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 14 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 22, tilt 0
Send: [53 55 50 4C 41 17 10 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 16 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 25, tilt 0
Send: [53 55 50 4C 41 17 11 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 19 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 27, tilt 0
Send: [53 55 50 4C 41 17 12 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 1B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 30, tilt 0
Send: [53 55 50 4C 41 17 13 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 1E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 32, tilt 0
Send: [53 55 50 4C 41 17 14 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 20 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 35, tilt 0
Send: [53 55 50 4C 41 17 15 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 23 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 37, tilt 0
Send: [53 55 50 4C 41 17 16 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 25 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 40, tilt 0
Send: [53 55 50 4C 41 17 17 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 28 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 42, tilt 0
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 2A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 45, tilt 0
Send: [53 55 50 4C 41 17 19 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 47, tilt 0
Send: [53 55 50 4C 41 17 1A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 50, tilt 0
Send: [53 55 50 4C 41 17 1B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 32 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 52, tilt 0
Send: [53 55 50 4C 41 17 1C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 34 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 55, tilt 0
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 37 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 57, tilt 0
Send: [53 55 50 4C 41 17 1E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 39 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 60, tilt 0
Send: [53 55 50 4C 41 17 1F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 62, tilt 0
Send: [53 55 50 4C 41 17 20 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 65, tilt 0
Send: [53 55 50 4C 41 17 21 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 41 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 67, tilt 0
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 43 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 70, tilt 0
Send: [53 55 50 4C 41 17 23 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 46 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 72, tilt 0
Send: [53 55 50 4C 41 17 24 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 48 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 75, tilt 0
Send: [53 55 50 4C 41 17 25 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 77, tilt 0
Send: [53 55 50 4C 41 17 26 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 80, tilt 0
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 50 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 82, tilt 0
Send: [53 55 50 4C 41 17 28 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 52 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 85, tilt 0
Send: [53 55 50 4C 41 17 29 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 55 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 87, tilt 0
Send: [53 55 50 4C 41 17 2A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 57 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 90, tilt 0
Send: [53 55 50 4C 41 17 2B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 92, tilt 0
Send: [53 55 50 4C 41 17 2C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 95, tilt 0
Send: [53 55 50 4C 41 17 2D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 97, tilt 0
Send: [53 55 50 4C 41 17 2E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 61 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] operation timeout: 4500
Channel(0) value changed to 0, tilt 0
Send: [53 55 50 4C 41 17 2F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 2, tilt 0
Send: [53 55 50 4C 41 17 30 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 02 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 4, tilt 0
Send: [53 55 50 4C 41 17 31 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 04 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 7, tilt 0
Send: [53 55 50 4C 41 17 32 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 07 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 9, tilt 0
Send: [53 55 50 4C 41 17 33 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 09 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 12, tilt 0
Send: [53 55 50 4C 41 17 34 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 0C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 14, tilt 0
Send: [53 55 50 4C 41 17 35 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 0E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 17, tilt 0
Send: [53 55 50 4C 41 17 36 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 11 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 19, tilt 0
Send: [53 55 50 4C 41 17 37 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 13 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 22, tilt 0
Send: [53 55 50 4C 41 17 38 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 16 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 24, tilt 0
Send: [53 55 50 4C 41 17 39 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 18 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 27, tilt 0
Send: [53 55 50 4C 41 17 3A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 1B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 29, tilt 0
Send: [53 55 50 4C 41 17 3B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 1D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 32, tilt 0
Send: [53 55 50 4C 41 17 3C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 20 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 34, tilt 0
Send: [53 55 50 4C 41 17 3D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 22 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] set target position: -5, tilt: -1
RS[0] Operation timeout
RS[0] Stop requested
RS[0] Stop movement
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 1
Channel(0) value changed to 37, tilt 0
Send: [53 55 50 4C 41 17 3E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 25 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 3F 00 00 00 28 00 00 00 10 00 00 00 33 00 00 00 00 00 00 00 C5 65 0C 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 08 00 00 00 32 00 00 00 10 00 00 00 69 A6 5B 69 00 00 00 00 BE BE 07 00 00 00 00 00 53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 09 00 00 00 6E 00 00 00 11 00 00 00 EF 22 00 00 00 96 00 96 00 6E FF 00 00 00 00 00 00 53 55 50 4C 41 ]
RS[0] new value from server: position/task 110, tilt -1
RS[0] set target position: 100, tilt: -1
RS[0] New movement value: 63, new tilting value: 0
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 0
Channel(0) value changed to 39, tilt 0
Send: [53 55 50 4C 41 17 40 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 27 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 41, tilt 0
Send: [53 55 50 4C 41 17 41 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 29 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 44, tilt 0
Send: [53 55 50 4C 41 17 42 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 46, tilt 0
Send: [53 55 50 4C 41 17 43 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 49, tilt 0
Send: [53 55 50 4C 41 17 44 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 31 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 51, tilt 0
Send: [53 55 50 4C 41 17 45 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 33 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 54, tilt 0
Send: [53 55 50 4C 41 17 46 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 36 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 56, tilt 0
Send: [53 55 50 4C 41 17 47 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 38 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 59, tilt 0
Send: [53 55 50 4C 41 17 48 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 61, tilt 0
Send: [53 55 50 4C 41 17 49 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 64, tilt 0
Send: [53 55 50 4C 41 17 4A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 40 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 66, tilt 0
Send: [53 55 50 4C 41 17 4B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 42 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 69, tilt 0
Send: [53 55 50 4C 41 17 4C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 45 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 71, tilt 0
Send: [53 55 50 4C 41 17 4D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 47 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 74, tilt 0
Send: [53 55 50 4C 41 17 4E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 76, tilt 0
Send: [53 55 50 4C 41 17 4F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 79, tilt 0
Send: [53 55 50 4C 41 17 50 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 81, tilt 0
Send: [53 55 50 4C 41 17 51 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 51 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 84, tilt 0
Send: [53 55 50 4C 41 17 52 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 54 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 86, tilt 0
Send: [53 55 50 4C 41 17 53 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 56 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 89, tilt 0
Send: [53 55 50 4C 41 17 54 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 59 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 91, tilt 0
Send: [53 55 50 4C 41 17 55 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 94, tilt 0
Send: [53 55 50 4C 41 17 56 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 96, tilt 0
Send: [53 55 50 4C 41 17 57 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 60 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 99, tilt 0
Send: [53 55 50 4C 41 17 58 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 63 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] operation timeout: 4500
Channel(0) value changed to 38, tilt 0
Send: [53 55 50 4C 41 17 59 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 26 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 41, tilt 0
Send: [53 55 50 4C 41 17 5A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 29 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 43, tilt 0
Send: [53 55 50 4C 41 17 5B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 46, tilt 0
Send: [53 55 50 4C 41 17 5C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 2E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 48, tilt 0
Send: [53 55 50 4C 41 17 5D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 30 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 51, tilt 0
Send: [53 55 50 4C 41 17 5E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 33 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 53, tilt 0
Send: [53 55 50 4C 41 17 5F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 35 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 56, tilt 0
Send: [53 55 50 4C 41 17 60 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 38 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 58, tilt 0
Send: [53 55 50 4C 41 17 61 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 61, tilt 0
Send: [53 55 50 4C 41 17 62 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 63, tilt 0
Send: [53 55 50 4C 41 17 63 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 3F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 66, tilt 0
Send: [53 55 50 4C 41 17 64 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 42 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 68, tilt 0
Send: [53 55 50 4C 41 17 65 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 44 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 71, tilt 0
Send: [53 55 50 4C 41 17 66 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 47 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 73, tilt 0
Send: [53 55 50 4C 41 17 67 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 49 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] set target position: -5, tilt: -1
RS[0] Operation timeout
RS[0] Stop requested
RS[0] Stop movement
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 1
Channel(0) value changed to 74, tilt 0
Send: [53 55 50 4C 41 17 68 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 0A 00 00 00 6E 00 00 00 11 00 00 00 EF 22 00 00 00 96 00 96 00 6E FF 00 00 00 00 00 00 53 55 50 4C 41 ]
RS[0] new value from server: position/task 110, tilt -1
RS[0] set target position: 100, tilt: -1
RS[0] New movement value: 26, new tilting value: 0
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 0
Channel(0) value changed to 75, tilt 0
Send: [53 55 50 4C 41 17 69 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 77, tilt 0
Send: [53 55 50 4C 41 17 6A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 80, tilt 0
Send: [53 55 50 4C 41 17 6B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 50 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 82, tilt 0
Send: [53 55 50 4C 41 17 6C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 52 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 85, tilt 0
Send: [53 55 50 4C 41 17 6D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 55 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 87, tilt 0
Send: [53 55 50 4C 41 17 6E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 57 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 90, tilt 0
Send: [53 55 50 4C 41 17 6F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5A 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 92, tilt 0
Send: [53 55 50 4C 41 17 70 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 95, tilt 0
Send: [53 55 50 4C 41 17 71 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 97, tilt 0
Send: [53 55 50 4C 41 17 72 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 61 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] operation timeout: 4500
Channel(0) value changed to 75, tilt 0
Send: [53 55 50 4C 41 17 73 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4B 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 77, tilt 0
Send: [53 55 50 4C 41 17 74 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4D 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 79, tilt 0
Send: [53 55 50 4C 41 17 75 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 4F 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 82, tilt 0
Send: [53 55 50 4C 41 17 76 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 52 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 84, tilt 0
Send: [53 55 50 4C 41 17 77 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 54 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 87, tilt 0
Send: [53 55 50 4C 41 17 78 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 57 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 89, tilt 0
Send: [53 55 50 4C 41 17 79 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 59 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 92, tilt 0
Send: [53 55 50 4C 41 17 7A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5C 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 94, tilt 0
Send: [53 55 50 4C 41 17 7B 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 5E 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 97, tilt 0
Send: [53 55 50 4C 41 17 7C 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 61 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 99, tilt 0
Send: [53 55 50 4C 41 17 7D 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 63 00 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 8
Send: [53 55 50 4C 41 17 7E 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 08 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 18
Send: [53 55 50 4C 41 17 7F 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 12 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 28
Send: [53 55 50 4C 41 17 80 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 1C 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 100, tilt 38
Send: [53 55 50 4C 41 17 81 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 26 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RS[0] set target position: -5, tilt: -1
RS[0] Operation timeout
RS[0] Stop requested
RS[0] Stop movement
 **** Digital write[0], gpio: 4; value 1
 **** Digital write[0], gpio: 5; value 1
Channel(0) value changed to 100, tilt 47
Send: [53 55 50 4C 41 17 82 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 64 2F 00 01 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
S
Jeżeli u ciebie jest Ok to wstaw proszę tutaj ten szkic - sprawdzę u siebie (bo przecież korzystamy z tej samej biblioteki 25.11, jedyna różnica to środowisko, bo ja używam Arduino IDE) , o co ciebie nie podejrzewam :lol: - nie ?
Tak jak napisałem problem występuje na każdym z tych dwóch przykładów i na każdej z tych dwóch płytek - C3SuperMini i Wemos ESP8266

Return to “supla-dev”