bassmaster187 / TeslaLogger

TeslaLogger is a self hosted data logger for your Tesla Model S/3/X/Y. Actually it supports RaspberryPi 3B, 3B+, 4B, Docker and Synology NAS.
https://www.teslalogger.de
GNU General Public License v3.0
519 stars 171 forks source link

Support for Shelly EM to get efficiency for 1phase loading eg using the Tesla UMC2 #914

Open Bankaifan opened 1 year ago

Bankaifan commented 1 year ago

When trying to add the shelly em as wallbox select shelly 3em the softwareversion is being detected, however the other two fields are "null" image

When i reopen the wallbox-settings, everything is empty again.

logfile.zip

Bankaifan commented 1 year ago

Seems like i missed the "Feature Request" label. However, I waited last night, when the car was loading - teslalogger didnt fill in the information from shelly. So it seems like Shelly EM and 3EM need to be two separate wallboxes

bassmaster187 commented 1 year ago

It seems like it works a little bit because the Version can be pulled from the api but "Utility kWh" is null, so the whole feature won't work. Could you please give me access to the Shelly device? e.g. Portforwarding or TeamViewer? You can contact me here: https://www.impala64.de/blog/kontakt/

bassmaster187 commented 1 year ago

Could you post the response of:

http://[ip of your shelly]/status

and

http://[ip of your shelly]/shelly

Bankaifan commented 1 year ago

``Hallo Christian,

hier der Output von Status: {"wifi_sta":{"connected":true,"ssid":"CWifi-DF104","ip":"192.168.188.103","rssi":-50},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"12:55","unixtime":1675425351,"serial":42685,"has_update":false,"mac":"485519D72670","cfg_changed_cnt":1,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"is_valid":true,"source":"cloud"}],"emeters":[{"power":211.79,"reactive":-276.05,"pf":-0.61,"voltage":238.16,"is_valid":true,"total":52538.6,"total_returned":0.0},{"power":0.00,"reactive":0.00,"pf":0.00,"voltage":238.16,"is_valid":true,"total":0.0,"total_returned":0.0}],"update":{"status":"idle","has_update":false,"new_version":"20221027-105518/v1.12.1-ga9117d3","old_version":"20221027-105518/v1.12.1-ga9117d3"},"ram_total":51072,"ram_free":35792,"fs_size":233681,"fs_free":157377,"uptime":840879}

Und hier von /shelly: {"type":"SHEM","mac":"485519D72670","auth":false,"fw":"20221027-105518/v1.12.1-ga9117d3","discoverable":false,"longid":1,"num_outputs":1,"num_meters":0,"num_emeters":2,"report_period":1}

Bzgl. Zugriff schick ich ne Nachricht

bassmaster187 commented 1 year ago

b59e16db8977fea5f08b16ddbc8b0df22af12faa

87a246bb34ecfcebf041d901f24f6384831860f9

a96a36f311c9fc067fe48e476a6efbb642ce87f2