A Low-Cost Smart Web Sensor for Power Quality Monitoring