Wsparcie dla licznika energii z serii SDM72 SDM120 SDM220 SDM230 SDM630 DDM18SD

Karol503
Posts: 33
Joined: Sat Dec 31, 2022 7:17 pm
Been thanked: 1 time

Post

Robert Błaszczak wrote: Sat Jun 24, 2023 1:02 pm
Karol503 wrote: Sat Jun 24, 2023 11:25 am Czy jest możliwość odczytu większej ilości liczników z następnych adresów niż 001 i w tym samym czasie dm630 i sdm230 ?
Myślę, że to nie będzie miało sensu. ESP8266 może mieć problem z obsługą większej ilości liczników. Trzeba raczej będzie pójść w stronę ESP32.
Dzięki.
Taka zmiana na lepsze to chyba nie problem dla nikogo.
Pozostaje kwestia firmware.
Ja nusz
Posts: 6
Joined: Sun Mar 07, 2021 2:13 am

Post

Posiadam Licznik SDM630 V2
RX- GPIO12-D6
TX-GPIO13-D7
Prędkość komunikacji 38400
Na prędkości 9600 nie czytało a na 19200 było jeszcze za wolno.
Teraz odczyt jest co około 18 s na 38400 zarówno licznik jak i moduł.
Led - GPIO2-D4 LOW- ponieważ wole aby migało jak nie ma połączenia lub jest coś z nim nie tak
Przycisk-GPIO0-D3 wprowadzenie do konfiguracji poprzez przytrzymanie przycisku przez 5s

Esp 8266 Nodemcu v3 plus RS485 to TTL jak i Płytka Pana Roberta M2S ( Dziękuję ) działa stabilnie i dla mnie wystarczy.
Reszta ustawień tak jak pisze Pan Robert i reakcja taka jaka opisuje Karol503. Testowane od piątku a faktycznie ruszyło w sobotę.
You do not have the required permissions to view the files attached to this post.
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

Krystian, jest jakiś problem z obsługą SDM na GG 7.3.3
ESP resetuje się co jakiś czas. Poniżej log. Jak znajdziesz chwilę to zerknij, co może być nie tak.

Code: Select all

IMPROV �
IMPROV�
IMPROVhttp://192.168.10.29

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

load 0x4010f000, len 3424, room 16 
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8 
tail 0
chksum 0x2b
csum 0x2b
v0008e380
~ld
rf cal sector: 1020
freq trace enable 0
rf[112] : 0�Config read
Key: 0 Value: ���!yY�Mc��
Key: 1 Value: �E���;���uX(l�
Key: 2 Value: xxxxxxxx
Key: 3 Value: xxxxxxxx
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: SDM230
Key: 7 Value: svr14.supla.org
Key: 8 Value: [email protected]
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: 0
Key: 22 Value: 
Key: 23 Value: 
Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 25 Value: 
Key: 26 Value: ,,0,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,
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: 1,39,,,,5,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 37 Value: 1,40,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
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: 1
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: 
Key: 86 Value: 
Key: 87 Value: 
Key: 88 Value: 
Key: 89 Value: 
Key: 90 Value: 
Key: 91 Value: 
Key: 92 Value: 
Button[0]::setMulticlickTime: 800
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...
Pin 0, pullUp 1, invertLogic 1, state 1
GUID: BEEAD021790508590C89044D6383E0BE
Device name: SDM230
Device software version: GG v7.3.3
Initializing network layer
Network AP/hostname: SDM230-840D8EB2EF6A
Using Supla protocol version 20
Current status: [5] SuplaDevice initialized
Enter normal mode
WiFi: establishing connection with SSID: "xxxxxxxx"
Connected BSSID: 0A:42:1A:E5:62:C8
local IP: 192.168.10.29
subnetMask: 255.255.255.0
gatewayIP: 192.168.10.254
Signal strength (RSSI): -70 dBm
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Current status: [17] Registered and ready
Changing activity timeout to 30
Activity timeout set to 30 s
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Changing activity timeout to 30
Activity timeout set to 30 s
Wrote 7 bytes to storage at 0
Commit
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Changing activity timeout to 30
Activity timeout set to 30 s
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Changing activity timeout to 30
Activity timeout set to 30 s
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
bacman
Posts: 32
Joined: Wed Jan 11, 2023 7:44 am

Post

Robert Błaszczak wrote: Sun Jul 30, 2023 7:20 pm Krystian, jest jakiś problem z obsługą SDM na GG 7.3.3
ESP resetuje się co jakiś czas. Poniżej log. Jak znajdziesz chwilę to zerknij, co może być nie tak.

Code: Select all

IMPROV �
IMPROV�
IMPROVhttp://192.168.10.29

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

load 0x4010f000, len 3424, room 16 
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8 
tail 0
chksum 0x2b
csum 0x2b
v0008e380
~ld
rf cal sector: 1020
freq trace enable 0
rf[112] : 0�Config read
Key: 0 Value: ���!yY�Mc��
Key: 1 Value: �E���;���uX(l�
Key: 2 Value: xxxxxxxx
Key: 3 Value: xxxxxxxx
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: SDM230
Key: 7 Value: svr14.supla.org
Key: 8 Value: [email protected]
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: 0
Key: 22 Value: 
Key: 23 Value: 
Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 25 Value: 
Key: 26 Value: ,,0,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,
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: 1,39,,,,5,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 37 Value: 1,40,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
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: 1
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: 
Key: 86 Value: 
Key: 87 Value: 
Key: 88 Value: 
Key: 89 Value: 
Key: 90 Value: 
Key: 91 Value: 
Key: 92 Value: 
Button[0]::setMulticlickTime: 800
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...
Pin 0, pullUp 1, invertLogic 1, state 1
GUID: BEEAD021790508590C89044D6383E0BE
Device name: SDM230
Device software version: GG v7.3.3
Initializing network layer
Network AP/hostname: SDM230-840D8EB2EF6A
Using Supla protocol version 20
Current status: [5] SuplaDevice initialized
Enter normal mode
WiFi: establishing connection with SSID: "xxxxxxxx"
Connected BSSID: 0A:42:1A:E5:62:C8
local IP: 192.168.10.29
subnetMask: 255.255.255.0
gatewayIP: 192.168.10.254
Signal strength (RSSI): -70 dBm
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Current status: [17] Registered and ready
Changing activity timeout to 30
Activity timeout set to 30 s
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Changing activity timeout to 30
Activity timeout set to 30 s
Wrote 7 bytes to storage at 0
Commit
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Changing activity timeout to 30
Activity timeout set to 30 s
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: svr14.supla.org (port: 2016)
Connected to Supla Server
Device registered (activity timeout 120 s, server version: 20, server min version: 1)
Changing activity timeout to 30
Activity timeout set to 30 s
Tez tak mam :)
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

@krycha88, w 7.3.5 bez zmian. Restarty co chwilę nadal występują.
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Robert Błaszczak wrote: Mon Jul 31, 2023 8:22 pm @krycha88, w 7.3.5 bez zmian. Restarty co chwilę nadal występują.
A co wyświetla się na terminalu? Spojrzę na to wieczorem :)
https://gui-generic-builder.supla.io/
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

Dwa posty powyżej jest log :)
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Robert Błaszczak wrote: Tue Aug 01, 2023 5:17 am Dwa posty powyżej jest log :)
Zauważyłem :) ale czy to samo się wyświetla?
https://gui-generic-builder.supla.io/
bacman
Posts: 32
Joined: Wed Jan 11, 2023 7:44 am

Post

U mnie jest tak ze co ok 10-20 sek sa rozlaczenia z serwerem, urzadzenie ma uptime stabilny
You do not have the required permissions to view the files attached to this post.
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

@klew czy coś zmieniałeś w okolicy ponownego łączenia do wifi? Na czas odczytu urządzenie się blokuje na kilka sekund i wychodzi na to, że ten czas wystarczy na wywołanie procedury ponownego łączenia. Z tego co rozumiem, kiedyś ten problem nie występował.
https://gui-generic-builder.supla.io/

Return to “GUI Generic”