---
title: "Commands: locks, heating and Hungary | Hostemi"
description: "Smart locks and heating (preview), and the NTAK and VIZA reporting of a property in Hungary. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/cli/reference/devices
source: https://hostemi.com/docs/cli/reference/devices.md
---

# Commands: locks, heating and Hungary

Smart locks and heating (preview), and the NTAK and VIZA reporting of a property in Hungary.

#### On this page

1. [Overview](#overview)
2. [locks](#locks)
3. [heating](#heating)
4. [ntak](#ntak)
5. [viza](#viza)

## Overview

| Command | Mode | What it does |
| --- | --- | --- |
| [`locks list`](#locks-list) | reads | The smart locks of a property and what each opens |
| [`heating set`](#heating-set) | changes | Change a heating zone: warm-up temperature and lead, the temperature after check-out (zones are added in the app) |
| [`ntak`](#ntak) | changes | Hungary only: NTAK reporting state, log and resend |
| [`viza`](#viza) | changes | Hungary only: VIZA guest registration state, log and resend |

Generated from `hostemi help --json` of hostemi 0.4.0: the same tree the CLI prints its help, its completions and its option checks from. Modes: [what each one does](https://hostemi.com/docs/cli/approvals).

## locks

### hostemi locks list

The smart locks of a property and what each opens. Reads only. Never asks.

Preview: listing.smartLocks

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi locks list <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Property id |

Mode: reads · API: GET /public/v1/properties/:id/locks. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi locks list <propertyId>
```

## heating

### hostemi heating set

Change a heating zone: warm-up temperature and lead, the temperature after check-out (zones are added in the app). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: listing.smartLocks

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi heating set <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Heating zone id (from locks list → heating) |

| Option | Type | Description |
| --- | --- | --- |
| `--lead-hours` | number | Hours before check-in to start warming (0 to 12) |
| `--comfort` | number | Warm-up temperature, °C (10 to 28) |
| `--setback` | number | Temperature after check-out, °C (5 to 22) |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: PUT /public/v1/heating/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi heating set <heatingId> --lead-hours 2 --comfort 21.5 --setback 16
```

## ntak

### hostemi ntak

Hungary only: NTAK reporting state, log and resend. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Hungary only

Only for a property in Hungary (NTAK and VIZA reporting).

```bash
hostemi ntak status|log|resend <property> [submissionId] [--csv|--pdf]
```

| Argument | Required | Description |
| --- | --- | --- |
| `<action>` | yes | status, log or resend |
| `<property>` | yes | Property name or id |

Mode: changes · API: GET /public/v1/properties/:id/ntak. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

## viza

### hostemi viza

Hungary only: VIZA guest registration state, log and resend. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Hungary only

Only for a property in Hungary (NTAK and VIZA reporting).

```bash
hostemi viza status|log|resend <property> [submissionId] [--csv|--pdf]
```

| Argument | Required | Description |
| --- | --- | --- |
| `<action>` | yes | status, log or resend |
| `<property>` | yes | Property name or id |

Mode: changes · API: GET /public/v1/properties/:id/viza. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
