Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dsmr.const Namespace Reference

Variables

string CONF_DSMR_VERSION = "dsmr_version"
 
string CONF_SERIAL_ID = "serial_id"
 
string CONF_SERIAL_ID_GAS = "serial_id_gas"
 
string CONF_TIME_BETWEEN_UPDATE = "time_between_update"
 
string DEFAULT_DSMR_VERSION = "2.2"
 
string DEFAULT_PORT = "/dev/ttyUSB0"
 
int DEFAULT_PRECISION = 3
 
int DEFAULT_RECONNECT_INTERVAL = 30
 
int DEFAULT_TIME_BETWEEN_UPDATE = 30
 
string DEVICE_NAME_ELECTRICITY = "Electricity Meter"
 
string DEVICE_NAME_GAS = "Gas Meter"
 
string DEVICE_NAME_HEAT = "Heat Meter"
 
string DEVICE_NAME_WATER = "Water Meter"
 
string DOMAIN = "dsmr"
 
string DSMR_PROTOCOL = "dsmr_protocol"
 
dictionary DSMR_VERSIONS = {"2.2", "4", "5", "5B", "5L", "5S", "Q3D"}
 
 LOGGER = logging.getLogger(__package__)
 
list PLATFORMS = [Platform.SENSOR]
 
string RFXTRX_DSMR_PROTOCOL = "rfxtrx_dsmr_protocol"
 

Detailed Description

Constants for the DSMR integration.

Variable Documentation

◆ CONF_DSMR_VERSION

string homeassistant.components.dsmr.const.CONF_DSMR_VERSION = "dsmr_version"

Definition at line 14 of file const.py.

◆ CONF_SERIAL_ID

string homeassistant.components.dsmr.const.CONF_SERIAL_ID = "serial_id"

Definition at line 17 of file const.py.

◆ CONF_SERIAL_ID_GAS

string homeassistant.components.dsmr.const.CONF_SERIAL_ID_GAS = "serial_id_gas"

Definition at line 18 of file const.py.

◆ CONF_TIME_BETWEEN_UPDATE

string homeassistant.components.dsmr.const.CONF_TIME_BETWEEN_UPDATE = "time_between_update"

Definition at line 15 of file const.py.

◆ DEFAULT_DSMR_VERSION

string homeassistant.components.dsmr.const.DEFAULT_DSMR_VERSION = "2.2"

Definition at line 20 of file const.py.

◆ DEFAULT_PORT

string homeassistant.components.dsmr.const.DEFAULT_PORT = "/dev/ttyUSB0"

Definition at line 21 of file const.py.

◆ DEFAULT_PRECISION

int homeassistant.components.dsmr.const.DEFAULT_PRECISION = 3

Definition at line 22 of file const.py.

◆ DEFAULT_RECONNECT_INTERVAL

int homeassistant.components.dsmr.const.DEFAULT_RECONNECT_INTERVAL = 30

Definition at line 23 of file const.py.

◆ DEFAULT_TIME_BETWEEN_UPDATE

int homeassistant.components.dsmr.const.DEFAULT_TIME_BETWEEN_UPDATE = 30

Definition at line 24 of file const.py.

◆ DEVICE_NAME_ELECTRICITY

string homeassistant.components.dsmr.const.DEVICE_NAME_ELECTRICITY = "Electricity Meter"

Definition at line 26 of file const.py.

◆ DEVICE_NAME_GAS

string homeassistant.components.dsmr.const.DEVICE_NAME_GAS = "Gas Meter"

Definition at line 27 of file const.py.

◆ DEVICE_NAME_HEAT

string homeassistant.components.dsmr.const.DEVICE_NAME_HEAT = "Heat Meter"

Definition at line 29 of file const.py.

◆ DEVICE_NAME_WATER

string homeassistant.components.dsmr.const.DEVICE_NAME_WATER = "Water Meter"

Definition at line 28 of file const.py.

◆ DOMAIN

string homeassistant.components.dsmr.const.DOMAIN = "dsmr"

Definition at line 9 of file const.py.

◆ DSMR_PROTOCOL

string homeassistant.components.dsmr.const.DSMR_PROTOCOL = "dsmr_protocol"

Definition at line 33 of file const.py.

◆ DSMR_VERSIONS

dictionary homeassistant.components.dsmr.const.DSMR_VERSIONS = {"2.2", "4", "5", "5B", "5L", "5S", "Q3D"}

Definition at line 31 of file const.py.

◆ LOGGER

homeassistant.components.dsmr.const.LOGGER = logging.getLogger(__package__)

Definition at line 11 of file const.py.

◆ PLATFORMS

list homeassistant.components.dsmr.const.PLATFORMS = [Platform.SENSOR]

Definition at line 13 of file const.py.

◆ RFXTRX_DSMR_PROTOCOL

string homeassistant.components.dsmr.const.RFXTRX_DSMR_PROTOCOL = "rfxtrx_dsmr_protocol"

Definition at line 34 of file const.py.