Kłopot z dodaniem modułu

milanos
Posts: 24
Joined: Thu Sep 01, 2022 8:20 am

Post

Witajcie,
jadę wg instrukcji:
https://www.youtube.com/watch?v=LAVQ5QERLCk
Próbowałem na wielu Wemosach i przy różnych konfiguracjach.
Za każdym razie po wgraniu próbuje dodać moduł. Proces przebiega poprawnie ale:
Image
a) nie widać modułu w Supla Cloud
b) moduł cały czas chodzi w trybie "Config"
Ponowna próba "Dodaj urządzanie" daje ten sam, mizerny efekt
1. Znajduje sieć "SUPLA-GUI_Generic-****" - daje połącz
Image
2. Łączy się i wyświetla komunikat o pozytywnym przesłaniu informacji do urządzenia. Moduł dostaje status zainicjowany i .... dalej nie dzieje się nic.
Image

Mogę w kółko powtarzać tę operację
Cały czas moduł rozgłasza AP.

Pls pomóżcie bo siedzę już nad tym kilka godzin i dalej jestem w cz...d.
Do tej pory programowałem przez Arduino IDE ale widze że "GUI Generic" jest o wiele ciekawszym projektem a ugrzęzłem na starcie
Yepestis
Posts: 890
Joined: Mon Sep 24, 2018 6:08 pm
Location: Wrocław
Has thanked: 19 times
Been thanked: 3 times

Post

Polacz się z siecią emotiwną przez urządzenie i wejdź na adres 192.168.4.1 i tam dokończ konfigurację, poustawiaj przyciski, przekaźniki itp.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Wyłącz automat.
SUPLA.... Nareszcie w domu.
milanos
Posts: 24
Joined: Thu Sep 01, 2022 8:20 am

Post

Widziałem taką możliwość i udało się połączyć ale nawet po tym nie widać modułu Supla Cloud.
Chciałbym wykorzystać pod licznik impulsów, więc do ustawienia są tylko 2 GPIO TX i RX.
Nie będę w stanie zobaczyć pomiarów bo nawet po ustawieniach i restarcie modułu nadal nie widać w Supla Cloud.
Chyba że coś nie tak robię i trzeba coś ustawić/spiać jakiś GPIO aby moduł (Weomos) wyłączył tryb CONFIG.

Na tutorialu jest pokazana "goła" płytka Wemosa która już przy pierwszym połączeniu powoduje dodanie modułu do Supla Cloud. U mnie ten efekt niestety nie następuje.
Yepestis
Posts: 890
Joined: Mon Sep 24, 2018 6:08 pm
Location: Wrocław
Has thanked: 19 times
Been thanked: 3 times

Post

Ustaw GPIO dla trybu CONFIG, po tym zrestartuj moduł
milanos
Posts: 24
Joined: Thu Sep 01, 2022 8:20 am

Post

pzygmunt wrote: Sun Nov 13, 2022 3:53 pm Wyłącz automat.
Pls. rozwiń o jaki automat chodzi
Last edited by milanos on Sun Nov 13, 2022 4:27 pm, edited 1 time in total.
milanos
Posts: 24
Joined: Thu Sep 01, 2022 8:20 am

Post

Yepestis wrote: Sun Nov 13, 2022 4:05 pm Ustaw GPIO dla trybu CONFIG, po tym zrestartuj moduł
Niestety nic to nie zmieniło
ustawiłem LED na GPIO2-D4 i cały czas mi błyska czyli ma tryb CONFIG

W http://10.159.40.121/config mam takie coś (moduł łączy się z moim wifi) :
Image
Last edited by milanos on Sun Nov 13, 2022 4:39 pm, edited 1 time in total.
milanos
Posts: 24
Joined: Thu Sep 01, 2022 8:20 am

Post

Log tak wygląda:

Code: Select all

Key: 1 Value: ��?�n,�WXH9$�
Key: 2 Value: GreenFiber_53M02
Key: 3 Value: *********
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: GUI Generic
Key: 7 Value: svr46.supla.org
Key: 8 Value: *******
Key: 9 Value: 
Key: 10 Value: 
Key: 11 Value: 
Key: 12 Value: 
Key: 13 Value: 
Key: 14 Value: 
Key: 15 Value: 
Key: 16 Value: 
Key: 17 Value: 10
Key: 18 Value: 0
Key: 19 Value: 
Key: 20 Value: 
Key: 21 Value: 
Key: 22 Value: 
Key: 23 Value: 
Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 25 Value: 
Key: 26 Value: 
Key: 27 Value: 
Key: 28 Value: 
Key: 29 Value: 
Key: 30 Value: 
Key: 31 Value: 
Key: 32 Value: 
Key: 33 Value: 
Key: 34 Value: 
Key: 35 Value: 
Key: 36 Value: 
Key: 37 Value: 
Key: 38 Value: 
Key: 39 Value: 
Key: 40 Value: 
Key: 41 Value: 
Key: 42 Value: 
Key: 43 Value: 
Key: 44 Value: 
Key: 45 Value: 
Key: 46 Value: 
Key: 47 Value: 
Key: 48 Value: 
Key: 49 Value: 
Key: 50 Value: 
Key: 51 Value: 
Key: 52 Value: 
Key: 53 Value: 
Key: 54 Value: 
Key: 55 Value: 
Key: 56 Value: 
Key: 57 Value: 
Key: 58 Value: 1
Key: 59 Value: 0
Key: 60 Value: 
Key: 61 Value: 
Key: 62 Value: 
Key: 63 Value: 
Key: 64 Value: 
Key: 65 Value: 
Key: 66 Value: 
Key: 67 Value: 
Key: 68 Value: 
Key: 69 Value: 
Key: 70 Value: 
Key: 71 Value: 
Key: 72 Value: 
Key: 73 Value: 
Key: 74 Value: 
Key: 75 Value: 
Key: 76 Value: 
Key: 77 Value: 
Key: 78 Value: 
Key: 79 Value: 
Key: 80 Value: 0
Key: 81 Value: 
Key: 82 Value: 
Key: 83 Value: 
Key: 84 Value: 
Key: 85 Value: 
Supla - starting initialization
Storage initialization
readStorage: 8; Read: [53 55 50 4C 41 1 0 0 ]
Storage: Number of sections 0
Config storage not configured
Validating storage state section with current device configuration
Storage state section validation completed. Loading elements state...
Initializing network layer
Network AP/hostname: GUI-GENERIC-C8C9A35485D4
Enter normal mode
Using Supla protocol version 16
Current status: [5] SuplaDevice initialized
WiFi: enter config mode with SSID: "GUI_Generic"
Current status: [40] Config mode
WiFi: enter config mode with SSID: "GUI_Generic"
local IP: 10.159.40.121
subnetMask: 255.255.255.0
gatewayIP: 10.159.40.1
Signal strength (RSSI): -56 dBm
Yepestis
Posts: 890
Joined: Mon Sep 24, 2018 6:08 pm
Location: Wrocław
Has thanked: 19 times
Been thanked: 3 times

Post

Może spróbuj przywrócić ustawienia fabryczne i jeszcze raz skonfigurować. Bo rozumiem że konfigurację licznika impulsów masz zrobioną tak jak pisałeś?
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Po prostu dodaj jakiś kanał, np. przekaźnika.
https://gui-generic-builder.supla.io/

Return to “GUI Generic”