Skip to content

Commit

Permalink
Reverting more local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gunstr committed Dec 18, 2023
1 parent 37553dc commit 4001681
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 104 deletions.
87 changes: 0 additions & 87 deletions .vscode/settings.json

This file was deleted.

5 changes: 2 additions & 3 deletions rego1000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ external_components:
- source: components

web_server:
port: 80

canbus:
- platform: esp32_can
id: can0
can_id: 0
tx_pin: GPIO5
rx_pin: GPIO35
tx_pin: GPIO23
rx_pin: GPIO22
bit_rate: 125kbps

climate:
Expand Down
25 changes: 12 additions & 13 deletions rego1000dump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ esphome:
- regovardump.h

esp32:
board: esp32-evb
board: nodemcu-32s
framework:
type: arduino

ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
manual_ip:
static_ip: 192.168.0.21
gateway: 192.168.0.1
subnet: 255.255.255.0
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "esp-rego1000"
password: !secret fallback_password

captive_portal:

# Enable logging
logger:
Expand All @@ -26,8 +26,7 @@ logger:

# Enable Home Assistant API
api:
encryption:
key: !secret ha_api_encryption_key
password: !secret hass_api_password

ota:
password: !secret ota_password
Expand Down
2 changes: 1 addition & 1 deletion regovardump.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class RegoReader : public Component {

static RegoReader *getInstance() {
if (!instance) {
instance = new RegoReader(GPIO_NUM_5, GPIO_NUM_35);
instance = new RegoReader(GPIO_NUM_23, GPIO_NUM_22);
}
return instance;
}
Expand Down

0 comments on commit 4001681

Please sign in to comment.