mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-03 06:54:16 +01:00
Page:
Troubleshooting
Pages
3rd Party Plugins
Adding Custom IR Codes
Alexa
ArduinoIDE
Arilux LC12
Avatar Controls Smart Stecker EU
Backup
Binaries
Build and update from Visual Studio Code using PlatformIO
Buttons and switches
CodingStyle
Configuration
Contributions
Domoticz
Espurna OTA Manager
Firmware
Geiger Counter
Hardware AG L4
Hardware AI Thinker AI Light
Hardware Arilux AL LC06
Hardware Arilux AL LCxx
Hardware Arilux E27
Hardware Arniex Swifitch
Hardware Autohometion LYT8266
Hardware BLITZWOLF BW SHP2
Hardware Bakibo 9W E27 RGB CCT bulb
Hardware Bestek MRJ1011
Hardware EXS WiFi Relay v3.1
Hardware Electrodragon ESP Relay Board
Hardware Generic DHT11 v10
Hardware Generic DS18B20 v10
Hardware Generic ECH1560
Hardware Generic RGBLed v10
Hardware Generic Relay v40
Hardware Generic V9261F
Hardware Gosund SP111
Hardware Gosund WP3
Hardware Green ESP8266 Relay
Hardware HEYGO HY02
Hardware Hama WiFi Steckdose, 3.500W, 16A (Article Number 00176533)
Hardware Heltec Touch Relay
Hardware Huacanxing H80x
Hardware IKE ESPike
Hardware IWOOLE_LED_TABLE_LAMP
Hardware Itead 1CH
Hardware Itead BN SZ01
Hardware Itead Motor
Hardware Itead S20
Hardware Itead S26
Hardware Itead SV
Hardware Itead Slampher v2
Hardware Itead Slampher
Hardware Itead Sonoff 4CH Pro R2
Hardware Itead Sonoff 4CH
Hardware Itead Sonoff B1
Hardware Itead Sonoff Basic
Hardware Itead Sonoff Dual
Hardware Itead Sonoff LED
Hardware Itead Sonoff POW R2
Hardware Itead Sonoff POW
Hardware Itead Sonoff RF Bridge Direct Hack
Hardware Itead Sonoff RF Bridge
Hardware Itead Sonoff RF
Hardware Itead Sonoff S31
Hardware Itead Sonoff T1
Hardware Itead Sonoff TH
Hardware Itead Sonoff Touch
Hardware JINVOO VALVE SM AW713
Hardware Jan Goedeke Wifi Relay Board
Hardware Jorge Garcia Wifi Relay Board
Hardware KMC 70011
Hardware LINGAN SWA1
Hardware LSC Smart LED Light Strip
Hardware Lampi RGBWW Battery Powered Smart Light
Hardware Linksprite Linknode R4
Hardware Litesun LA WF7
Hardware Lombex Lux Nova
Hardware Magic Home LED Controller
Hardware Magic Home Light bulbs
Hardware ManCaveMade ESPLive
Hardware Maxcio W DE004
Hardware Maxcio W US002S
Hardware Muvit IO miobulb001
Hardware NEO COOLCAM NAS WR01W
Hardware NodeMCU Lolin
Hardware OBI Euromate Wifi Plug v2
Hardware OBI Euromate Wifi Plug
Hardware OpenEnergyMonitor Wifi MQTT Relay
Hardware Orvibo B25
Hardware QuinLED
Hardware TUYA in line dimmer
Hardware Teckin SP22 v1.4 and v1.6
Hardware Tinkerman ESPurna H
Hardware Tonbux Mosquito Killer
Hardware Tonbux Powerstrip02
Hardware Tonbux XS SSA06
Hardware Twakie Smart Plug
Hardware Wemos D1 Mini Relay Shield
Hardware WiOn 50055
Hardware Witty Cloud
Hardware WorkChoice EcoPlug
Hardware Xenon SM PW 702U
Hardware YT E002
Hardware YiDian XS SSA05
Hardware Zhilde ZLD 44EU W
Hardware Zhilde ZLD 64EU W
Hardware
Home
HomeAssistant
IR
InfluxDB
LED
Lights
MQTT
NTP
OTA TUYA
OTA flashing of virgin Itead Sonoff devices
OTA
Other Devices Unsupported
PWM
PlatformIO
Posts & Videos
Prometheus
PullRequests
RESTAPI
RFBRIDGE
RPN Rules
SCHEDULER
Sensor PZEM004T
Sensors
SensorsConfiguration
Software features
Telnet
Terminal
Thingspeak
Troubleshooting
TwoStepUpdates
WebInterface
WiFi
mDNS
Clone
8
Troubleshooting
Maxim Prokhorov edited this page 2020-01-24 01:49:22 +03:00
Table of Contents
Problems resetting the board
After flashing the firmware via serial do a hard reset of the device (unplug & plug).
There is an issue with the ESP.reset() method. Check https://github.com/esp8266/Arduino/issues/1017 for more info.
Undefined reference to `__ieee754_sqrt'
FIX: You are using an old ESP8266 Core for Arduino
/home/odroid/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib/libm.a(lib_a-w_sqrt.o):(.literal+0x8): undefined reference to `__ieee754_sqrt'
/home/odroid/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib/libm.a(lib_a-w_sqrt.o): In function `sqrt':
/home/pi/xtensa/esp-open-sdk/crosstool-NG/.build/src/newlib-2.0.0/newlib/libm/math/w_sqrt.c:69: undefined reference to `__ieee754_sqrt'
collect2: error: ld returned 1 exit status
*** [.pioenvs/sonoff-pow-debug/firmware.elf] Error 1
This is due to a missing function in a core library (https://github.com/esp8266/Arduino/issues/612, not related to ESPurna). It will be probably solved with 2.4.0 version of ESP8266 Core for Arduino. In the meantime a quick fix is to replace the "(...toolchain-xtensa...)/xtensa-lx106-elf/sysroot/lib/libm.a" with the file one: https://files.gitter.im/esp8266/Arduino/Abqa/libm.a.tbz.
Wifi Stops
- First check you supply enough voltage to ESP8266. Not all power supplies are the same.
Unable to login to Web UI
- Use Chrome or Firefox browser.
- Safari and Edge may not work with the WebSockets Auth scheme Espurna uses by default
- Safari has a known issue requesting authentication twice: https://github.com/xoseperez/espurna/pull/1843#issuecomment-523435455
Unstable WiFi when using OpenWrt & mwlwifi
- Known issue with devices using mwlwifi (Linksys WRT32X, linksys 3200acm etc.):
https://github.com/kaloz/mwlwifi/issues/278
https://gitter.im/tinkerman-cat/espurna?at=5d961ada464b432fc1b2a4dd
https://gitter.im/tinkerman-cat/espurna?at=5da87e7f65dd8569a0f30dd8 - Turning off WMM mode resolves the issue, switching WiFi to 802.11G mode
Custom build unstable when using specific router models
- Known issue with some older router models: https://github.com/xoseperez/espurna/issues/2104#issuecomment-574249525
- Adding
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK221to PlatformIObuild_flags = ...will may solve the issue - Arduino IDE provides a menu option for SDK version selection
Release build telnet / websocket on softAP closes after connecting to configured network
- After
wifi.resetcommand orReconnectbutton is pressed, TCP connection will be aborted from the client side but neither web server or telnet server will register that event. Any new telnet client will be rejected. Web server will create a second session, possibly causing a crash due to the extensive RAM usage. - Known issue with Core 2.3.0. Device will eventually reset the connection, but only after ~10 minutes.
- Custom build using latest Core should not have the issue present.
Getting started
- Backup the stock firmware
- Flash a pre-built binary image
- Flash a virgin Itead Sonoff device without opening
- Flash TUYA-based device without opening
- Flash Shelly device without opening
- Using PlatformIO
- from Visual Studio Code
- Using Arduino IDE
- Build the Web Interface
- Over-the-air updates
- Two-step updates
- ESPurna OTA Manager
- NoFUSS
- Troubleshooting
Supported hardware and options
Configuration
Integrations
- MQTT
- REST API
- Domoticz
- Home Assistant
- InfluxDB
- Prometheus metrics
- Thingspeak
- Alexa
- Google Home
Network
Developers
- Architecture
- 3rd Party Plugins
- Coding style
- Pull Requests
More around ESPurna
Support
If you're looking for support:
- Issues: this is the most dynamic channel at the moment, you might find an answer to your question by searching open or closed issues.
- Wiki pages: might not be as up-to-date as we all would like (hey, you can also contribute in the documentation!).
- Gitter channel: you have better chances to get fast answers from project contributors or other ESPurna users. (also available with any Matrix client!)
- Issue a question: as a last resort, you can open new question issue on GitHub. Just remember: the more info you provide the more chances you'll have to get an accurate answer.