Open KaMyKaSii opened 1 year ago
Thanks, I will check this soon. Are you able to determine with which version it has started happening?
Thanks, I will check this soon. Are you able to determine with which version it has started happening?
I flashed this custom firmware on my device for the first time yesterday on version 1.15.524 and every other OTA I've installed has the same problem. Can you reproduce the problem?
Not yet, my yesterdays build seems ok: https://imgur.com/a/aGVp57h I will also test official build now
With a small shell script I wrote I noticed that the device starts to respond and with its web interface functional again after 19 minutes of inactivity, three different tests had this same result. Is this time some default in the code?
#!/bin/bash
device_ip=192.168.31.67
echo "Waiting for ${device_ip} response..."
start=${SECONDS}
while ! ping -c 1 ${device_ip} 1>/dev/null; do
sleep 1
done
elapsed_time=$((SECONDS - start))
echo "${elapsed_time} seconds until a successful ping."
kamykasii:[~]: ./timetosuccessfulping.sh
Waiting for 192.168.31.67 response...
1144 seconds until a successful ping.
I don't know anything about that. There are no magic delay like that.
Do you have MQTT connected? I presume no, just like on your video?
How many devices do you have?
Is the free memory size in Logs going down gradually?
This is my only device, I bought it mainly for the power meter function at a low price, I'm not into automation. So I basically just installed OpenBK, looked for some working template and did the basic calibration. Looking at the log the value "free 88040" seems to be pretty constant.
same here. flashed 2 devices RGBW with firmware version 1.15.621 - after reboot, ping is ok. once I open the browser and try to connect to web server of the firmware, ping stops working.
I have another device but this one is RGB (it has on the mainboard the last pin soldered to "B" pin. flashed same firmware (1.15.621) - works without any problems. after reboot ping ok, web server responds, etc.
Chipset BL602
Q: can I factory reset via MQTT?
fixed: power on/off multiple times (10) so that the device will start in AP mode; once in AP go and remove all PIN configuration (I used the one suggested in the app and that seemed to be the problem): "pins": { "3": "PWM;2", "4": "PWM;0", "17": "PWM;3", "20": "PWM;4", "21": "PWM;1" },
now I have to figure out what are the pins config for PWM RGBW.
The internal watchdog also seems to stop receiving ping replies, even if it was pointing to an unused ip address (192.168.0.1) that wouldn't ever reply.
OpenBL602_DEADBEEF
0 drivers active, total 12
Cfg size: 3584, change counter: 2, ota counter: 0, boot incompletes 1 (might change to 0 if you wait to 30 sec)!
Wifi RSSI: Excellent (-1dBm)
MQTT State: not configured
Build on Sep 15 2023 08:05:30 version 1.17.245
Online for 5 minutes and 30 seconds
Device MAC: DE:AD:DE:AD:BE:EF <<< censored
Short name: oblDEADBEEF, Chipset BL602
This is what I tested:
Info:MAIN:Main_Init_Before_Delay Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 2 changes count. Info:GEN:PIN_SetupPins pins have been set up. Info:MAIN:Main_Init_Before_Delay done Info:MAIN:Main_Init_Delay Info:MAIN:Main_Init_Delay done Info:MAIN:Main_Init_After_Delay Info:MAIN:Using SSID [xxxxxxxxxx] Info:MAIN:Using Pass [xxxxxxxxxx] Info:MQTT:MQTT_RegisterCallback called for bT oblDEADBEEF/ subT oblDEADBEEF/+/set Info:MQTT:MQTT_RegisterCallback called for bT bl602s/ subT bl602s/+/set Info:MQTT:MQTT_RegisterCallback called for bT cmnd/oblDEADBEEF/ subT cmnd/oblDEADBEEF/+ Info:MQTT:MQTT_RegisterCallback called for bT cmnd/bl602s/ subT cmnd/bl602s/+ Info:MQTT:MQTT_RegisterCallback called for bT oblDEADBEEF/ subT oblDEADBEEF/+/get Error:CMD:cmd startScript NOT found (args autoexec.bat) Info:MAIN:Main_Init_After_Delay done Info:MAIN:Time 1, idle 0/s, free 109304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 2, idle 0/s, free 109304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 3, idle 0/s, free 109304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 4, idle 0/s, free 109304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 5, idle 0/s, free 109304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1 Info:MAIN:Time 6, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Boot complete time reached (5 seconds) Info:MAIN:Time 7, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 8, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 9, idle 0/s, free 109264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21 Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4 Info:MAIN:Time 10, idle 0/s, free 103640, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 11, idle 0/s, free 109264, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MQTT:mqtt_host empty, not starting mqtt Info:MAIN:Time 12, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 13, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 14, idle 0/s, free 106728, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 15, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 16, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 17, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 18, idle 0/s, free 108976, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 19, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 20, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 21, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 22, idle 0/s, free 106728, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 23, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 24, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 25, idle 0/s, free 109264, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 26, idle 0/s, free 108976, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 27, idle 0/s, free 90232, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 5/21 Info:CMD:[WebApp Cmd 'loglevel 3' Result] OK Info:MQTT:mqtt_host empty, not starting mqtt Info:MAIN:Time 28, idle 0/s, free 103640, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 29, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 30, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 31, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 32, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 33, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 34, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 35, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 36, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 37, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 38, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 39, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 40, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 41, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 42, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 43, idle 0/s, free 109264, MQTT 0(2), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MQTT:mqtt_host empty, not starting mqtt Info:MAIN:Time 44, idle 0/s, free 108976, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 45, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 46, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 47, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 48, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 49, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 50, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 51, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 52, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 53, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 54, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 55, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 56, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 57, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 58, idle 0/s, free 109264, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 59, idle 0/s, free 106728, MQTT 0(3), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MQTT:mqtt_host empty, not starting mqtt Info:MAIN:Time 60, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 61, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 62, idle 0/s, free 106728, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 63, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 64, idle 0/s, free 106728, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 3/21 Info:MAIN:Time 65, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 66, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 67, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 68, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 69, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing -1, socks 2/21 Info:MAIN:Time 70, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing 1, socks 2/21 **Here stops responding to pings but obviously traffic still goes thru** Info:MAIN:Time 71, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing 2, socks 2/21 Info:MAIN:Time 72, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing 3, socks 2/21 Info:MAIN:Time 73, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing 4, socks 2/21 Info:MAIN:Time 74, idle 0/s, free 109264, MQTT 0(4), bWifi 1, secondsWithNoPing 5, socks 2/21 Info:MAIN:Time 75, idle 0/s, free 108976, MQTT 0(4), bWifi 1, secondsWithNoPing 6, socks 3/21 Info:MQTT:mqtt_host empty, not starting mqtt Info:MAIN:Time 76, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 7, socks 2/21 Info:MAIN:Time 77, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 8, socks 2/21 Info:MAIN:Time 78, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 9, socks 2/21 Info:MAIN:Time 79, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 10, socks 2/21 Info:MAIN:Time 80, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 11, socks 2/21 Info:MAIN:Time 81, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 12, socks 2/21 Info:MAIN:Time 82, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 13, socks 2/21 Info:MAIN:Time 83, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 14, socks 2/21 Info:MAIN:Time 84, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 15, socks 2/21 Info:MAIN:Time 85, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 16, socks 2/21 Info:MAIN:Time 86, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 17, socks 2/21 Info:MAIN:Time 87, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 18, socks 2/21 Info:MAIN:Time 88, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 19, socks 2/21 Info:MAIN:Time 89, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 20, socks 2/21 Info:MAIN:Time 90, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 21, socks 2/21 Info:MAIN:Time 91, idle 0/s, free 109264, MQTT 0(5), bWifi 1, secondsWithNoPing 22, socks 2/21 Info:MQTT:mqtt_host empty, not starting mqtt Info:MAIN:Time 92, idle 0/s, free 109264, MQTT 0(6), bWifi 1, secondsWithNoPing 23, socks 2/21 Info:MAIN:Time 93, idle 0/s, free 109264, MQTT 0(6), bWifi 1, secondsWithNoPing 24, socks 2/21 ...
Have other device running v1.17.98 with a BK7231N chipset that doesn't show this issue.
Tried downgrading to OpenBL602_1.17.98_OTA.bin.xz.ota
but didn't help.
I think have the same problem. I'm using 3 blubs with BK7231T. Wifi is good. When I go to config Flags the site loads half and the bulb isn't reach anymore for the next minutes. I'm on 1.17.343
... isn't reach anymore for the next minutes
Do they start responding again after those minutes?
Can you configure them via web app?
On Thu, Dec 28, 2023, 12:15 PM lulol @.***> wrote:
... isn't reach anymore for the next minutes
Do they start responding again after those minutes?
— Reply to this email directly, view it on GitHub https://github.com/openshwprojects/OpenBK7231T_App/issues/709#issuecomment-1871068931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUMGZ6YG7PMESH2DYI5DRYLYLVIERAVCNFSM6AAAAAAVQKEH7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGA3DQOJTGE . You are receiving this because you commented.Message ID: @.***>
... isn't reach anymore for the next minutes
Do they start responding again after those minutes?
Yes they respond after some time... I didn't look on time how long it took... When they doesn't respond, the devices are also marked as offline in mqtt.
@openshwprojects Have updated and configured via web app this same BL602 board via OTA from version 1.17.245 to the latest version 1.17.376. All went smoothly and without any issue.
But I still see a similar behavior as previously: It stops responding to pings about 70 seconds after boot, even without accessing the web interface.
@coltc50 I've been pinging mine for over an 1 hour and never responded again. Although in my case mqtt and the web interface keep working just fine. MQTT Explorer and nodered show the associated traffic as expected. Even Alexa still is able to handle it without any problem. The only symptom I see is the lack of ICMP ping replies, which is just a minor issue, only with this board. After pressing the restart button in the web interface it replies again until it stops 70 seconda later.
Have you tried to do a factory reset and full reconfigure as I did show above?
Current Device: UpTime: 581s Build: Build on Dec 25 2023 20:45:48 version 1.17.376 IP Address: 192.168.1.XXX MAC Address: XXXXXXXXXXXX MQTT Server: 192.168.1.XXX:1883 MQTT Topic: oblXXXXXXXX Device Short Name: XXX WEBAPP Url root: https://openbekeniot.github.io/webapp/ Chipset: BL602 Flags: 1024 Version: 1.17.376
Export Current Template Please fill all fields before submitting. { "vendor": "Tuya", "bDetailed": "0", "name": "Full Device Name Here", "model": "enter short model name here", "chip": "BL602", "board": "TODO", "flags": "1024", "keywords": [ "TODO", "TODO", "TODO" ], "pins": { "2": "Rel;0", "4": "Btn;0", "20": "LED_n;0", "22": "Btn;0" }, "command": "backlog startDriver WEMO; startDriver SSDP", "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg", "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html" }
Describe the bug After entering the "Config module" page, the device no longer responds to the page or ping. The router says that the device is still connected to Wi-Fi, basic operation like turning on/off via the physical button still works.
Firmware:
To Reproduce Just open the "Config module" page. The same happens sometimes when submitting deactivate on some "Gerenal/flags" options.
Screenrecord https://user-images.githubusercontent.com/17092335/222978518-358da5ec-76c6-47e5-9891-7286da365d5c.mp4