-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtcan485.yaml
More file actions
71 lines (57 loc) · 1.9 KB
/
Copy pathtcan485.yaml
File metadata and controls
71 lines (57 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# GenFobber Example - LilyGo TCAN485
# https://github.com/andrewfraley/genfobber-esphome
# TCAN485 purchase link
# https://amzn.to/4bsKyaZ
# Available Pins
# GND | VDD
# 18 | VDD
# 34 | 35
# 5 | 12
# 32 | 33
# GND | 25
esphome:
name: genfobber-tcan485
esp32:
board: esp32dev
framework:
type: arduino
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
level: INFO
api:
ota:
platform: esphome
packages:
genfobber:
url: https://github.com/andrewfraley/genfobber-esphome.git
ref: main
refresh: 0s
files:
- path: 'genfobber.yaml'
vars:
# Logger Configuration
log_level: "INFO" # VERBOSE / DEBUG / INFO / WARN (note your global log level needs to be at least this same level to see these logs)
log_tag: "genfobber"
# CC1101 Configuration
cc1101_frequency: "433.92MHz"
# CC1101 Pins
# GND # 1 - Black
# VCC (+3.3V) # 2 - Red
cc1101_gdo0_pin: "25" # 3 - Blue
cc1101_cs_pin: "5" # 4 - Green
spi_clk_pin: "12" # 5 - Yellow
spi_mosi_pin: "32" # 6 - Orange
spi_miso_pin: "33" # 7 - Purple
cc1101_gdo2_pin: "34" # 8 - White
# Dry Contact Input Pin
dry_contact_pin: "18"
dry_contact_inverted: "true"
# Start/Stop Generator Transmission Codes
# these are just place holders, you should have a long set of different code timings here
start_generator_code: "339, -1161, 339, -1161, 339, -1161, 339, -1161"
stop_generator_code: "320, -1161, 339, -1161, 339, -1161, 339, -1161"
# Transmission Settings
tx_repeat_times: "3"
tx_repeat_wait: "15ms" # This might be critical depending on the device receiving the signal, adjust if necessary