backup 20240718
This commit is contained in:
52
esphome/cfg_offline/plant-sensor-1.yaml
Executable file
52
esphome/cfg_offline/plant-sensor-1.yaml
Executable file
@@ -0,0 +1,52 @@
|
||||
substitutions:
|
||||
device_name: "plant_sensor1"
|
||||
friendly_name: "plant sensor 1"
|
||||
comment: "esp32, plant"
|
||||
location: "tuin"
|
||||
api_password: !secret plant_sensor1_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret plant_sensor1
|
||||
#project specific params
|
||||
project_version: '1.0'
|
||||
loglevel: DEBUG
|
||||
moisture_min: '2.82'
|
||||
moisture_max: '1.39'
|
||||
conductivity_min: '0.075'
|
||||
conductivity_max: '0.25'
|
||||
# Uncomment run_duration and sleep_duration if you want to use deepsleep
|
||||
# set how long to stay awake - NOT less then 10sec
|
||||
run_duration: 15s
|
||||
update_interval: 5s
|
||||
# set how long to sleep in minutes
|
||||
sleep_duration: 60min
|
||||
mqtt_broker_ip: !secret mqtt_broker_ip
|
||||
mqtt_broker_user: !secret mqtt_broker_user
|
||||
mqtt_broke_pass: !secret mqtt_broker_pass
|
||||
mqtt_ota_topic: "esphomeOTA/plant"
|
||||
|
||||
pin_sda: GPIO25
|
||||
pin_scl: GPIO26
|
||||
pin_wake: GPIO35
|
||||
pin_vbatt: GPIO33
|
||||
pin_fertilizer: GPIO34
|
||||
pin_soil: GPIO32
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_lolin32.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
i2c: !include interfaces/i2c_a.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
deepsleep: !include common/deepsleep_wakepin.yaml
|
||||
time: !include templates/time.yaml
|
||||
#sensors
|
||||
plantsensors: !include sensors/plantsensors.yaml
|
||||
light: !include sensors/light_bh1750.yaml
|
||||
bme280: !include sensors/bme280.yaml
|
||||
battery: !include sensors/battery.yaml
|
||||
|
||||
|
||||
53
esphome/cfg_offline/plant-sensor-2.yaml
Normal file
53
esphome/cfg_offline/plant-sensor-2.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
substitutions:
|
||||
device_name: "plant_sensor2"
|
||||
friendly_name: "plant sensor 2"
|
||||
comment: "esp32, plant"
|
||||
location: "zolder"
|
||||
api_password: !secret plant_sensor1_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret plant_sensor2
|
||||
#project specific params
|
||||
project_version: '1.0'
|
||||
update_interval: 30min
|
||||
loglevel: DEBUG
|
||||
moisture_min: '2.82'
|
||||
moisture_max: '1.39'
|
||||
conductivity_min: '0.075'
|
||||
conductivity_max: '0.25'
|
||||
# Uncomment run_duration and sleep_duration if you want to use deepsleep
|
||||
# set how long to stay awake - NOT less then 10sec
|
||||
run_duration: 11s
|
||||
# set how long to sleep in minutes
|
||||
sleep_duration: 60min
|
||||
mqtt_broker_ip: !secret mqtt_broker_ip
|
||||
mqtt_broker_user: !secret mqtt_broker_user
|
||||
mqtt_broke_pass: !secret mqtt_broker_pass
|
||||
mqtt_ota_topic: "esphomeOTA/mailbox"
|
||||
|
||||
pin_power: GPIO4
|
||||
pin_sda: GPIO25
|
||||
pin_scl: GPIO26
|
||||
pin_wake: GPIO35
|
||||
pin_vbatt: GPIO33
|
||||
pin_fertilizer: GPIO34
|
||||
pin_soil: GPIO32
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_lolin32.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
i2c: !include interfaces/i2c_a.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
#deepsleep: !include common/deepsleep_wakepin.yaml
|
||||
time: !include templates/time.yaml
|
||||
#sensors
|
||||
plantsensors: !include sensors/plantsensors.yaml
|
||||
light: !include sensors/light_bh1750.yaml
|
||||
bme280: !include sensors/bme280.yaml
|
||||
battery: !include sensors/battery.yaml
|
||||
|
||||
|
||||
83
esphome/cfg_offline/zigbee-server.yaml
Executable file
83
esphome/cfg_offline/zigbee-server.yaml
Executable file
@@ -0,0 +1,83 @@
|
||||
substitutions:
|
||||
device_name: "zigbee_server"
|
||||
friendly_name: "Zigbee server"
|
||||
comment: "esp32, POE eth zigbee"
|
||||
location: "hass"
|
||||
api_password: !secret zigbee_server_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
dns1: !secret ip_dns1
|
||||
dns2: !secret ip_dns2
|
||||
ip: !secret zigbee_server_ip
|
||||
pin_button: GPIO39
|
||||
pin_leds: GPIO25
|
||||
pin_mdc: GPIO23
|
||||
pin_mdio: GPIO18
|
||||
pin_clk: GPIO17_OUT
|
||||
pin_power: GPIO5
|
||||
pin_efrReset: GPIO33
|
||||
pin_efrTX: GPIO12
|
||||
pin_efrRX: GPIO16
|
||||
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_wroom_arduino.yaml
|
||||
# connection: !include common/wifi.yaml
|
||||
device_base: !include common/common.yaml
|
||||
ethernet: !include interfaces/eth_LAN8720A.yaml
|
||||
# bt_proxy: !include templates/ble_proxy.yaml
|
||||
ota: !include common/ota.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
uptimesensor: !include sensors/uptime.yaml
|
||||
time: !include templates/time.yaml
|
||||
|
||||
external_components:
|
||||
- source: github://tube0013/esphome-stream-server-v2
|
||||
- source: github://syssi/esphome-zeroconf@main
|
||||
|
||||
# web_server:
|
||||
# port: 80
|
||||
|
||||
# switch:
|
||||
# - platform: gpio
|
||||
# pin: ${pin_efrReset}
|
||||
# id: zRST_gpio
|
||||
# inverted: yes
|
||||
# restore_mode: ALWAYS_OFF
|
||||
|
||||
|
||||
button:
|
||||
- platform: restart
|
||||
name: "Restart the Gateway"
|
||||
disabled_by_default: true
|
||||
|
||||
uart:
|
||||
id: uart_bus
|
||||
tx_pin: ${pin_efrTX}
|
||||
rx_pin: ${pin_efrRX}
|
||||
baud_rate: 115200
|
||||
stop_bits: 1
|
||||
|
||||
stream_server:
|
||||
uart_id: uart_bus
|
||||
id: ss
|
||||
port: 6638 # optional, default is 6638
|
||||
|
||||
binary_sensor:
|
||||
- platform: stream_server
|
||||
stream_server: ss
|
||||
name: "TubesZB Serial Connected"
|
||||
|
||||
zeroconf:
|
||||
- service: tubeszb
|
||||
protocol: tcp
|
||||
port: 6638
|
||||
txt:
|
||||
version: 1.0
|
||||
name: TubesZB
|
||||
radio_type: ember
|
||||
baud_rate: 115200
|
||||
data_flow_control: software
|
||||
Reference in New Issue
Block a user