xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
3k stars 638 forks source link

Cannot learn RF codes #275

Closed xoseperez closed 6 years ago

xoseperez commented 6 years ago

Originally reported by: Stefan Ries (Bitbucket: steff517, GitHub: steff517)


Steps:

  1. Flash the RF Bridge
  2. Set the admin password, Re-Login
  3. Configure WIFI
  4. Configure MQTT

I didn't yet save the configuration (which would reboot the device). I tried to learn a RF Code. The device beeped, I pressed the button on the remote, it beeped again. However, the code was not learned. Now I saved the config and logged in again.

Current State: Pressing the "learn" button of of any channel doesn't do anything. It doesn't beep. Rebooting, Power Off/On, Re-Flashing the device doesn't change the behaviour. I can't find a way to learn the codes.

xoseperez commented 6 years ago

Removing milestone: 1.9.9 (automated comment)

xoseperez commented 6 years ago

:)

xoseperez commented 6 years ago

Original comment by Stefan Ries (Bitbucket: steff517, GitHub: steff517):


Hi,

I tested a little more and - this "bug" is very funny. I had the power of our main network switch connected to one of the RF controlled switches. lol

Can be closed

xoseperez commented 6 years ago

Hi

The beep happens when the esp8266 tells the efm8 to learn a new code. It should beep once and then three times upon reception. If the first beep does not sound it is either a connection problem (are the jumpers in place) or the firmware is not the proper one.

It could also be that the firmware is in safe mode (too many crashes or reboots in a row). Do you have access to the console? Either via serial or telnet?

xoseperez commented 6 years ago

Original comment by Stefan Ries (Bitbucket: steff517, GitHub: steff517):


I managed to reproduce it in regular admin mode (not on 1st setup), also on Version 1.9.8