fabian-lauer / dbus-shelly-3em-smartmeter

Integrate Shelly 3EM smart meter into Victron Energies Venus OS
125 stars 55 forks source link

current.log is spamming and blows up #25

Closed LuigiBer closed 1 year ago

LuigiBer commented 1 year ago

example: 2023-02-03 09:02:07,176 urllib3.connectionpool DEBUG Starting new HTTP connection (1): 192.168.178.109:80 2023-02-03 09:02:07,250 urllib3.connectionpool DEBUG http://192.168.178.109:80 "GET /status HTTP/1.1" 200 1172 2023-02-03 09:02:07,258 root DEBUG House Consumption (/Ac/Power): 280.94 2023-02-03 09:02:07,260 root DEBUG House Forward (/Ac/Energy/Forward): 0.2521143736111108 2023-02-03 09:02:07,262 root DEBUG House Reverse (/Ac/Energy/Revers): 1.9358333333333334e-05 2023-02-03 09:02:07,264 root DEBUG --- 2023-02-03 09:02:07,649 urllib3.connectionpool DEBUG Starting new HTTP connection (1): 192.168.178.109:80 2023-02-03 09:02:07,809 urllib3.connectionpool DEBUG http://192.168.178.109:80 "GET /status HTTP/1.1" 200 1172 2023-02-03 09:02:07,826 root DEBUG House Consumption (/Ac/Power): 273.22 2023-02-03 09:02:07,831 root DEBUG House Forward (/Ac/Energy/Forward): 0.252152320833333 2023-02-03 09:02:07,833 root DEBUG House Reverse (/Ac/Energy/Revers): 1.9358333333333334e-05 2023-02-03 09:02:07,835 root DEBUG --- 2023-02-03 09:02:08,222 urllib3.connectionpool DEBUG Starting new HTTP connection (1): 192.168.178.109:80 2023-02-03 09:02:08,306 urllib3.connectionpool DEBUG http://192.168.178.109:80 "GET /status HTTP/1.1" 200 1172 2023-02-03 09:02:08,344 root DEBUG House Consumption (/Ac/Power): 273.22 2023-02-03 09:02:08,355 root DEBUG House Forward (/Ac/Energy/Forward): 0.2521902680555552 2023-02-03 09:02:08,362 root DEBUG House Reverse (/Ac/Energy/Revers): 1.9358333333333334e-05

how can i deactivate this?

fabian-lauer commented 1 year ago

Hi - in the config.ini file (https://github.com/fabian-lauer/dbus-shelly-3em-smartmeter/blob/main/config.ini) you can define a loglevel in the latest version - can set it to ERROR or to NONE

LuigiBer commented 1 year ago

o.k. thank you!

is it possible that you to edit the config file with of possibles Modes like ERROR NONE DEBUG