Witam, mi również udało się wgrać Tasmota i próba wgrania skompilowanego Primary GUI V2 w Arduino IDE która generuje jeden plik bin, zakończona niepowodzeniem plik za duży, również Primary GUI V1 też generuje za duży plik, Możliwe że udałoby się wgrać firmware "sztywne" z konkretną konfiguracją i siecią wifi ale to One Way TicketDarkman wrote: Tue Dec 17, 2019 7:55 am@nonflammable Czy udało Ci się ostatecznie wgrać kompletny firmware do gniazdka?nonflammable wrote: Tue Nov 26, 2019 11:50 pm udało mi się za pomocą tuya-convert wgrać w gniazdko Tasmota (ESPurna też wchodzi) ... i teraz pytanie czy jest gotowy jednoplikowy BIN aktualizacji OTA do Supla ?
niestety plik wygenerowany przy pomocy CombineBin w ESP Download Tool nie wchodzi
przypuszczam, że plik jest za duży (1009k) i jedyna opcja to coś w stylu "2-step flash"
jakieś pomysły inne niż rozbieranie gniazdka ?
[edit]
gniazdko uceglone ;P
czas dobrać się do środka
Czy jesteś w stanie (lub ktokolwiek inny) zgrać z niego (zrobić backup) oprogramowanie? Wtedy byłby to jednoplikowy bin o wielkości całej pamięci flash.
Planuje kupić te gniazdka (są na Allegro) i wgrać taki backup przez tuya-convert![]()
Smart DGM
-
shimano73
- Posts: 2174
- Joined: Sun Feb 28, 2016 12:27 pm
- Location: Orzesze
- Been thanked: 1 time
W elektronice jak nie wiadomo o co chodzi to zwykle chodzi o zasilanie
Wezmę udział w Supla Offline Party 2024
Wezmę udział w Supla Offline Party 2024
-
nonflammable
- Posts: 81
- Joined: Tue Nov 26, 2019 11:12 pm
- Location: Gorzów Wielkopolski
Nie podchodziłem jeszcze do tematu po ucegleniu.Darkman wrote: Tue Dec 17, 2019 7:55 am @nonflammable Czy udało Ci się ostatecznie wgrać kompletny firmware do gniazdka?
Czy jesteś w stanie (lub ktokolwiek inny) zgrać z niego (zrobić backup) oprogramowanie? Wtedy byłby to jednoplikowy bin o wielkości całej pamięci flash.
Planuje kupić te gniazdka (są na Allegro) i wgrać taki backup przez tuya-convert![]()
-
Darkman
- Posts: 40
- Joined: Fri Apr 26, 2019 11:34 am
Ja podchodzilem od roznych stron.
Udalo mi sie stworzyc pojedynczy plik binarny ktory mozna wgrac przez RS, ale poleglem na probie wgrania go OTA bo jest on zbyt duży = 1020kB, a Tuya-convert lub Tasmota (a potem OTA) ograniczają wgrywanie do wielkosci pliku 512kB bo tyle mają wolnego miejsca w pamięci
Przydalby się kod Arduino do skompilowania z działającym pomiarem energi, bo po skompilowaniu zmiescil by sie do 512kB.
Udalo mi sie stworzyc pojedynczy plik binarny ktory mozna wgrac przez RS, ale poleglem na probie wgrania go OTA bo jest on zbyt duży = 1020kB, a Tuya-convert lub Tasmota (a potem OTA) ograniczają wgrywanie do wielkosci pliku 512kB bo tyle mają wolnego miejsca w pamięci
Przydalby się kod Arduino do skompilowania z działającym pomiarem energi, bo po skompilowaniu zmiescil by sie do 512kB.
oSuplowane:
11x MiniTiger RF 2gang -N [czekają kolejne sztuki]
3x MiniTiger RF 1gang -N
1x Sonoff Touch 1gang +N
3x SmartDGM DSG-W162 gn. z pomiarem
2x GreenBlue GB155 gn.
1x MediaTech MT3105 gn.
1x Lanberg SM01-WP10 gn.
2x Yunshan
1x Geekcreit 4ch
11x MiniTiger RF 2gang -N [czekają kolejne sztuki]
3x MiniTiger RF 1gang -N
1x Sonoff Touch 1gang +N
3x SmartDGM DSG-W162 gn. z pomiarem
2x GreenBlue GB155 gn.
1x MediaTech MT3105 gn.
1x Lanberg SM01-WP10 gn.
2x Yunshan
1x Geekcreit 4ch
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
My compilations for SonoffPow (HLW8012) and Bilzwolf (BL0937) are 403K in size, made with arduino.
They work similarly to this:
viewtopic.php?f=10&t=5717
They work similarly to this:
viewtopic.php?f=10&t=5717
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
using the pulse counter channel for the energy meter and a temperature and humidity channel for voltage and wattage.
similar to:
viewtopic.php?f=10&t=5717
To access the Wi-Fi configuration, press button for at least 10 seconds.
in the configuration page enter the data for "suplaServer, Email and Supla Device Name (name with which it will be seen in the cloud)"

read-only field with the latest Supla connection state.
expectedVoltage -- for calibration.
expectedActivePower -- for calibration.
clear counter -- reset pulse counter.
calibration process:
connect a resistive load with a known consumption, for example a 60W bulb.
access wificonfig (button pressed 10 seconds)
in the "expectedVoltage" field set the voltage of your line for example 227.
in the "expectedActivePower" field, set the consumption of the connected load, for example 60.
press save.
The procedure takes about 15 seconds, then the device restarts and the readings will be correct.
the calibration is only executed if there are data in both fields "expectedVoltage" and "expectedActivePower"
This allows for example to change the Wi-Fi network without recalibrating.
Active Power (W) reading in the humidity channel will be /10
11.1 corresponds to a consumption of 111W
OTA update http://XX:81/update -- xx = device ip. for example http://192.168.1.22:81/update
user: admin
password: pass
If someone wants to test?
Test soft, may contain some fault! (hopeful not)
similar to:
viewtopic.php?f=10&t=5717
To access the Wi-Fi configuration, press button for at least 10 seconds.
in the configuration page enter the data for "suplaServer, Email and Supla Device Name (name with which it will be seen in the cloud)"
read-only field with the latest Supla connection state.
expectedVoltage -- for calibration.
expectedActivePower -- for calibration.
clear counter -- reset pulse counter.
calibration process:
connect a resistive load with a known consumption, for example a 60W bulb.
access wificonfig (button pressed 10 seconds)
in the "expectedVoltage" field set the voltage of your line for example 227.
in the "expectedActivePower" field, set the consumption of the connected load, for example 60.
press save.
The procedure takes about 15 seconds, then the device restarts and the readings will be correct.
the calibration is only executed if there are data in both fields "expectedVoltage" and "expectedActivePower"
This allows for example to change the Wi-Fi network without recalibrating.
Active Power (W) reading in the humidity channel will be /10
11.1 corresponds to a consumption of 111W
OTA update http://XX:81/update -- xx = device ip. for example http://192.168.1.22:81/update
user: admin
password: pass
If someone wants to test?
Test soft, may contain some fault! (hopeful not)
You do not have the required permissions to view the files attached to this post.
Last edited by elmaya on Mon Jan 06, 2020 10:49 am, edited 1 time in total.
-
elmaya
- Posts: 1485
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
Not yet, Sonoff Pow2 uses totally different hardware (CSE7766) connected with Rx Tx.
maybe later when the electricity meter is implemented in arduino .
maybe later when the electricity meter is implemented in arduino .
-
shimano73
- Posts: 2174
- Joined: Sun Feb 28, 2016 12:27 pm
- Location: Orzesze
- Been thanked: 1 time
Udało mi się wgrać program od elmaya, za który bardzo dziękuje , działa przekaźnik i to mi wystarcza nie potrzebuję mierzyć zużycia prądu ani czujnika temperatury. Podsumowując udało mi się zmienić oryginalny soft na Suplę bez rozkręcania urządzenia i lutowania 
W elektronice jak nie wiadomo o co chodzi to zwykle chodzi o zasilanie
Wezmę udział w Supla Offline Party 2024
Wezmę udział w Supla Offline Party 2024
-
o_rany
- Posts: 275
- Joined: Wed Nov 14, 2018 5:32 pm
- Location: Sosnowiec
...a mozesz podac step by step jak zrobiles te czary bez rozkrecania?shimano73 wrote: Sat Dec 21, 2019 10:12 am Udało mi się wgrać program od elmaya, za który bardzo dziękuje , działa przekaźnik i to mi wystarcza nie potrzebuję mierzyć zużycia prądu ani czujnika temperatury. Podsumowując udało mi się zmienić oryginalny soft na Suplę bez rozkręcania urządzenia i lutowania![]()
-
Budek
- Posts: 177
- Joined: Sun Apr 08, 2018 2:53 pm
- Has thanked: 1 time
Też poproszęshimano73 wrote: Sat Dec 21, 2019 10:12 am Udało mi się wgrać program od elmaya, za który bardzo dziękuje , działa przekaźnik i to mi wystarcza nie potrzebuję mierzyć zużycia prądu ani czujnika temperatury. Podsumowując udało mi się zmienić oryginalny soft na Suplę bez rozkręcania urządzenia i lutowania![]()
/Budek
