Help with Electric Current Monitor/Switch Project

Hey Guys,

I have a few questions regarding one of my projects I'm working on. Any insight or advice would be greatly appreciated.

I'm stuck and can really use advice.

I'm using an Arduino Yun connected to a current sensor and a relay to monitor and control an outlet. Im stuck and lost at finding a way to interface this device with a webserver that would give the end user the ability to do the following:

  1. Monitor the real-time readouts
  2. Switch the relay on/off
  3. Some sort of a trending capacity (historical data)
  4. A server that would allow some sort of programming (setting base points, alarms, etc.)
  5. A possible Mobile Application that would allow the above conditions.

Thanks in advance for any insight.