   pinMode(lamp2_power, OUTPUT);
   pinMode(lamp3_power, OUTPUT);
   pinMode(lamp4_power, OUTPUT);
-  digitalWrite(lamp1_pin, HIGH);
+ /* digitalWrite(lamp1_pin, HIGH);
   digitalWrite(lamp2_pin, HIGH);
   digitalWrite(lamp3_pin, HIGH);
   digitalWrite(lamp4_pin, HIGH);
-  digitalWrite(led_power, HIGH);
+  digitalWrite(led_power, HIGH);*/
   digitalWrite(lamp1_power, LOW);
   digitalWrite(lamp2_power, LOW);
   digitalWrite(lamp3_power, LOW);
   digitalWrite(lamp4_power, LOW);
   delay(1000);
-  Serial.println("Dimas Ganteng");
 }
 
 void loop(){
-  String val = get_lamp("/api/hcs_get_lamp");
+  String val = get_lamp("/api/hcs/hcs_get_lamp");
   Serial.println(val);
   
   commaPosition = val.indexOf(';');
-  lamp1_val = val.substring(0,commaPosition);
+  lamp1_val = val.substring(1,commaPosition);
   val = val.substring(commaPosition+1, val.length());
   Serial.println(lamp1_val);
   

  lamp3_val = val.substring(0,commaPosition);
  Serial.println(lamp3_val);
  
  lamp4_val = val.substring(commaPosition+1, val.length());
  Serial.println(lamp4_val);
  
  if(lamp1_val == "1"){


const int lamp1_pin = 2;
const int lamp2_pin = 3;
const int lamp3_pin = 5;
const int lamp4_pin = 6;
/*const int led_power = A5;
const int lamp1_power = A4;
const int lamp2_power = A3;
const int lamp3_power = A2;
const int lamp4_power = A1;*/

void setup(){
  Serial.begin(9600);
  Serial.println("Start");
  Ethernet.begin(mac, ip);
  
  Serial.println(Ethernet.localIP());
  
  pinMode(lamp1_pin, OUTPUT);
  pinMode(lamp2_pin, OUTPUT);
  pinMode(lamp3_pin, OUTPUT);
