You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This image talks to devices from Brultech Research
over their serial port, using
siobrultech-protocols to
decode the data, and then sends the data to an MQTT server.
This image works well with Home Assistant, and will automatically create sesnors
if MQTT Discovery is
enabled. Additionally, it creates named senors to easily integrate into the
native Energy Management.
The type of channel to support net-metering and aggregation.
Channel Type
Channel Type
Description
normal
Power flows through one direction in this channel.
main
Power may flow through in both directions (depending on other channels like solar existing), and represents power coming in and going out from an electricity provider.
solar_downstream_main
Power flows in two directions from/to a solar inverter, with a main channel between it and the electricity provider.
solar_upstream_main
Power flows in two directions from/to a solar inverter, without a main channel between it and the electricity provider.
The topic prefix Home Assistant is configured to listen to for discovery configurations.
enable
bool
True
Any bool
If the Home Assistant discovery configuration should be sent or not.
skip_packets
int
37
> 0
The number of packets received from the device to skip before updating Home Assistant. Default updates Home Assistant about once every five minutes.
Home Assistant Birth Message
Name
Type
Default
Supported Options
Description
payload
str
online
Any str
The payload Home Assistant is configured to use when sending the birth message.
qos
int
0
0-2
The qos Home Assistant is configured to use for the birth message.
topic
str
homeassistant/status
Any str
The topic Home Assistant is configured to use when sending the birth message.
TLS Options
Corresponds directly to asyncio-mqtt's TLSParameters.
Name
Type
Default
Supported Options
Description
ca_certs
str
None
Any str
Path to CA certificate files to be trusted by this client.
certfile
str
None
Any str
Path to a PEM encoded client certificate file.
keyfile
str
None
Any str
Path to a PEM encoded private key file.
keyfile_password
str
None
Any str
Password to decrypt either certfile or keyfile (if encrypted).
cert_reqs
bool
True
Any bool
Enforce certificate requirements. Set to False to connect to, e.g., self-signed hosts.
ciphers
str
None
Any str
Allowable encryption ciphers for this connection (set to None to use the defaults).
tls_version
str
tls1.2
None, tls1, tls1.1, tls1.2
Version of the SSL/TLS protocol to use.
Will Message
The well message is sent under the topic prefix configured in the MQTT config, /status.
Name
Type
Default
Supported Options
Description
payload
str
online
Any str
The payload to use when sending the will message.
qos
int
0
0-2
The qos to use for the will message.
retain
bool
True
Any bool
If the retain flag is set on the will message.
Logging
Optional Logging Configuration Options
Name
Type
Default
Supported Options
Description
level
str
info
critical, error, warning, info, or debug
The logging level the application should print messages to stdout with.
logs
dict
{}
Any dict of levels
A dict of Python named-logs and the level in which to log them to stdout.
Debugging
If you are having issues connecting to your device, it can be useful to enable logging of the underlying
siobrultech-protocols library. Add this to your configuration: