mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 14:49:10 -04:00
Compare commits
6 Commits
d6eec926e7
...
feature/ad
| Author | SHA1 | Date | |
|---|---|---|---|
| 4538bb05da | |||
| 4530be4916 | |||
| 4b63b71a85 | |||
| 6029bcd6b9 | |||
| 261c7008f0 | |||
| 8cce072e76 |
@@ -2,6 +2,16 @@ esphome:
|
|||||||
name: batteries
|
name: batteries
|
||||||
friendly_name: batteries
|
friendly_name: batteries
|
||||||
|
|
||||||
|
platformio_options:
|
||||||
|
build_unflags:
|
||||||
|
- -fno-lto
|
||||||
|
- -Og
|
||||||
|
- -O0
|
||||||
|
build_flags:
|
||||||
|
- -flto
|
||||||
|
- -Os
|
||||||
|
- -Wl,--gc-sections
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
board: esp32dev
|
board: esp32dev
|
||||||
framework:
|
framework:
|
||||||
@@ -23,14 +33,7 @@ ota:
|
|||||||
wifi:
|
wifi:
|
||||||
ssid: !secret wifi_ssid
|
ssid: !secret wifi_ssid
|
||||||
password: !secret wifi_password
|
password: !secret wifi_password
|
||||||
|
fast_connect: true
|
||||||
captive_portal:
|
|
||||||
|
|
||||||
esp32_ble_tracker:
|
|
||||||
scan_parameters:
|
|
||||||
interval: 1100ms
|
|
||||||
window: 1100ms
|
|
||||||
active: true
|
|
||||||
|
|
||||||
ble_client:
|
ble_client:
|
||||||
- mac_address: "C8:47:80:29:0F:DB"
|
- mac_address: "C8:47:80:29:0F:DB"
|
||||||
@@ -55,8 +58,6 @@ sensor:
|
|||||||
jk_bms_ble_id: jk_bms0
|
jk_bms_ble_id: jk_bms0
|
||||||
total_voltage:
|
total_voltage:
|
||||||
name: "JK0 Total Voltage"
|
name: "JK0 Total Voltage"
|
||||||
current:
|
|
||||||
name: "JK0 Current"
|
|
||||||
state_of_charge:
|
state_of_charge:
|
||||||
name: "JK0 SoC"
|
name: "JK0 SoC"
|
||||||
power:
|
power:
|
||||||
@@ -65,12 +66,8 @@ sensor:
|
|||||||
name: "JK0 Temp 1"
|
name: "JK0 Temp 1"
|
||||||
temperature_sensor_2:
|
temperature_sensor_2:
|
||||||
name: "JK0 Temp 2"
|
name: "JK0 Temp 2"
|
||||||
balancing:
|
|
||||||
name: "JK0 balancing"
|
|
||||||
charging_cycles:
|
charging_cycles:
|
||||||
name: "JK0 charging cycles"
|
name: "JK0 charging cycles"
|
||||||
total_runtime:
|
|
||||||
name: "JK0 total runtime"
|
|
||||||
balancing_current:
|
balancing_current:
|
||||||
name: "JK0 balancing current"
|
name: "JK0 balancing current"
|
||||||
|
|
||||||
@@ -79,8 +76,6 @@ sensor:
|
|||||||
jk_bms_ble_id: jk_bms1
|
jk_bms_ble_id: jk_bms1
|
||||||
total_voltage:
|
total_voltage:
|
||||||
name: "JK1 Total Voltage"
|
name: "JK1 Total Voltage"
|
||||||
current:
|
|
||||||
name: "JK1 Current"
|
|
||||||
state_of_charge:
|
state_of_charge:
|
||||||
name: "JK1 SoC"
|
name: "JK1 SoC"
|
||||||
power:
|
power:
|
||||||
@@ -89,12 +84,8 @@ sensor:
|
|||||||
name: "JK1 Temp 1"
|
name: "JK1 Temp 1"
|
||||||
temperature_sensor_2:
|
temperature_sensor_2:
|
||||||
name: "Jk1 Temp 2"
|
name: "Jk1 Temp 2"
|
||||||
balancing:
|
|
||||||
name: "JK1 balancing"
|
|
||||||
charging_cycles:
|
charging_cycles:
|
||||||
name: "JK1 charging cycles"
|
name: "JK1 charging cycles"
|
||||||
total_runtime:
|
|
||||||
name: "JK1 total runtime"
|
|
||||||
balancing_current:
|
balancing_current:
|
||||||
name: "JK1 balancing current"
|
name: "JK1 balancing current"
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
# games
|
# games
|
||||||
dwarf-fortress
|
dwarf-fortress
|
||||||
endless-sky
|
endless-sky
|
||||||
|
osu-lazer
|
||||||
prismlauncher
|
prismlauncher
|
||||||
tower-pixel-dungeon
|
tower-pixel-dungeon
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -80,6 +80,7 @@
|
|||||||
"nix.serverPath": "nil",
|
"nix.serverPath": "nil",
|
||||||
|
|
||||||
// python tools
|
// python tools
|
||||||
|
"python.defaultInterpreterPath": "/run/current-system/sw/bin/python",
|
||||||
"mypy.runUsingActiveInterpreter": true,
|
"mypy.runUsingActiveInterpreter": true,
|
||||||
|
|
||||||
// force the use of rust-analyzer from dev shell
|
// force the use of rust-analyzer from dev shell
|
||||||
|
|||||||
Reference in New Issue
Block a user