SmartHome 2.0 - Geräte einbinden

okaegi
Beiträge: 2278
Registriert: Fr Mär 08, 2019 1:57 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von okaegi »

Bitte auf smartmq updaten und smarthome.log in einem neuen treat bringen:
viewtopic.php?f=14&t=5923
Zu mqtt aktpower muss ein int Wert sein (keine Nachkommastellen)
aktpower = int(msg.payload)

Gruss Oliver
Entwickler- openWB (ehrenamtlich) / Feedback zu Funktionen immer erwünscht..
Smarthomeprobleme siehe hier (update :!: ): viewtopic.php?f=14&t=5923
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von Becker »

Als erstes sicherstellen das Smartmq auf ja ist.
im Moment läuft es, Leistung, Zähler und Laufzeit werden angezeigt.
allerdings ist das Gerät immer rot durchgestrichen, wenn ich drauf klicke wird es gelb für kurze Zeit.
32.PNG
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
Daphne
Beiträge: 73
Registriert: Do Sep 29, 2022 12:34 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von Daphne »

okaegi hat geschrieben: Do Sep 29, 2022 5:26 pm
Daphne hat geschrieben: Do Sep 29, 2022 4:41 pm Hallo,

ich habe es versucht mit dem "Codeblock"...

Code: Alles auswählen

2022-09-29 18:35:29: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40740 Status: 10 akt: 9 Z Hw: 0
2022-09-29 18:35:28: (1) Leistungsmessung durch shelly
2022-09-29 18:35:27: Speicher Entladung(-)/Ladung(+): -683 SpeicherSoC: 92
2022-09-29 18:35:27: Uberschuss: -710 Uberschuss mit Offset: -710
2022-09-29 18:35:27: EVU Bezug(-)/Einspeisung(+): -27 max Speicherladung: 0
2022-09-29 18:35:22: Total Watt nicht im Hausverbrauch: 0
2022-09-29 18:35:22: Total Watt nichtabschaltbarer smarthomedevices: 9
2022-09-29 18:35:22: Total Watt abschaltbarer smarthomedevices: 0
2022-09-29 18:35:22: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/64501 Status: 10 akt: 0 Z Hw: 0
2022-09-29 18:35:21: (3) Leistungsmessung durch shelly
2022-09-29 18:35:21: Device shelly2Stereoanlage Fehlermeldung: No option 'device_ausschaltverzoegerung_2' in section: 'smarthomedevices'
2022-09-29 18:35:20: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40731 Status: 10 akt: 9 Z Hw: 0
2022-09-29 18:35:19: (1) Leistungsmessung durch shelly
2022-09-29 18:35:19: Speicher Entladung(-)/Ladung(+): -430 SpeicherSoC: 92
2022-09-29 18:35:19: Uberschuss: -514 Uberschuss mit Offset: -514
2022-09-29 18:35:19: EVU Bezug(-)/Einspeisung(+): -84 max Speicherladung: 0
2022-09-29 18:35:13: Total Watt nicht im Hausverbrauch: 0
2022-09-29 18:35:13: Total Watt nichtabschaltbarer smarthomedevices: 13
2022-09-29 18:35:13: Total Watt abschaltbarer smarthomedevices: 0
2022-09-29 18:35:13: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/64492 Status: 10 akt: 0 Z Hw: 0
2022-09-29 18:35:13: (3) Leistungsmessung durch shelly
2022-09-29 18:35:12: Device shelly2Stereoanlage Fehlermeldung: No option 'device_ausschaltverzoegerung_2' in section: 'smarthomedevices'
2022-09-29 18:35:11: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40722 Status: 10 akt: 13 Z Hw: 0
2022-09-29 18:35:11: (1) Leistungsmessung durch shelly
2022-09-29 18:35:10: Speicher Entladung(-)/Ladung(+): -628 SpeicherSoC: 92
2022-09-29 18:35:10: Uberschuss: -639 Uberschuss mit Offset: -639
2022-09-29 18:35:10: EVU Bezug(-)/Einspeisung(+): -11 max Speicherladung: 0
2022-09-29 18:35:05: Total Watt nicht im Hausverbrauch: 0
2022-09-29 18:35:05: Total Watt nichtabschaltbarer smarthomedevices: 8
2022-09-29 18:35:05: Total Watt abschaltbarer smarthomedevices: 0
2022-09-29 18:35:05: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/64484 Status: 10 akt: 0 Z Hw: 0
2022-09-29 18:35:05: (3) Leistungsmessung durch shelly
2022-09-29 18:35:04: Device shelly2Stereoanlage Fehlermeldung: No option 'device_ausschaltverzoegerung_2' in section: 'smarthomedevices'
2022-09-29 18:35:03: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40714 Status: 10 akt: 8 Z Hw: 0
2022-09-29 18:35:02: (1) Leistungsmessung durch shelly
Bitte aus Smartmq umstellen. In den Smarthome Einstellungen ganz runterscrollen und bei Smartmq = Ja anwählen. Das log sieht dann anders aus,
Gruss Oliver
So sieht das Log nun aus.
Der Shelly, der nicht geht heißt "Test" mit fester IP-Adresse 192.168.178.152

Egal ob ein Verbraucher am Shelly Plug angeschlossen ist oder nicht - keine Änderungen in der Anzeige in openWB.

Code: Alles auswählen

openWB
Logging 
Status
Hilfe
Einstellungen
Status
Ladepunkt 1 (Cupra)
Ladestromvorgabe [A]	0
Ladeleistung [W]	0
Zählerstand [kWh]	0,000
Phase 1	Phase 2	Phase 3
Spannung [V]	240,6	240,6	241,1
Stromstärke [A]	0	0	0
Power Faktor	0	0	0
EVU
Gesamtleistung [W]	
14 (Imp.)
Bezug [kWh]	
28,534
Einspeisung [kWh]	
107,626
Frequenz [Hz]	
50
Schieflast [A]	
0
Phase 1	Phase 2	Phase 3
Spannung [V]	
230
230
230
Stromstärke [A]	
0
0
0
Leistung [W]	
0
0
0
Power Faktor	
0
0
0
PV Gesamt-Anlagendaten
Counter	
0
Leistung [W]	
0
Gesamtertrag [kWh]	
212,113
Tagesertrag [kWh]	
57,010
Monatsertrag [kWh]	
0,000
Jahresertrag [kWh]	
0,000
PV Wechselrichter 1 (WR1)
Leistung [W]	0
Gesamtertrag [kWh]	
212,113
Speicher
geladen [kWh]	
53,366
entladen [kWh]	
40,806
Leistung [W]	
-269
SoC [%]	
98
Smart Home 2.0
Gesamtleistung abschaltbar [W]	
0
Gesamtleistung übrige [W]	
195
Überschuss [W]	
1.903
Überschuss mit Offset [W]	
1.903
Maximale Speicherladung [W]	
0
Ladestatus Änderungen
SmartHome Log
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
2022-10-04 17:54:59: Total Watt nicht im Hausverbrauch: 0
2022-10-04 17:54:59: Total Watt nichtabschaltbarer smarthomedevices: 195
2022-10-04 17:54:59: Total Watt abschaltbarer smarthomedevices: 0
2022-10-04 17:54:59: Device shelly7Test Fehlermeldung: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_7watt0pos'
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.152, setting all values to 0
2022-10-04 17:54:59: (7) Leistungsmessung durch shelly
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.152, setting all values to 0
2022-10-04 17:54:58: Device shelly6FewoEins Fehlermeldung: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_6watt0pos'
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret6'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.158, setting all values to 0
2022-10-04 17:54:57: (6) Leistungsmessung durch shelly
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret6'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.158, setting all values to 0
2022-10-04 17:54:56: (5) FewoZwei rel: 1 oncnt/onstandby/time: 0/0/64179 Status: 10 akt: 121 Z Hw: 0
failed to connect to device on 192.168.178.157, setting all values to 0
2022-10-04 17:54:55: (5) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.157, setting all values to 0
2022-10-04 17:54:55: (4) Gefrierschra rel: 1 oncnt/onstandby/time: 0/0/64442 Status: 10 akt: 34 Z Hw: 0
failed to connect to device on 192.168.178.156, setting all values to 0
2022-10-04 17:54:54: (4) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.156, setting all values to 0
2022-10-04 17:54:53: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/31229 Status: 10 akt: 0 Z Hw: 0
failed to connect to device on 192.168.178.154, setting all values to 0
2022-10-04 17:54:53: (3) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.154, setting all values to 0
2022-10-04 17:54:52: (2) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/39257 Status: 10 akt: 36 Z Hw: 0
failed to connect to device on 192.168.178.155, setting all values to 0
2022-10-04 17:54:51: (2) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.155, setting all values to 0
2022-10-04 17:54:51: (1) Heizdecke rel: 0 oncnt/onstandby/time: 0/0/17851 Status: 10 akt: 0 Z Hw: 0
failed to connect to device on 192.168.178.153, setting all values to 0
2022-10-04 17:54:50: (1) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.153, setting all values to 0
2022-10-04 17:54:49: Speicher Entladung(-)/Ladung(+): 0 SpeicherSoC: 100
2022-10-04 17:54:49: Uberschuss: 1903 Uberschuss mit Offset: 1903
2022-10-04 17:54:49: EVU Bezug(-)/Einspeisung(+): 1903 max Speicherladung: 0
2022-10-04 17:54:44: Total Watt nicht im Hausverbrauch: 0
2022-10-04 17:54:44: Total Watt nichtabschaltbarer smarthomedevices: 187
2022-10-04 17:54:44: Total Watt abschaltbarer smarthomedevices: 0
2022-10-04 17:54:44: Device shelly7Test Fehlermeldung: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_7watt0pos'
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.152, setting all values to 0
2022-10-04 17:54:44: (7) Leistungsmessung durch shelly
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
13,8 kWp-Anlage LG + LG Batteriespeicher 10 kW
OpenWB Wallbox, Ver. 2.x (Master)
Cupra Born 58 kWh
okaegi
Beiträge: 2278
Registriert: Fr Mär 08, 2019 1:57 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von okaegi »

sorry das zweite log ist nich das Smarthome.log,
Gruss Oliver
Entwickler- openWB (ehrenamtlich) / Feedback zu Funktionen immer erwünscht..
Smarthomeprobleme siehe hier (update :!: ): viewtopic.php?f=14&t=5923
thesorrow101
Beiträge: 685
Registriert: Mo Okt 12, 2020 7:41 am

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von thesorrow101 »

Daphne hat geschrieben: Di Okt 04, 2022 4:49 pm
okaegi hat geschrieben: Do Sep 29, 2022 5:26 pm
Daphne hat geschrieben: Do Sep 29, 2022 4:41 pm Hallo,

ich habe es versucht mit dem "Codeblock"...

Code: Alles auswählen

2022-09-29 18:35:29: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40740 Status: 10 akt: 9 Z Hw: 0
2022-09-29 18:35:28: (1) Leistungsmessung durch shelly
2022-09-29 18:35:27: Speicher Entladung(-)/Ladung(+): -683 SpeicherSoC: 92
2022-09-29 18:35:27: Uberschuss: -710 Uberschuss mit Offset: -710
2022-09-29 18:35:27: EVU Bezug(-)/Einspeisung(+): -27 max Speicherladung: 0
2022-09-29 18:35:22: Total Watt nicht im Hausverbrauch: 0
2022-09-29 18:35:22: Total Watt nichtabschaltbarer smarthomedevices: 9
2022-09-29 18:35:22: Total Watt abschaltbarer smarthomedevices: 0
2022-09-29 18:35:22: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/64501 Status: 10 akt: 0 Z Hw: 0
2022-09-29 18:35:21: (3) Leistungsmessung durch shelly
2022-09-29 18:35:21: Device shelly2Stereoanlage Fehlermeldung: No option 'device_ausschaltverzoegerung_2' in section: 'smarthomedevices'
2022-09-29 18:35:20: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40731 Status: 10 akt: 9 Z Hw: 0
2022-09-29 18:35:19: (1) Leistungsmessung durch shelly
2022-09-29 18:35:19: Speicher Entladung(-)/Ladung(+): -430 SpeicherSoC: 92
2022-09-29 18:35:19: Uberschuss: -514 Uberschuss mit Offset: -514
2022-09-29 18:35:19: EVU Bezug(-)/Einspeisung(+): -84 max Speicherladung: 0
2022-09-29 18:35:13: Total Watt nicht im Hausverbrauch: 0
2022-09-29 18:35:13: Total Watt nichtabschaltbarer smarthomedevices: 13
2022-09-29 18:35:13: Total Watt abschaltbarer smarthomedevices: 0
2022-09-29 18:35:13: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/64492 Status: 10 akt: 0 Z Hw: 0
2022-09-29 18:35:13: (3) Leistungsmessung durch shelly
2022-09-29 18:35:12: Device shelly2Stereoanlage Fehlermeldung: No option 'device_ausschaltverzoegerung_2' in section: 'smarthomedevices'
2022-09-29 18:35:11: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40722 Status: 10 akt: 13 Z Hw: 0
2022-09-29 18:35:11: (1) Leistungsmessung durch shelly
2022-09-29 18:35:10: Speicher Entladung(-)/Ladung(+): -628 SpeicherSoC: 92
2022-09-29 18:35:10: Uberschuss: -639 Uberschuss mit Offset: -639
2022-09-29 18:35:10: EVU Bezug(-)/Einspeisung(+): -11 max Speicherladung: 0
2022-09-29 18:35:05: Total Watt nicht im Hausverbrauch: 0
2022-09-29 18:35:05: Total Watt nichtabschaltbarer smarthomedevices: 8
2022-09-29 18:35:05: Total Watt abschaltbarer smarthomedevices: 0
2022-09-29 18:35:05: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/64484 Status: 10 akt: 0 Z Hw: 0
2022-09-29 18:35:05: (3) Leistungsmessung durch shelly
2022-09-29 18:35:04: Device shelly2Stereoanlage Fehlermeldung: No option 'device_ausschaltverzoegerung_2' in section: 'smarthomedevices'
2022-09-29 18:35:03: (1) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/40714 Status: 10 akt: 8 Z Hw: 0
2022-09-29 18:35:02: (1) Leistungsmessung durch shelly
Bitte aus Smartmq umstellen. In den Smarthome Einstellungen ganz runterscrollen und bei Smartmq = Ja anwählen. Das log sieht dann anders aus,
Gruss Oliver
So sieht das Log nun aus.
Der Shelly, der nicht geht heißt "Test" mit fester IP-Adresse 192.168.178.152

Egal ob ein Verbraucher am Shelly Plug angeschlossen ist oder nicht - keine Änderungen in der Anzeige in openWB.

Code: Alles auswählen

openWB
Logging 
Status
Hilfe
Einstellungen
Status
Ladepunkt 1 (Cupra)
Ladestromvorgabe [A]	0
Ladeleistung [W]	0
Zählerstand [kWh]	0,000
Phase 1	Phase 2	Phase 3
Spannung [V]	240,6	240,6	241,1
Stromstärke [A]	0	0	0
Power Faktor	0	0	0
EVU
Gesamtleistung [W]	
14 (Imp.)
Bezug [kWh]	
28,534
Einspeisung [kWh]	
107,626
Frequenz [Hz]	
50
Schieflast [A]	
0
Phase 1	Phase 2	Phase 3
Spannung [V]	
230
230
230
Stromstärke [A]	
0
0
0
Leistung [W]	
0
0
0
Power Faktor	
0
0
0
PV Gesamt-Anlagendaten
Counter	
0
Leistung [W]	
0
Gesamtertrag [kWh]	
212,113
Tagesertrag [kWh]	
57,010
Monatsertrag [kWh]	
0,000
Jahresertrag [kWh]	
0,000
PV Wechselrichter 1 (WR1)
Leistung [W]	0
Gesamtertrag [kWh]	
212,113
Speicher
geladen [kWh]	
53,366
entladen [kWh]	
40,806
Leistung [W]	
-269
SoC [%]	
98
Smart Home 2.0
Gesamtleistung abschaltbar [W]	
0
Gesamtleistung übrige [W]	
195
Überschuss [W]	
1.903
Überschuss mit Offset [W]	
1.903
Maximale Speicherladung [W]	
0
Ladestatus Änderungen
SmartHome Log
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smartcon.log'
    return open(self.baseFilename, self.mode, encoding=self.encoding)
  File "/usr/lib/python3.5/logging/__init__.py", line 1038, in _open
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1009, in __init__
    fh = logging.FileHandler(bp+'/ramdisk/smartcon.log', encoding='utf8')
  File "/var/www/html/openWB/runs/smarthomemq.py", line 33, in initlog
    initlog()
  File "/var/www/html/openWB/runs/smarthomemq.py", line 449, in <module>
Traceback (most recent call last):
2022-10-04 17:54:59: Total Watt nicht im Hausverbrauch: 0
2022-10-04 17:54:59: Total Watt nichtabschaltbarer smarthomedevices: 195
2022-10-04 17:54:59: Total Watt abschaltbarer smarthomedevices: 0
2022-10-04 17:54:59: Device shelly7Test Fehlermeldung: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_7watt0pos'
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.152, setting all values to 0
2022-10-04 17:54:59: (7) Leistungsmessung durch shelly
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.152, setting all values to 0
2022-10-04 17:54:58: Device shelly6FewoEins Fehlermeldung: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_6watt0pos'
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret6'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.158, setting all values to 0
2022-10-04 17:54:57: (6) Leistungsmessung durch shelly
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret6'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.158, setting all values to 0
2022-10-04 17:54:56: (5) FewoZwei rel: 1 oncnt/onstandby/time: 0/0/64179 Status: 10 akt: 121 Z Hw: 0
failed to connect to device on 192.168.178.157, setting all values to 0
2022-10-04 17:54:55: (5) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.157, setting all values to 0
2022-10-04 17:54:55: (4) Gefrierschra rel: 1 oncnt/onstandby/time: 0/0/64442 Status: 10 akt: 34 Z Hw: 0
failed to connect to device on 192.168.178.156, setting all values to 0
2022-10-04 17:54:54: (4) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.156, setting all values to 0
2022-10-04 17:54:53: (3) Waschmasch rel: 1 oncnt/onstandby/time: 0/0/31229 Status: 10 akt: 0 Z Hw: 0
failed to connect to device on 192.168.178.154, setting all values to 0
2022-10-04 17:54:53: (3) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.154, setting all values to 0
2022-10-04 17:54:52: (2) PCMatthias rel: 1 oncnt/onstandby/time: 0/0/39257 Status: 10 akt: 36 Z Hw: 0
failed to connect to device on 192.168.178.155, setting all values to 0
2022-10-04 17:54:51: (2) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.155, setting all values to 0
2022-10-04 17:54:51: (1) Heizdecke rel: 0 oncnt/onstandby/time: 0/0/17851 Status: 10 akt: 0 Z Hw: 0
failed to connect to device on 192.168.178.153, setting all values to 0
2022-10-04 17:54:50: (1) Leistungsmessung durch shelly
failed to connect to device on 192.168.178.153, setting all values to 0
2022-10-04 17:54:49: Speicher Entladung(-)/Ladung(+): 0 SpeicherSoC: 100
2022-10-04 17:54:49: Uberschuss: 1903 Uberschuss mit Offset: 1903
2022-10-04 17:54:49: EVU Bezug(-)/Einspeisung(+): 1903 max Speicherladung: 0
2022-10-04 17:54:44: Total Watt nicht im Hausverbrauch: 0
2022-10-04 17:54:44: Total Watt nichtabschaltbarer smarthomedevices: 187
2022-10-04 17:54:44: Total Watt abschaltbarer smarthomedevices: 0
2022-10-04 17:54:44: Device shelly7Test Fehlermeldung: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_7watt0pos'
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Traceback (most recent call last):
failed to connect to device on 192.168.178.152, setting all values to 0
2022-10-04 17:54:44: (7) Leistungsmessung durch shelly
PermissionError: [Errno 13] Permission denied: '/var/www/html/openWB/ramdisk/smarthome_device_ret7'
    str(devicenumber), 'w') as f1:
  File "/var/www/html/openWB/modules/smarthome/shelly/watt.py", line 144, in <module>
Kommst du denn auf den Shelly wenn du die IP im Browser eingibst?
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von Becker »

Weiß Jemand wie man das SH Gerät "grün" kriegt ?
das rot durchgestrichene sieht echt nicht schön aus.
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
Daphne
Beiträge: 73
Registriert: Do Sep 29, 2022 12:34 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von Daphne »

okaegi hat geschrieben: Di Okt 04, 2022 4:53 pm sorry das zweite log ist nich das Smarthome.log,
Gruss Oliver
Hallo Oliver,

wo finde ich das Smarthome.log. Finde es seit Update auf Beta 1.9.279 nicht mehr.

Kann es evtl. sein, das seit dem Update auf die Beta die Shellys im SH2.0 nicht mehr aktualisiert werden? Seitdem bleiben alle "eingefroren", egal welcher Zustand.

Übrigens komme ich auf alle Shellys mit dem Browser und auch in der App auf iOS sind sie aktuell und funktional. Haben auch alle feste IP.
Vielen Dank
13,8 kWp-Anlage LG + LG Batteriespeicher 10 kW
OpenWB Wallbox, Ver. 2.x (Master)
Cupra Born 58 kWh
aiole
Beiträge: 7168
Registriert: Mo Okt 08, 2018 4:51 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von aiole »

Becker hat geschrieben: Mi Okt 05, 2022 5:43 am Weiß Jemand wie man das SH Gerät "grün" kriegt ?
das rot durchgestrichene sieht echt nicht schön aus.
Guck mal hier:
viewtopic.php?p=72584#p72584

Du musst halt die Einschaltbedingung durchlaufen und die Ausschaltbedingung darf noch nicht greifen.
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von Becker »

aiole hat geschrieben: Mi Okt 05, 2022 9:55 am Guck mal hier:
viewtopic.php?p=72584#p72584

Du musst halt die Einschaltbedingung durchlaufen und die Ausschaltbedingung darf noch nicht greifen.
danke, die gibt es aber nicht :lol:
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
aiole
Beiträge: 7168
Registriert: Mo Okt 08, 2018 4:51 pm

Re: SmartHome 2.0 - Geräte einbinden

Beitrag von aiole »

"Gerät kann schalten" = Ja
gibt die Bedingungen frei. Inwieweit das mit MQTT zusammenpasst, steht auf einem anderen Blatt.
Antworten