Author Topic: Vera3 power light is blinking green&orange OR power light is solid green  (Read 82430 times)

Offline cj

  • Hero Member
  • *****
  • Posts: 1253
  • Karma: +1/-0
    • MiCasaVerde
A. POWER LIGHT IS BLINKING Green&Orange
In firmwares lower that 1.5.270 there is present a bug in the kernel nand driver which can cause a corruption of the jffs2 file system, making the unit to hang at boot when it's mounting the rootfs_data mtd.
It seems that the corruption is happening when the unit is unplugged from the battery pack. Because of this we've added a
POWER OFF feature in the new firmware. So before disconnecting the battery pack keep pressed for 5 seconds the HELP button and wait 5 seconds after your see all light turning off (excepting the Power light which will be solid green) then unplug the battery pack.
In case your unit, has Internet connection and it's POWER LIGHT is FLASHING GREEN AND ORANGE for more than 15 minutes it's possible that you're affected by the bug.
In order to fix your unit you can follow this guide :
NOTE : doing this won't fix any other issues like ZWave not working/ZWave No-Dongle etc

Try to restore you unit firmware following this tutorial, if you are unable, then follow the bellow steps and be sure at the end to upgrade your firmware to the latest version!

1. Turn OFF wireless or any other connection that your computer might have(blue-tooth/virtual Ethernet etc)
2. Connect your computer directly into the LAN1 port of the Vera3 unit
3. Plug the power adapter in Vera and when the red light starts blinking, press and release the RESET button.
You should notice the power led to start flashing green&orange faster.
4. Put a static IP on your computer (192.168.1.2) and the gateway 192.168.1.1 (subnet mask will always default to 255.255.255.0 - so leave it like that)
5. Open a command prompt / terminal and run the following commands :
5.1. ping 192.168.1.1
- if you receive a reply continue, else power cycle you Vera unit and retry step 3
5.2. telnet 192.168.1.1
- if you don't have telnet, please install it accordingly to your OS

After you're connected to the unit through telnet you should see a command prompt like this :
root@(none):/#

In there run these commands:

Code: [Select]
flash_eraseall -j /dev/mtd7
sync
echo b > /proc/sysrq-trigger

5. Now the Vera unit should reboot and you should see it booting up. It might take a couple of minutes, first the POWER LED should be solid orange, then  blink green&orange slow when it's booting and after that green solid when it finished booting up.
6. Change your IP address back on automatically or 192.168.81.2 and gateway 192.168.81.1
7. Check that the Dashboard loads on 192.168.81.1 after all the LEDs are on and solid green
Now your Vera unit is reseted to factory defaults and is running the same base firmware and MiOS firmware as it was before, so you should :
8. first upgrade your firmware by visiting : http://cp.mios.com/firmware and then on the new version
9. restore a previous backup of your unit from your account (cpui5.mios.com(be sure to login) -> Setup -> Backups).

B. POWER LIGHT IS SOLID Green (optional USB1 led can blink)
If from the time you plugged the power cord into your unit only the POWER light has lit green (optional USB1 led can blink) and no other leds are light up/blinking,
it's possible that your unit kernel mtd partition is corrupted and the bootloader can't load any OS from the flash.
In order to recover your unit you need to re-write the firmware on the unit from the bootloader using this tutorial.

C. ALL LIGHTS ARE SOLID Green
Each Vera3 unit has to pass a testing process in the factory which will confirm that all leds, buttons, zwave and networking modules are working. In order to mark the start of this process the unit will light up solid green all its leds and will hang the boot process until this test pass with success all the steps. In case this happens please contact support and mention how the unit get in this state and from where you bought it.

D. ALL LIGHTS ARE OFF
If you've connected the correct power adapter (12V 1A) to your unit and this is plugged into a working socket, it's possible to have a defective power supply or Vera unit. Please try a different power adapter which has the same polarity/voltage or contact sales for a RMA.
« Last Edit: June 05, 2017, 06:27:07 am by John M. »

Offline garrettwp

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6376
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #1 on: January 11, 2012, 12:32:00 pm »
CJ,

Thank you for the instructions and providing an explanation of what was causing the problem.

- Garrett

Offline Texan

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #2 on: January 13, 2012, 01:00:06 am »
cj,

I read one of your older post that said "If you're more techie  you can open the Vera3 unit and connect a serial cable (57600 8N1) to it and watch the boot process"  I have connected to the Vera 3 via a 3.3v serial-usb board.  I can watch the boot sequence in terminal.  My issue is, I don't think I have the encoding set correctly (unless it is unicode and the code is not in english).  Can you give me any tips?   

Out of the box, my Vera 3 only shows a constant green power light.  I have left it powered on for hours with no change.  I get no response from lan1 when I ping sweep 192.168.1.XXX or 192.168.81.XXX.  Double tapping reset does nothing. 

 

Offline Texan

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #3 on: January 13, 2012, 01:07:35 am »
Also, I noticed if the unit is powered on while holding the z-wave button, the USB 1 light flashes.  Is it possible to download firmware and flash it via USB1? 

Offline cj

  • Hero Member
  • *****
  • Posts: 1253
  • Karma: +1/-0
    • MiCasaVerde
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #4 on: January 13, 2012, 06:02:03 am »
I read one of your older post that said "If you're more techie  you can open the Vera3 unit and connect a serial cable (57600 8N1) to it and watch the boot process"  I have connected to the Vera 3 via a 3.3v serial-usb board.  I can watch the boot sequence in terminal.  My issue is, I don't think I have the encoding set correctly (unless it is unicode and the code is not in english).  Can you give me any tips?
I don't know what terminal client are you using, but
- on Windows with putty and default settings is working
- on Linux with microcom and default setting si working
You don't have to change the encoding in them. In your case I assume that you don't have the correct wires set.
If you're using and USB serial adapter, don't connect the Vcc pin to the board, but if you're using a serial adapter that's connecting on the serial port or your computer or in a usb-to-serial converter connected to your computer, you can see strange characters in the terminal.

Quote
Out of the box, my Vera 3 only shows a constant green power light.  I have left it powered on for hours with no change.  I get no response from lan1 when I ping sweep 192.168.1.XXX or 192.168.81.XXX.  Double tapping reset does nothing. 
In order for the reset button to work, the OS has to be able to start and NetworkMonitor to be running, in your case if the power light from the startup is green I can assume that the OS doesn't even start to boot, like something in the kernel mtd can be corrupted or the rootfs mtd where the OS resides to be erased/corrupted.

Quote
Also, I noticed if the unit is powered on while holding the z-wave button, the USB 1 light flashes.  Is it possible to download firmware and flash it via USB1?

If you keep the ZWave button pressed while you plug the power cable in your unit, this enters automatically in a download mode, from where you can re-write the firmware using the "Firmware Recovery tool" which is working only on Windows XP and with a special firmware file. If you have Windows XP please contact me by pm/mail in order to try this method. Since right now isn't very test I don't want to publish it largely.

Offline metttiu

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #5 on: January 15, 2012, 06:28:27 am »
Out of the box, my Vera 3 only shows a constant green power light.  I have left it powered on for hours with no change.  I get no response from lan1 when I ping sweep 192.168.1.XXX or 192.168.81.XXX.  Double tapping reset does nothing. 


I have the same problem. I also have windows xp. how can I proceed?

Offline Texan

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #6 on: January 15, 2012, 10:37:36 pm »
cj,

I would like to try the usb Firmware Recovery Tool, but  I am unable to send pm's on this forum.   I have turned on the ability to have other members email me if you want to proceed over email, send me one.   

I switched to Putty and I am getting the same results.  I do not connect the 3.3v or the ground.  If I do this, all of the Vera3 lights turn on and stay on when  I power up the unit.  I'm only connecting RX and TX and I am using a 6 inch wire from the pins on the vera3 and the USB serial adapter.   I'm wondering If this setup is causing issues.  The data I do get looks the same every time I boot.

Offline cebi

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #7 on: January 15, 2012, 10:40:31 pm »
Brand new unit Exact same problem. Ran commands, unit rebooted and power light still flashing green/orange slowly.

Connected the 3.3V usb and it looks like the unit is hanging on SQUASHFS errors
« Last Edit: January 15, 2012, 10:56:31 pm by cebi »

Offline cj

  • Hero Member
  • *****
  • Posts: 1253
  • Karma: +1/-0
    • MiCasaVerde
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #8 on: January 16, 2012, 10:38:05 am »
I switched to Putty and I am getting the same results.  I do not connect the 3.3v or the ground.  If I do this, all of the Vera3 lights turn on and stay on when  I power up the unit.  I'm only connecting RX and TX and I am using a 6 inch wire from the pins on the vera3 and the USB serial adapter.   I'm wondering If this setup is causing issues.  The data I do get looks the same every time I boot.
If you don't connect the GND (ground) it's perfectly normal to not see anything or just scrambled text, how do you expect this to work if you don't have the zero-voltage reference level on your serial adapter?
You need to connect the wires like this :
Serial Adapter -> Vera Unit
GND               ->  GND
TX                  ->  RX
RX                  ->  TX
« Last Edit: January 17, 2012, 05:54:19 am by cj »

Offline jrkalf

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
    • Jelle's Place
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #9 on: January 16, 2012, 02:02:57 pm »
Sorry to perhaps ask the wrong question here CJ, but You're telling us any version lower then 1.5.270... when I'm going to my firmware update screen it shows version 1.5.254 is the latest version  ;D

CJ : I haven't fixed all the issues and don't have yet enough confirms that the patches fixed the issues in order to release a new firmware version. I hope this week to release a new beta and if everything is ok next week will publish a new firmware.
« Last Edit: January 17, 2012, 06:07:57 am by cj »
If you can't fix it with a hammer, you've got an electrical issue.
Vera V3 UI5, domotiga (Aeon stick), FHEM (CUL-FS20/FHT)

Offline cebi

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #10 on: January 16, 2012, 06:25:53 pm »
Thanks to CJ I'm up and running. Great support and response. Had to do a firmware restore.

Also once online I did an upgrade to the most recent firmware which is at 1.5.254

Offline Texan

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #11 on: January 16, 2012, 11:07:58 pm »
cj,

I can read the boot sequence.  (I had connected RX-RX instead of RX-TX, in this configuration, if you connected the ground, all of the LED's came on and stayed on. )

Here are the last few lines from the boot sequence.....

3: System Boot system code via Flash.
## Booting image at bc0f0000 ...
   Image Name:   MIPS OpenWrt Linux-2.6.37.1
   Created:      2011-10-26  15:01:23 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    875710 Bytes = 855.2 kB
   Load Address: 80000000
   Entry Point:  80000000
......................................................   Verifying Checksum ... Bad Data CRC


Everyone: This is from the constant green light issue not the blinking green and orange issue.

CJ : In this case it looks like the kernel mtd partition is corrupted. You have to rewrite the OS on the board using tftp or the Recovery tool. I'll send you an email with the instructions.
« Last Edit: January 17, 2012, 09:27:59 am by cj »

Offline Texan

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #12 on: January 18, 2012, 01:08:14 am »
Thank you cj.  The Recovery Tool was easy to use, and I have had no issues since flashing the new firmware.  I've added my first zwave device and everything is working swimmingly.

Offline Canadian EC

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #13 on: January 18, 2012, 04:29:23 pm »
Speaking of powering the unit off, is there any problem with removing power altogether occasionally for a number of hours?  Is programming lost or are there any other known or expected consequences?

Offline Gommasch

  • Sr. Newbie
  • *
  • Posts: 48
  • Karma: +0/-0
Re: Vera3 power light is blinking green&orange OR power light is solid green
« Reply #14 on: January 19, 2012, 04:04:53 am »
I also have a Vera3 with a constant green light - can I get the same instructions as Texan did please.