mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
pr fix, allow_other_uses: true try2
This commit is contained in:
parent
f7c0ef125d
commit
e1c1db328d
8 changed files with 41 additions and 21 deletions
|
@ -13,8 +13,6 @@ from esphome.const import (
|
||||||
STATE_CLASS_MEASUREMENT,
|
STATE_CLASS_MEASUREMENT,
|
||||||
)
|
)
|
||||||
|
|
||||||
CODEOWNERS = ["@gabest11", "@dbuezas", "@nistvan86", "@LSatan"]
|
|
||||||
|
|
||||||
DEPENDENCIES = ["spi"]
|
DEPENDENCIES = ["spi"]
|
||||||
|
|
||||||
CONF_GDO0 = "gdo0"
|
CONF_GDO0 = "gdo0"
|
||||||
|
|
|
@ -7,8 +7,12 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: GPIO10
|
cs_pin: GPIO10
|
||||||
gdo0: GPIO3
|
gdo0:
|
||||||
gdo2: GPIO4
|
number: GPIO3
|
||||||
|
allow_other_uses: true
|
||||||
|
gdo2:
|
||||||
|
number: GPIO4
|
||||||
|
allow_other_uses: true
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
rssi:
|
rssi:
|
||||||
|
@ -21,9 +25,7 @@ sensor:
|
||||||
# dummy transmitter will push rx to the third place
|
# dummy transmitter will push rx to the third place
|
||||||
|
|
||||||
remote_transmitter:
|
remote_transmitter:
|
||||||
- pin:
|
- pin: GPIO21 # TX pin
|
||||||
number: GPIO21 # TX pin
|
|
||||||
allow_other_uses: true
|
|
||||||
carrier_duty_percent: 100%
|
carrier_duty_percent: 100%
|
||||||
id: dummytx
|
id: dummytx
|
||||||
- pin:
|
- pin:
|
||||||
|
|
|
@ -7,8 +7,12 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: GPIO10
|
cs_pin: GPIO10
|
||||||
gdo0: GPIO3
|
gdo0:
|
||||||
gdo2: GPIO4
|
number: GPIO3
|
||||||
|
allow_other_uses: true
|
||||||
|
gdo2:
|
||||||
|
number: GPIO4
|
||||||
|
allow_other_uses: true
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
rssi:
|
rssi:
|
||||||
|
@ -21,9 +25,7 @@ sensor:
|
||||||
# dummy transmitter will push rx to the third place
|
# dummy transmitter will push rx to the third place
|
||||||
|
|
||||||
remote_transmitter:
|
remote_transmitter:
|
||||||
- pin:
|
- pin: GPIO21 # TX pin
|
||||||
number: GPIO21 # TX pin
|
|
||||||
allow_other_uses: true
|
|
||||||
carrier_duty_percent: 100%
|
carrier_duty_percent: 100%
|
||||||
id: dummytx
|
id: dummytx
|
||||||
- pin:
|
- pin:
|
||||||
|
|
|
@ -7,8 +7,12 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: GPIO5
|
cs_pin: GPIO5
|
||||||
gdo0: GPIO32
|
gdo0:
|
||||||
gdo2: GPIO33
|
number: GPIO32
|
||||||
|
allow_other_uses: true
|
||||||
|
gdo2:
|
||||||
|
number: GPIO33
|
||||||
|
allow_other_uses: true
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
rssi:
|
rssi:
|
||||||
|
|
|
@ -7,8 +7,12 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: GPIO34
|
cs_pin: GPIO34
|
||||||
gdo0: GPIO8
|
gdo0:
|
||||||
gdo2: GPIO9
|
number: GPIO8
|
||||||
|
allow_other_uses: true
|
||||||
|
gdo2:
|
||||||
|
number: GPIO9
|
||||||
|
allow_other_uses: true
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
rssi:
|
rssi:
|
||||||
|
|
|
@ -7,8 +7,12 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: GPIO34
|
cs_pin: GPIO34
|
||||||
gdo0: GPIO8
|
gdo0:
|
||||||
gdo2: GPIO9
|
number: GPIO8
|
||||||
|
allow_other_uses: true
|
||||||
|
gdo2:
|
||||||
|
number: GPIO9
|
||||||
|
allow_other_uses: true
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
rssi:
|
rssi:
|
||||||
|
|
|
@ -7,8 +7,12 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: GPIO5
|
cs_pin: GPIO5
|
||||||
gdo0: GPIO32
|
gdo0:
|
||||||
gdo2: GPIO33
|
number: GPIO32
|
||||||
|
allow_other_uses: true
|
||||||
|
gdo2:
|
||||||
|
number: GPIO33
|
||||||
|
allow_other_uses: true
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
rssi:
|
rssi:
|
||||||
|
|
|
@ -7,7 +7,9 @@ sensor:
|
||||||
- platform: cc1101
|
- platform: cc1101
|
||||||
id: transceiver
|
id: transceiver
|
||||||
cs_pin: D8 # GPIO15
|
cs_pin: D8 # GPIO15
|
||||||
gdo0: D1 # GPIO5
|
gdo0:
|
||||||
|
number: D1 # GPIO5
|
||||||
|
allow_other_uses: true
|
||||||
# gdo2: not used with ESP8266
|
# gdo2: not used with ESP8266
|
||||||
bandwidth: 200
|
bandwidth: 200
|
||||||
frequency: 433920
|
frequency: 433920
|
||||||
|
|
Loading…
Reference in a new issue