Arduino Block for Edison, only works connected to USB

Please help, this was the last part of my project and I am clueless as to why it does not work as expected:

Hardware: Edison, Base block (2 USB), Arduino block, battery block.

Project: Portable system for remotely monitoring light energy.

I am measuring light through an analog pin on the Arduino block for Edison, and transmitting this information via WiFi to a server.

When I start the system loading the sketch with the Arduino IDE and the Sparkfun base block is connected to the PC through USB, the analog reading that is transmitted is correct. If I disconnect the USB to be wireless, the analog reading is still correctly sent and received by the server.

The problem shows up when I restart the block by power off/ power on sequence: the system connects to the remote server but sends a zero reading.

When I run this same experiment with a system configured for an Edison/Arduino breakout board, this does not happen, so I suspect it might have to do with the Firmata layer, which is the only difference between the two configurations.

Thanks in advance for any help, I am really stuck.