That was my experience just now anyway. I don't have an LN connected to uart to see boot log at the mo
Added after 15 [minutes]:
behaviour confirmed on two different devices. LN-02 switch and unmarked candle bulb module
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamrufus4 wrote:After playing arround with some settings I cant reach the userinterface anymore. Device does not show up on AP or the homenetwork.
Reflashing is possible, but it does not clear the settings. Is there a way to clear settings over the flash-tool or any other way than wifi?
miegapele wrote:You can just power on and off 5 times with short pause in between and it will come up in safe mode and create ap, the same as after initial setup. Then you can clean the settings
rufus4 wrote:reflashing original fw did help at least to connect the device again on homenetwork
thanks again!
rufus4 wrote:Why is my dump file from the HL882KHI 4MB? Docs say that this chip has got 2MB Flash
divadiow wrote:Not sure I've had this with any LNs, but if the RF stuff gets messed up on Beken I've had to reflash factory firmware then re-OBK again. Might be something to try on LN?
divadiow wrote:anyone else tried this PR with powersave 1?
p.kaczmarek2 wrote:typedef enum
{
ACTIVE = 0,
LIGHT_SLEEP = 1,
DEEP_SLEEP = 2,
FROZEN_SLEEP = 3,
} sleep_mode_t;
#elif defined(PLATFORM_LN882H)
if (bOn) {
sysparam_sta_powersave_update(WIFI_MAX_POWERSAVE);
wifi_sta_set_powersave(WIFI_MAX_POWERSAVE);
}
else {
sysparam_sta_powersave_update(WIFI_NO_POWERSAVE);
wifi_sta_set_powersave(WIFI_NO_POWERSAVE);
}
#elsep.kaczmarek2 wrote:- BL0937 is known to work bad with powersave because BL0937 requires a change interrupt to work in order to count CF/CF1 pulses
rufus4 wrote:I
Measured with a DMM and a clamp meter the device's power with relays off and on.
OpenLN882H_1.17.521 takes 8.5 and 12.5 mA
original Tuya FW takes the same 8,5 and 12.5 mA (this is incredible 2/3Watts)
rufus4 wrote:
OpenLN882H_1.17.521 with experimental "powersave 1" takes an average of 6.5 and 10.5 mA (but GUI is not stable, freezes after a while)
rufus4 wrote:p.kaczmarek2 wrote:- BL0937 is known to work bad with powersave because BL0937 requires a change interrupt to work in order to count CF/CF1 pulses
maybe thats the point?
rufus4 wrote:Is there a chance to get a DHT22 working on the LN882H?
rufus4 wrote:While setting the pins, I found all of this DHT's to choose on the list. So I thought I'll try and did solder one more pinout to pin 4 on the WL2S board and connected a DHT22.
rufus4 wrote:Does the drivers start by themselves? DHT and NTP drivers I never have seen listed as working on the main GUI page.
startDriver NTPmax4elektroda wrote:to start NTP.
Only BL0937 is an exception and starts automatically.
backlog first command; second command etc; third
TL;DR: 70 °C internal temperature was logged on stock settings, but drops to 32 °C after PowerSave 2; “LN882H flashing is very similar to ESP8266 flashing” [Elektroda, p.kaczmarek2, post #20923772] Use 115 200 baud and keep BOOT (A9) low for reliable uploads [Elektroda, voodoopt, post #20958664]
Why it matters: Correct wiring, speed and power rules prevent bricked modules and overheating.
• Flash size: 2 MB NOR, dump script trimmed to 0x200000 bytes [Elektroda, divadiow, post #21284784] • Stable upload speed: 115 200 baud; 2 Mbit/s often fails [Elektroda, voodoopt, post #20958664] • BOOT=A9 must stay at GND from power-on until flashing ends [Elektroda, p.kaczmarek2, post #20905518] • PowerSave 2 cuts idle current from ≈55 mA to 35 mA (-36 %) [Elektroda, max4elektroda, post #21064064] • OTA bug fixed in releases ≥1.17.789; Firefox now works [Elektroda, divadiow, post #21332121]