GUI Generic + liczniki prądu SDM

krycha88
Posty: 5195
Rejestracja: pt lis 16, 2018 7:25 am
Kontakt:

Po przeglądnięciu różnych bibliotek wydaje się, że nie będę potrzebować fizycznego urządzenia.

Jedynie co będziecie potrzebowali to licznik, ESP oraz Konwerter TTL na RS485.
https://gui-generic-builder.supla.io/
mazuris78@gmail.com
Posty: 13
Rejestracja: śr lip 12, 2017 9:54 am

Pewnie jestem w gorącej wodzie kąpany, ale nieśmiało zapytam czy są jakieś postępy. 😎😎😎😎
krycha88
Posty: 5195
Rejestracja: pt lis 16, 2018 7:25 am
Kontakt:

mazuris78@gmail.com pisze: pt wrz 30, 2022 6:37 pm Pewnie jestem w gorącej wodzie kąpany, ale nieśmiało zapytam czy są jakieś postępy. 😎😎😎😎
jeszcze nic, ale masz już wszystko potrzebne do testowania?
https://gui-generic-builder.supla.io/
mazuris78@gmail.com
Posty: 13
Rejestracja: śr lip 12, 2017 9:54 am

Sdm630, konwerter TTL do RS485 i NodeMCU v3 czeka w pełnej gotowości 😀😀
zwusik
Posty: 4
Rejestracja: czw paź 27, 2022 7:09 pm

Posiadam taki licznik SDM630 ct (z przekładnikami).
Z GUI Generic wygenerowałem wsady pod ESP8266 (nodemcu).
Wgrywałem i po przez port z karty przeglądarki i po przez różne fleshery i zawsze to samo.
Puki się nie ustawi konfiguracji to odpytywanie modułu idzie sprawnie.
Jak już się go z zrestartuje to muli jak jasna cholera.
W logach bardzo wolno to wszystko chodzi.
Do clouda_supli ESP loguje się i jest widoczny.
Raz jakimś cudem nawet mogłem zmienić stan liczników na poszczególnych fazach.
Obecnie ESP zwraca z przeglądarki błąd ErrCode: 4 i ErrCount: 540
Testowałem na kilku płytkach

W logach podczas restartu ESP nic nie widzę.


ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v0008b740
~ld
Config read
Key: 0 Value: �9��#G�9�G��8
Key: 1 Value: $���j�"�6�W��]
Key: 2 Value: sterowanie
Key: 3 Value: q***am1998
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: GUI Generic_4m1
Key: 7 Value: svr10.supla.org
Key: 8 Value: s***.adam@gmail.com
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:
Key: 18 Value:
Key: 19 Value:
Key: 20 Value:
Key: 21 Value:
Key: 22 Value:
Key: 23 Value:
Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 25 Value: 1,39,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 26 Value: 1,40,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
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: [3 0 0 0 0 0 0 0 ]
Storage: missing Supla tag. Rewriting...
Wrote 8 bytes to storage at 0
Commit
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-4M1-A4CF12BF4162
Enter normal mode
Using Supla protocol version 16
Current status: [5] SuplaDevice initialized
WiFi: establishing connection with SSID: "sterowanie"
Connected BSSID: 20:54:FA:19:25:A3
local IP: 192.168.111.114
subnetMask: 255.255.255.0
gatewayIP: 192.168.111.1
Signal strength (RSSI): -47 dBm
IMPROV�
IMPROVhttp://192.168.111.114n
Wrote 7 bytes to storage at 0
Commit
Establishing NOT encrypted connection with: svr10.supla.org (port: 2015)
Connected to Supla Server
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 19, server min version: 1)
Current status: [17] Registered and ready
Changing activity timeout to 30
Activity timeout set to 30 s
krycha88
Posty: 5195
Rejestracja: pt lis 16, 2018 7:25 am
Kontakt:

zwusik pisze: śr lis 16, 2022 4:57 pm Posiadam taki licznik SDM630 ct (z przekładnikami).
Z GUI Generic wygenerowałem wsady pod ESP8266 (nodemcu).
Wgrywałem i po przez port z karty przeglądarki i po przez różne fleshery i zawsze to samo.
Puki się nie ustawi konfiguracji to odpytywanie modułu idzie sprawnie.
Jak już się go z zrestartuje to muli jak jasna cholera.
W logach bardzo wolno to wszystko chodzi.
Do clouda_supli ESP loguje się i jest widoczny.
Raz jakimś cudem nawet mogłem zmienić stan liczników na poszczególnych fazach.
Obecnie ESP zwraca z przeglądarki błąd ErrCode: 4 i ErrCount: 540
Testowałem na kilku płytkach

W logach podczas restartu ESP nic nie widzę.


ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v0008b740
~ld
Config read
Key: 0 Value: �9��#G�9�G��8
Key: 1 Value: $���j�"�6�W��]
Key: 2 Value: sterowanie
Key: 3 Value: q***am1998
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: GUI Generic_4m1
Key: 7 Value: svr10.supla.org
Key: 8 Value: s***.adam@gmail.com
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:
Key: 18 Value:
Key: 19 Value:
Key: 20 Value:
Key: 21 Value:
Key: 22 Value:
Key: 23 Value:
Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 25 Value: 1,39,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 26 Value: 1,40,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
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: [3 0 0 0 0 0 0 0 ]
Storage: missing Supla tag. Rewriting...
Wrote 8 bytes to storage at 0
Commit
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-4M1-A4CF12BF4162
Enter normal mode
Using Supla protocol version 16
Current status: [5] SuplaDevice initialized
WiFi: establishing connection with SSID: "sterowanie"
Connected BSSID: 20:54:FA:19:25:A3
local IP: 192.168.111.114
subnetMask: 255.255.255.0
gatewayIP: 192.168.111.1
Signal strength (RSSI): -47 dBm
IMPROV�
IMPROVhttp://192.168.111.114n
Wrote 7 bytes to storage at 0
Commit
Establishing NOT encrypted connection with: svr10.supla.org (port: 2015)
Connected to Supla Server
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 19, server min version: 1)
Current status: [17] Registered and ready
Changing activity timeout to 30
Activity timeout set to 30 s
Nie zostało to przetestowane do końca. Czy jesteś mi wstanie udostępnić urządzenie na zewnątrz abym mógł wgrać testowe softy?
https://gui-generic-builder.supla.io/
pavel@
Posty: 42
Rejestracja: pn paź 31, 2022 11:19 am

Witam

jak wygląda status poprawności działania ?

jak coś to mogę udostępnić licznik do testów 3 i 1 faza Weidmuller czyli to samo co SDM

3F
https://catalog.weidmueller.com/procat/ ... ge=Product
1F
https://catalog.weidmueller.com/procat/ ... ge=Product
krycha88
Posty: 5195
Rejestracja: pt lis 16, 2018 7:25 am
Kontakt:

pavel@ pisze: śr lut 01, 2023 10:22 pm Witam

jak wygląda status poprawności działania ?

jak coś to mogę udostępnić licznik do testów 3 i 1 faza Weidmuller czyli to samo co SDM

3F
https://catalog.weidmueller.com/procat/ ... ge=Product
1F
https://catalog.weidmueller.com/procat/ ... ge=Product
Rejestry wyglądają na takie same. Powinno działać.
https://gui-generic-builder.supla.io/
pavel@
Posty: 42
Rejestracja: pn paź 31, 2022 11:19 am

Hej

1 fazowy działa OK póki co nie znalazłem problemów (testuje)

3 fazowy -> testuje
pavel@
Posty: 42
Rejestracja: pn paź 31, 2022 11:19 am

pavel@ pisze: pt lut 03, 2023 9:31 pm Hej

1 fazowy działa OK póki co nie znalazłem problemów (testuje)

3 fazowy -> testuje
wydaje się że jest jakiś problem z ciągłością pomiaru napięcia. Abberacje napięcia występują w każdym zakresie czasu przez 24H 0V przez kilkadziesiąt sekund na wszystkich fazach, co nie miało miejsca fizycznie.

W Apce czasem na głównym ekranie pokazuje całkowite zużycie prądu zawyżone niezgodne ze stanem licznika po czym wraca do poprawnych wartości

poniżej screen z Clouda
https://zapodaj.net/a791db033ab11.png.html
Ostatnio zmieniony śr lut 08, 2023 7:14 am przez pavel@, łącznie zmieniany 5 razy.
ODPOWIEDZ

Wróć do „GUI Generic”