baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

KOSTAL PIKO + KSEM G2 modbus API access etc.

KOSTAL KSEM G2 (modbus TCP) grid power total: 1) In device configuration, enable ModBus TCP slave 2) Install mbpoll 3) Read power meter using command line: mbpoll -t 3:int16 -r 2,4 192.168.1.12 Simple bash parsing example: mbpoll -r 2,4 192.168.1.12 -1 -q > /tmp/mbpoll.txt grid=$(grep “\[2\].*” -m 1 /tmp/mbpoll.txt | cut -d ‘:’ -f 2 […]

smart-me.com REST API curl examples – Smart Meter for KAMSTRUP DK-8660 – EV solar charging – PV Überschussladen

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}]} […]

Solar charging with go-e Charger (hardware v3) – PV Überschussladen mit go-e Charger (hardware v3)

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”

Günstige Bankkonten für Privat und Firma (GmbH)

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 – […]

Tesla CAN BUS hacking

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/

Gimp Tutorials

Gimp Free Download: https://www.gimp.org/ Tutorials English: Basics – https://www.youtube.com/watch?v=2EPIUyFJ4ag Gimp for Beginners – https://www.youtube.com/watch?v=_L_MMU22bAw&pbjreload=101 5 Ways to Remove Anything from a Photo in GIMP – https://www.youtube.com/watch?v=yNzIHrsmeIw GIMP Resynthesizer is BETTER Than Photoshop’s Content Aware Fill – https://www.youtube.com/watch?v=J61ExqvNcBQ G’MIC Foreground Extraction (Interactive) – https://www.youtube.com/watch?v=JfxTTU4yba8 Auto-Illuminate 2D shapes – https://www.youtube.com/watch?v=G1wYSJTsVtI Face Swap using Seamless Blending – https://www.youtube.com/watch?v=2e6FikWMkaQ […]

ZFS zpool creation

*CREATION* fdisk /dev/sdXXXX #then “g” to set type GPT sgdisk –zap-all /dev/sdXXXX zpool create poolname raidz2 /dev/sd[b-f] zfs set compression=lz4 poolname zfs set mountpoint=/mnt/poolname poolname *ADDING A SPARE* zpool add poolname spare /dev/sdXXXXXXX zpool set autoreplace=on poolname zpool status poolname *FORCING /dev/disk/by-id instead of /dev/sdX* zpool import -d /dev/disk/by-id/ata-Hitachi_HDS722020ALA330_JK1101YAKDJN7V-part1 -d /dev/disk/by-id/ata-Hitachi_HDS722020ALA330_JK1161YAGS0G5V-part1 -d /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1270FA02L5ED-part1 -d /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1270FA02TW8D-part1 […]

Previous Posts

Theme created by thememotive.com. Powered by WordPress.org.