Shelly H&T
Shelly H&T Gen3 is a battery-operated device with built-in temperature and humidity sensors.
The following components are available in Shelly H&T Gen3:
HT_UI
The HT_UI component handles the settings of a H&T device's screen.
Status
The HT_UI component does not own any status properties.
Example status object
{}
Configuration
The configuration of the HT_UI component allows to set the temperature unit (C/F) and clock type.
Properties:
Property | Type | Description |
---|---|---|
| string | Unit of temperature |
| string | Clock type of time shown on screen |
Example configuration object
{
"clock": "24",
"temperature_unit": "C"
}
HT_UI.SetConfig example
- HT_UI.SetConfig Curl Request
- HT_UI.SetConfig Mos Request
curl -X POST -d '{"id":1, "method": "HT_UI.SetConfig", "params": {"config": {"temperature_unit":"C"}}}}' http://${SHELLY}/rpc
mos --port ${PORT} call HT_UI.SetConfig '{"config": {"temperature_unit":"C"}}'