

class Captor():
  id = 5
  def Captor():
    self.id = 5
    
    
  def callback(self):
    moisture = 0
    #start communication with server
    
    return moisture
    
  def getiId(self):
    return self.id

create moistureCaptor.py