etho.services.ThuAZeroService#

class etho.services.ThuAZeroService.THUA(*args, serializer: str = 'default', head_ip: str = '192.168.1.1', **kwargs)[source]#

Temperature and Humidity sensor. connect to rpi via arduino. or directly to rpi if possible try DHT22 and https://github.com/adafruit/Adafruit_Python_DHT

[summary]

Parameters
  • serializer (str, optional) – [description]. Defaults to ‘default’.

  • head_ip (str, optional) – [description]. Defaults to ‘192.168.1.1’.

  • logging_port (int, optional) – [description]. Defaults to None.

  • service_port (int, optional) – [description]. Defaults to None.

cleanup(**kwargs)#

free resources

is_busy(**kwargs)#

return state of the instance - IDLE, BUSY, FAILED, etc

test(**kwargs)#

test whether the instance will be functional