Skip to content
Merged

Fixes #3256

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion data/config/mosquitto/public/default-dynamic-security.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"anonymousGroup": "anonymous",
"roles": [
{
"rolename": "openwb-version:2",
"rolename": "openwb-version:3",
"textname": "openWB Versionsnummer",
"textdescription": "Diese Rolle ist ein Platzhalter für die openWB Versionsnummer und wird automatisch aktualisiert. Sie hat keine direkten Berechtigungen.",
"acls": []
Expand Down Expand Up @@ -1472,6 +1472,12 @@
"textname": "Zugang zu den Einstellungen des Lastmanagements",
"textdescription": "Erlaubt den Zugang zu den Einstellungen des Lastmanagements.",
"acls": [
{
"acltype": "publishClientSend",
"topic": "openWB/set/bat/+/config/max_power",
"priority": 0,
"allow": true
},
{
"acltype": "publishClientSend",
"topic": "openWB/set/counter/config/home_consumption_source_id",
Expand Down Expand Up @@ -1520,6 +1526,12 @@
"priority": 0,
"allow": true
},
{
"acltype": "publishClientReceive",
"topic": "openWB/bat/+/config/max_power",
"priority": 0,
"allow": true
},
{
"acltype": "publishClientReceive",
"topic": "openWB/counter/config/home_consumption_source_id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, modbus_id: int = 4):
@auto_str
class Huawei_SmartloggerBatSetup(ComponentSetup[Huawei_SmartloggerBatConfiguration]):
def __init__(self,
name: str = " Huawei Luna",
name: str = "Huawei Luna",
type: str = "bat",
id: int = 0,
configuration: Huawei_SmartloggerBatConfiguration = None) -> None:
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/devices/sungrow/sungrow_ihm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self):

class SungrowIHMBatSetup(ComponentSetup[SungrowIHMBatConfiguration]):
def __init__(self,
name: str = " iHM Speicher",
name: str = "Sungrow iHM Speicher",
type: str = "bat",
id: int = 0,
configuration: SungrowIHMBatConfiguration = None) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ export const useMqttStore = defineStore('mqtt', () => {
mqttClient.on('connect', () => {
console.debug('connected to broker');
mqttClientConnected.value = true;
$q.notify({
type: 'positive',
message: `MQTT-Verbindung hergestellt.${mqttUser ? ` Angemeldet als ${mqttUser}.` : ''}`,
progress: true,
});
if (mqttUser === 'admin' && mqttPass === 'openwb') {
$q.notify({
type: 'warning',
Expand Down
Loading