kuba81
(Kuba)
February 28, 2025, 4:42pm
1
Use a hadev
MQTT compatible device simulator to check your Home Assistant configuration as well as test new features before they are available in production.
Visit the following repository:
# hadev
## NAME
 hadev - simulates a switch device connected to the Home Assistant
## SYNOPSIS
 hadev _[-b size] [-P password] [-p port] [--reuse-addr] [-I user_id] [-N user_name] [-v]_
## DESCRIPTION
 Connects to the broker plugin installed in Home Asistant OS using specified credentials, allows to discover new `switch` device and performs normal operations typical for this device - turn on, turn off. The `switch` device could be controled via Home Assistant Board as well as from the application. Each time `switch` device state is changed it is reflected on Home Assistant Board. Disconnected `switch` device will be disabled in Home Asistant board.
 _-b size, --buffer-size size_
  Uses specified in bytes buffer size which is used to receive and send new packets. By default 1024 B size is used.
 _-h host, --host host_
  Uses specified host to connect to. By default localhost is used.
 _-P password, --password password_
  Uses specified password. By default none password is iused.
 _-p port, --port port_
  Uses specified port number to connect to. By default 1884 port is used.
 _--reuse-addr_
  Indicates that the rules used in validating addresses supplied in a `bind` call should allow reuse of local addresses. By default it is disabled.
 _-I user_id, --userid user_id_
  Uses specified user ID. By default randomly generated user id is used.
This file has been truncated. show original