Skip to content

uvFive MIoT devices Companion integration for Home Assistant

License

Notifications You must be signed in to change notification settings

vaughan-zeng/uvfive_miot

Repository files navigation

uvFive MIoT device

This is a custom component for Home Assistant to integrate the uvFive MIoT device.

Please follow the instructions on Retrieving the Access Token to get the API token to use in the configuration.yaml file.

Credits: Thanks to Rytilahti for all the work.

Features

uvFive Sterilization Lamp

Supported models: uvfive.s_lamp.slmap2.

  • Power (on, off)
  • Child Lock (on, off)
  • Disable Radar (on, off)
  • Setting Sterilization Time (5...45 minutes)
  • Attributes
    • Stop Countdown
    • Child Lock
    • Fault Info
    • Status
    • Model
    • Sterilization Time
    • Disable Radar

uvFive Sterilization Rack

Supported models: uvfive.steriliser.tiger.

  • Power (on, off)
  • Child Lock (on, off)
  • Disable Radar (on, off)
  • Setting Rack Target Time (15...90 minutes)
  • Alarm (on, off)
  • Running Mode (Normal, Quick, Favourite)
  • Attributes
    • Stop Countdown
    • Child Lock
    • Fault Info
    • Status
    • Model
    • Mode
    • Target Time
    • Working Time
    • Alarm

Install

You can install this custom component by adding this repository (https://github.com/vaughan-zeng/uvfive_miot) to HACS in the settings menu of HACS first. You will find the custom component in the integration menu afterwards, look for 'uvFive MIoT device'. Alternatively, you can install it manually by copying the custom_component folder to your Home Assistant configuration folder.

Config

HomeAssistant GUI

Configuration > Integration > + > uvFive MIoT device

Configuration variables:

  • host (Required): The IP of your uvFive MIoT device.
  • token (Required): The API token of your uvFive MIoT device.
  • name (Optional): The name of your uvFive MIoT device.

Platform services

Service uvfive.set_child_lock_on

Turn the child lock on.

Service data attribute Optional Description
entity_id no Name of the uvFive MIoT device entity.

Service uvfive.set_child_lock_off

Turn the child lock off.

Service data attribute Optional Description
entity_id no Name of the uvFive MIoT device entity.

Service uvfive.set_slamp_disable_radar_on

Turn the uvFive sterilization lamp disable radar on.

Service data attribute Optional Description
entity_id no Name of the uvFive sterilization lamp entity.

Service uvfive.set_slamp_disable_radar_off

Turn the uvFive sterilization lamp disable radar off.

Service data attribute Optional Description
entity_id no Name of the uvFive sterilization lamp entity.

Service uvfive.set_slamp_sterilization_time

Set the uvFive sterilization lamp sterilization time.

Service data attribute Optional Description
entity_id no Name of the uvFive sterilization lamp entity.
minutes no Sterilization time, between 5 and 45.

Service uvfive.set_rack_target_time

Set the uvfive sterilization rack target time.

Service data attribute Optional Description
entity_id no Name of the uvfive sterilization rack entity.
minutes no Target time, between 15 and 90.

Service uvfive.set_rack_alarm_on

Turn the uvfive sterilization rack alarm on.

Service data attribute Optional Description
entity_id no Name of the uvfive sterilization rack entity.

Service uvfive.set_rack_alarm_off

Turn the uvfive sterilization rack alarm off.

Service data attribute Optional Description
entity_id no Name of the uvfive sterilization rack entity.

Service uvfive.set_rack_running_mode

Set the uvfive sterilization rack running mode.

Service data attribute Optional Description
entity_id no Name of the uvfive sterilization rack entity.
mode no Running mode, valid values are 'Normal', 'Quick' and 'Favourite'.