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
Hey there,
I had the problem, that the script was not working with Shelly Pro3EM (Firmware 20241011-114455/1.4.4-g6d2a586).
In the logs the following crital error was mentioned:
Traceback (most recent call last):
File "/data/dbus-shelly-3em-smartmeter/dbus-shelly-3em-smartmeter.py", line 273, in main
pvac_output = DbusShelly3emService(
File "/data/dbus-shelly-3em-smartmeter/dbus-shelly-3em-smartmeter.py", line 66, in init
self._dbusservice.add_path('/Serial', self._getShellySerial())
File "/data/dbus-shelly-3em-smartmeter/dbus-shelly-3em-smartmeter.py", line 89, in _getShellySerial
serial = meter_data['mac']
KeyError: 'mac'
I figuered out, that my Shelly (probably because of the newer Firmware) used another json format.
So I adapted the script to handle the new json from "http://<>/rpc/Shelly.GetStatus"
Here are the changes (compared to v0.3), which work for me:
Hello, thx for showing how to fix that Problem. I need some help pls. I have no idea how to make that changes . Can you give me al little hint pls. Greetz
Update: I have solve that Problem with that changes. I thank you very much . Greetz
Hey there,
I had the problem, that the script was not working with Shelly Pro3EM (Firmware 20241011-114455/1.4.4-g6d2a586).
In the logs the following crital error was mentioned:
I figuered out, that my Shelly (probably because of the newer Firmware) used another json format.
So I adapted the script to handle the new json from "http://<>/rpc/Shelly.GetStatus"
Here are the changes (compared to v0.3), which work for me:
Maybe it will help one or the other.
The text was updated successfully, but these errors were encountered: