Gniazdko typu Gosund SP111, ale z ESP32

LukiSpajder
Posts: 1548
Joined: Tue Aug 18, 2020 2:22 pm
Has thanked: 25 times
Been thanked: 34 times

Post

veeroos wrote: Tue Sep 23, 2025 7:18 pm Hehe, no nie załapałem się na testy więc w końcu muszę to zrobić 😁, leżą 3 rozebrane już cały czas, więc czas do nich siąść
Też mam jedną sztukę niby wszystko dział , jedyny problem to pomiar energii nie działa . Ale przy rozbiórce się trochę namęczyłem 😉.
Jak by zaszła potrzeba testów to chętnie 😁
User avatar
veeroos
Posts: 1081
Joined: Sun Mar 20, 2022 9:30 am
Location: Głogów
Has thanked: 1 time
Been thanked: 9 times

Post

LukiSpajder wrote: Wed Sep 24, 2025 3:34 am
veeroos wrote: Tue Sep 23, 2025 7:18 pm Hehe, no nie załapałem się na testy więc w końcu muszę to zrobić 😁, leżą 3 rozebrane już cały czas, więc czas do nich siąść
Też mam jedną sztukę niby wszystko dział , jedyny problem to pomiar energii nie działa . Ale przy rozbiórce się trochę namęczyłem 😉.
Jak by zaszła potrzeba testów to chętnie 😁
Spoko, coś tam będziemy myśleć, po weekendzie myślę siąść do tego
Zamel Mew-01, Zamel PEW-01, Zamel SBW-01, Zamel THW-01, Zamel SRW-01, Zamel mSLW-02, Auraton BOX + Indor Sensor, Airly Gate By Veeroos, Zigbee to Supla Gateway + sensors, Zamel SGW-01 and more

https://github.com/v33r005
User avatar
Zibi_007
Posts: 3985
Joined: Tue Oct 31, 2023 10:06 pm
Has thanked: 10 times
Been thanked: 31 times

Post

veeroos wrote: Wed Sep 24, 2025 5:03 am
LukiSpajder wrote: Wed Sep 24, 2025 3:34 am
veeroos wrote: Tue Sep 23, 2025 7:18 pm Hehe, no nie załapałem się na testy więc w końcu muszę to zrobić 😁, leżą 3 rozebrane już cały czas, więc czas do nich siąść
Też mam jedną sztukę niby wszystko dział , jedyny problem to pomiar energii nie działa . Ale przy rozbiórce się trochę namęczyłem 😉.
Jak by zaszła potrzeba testów to chętnie 😁
Spoko, coś tam będziemy myśleć, po weekendzie myślę siąść do tego
Sprawdź PW proszę :)
Image Wiesz, że Supla obsługuje Zigbee? Wstąp do Klubu Promila: https://forum.supla.org/viewtopic.php?t=18018
Image Szukasz nowego GG? Jest tutaj: https://forum.supla.org/viewtopic.php?t=18036
MichNick
Posts: 57
Joined: Wed Sep 07, 2022 5:46 pm

Post

LukiSpajder wrote: Wed Sep 24, 2025 3:34 am Też mam jedną sztukę niby wszystko dział , jedyny problem to pomiar energii nie działa .
Jaki soft podgrałeś? Trzeba samemu kompilować? Niestety S60 nie wstaje na GG :?
Last edited by MichNick on Thu Oct 02, 2025 9:35 am, edited 1 time in total.
User avatar
veeroos
Posts: 1081
Joined: Sun Mar 20, 2022 9:30 am
Location: Głogów
Has thanked: 1 time
Been thanked: 9 times

Post

Jeśli generujesz z JSON'A to nie wstanie, wygeneruj soft w GG z obsługą CSE7766 pod procesor ESP32 C3 podstawiasz sobie piny w webserwerze
Zamel Mew-01, Zamel PEW-01, Zamel SBW-01, Zamel THW-01, Zamel SRW-01, Zamel mSLW-02, Auraton BOX + Indor Sensor, Airly Gate By Veeroos, Zigbee to Supla Gateway + sensors, Zamel SGW-01 and more

https://github.com/v33r005
MichNick
Posts: 57
Joined: Wed Sep 07, 2022 5:46 pm

Post

Gniazdko rozebrane na stole. Soft z GG na ESP32C3 w konfiguracji z zaznaczonym układ CSE7766, przekaźnik, przycisk, LED. Zasilanie 3.3V. Ładnie łyka instalacje ale nie wstaje sypiąc błędami:

Code: Select all

SET DEVICE CONFIGURATION!
Save key: 0 Value: 2ć[18]dô3•˝î
Save key: 1 Value: ´…<[0F]ĐlÖ[0E][06]	[15]ƒX%<Ŕ
Save key: 4 Value: admin
Save key: 5 Value: pass
Save key: 6 Value: GUI Generic
Save key: 7 Value: svrX.supla.org
Save key: 8 Value: [email protected]
Save key: 9 Value: 1
Save key: 10 Value: 1
Save key: 20 Value: 1
Save key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Save key: 26 Value: ,,0,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,
Save key: 80 Value: 1
Save key: 81 Value: 0
Save key: 96 Value: 0.25
Save key: 97 Value: 0.4
Save key: 102 Value: 0
readStorage: 8; Read: [53 55 50 4C 41 1 0 1 ]
readStorage: 7; Read: [3 0 0 0 0 0 0 ]
Config read
Key: 0 Value: 2ć[18]dô3•˝î
Key: 1 Value: ´…<[0F]ĐlÖ[0E][06]	[15]ƒX%<Ŕ
Key: 2 Value: 
Key: 3 Value: 
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: GUI Generic
Key: 7 Value: svrX.supla.org
Key: 8 Value: [email protected]
Key: 9 Value: 1
Key: 10 Value: 1
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: 1
Key: 21 Value: 
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: 
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: 
Key: 59 Value: 
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: 1
Key: 81 Value: 0
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: 
Key: 93 Value: 
Key: 94 Value: 
Key: 95 Value: 
Key: 96 Value: 0.25
Key: 97 Value: 0.4
Key: 98 Value: 
Key: 99 Value: 
Key: 100 Value: 
Key: 101 Value: 
Key: 102 Value: 0
Key: 103 Value: 
Key: 104 Value: 
Key: 105 Value: 
Key: 106 Value: 
Key: 107 Value: 
Key: 108 Value: 
Key: 109 Value: 
Key: 110 Value: 
Key: 111 Value: 
Key: 112 Value: 
Key: 113 Value: 
Key: 114 Value: 
Key: 115 Value: 
Key: 116 Value: 
Key: 117 Value: 
Key: 118 Value: 
Key: 119 Value: 
Key: 120 Value: 
Key: 121 Value: 
Key: 122 Value: 
Key: 123 Value: 
SET DEVICE CONFIGURATION!
Save key: 0 Value: 2ć[18]dô3•˝î
Nie tworzy sieci, żaden led nie świeci. Zasilenie po 230V nie zmienia sytuacji.
User avatar
veeroos
Posts: 1081
Joined: Sun Mar 20, 2022 9:30 am
Location: Głogów
Has thanked: 1 time
Been thanked: 9 times

Post

Ja tu nie widzę błędów, ale mogę się mylić 😁. A dlaczego nie nadaje sieci to nie wiem, w GG raczej nie ma jeszcze nowej biblioteki SD bo standardowy soft z nowej biblioteki nie nadaje sieci przed wciśnięciem przycisku konfiguracji, btw pierwsza beta już została napisana, muszę tylko wgrać do gniazdka i przetestować
Zamel Mew-01, Zamel PEW-01, Zamel SBW-01, Zamel THW-01, Zamel SRW-01, Zamel mSLW-02, Auraton BOX + Indor Sensor, Airly Gate By Veeroos, Zigbee to Supla Gateway + sensors, Zamel SGW-01 and more

https://github.com/v33r005
MichNick
Posts: 57
Joined: Wed Sep 07, 2022 5:46 pm

Post

veeroos wrote: Thu Oct 02, 2025 12:58 pm pierwsza beta już została napisana

Super. Chętnie przetestuje.

GG po resecie w pętli sieje:

Code: Select all

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xf (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1144
load:0x403cc710,len:0xad8
load:0x403ce710,len:0x2f80
entry 0x403cc710
Config read
Key: 0 Value: ł[02][17]|űTÁŘŢł”[19]%e[12][16]
Key: 1 Value: Ýń[0F] [1A]ó»#Ëź2‰÷Á¦¸
Key: 2 Value: [03]^ÉżŁdÁŘŠ
vgnQ[04]®ę¦[12]M2ŻďCcbk[02]<—[19]q
Key: 3 Value: FzżŚţ.[15]'‹·wĺ[1E]M`![1C]_Đ-LG[0C]łř[05] [18]ÔsŔ[11])yŔŐeçm˜î3Ögn[04]U§ŕĺBş/[13]?ĘŻ#[0F]`óŹD’
Key: 4 Value: šű{‘“[02]Š8Ó‡•¨9[0C]cY
E[1E]KŔu><—Zť[07]{ĚV[
Key: 5 Value: ďj_0Á«˛í÷=Ëż[1F]–ém(ŔLţ#ű…öS[1B]§ň		ŕÜŚđ6[04]h0ř[07]:ţL{úź\
[03][08]yç%_
aŤăĂđ-‹EÇ
Key: 6 Value: [1A]űM´[13]Ń„Î_/OşŻ˝č[13]`Äż[0B]«9*†"u[16]%š[0F]’™
Key: 7 Value: á[05]‰[1A]
2wĄ[1E]·x͇†[06]hJá·Lň4Ą[04]㪘
ŐĂÔä9[15] Tá«[1E][0F]Jó-ż˛5ć[18]Ő[0B]í[0B]Irđ,RˆŇS[07][13]Ćę
Key: 8 Value: §A[1D]1`s-ý×wi*!,[10]{×á[19](q(I[0C]Pˆ˝úŞČţźbrƒşô?H|÷żÁƒđCžŇ×÷Ü~R§Ę[[15]˝Q/ţxA(R[17]cNÖ÷Ϙن1wŔ-@ş˙N·N2[08]˙wá
ůúFl[14]U[12]ú¦ÚY©[ëÉ-[10]H°Ş¬ňv¦B–1cL1[17][1F]Ą»“¸ŕć]Ň©ž©żľ{?\¸[18]"[07]ą4ŐĎň[02]Ęłl[12]Ëq[18]g[0C]ú‹ą<ˇaď[0E]şs+áHô v[12]m–×[15]ârR[18]°	b‡óű=řŞŔ‹Ú™t{žîyW6±[17]f«˙˛śo-€ęű»„ĐÚvÉS´ž˙÷[02]ůq€r7Îü´GZÉ[0F]Í'[1F]9,[1C]”ŃrKF+,ď˙[1C]í
Key: 9 Value: CŰ
Key: 10 Value: [19]g
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: ˜[01]
Key: 21 Value: #Ă
Key: 22 Value: 
Key: 23 Value: 
Key: 24 Value: {3ěÁ1—	ÝŚŚŻ[1B]ÉËuš4
b[1E]éL/qŁç[1D]á•@[0B]p;»§E
Key: 25 Value: ¤[16]óřwŐ[1C]ĺŞßVš Ď{[15]t[1F][01]äH@RJ iô^ş|•IhHâ‡
Key: 26 Value: ;Ę[07]îÇá3dťäŹĆ';htDOo[0B]
)[1E]őŻ
Key: 27 Value: Ł[07]*
Đ|ó÷Aíš7–s˙ĺŮÓY•€Ý ŃK§ú”[0E]Ť5łq	(	
Key: 28 Value: ,^ý[14]ŢĂ(ľř¤4ůuŃߐ|e4ç[1F]
Źn},G[14]D0Í(mŰ[03]
Key: 29 Value: m!‚LĐŚgĂGO MĽŢ»[1B]fĽČľâ[06]R[0C]“%ŔÇ[0F]L‘Q[03]
Key: 30 Value: ÁćqGš’ÔÖĄyáľ2ű“˙
t€7[1E]#d»Z[10]#ŞńŰ•$[10]] Ł
Key: 31 Value: äˆit[1D]$©‰÷@·—âúŠ0żĄF:R[17]x[4!˝([1A]Ď>wG˝kH
Key: 32 Value: ÚŃźrŇ5˝[05]•[02]ç´G–=”O0z{ F ń[19]Ý*E[10](čŹKŁ:¶
Key: 33 Value: “ˆ
Key: 34 Value: `voÎ5+±Ą‡[06]Y9¤6ÎRk[19]’’č[1A][13]f‰Ň:ď[0B]
ÄQĆ[1D]c
Key: 35 Value: ˛đ[02]Yd[10]đAVřđĐ[1E]
+,*7ă[01]öµńŹ[07] [0C][01]R}çëÓ‘B
Key: 36 Value: 8G[0C]¨®—! [16][0C]‘Ćiújü{¤‹[18][1C]z:‰U'ĹjAîĆÄlu
Key: 37 Value: °)D![11]đSţňüá3ž˛É°†/Y[[13]÷[12]*Źb»[12]Zö:|żę
Key: 38 Value: ä[10]íĎ™Ej˜hŃ@gĹďä`ĎQ^`q[01]ä®[18]˙÷ëű”6´[02]—ôĄ
Key: 39 Value: ďđŰUjP<Úë~äţ[1D]ăj
Key: 40 Value: Ťqa<*
Key: 41 Value: ö[16]^d
Key: 42 Value: [19]ź+	 čý®Ć‚5L-·¸şUŚOÄőÎy"[11]†*ƒ9ˆN4[19][0B]ë
Key: 43 Value: Ől㾌[06] RRnw[12]ŁĚM[1B]ZÇŹ±ů±Ů[0F][10]µ^+,*[02]ˆę[08]<‰
Key: 44 Value: ů[10]™Ů–­±={˛ĺ˜ŁeĄżĎ[1F]Ľ@ŕ,[1A]„ĺ†"wÁŢ·Oő†¸P
Key: 45 Value: ćj[13]Ş25g[19]´™ëł[10]l#[11][18]ć¬ŔHÖ'UîAŰ[1A]%§A|ŞvĄ
Key: 46 Value: ĹŇ
Key: 47 Value: Ý׺Ł&C1a‚[12]ßÓ×[1B]§úɆ[1B]Jo석sˇJČ·[01]¸Ěţ_n
Key: 48 Value: M[15]:„ă[12]X[18][01]ţ[1E]GŇ„[15]®ŮřnIüJJDÚ[17]Óţ®Í9o,[0C]U˜
Key: 49 Value: Ăîäíú[17],Ö‹‚đůÉ[0C]ężÇY¨ÂE•éÉ×8[1D]rĺő[12]ĘFTtS
Key: 50 Value: t[18]uc5ĂSĹĐŮů›ü2[06]Ú§'nw)ˆ[0E][08]™U:[1F]%żä»p˜2
Key: 51 Value: [1A]Mř
݃fín [12] ›ćú©	Ŕ„ŽÍď[1F][10]çÚ[1B]u[08]ŕ[02]Đđ,ţ2
Key: 52 Value: “ug#IR[14]¦ő‡ý­j.[0C][10]qq`žâôŔyBА‚Š[1B]5GŹ—íÄ
Key: 53 Value: d[18]l$Óý•Jôet[16]ő‰MPśÚ[06]ˆ[17]„§[17]ô+"0;HpB@ÇÍ
Key: 54 Value: ńTĽ0ÚŞć2âő÷D~[0C]̸´‹j˛ű[16]y§ŇŐ˘
Uě&Řśčâ[1A]
Key: 55 Value: E%[05]6ţ?f[1E]
Key: 56 Value: ŰR_…[1B] †t¶“Łű×ü=!‘”X¤ůLßĎł[01]¶DŹ2é{ßŰ׸
Key: 57 Value: ľ[1E]+ݰ
n[0E]üs‰¬"Ž˙A7űŻźjů® 
ZĺŐ [02]áöŔźf
Key: 58 Value: \äSŘ;0 ÷—[0F]Ŕ8ĺ[10]
ô™Đ[1A]ť5ň]_nGŤ5@s|ďA×ÝŰ
Key: 59 Value: $Ev`ŕťçŕeQ˙ˆW[1A]¸[02]}ߐ[1D]„"…h([02](óěWŻ[02].[05]L
Key: 60 Value: ňľ×4h&M-I•Ěźu>[10]]ů€µá¦5BóúĹů–YQ(üż÷
Key: 61 Value: -Î8BbSsű[çv]ŕ
[1F]˙ěĎ\
űW[11]\'[16]=7‹üH[01][1E]Xł5
Key: 62 Value: Bv˙:ş[08]Ú?w[1D]Ri[0B]ă-osAIV˜LĆÂ…[18]	ŤÍcµ[02]HEéü
Key: 63 Value: GŮ­
Ůą&n`đűŐE[16]Ahyýľ[1A]Âç[05]6[0C]ąYżó›ŐÓ[15][03]Ŕl
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: @
Key: 81 Value: [0F]
Key: 82 Value: 
Key: 83 Value: 
Key: 84 Value: 
Key: 85 Value: 
Key: 86 Value: 
Key: 87 Value: 5i|H[04][10]»Ţł|[11]GoeĽd´0\ď
Key: 88 Value: Ö©Ó_űPQ±y¶mއű¦gp[1A]
Key: 89 Value: 
Key: 90 Value: 
Key: 91 Value: 
Key: 92 Value: 
Key: 93 Value: 
Key: 94 Value: 
Key: 95 Value: 
Key: 96 Value: qŁÂÓ
Key: 97 Value: €[1B]ľr
Key: 98 Value: #ÄÝ\U[07];-ěý/uTĹ	üß•m·[1F]ËÝX[05][0C]xeŢwé#K¶IA[19]]íu)^öOÔI‘Ő]^ÇÜh˛LĆäo[17];o[15]µ[14]&+ňÚéËŁw킪Ša
Key: 99 Value: hÇ)Î_š[0B]Íľu
Key: 100 Value: p*˛uzĘdä[02]“î׃݄‘´†g[16]}>űT}
Key: 101 Value: 
Key: 102 Value: Ž
Key: 103 Value: 
Key: 104 Value: 
Key: 105 Value: 
Key: 106 Value: 
Key: 107 Value: 
Key: 108 Value: 
Key: 109 Value: 
Key: 110 Value: 
Key: 111 Value: 
Key: 112 Value: ö[13]‚E[18]ť[1D]â˝v­foƒOGžŰoŕM,AĄ8[10]ʲOľ‘
Ű|Ú 
Key: 113 Value: 
Key: 114 Value: 
Key: 115 Value: 
Key: 116 Value: 
Key: 117 Value: 
Key: 118 Value: 
Key: 119 Value: 
Key: 120 Value: 
Key: 121 Value: 
Key: 122 Value: 
Key: 123 Value: 
readStorage: 8; Read: [53 55 50 4C 41 1 0 1 ]
readStorage: 7; Read: [3 0 0 0 0 0 0 ]
User avatar
veeroos
Posts: 1081
Joined: Sun Mar 20, 2022 9:30 am
Location: Głogów
Has thanked: 1 time
Been thanked: 9 times

Post

Wiesz jeśli masz to tylko pod programatorem to może się okazać że za mało prądu masz. Odłącz programator i podłącz zasilanie (przylutuj przewody tam gdzie idą bolce zasilania sieciowego i zobacz czy układ wstanie). Ja dopóki sam nie przetestuję sprzętu nie będę udostępniał programu, nie chce aby komuś działało to w nieprzewidywalny sposób. Myślę że na weekend lub początkiem przyszłego tygodnia będę testował układ. Więc proszę uzbroj się w cierpliwość (i nie wykupuj wszystkich S60 z Allegro 😛 zostaw coś też dla mnie), generalnie myślę że temat do ogarnięcia jest. Zrobiłem klasę do obsługi tego układu, szkoda że nie można jakiejś płytki jako moduł z tym układem kupić, tak bym sobie przetestował nie narażając układu na uszkodzenie.
Zamel Mew-01, Zamel PEW-01, Zamel SBW-01, Zamel THW-01, Zamel SRW-01, Zamel mSLW-02, Auraton BOX + Indor Sensor, Airly Gate By Veeroos, Zigbee to Supla Gateway + sensors, Zamel SGW-01 and more

https://github.com/v33r005
MichNick
Posts: 57
Joined: Wed Sep 07, 2022 5:46 pm

Post

Znakomicie, będziemy czekać :). LukiSpajder podesłał mi wsad i układ bez oporów zaczął pracować. Wifi wstało pod zasilaniem sieciowym. Przekaźnik pracuje prawidłowo a moduł poprawnie zameldował się w claudzie. Zatem sukces.
veeroos wrote: Thu Oct 02, 2025 3:20 pm nie wykupuj wszystkich S60 z Allegro 😛 zostaw coś też dla mnie
Po pierwszym rozebraniu gniazdka podjąłem decyzje że to pierwszy i ostatni raz !. Chociaż drugie poszło mi już znacznie łatwiej. :lol:

Return to “Ogólna dyskusja”