1 01 2023
printf “0x%x” $(( 18446744073709397316 )) output: 0xfffffffffffda544 then: printf “%d” $(( 0xfffffffffffda544 )) output: -154300 short versions: printf “%d” $(( 18446744073709397316 )) echo $(( 18446744073709397316 )) output: -154300 -154300
5 12 2022
1. Im WebBrowser kann man trotz ServiceCode (“PARAKO Code”) so gut wie keine zusätzlichen Einstellungen vornehmen, lediglich Parallelverdrahtung an/aus und somit Schattenmanagement String 1+2 an/aus anpassen. Den ServiceCode erhalten *nur* Installateure, diese dürfen den Code *nicht* weitergeben. 2. Falls ein KSEM G2 SmartMeter genutzt wird, muss die LAN Verbindung abgesteckt werden, sonst kann sich die […]
12 11 2022
KOSTAL KSEM G2 (modbus TCP) grid power total: 1) In device configuration, enable ModBus TCP slave 2) Install mbpoll 3) Reading smart meter using command line: mbpoll -0 -t 3:int -r 0,2 -c 2 192.168.1.12 -1 -B -q Simple BASH parsing example: mbpoll -0 -t 3:int -r 0,2 -c 2 192.168.1.12 -1 -B -q > […]
23 10 2022
13 10 2022
Direktlink zum Anbieter Frank Bräuer aus Hamburg: https://www.akkutauschen.de/ Siehe auch: https://www.akku.net/
12 10 2022
Optimizing mySQL mariaDB disk usage after deleting/truncating large tables: ALTER TABLE YOURTABLE ENGINE=InnoDB This also works when ENGINE already was InnoDB …
5 02 2022
For API documentation see https://smart-me.com/swagger/ui/index and/or https://www.any-api.com/smart_me_com/smart_me_com/docs/API_Description Current energy usage (update every minute for free *or* every second for a small subscription fee or a one time payment, see https://web.smart-me.com/en/cloud-services-pricing/ …. also updates each second while running smart-me mobile app or website live data): curl -s –user “username:password” -H “Accept: application/json” “https://smart-me.com:443/api/Values/a1b1c1d1-abcd-1234-abcd-a1b2c3e4g5h6” example output: {“DeviceId”:”a1b1c1d1-abcd-1234-abcd-a1b2c3e4g5h6″,”Date”:”2022-02-05T17:53:16.3596015Z”,”Values”:[{“Obis”:”1-0:1.8.0*255″,”Value”:15492250.0},{“Obis”:”1-0:2.8.0*255″,”Value”:4154730.0},{“Obis”:”1-0:1.8.1*255″,”Value”:10728380.0},{“Obis”:”1-0:1.8.2*255″,”Value”:4763870.0},{“Obis”:”1-0:1.8.3*255″,”Value”:0.0},{“Obis”:”1-0:1.8.4*255″,”Value”:0.0},{“Obis”:”1-0:2.8.1*255″,”Value”:4153930.0},{“Obis”:”1-0:2.8.2*255″,”Value”:800.0},{“Obis”:”1-0:2.8.3*255″,”Value”:0.0},{“Obis”:”1-0:2.8.4*255″,”Value”:0.0},{“Obis”:”1-0:1.7.0*255″,”Value”:2456.0},{“Obis”:”0-0:96.14.0*255″,”Value”:1.0},{“Obis”:”1-0:32.7.0*255″,”Value”:236.0},{“Obis”:”1-0:52.7.0*255″,”Value”:235.0},{“Obis”:”1-0:72.7.0*255″,”Value”:236.0},{“Obis”:”1-0:31.7.0*255″,”Value”:1.07},{“Obis”:”1-0:51.7.0*255″,”Value”:7.89},{“Obis”:”1-0:71.7.0*255″,”Value”:2.18}]} […]
5 02 2022
1) Enable local HTTP API v2 inside go-e app (Internet -> extended settings) 2) Use curl to adjust charging: #adjust amps curl “http://1.2.3.4/api/set?amp=16” #set 1-phase curl “http://1.2.3.4/api/set?psm=1” #set 3-phase curl “http://1.2.3.4/api/set?psm=2” #start charging curl “http://1.2.3.4/api/set?frc=0” #stop charging curl “http://1.2.3.4/api/set?frc=1” Get settings (all or some, see https://github.com/goecharger/go-eCharger-API-v2/blob/main/apikeys-de.md ): curl “http://1.2.3.4/api/status” curl “http://1.2.3.4/api/status?filter=amp,psm”
1 08 2021
In Österreich ist es noch garnicht so einfach, günstige Konten zu bekommen, besonders für GmbHs. Für Einzelunternehmer gibt es zahlreiche Angebote, für GmbHs wird die Auswahl schnell eng (entweder weil Körperschaften vom Angebot ausgeschlossen sind, oder weil nur GmbHs in Deutschland akzeptiert werden). Aufgrund der Recherche der letzten 2 Jahre hier meine Empfehlungen: Privat – […]
1 03 2021
Scan My Tesla (SMT) and OBD2 Bluetooth Adapter basics: Tesla OBD2 Schnittstelle auslesen https://play.google.com/store/apps/details?id=com.emon.canbus.tesla&hl=de_AT&gl=US Analyzers / Inspectors: https://github.com/amund7/CANBUS-Analyzer https://github.com/tesLAXApp/tesLAX https://github.com/hanswolff/TeslaCanBusInspector https://github.com/shred86/tesla-can-frame-tool CAN DBC file: https://www.csselectronics.com/screen/page/can-dbc-file-database-intro/language/en https://github.com/joshwardell/model3dbc/blob/master/README.md CAN BUS message/id overview: https://docs.google.com/spreadsheets/d/1ijvNE4lU9Xoruvcg5AhUNLKr7xYyHcxa8YSkTxAERUw/edit#gid=766812754 Tutorial (including Salae Logic Analyzer analysis): https://www.instructables.com/Exploring-the-Tesla-Model-S-CAN-Bus/