-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
espurna is very unstable on my device #743
Comments
Yes, dev branch is currently unstable. I'm working on it. |
I have just tried master branch and it behaves exactly the same, do you have any tips? |
@xoseperez also, I have initially flashed it OTA(because the previous firmware had this setup). Do you think it makes sense to disconnect the device and reflash using USB programmer? |
There should be no difference between an OTA-flashed and a wired-flashed device. But I don't recommend using dev version on "production" devices and even less on devices like light bulbs that might require rewiring to recover from a bad flash. |
I have now switched to master, but it still works the same way..
…On Mon, Apr 2, 2018, 11:26 PM Xose Pérez ***@***.***> wrote:
There should be no difference between an OTA-flashed and a wired-flashed
device. But I don't recommend using dev version on "production" devices and
even less on devices like light bulbs that might require rewiring to
recover from a bad flash.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#743 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA7HejlAdCfA3s_LL8U3k2fXbGyl7N2bks5tkxYpgaJpZM4TChSc>
.
|
Sync back to 1.12.4 it is very stable. Something is bad with 1.12.5. |
@xoseperez surprisingly, after I have switched to espressiff8266 1.6.0(arduino core 2.4.0) it works perfectly fine |
There is a problem with the NtpClientLib. I've been debugging it for some days and I've located the precise commit that breaks it but I cannot see the reason why. It but it triggers the Software Watchdog. I'm using a custom fork of the library to bypass this for the moment. Current dev branch should be stable (12ef856). |
Staged for release |
Hi,
my settings:
board: https://github.com/ArnieX/swifitch
hardware.h:
platformio.ini:
My button on D2 is a regular toggle light switch. I have a DHT11 sensor on pin 2.
build worked fine and I have flashed the firmware. It looks like its working, web ui is available, connected to wifi, the button works correctly, but everything is very unstable, for example, I can toggle the light a few times and then it get stuck, ui becomes unresponsive, sometimes flipping the switch physically helps, sometimes doesn't. After multiple hours of running it quickly toggles the relay sometimes which briefly turns the light on and off.
I tried to debug that by enabling telnet on the UI, but saving options which go through websockets doesn't work, and I can't enable it. The same thing happens with MQTT settings, I tried to set my local mqtt host there, and clicking save does nothing - after refreshing the screen, settings are back to disabled.
Does anyone have an idea why that happens? the chip is the same in most of the supported boards, so I guess I have incorrect build settings? Hardware should be fine because it works stable and correctly with simpler(https://github.com/LubergAlexander/swifitch-software) firmware.
Technical data from main UI screen:
![screen shot 2018-03-31 at 9 26 23 am](https://user-images.githubusercontent.com/968570/38165262-ac53a2c4-34c5-11e8-9deb-a95038e5c622.png)
The text was updated successfully, but these errors were encountered: