żaluzje fasadowe na esp 32
-
Miron
- Posts: 30
- Joined: Sat Dec 14, 2024 9:16 am
witam czy mozna już wgrać żaluzje fasadowe na esp 32 >?
-
Miron
- Posts: 30
- Joined: Sat Dec 14, 2024 9:16 am
jak wgrywam rolety ale nie mogę zmienić funkcji na żaluzje jak to zrobić
-
Miron
- Posts: 30
- Joined: Sat Dec 14, 2024 9:16 am
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
GG od kilku miesięcy nie jest aktualizowany i nie zapowiada się, aby to się szybko zmieniło.
Jeśli chcesz mieć fasadówki na swoim ESP, to musisz posłużyć się biblioteką supla-device i np. Arduino IDE
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
Miron
- Posts: 30
- Joined: Sat Dec 14, 2024 9:16 am
czy jestes mi wstanie to wgrac na esp 32 zapłacę jak tak to jaki koszt przy 4 esp 32
-
lukfud
- Posts: 2480
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
- Has thanked: 13 times
- Been thanked: 11 times
Jakie to są moduły?Miron wrote: Fri Dec 19, 2025 9:07 pm czy jestes mi wstanie to wgrac na esp 32 zapłacę jak tak to jaki koszt przy 4 esp 32
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
-
Miron
- Posts: 30
- Joined: Sat Dec 14, 2024 9:16 am
-
SmartBOB
- Posts: 101
- Joined: Mon May 24, 2021 7:36 am
- Location: Wrocław
- Been thanked: 1 time
Fasadówki są też jus dostępne na SMARTBOBach
.
Jak coś to zapraszam:
https://smartbob.pl/pl/3-sterowniki
A no i tak jak pisali wyżej GG odpada, musi być napisana własna wersja.
Jak coś to zapraszam:
https://smartbob.pl/pl/3-sterowniki
A no i tak jak pisali wyżej GG odpada, musi być napisana własna wersja.
-
Maniek913
- Posts: 593
- Joined: Thu Feb 22, 2018 9:46 pm
Możesz podrzucić przykład? jak to napisać? - kompilując z nową biblioteką przykład z Arduino IDE nie widzę opcji fasadóweklukfud wrote: Fri Dec 19, 2025 9:05 pmGG od kilku miesięcy nie jest aktualizowany i nie zapowiada się, aby to się szybko zmieniło.
Jeśli chcesz mieć fasadówki na swoim ESP, to musisz posłużyć się biblioteką supla-device i np. Arduino IDE
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();
}
