mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 01:06:52 +01:00
Compare commits
2
Commits
70d1079ccd
...
a3f3d90b2b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3f3d90b2b | ||
|
|
a909041263 |
No files matched your search
@@ -26,10 +26,6 @@ esp32:
|
|||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
# iBeacon on air from boot without the empty standard advertisement every 10 s
|
# iBeacon on air from boot without the empty standard advertisement every 10 s
|
||||||
external_components:
|
|
||||||
- source: github://randybb/esphome-components
|
|
||||||
components: [esp32_ble]
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
wifi: !include wifi.yaml
|
wifi: !include wifi.yaml
|
||||||
|
|
||||||
|
|||||||
@@ -79,6 +79,10 @@ external_components:
|
|||||||
- source: github://randybb/esphome-components
|
- source: github://randybb/esphome-components
|
||||||
components: [m5stack_keyboard]
|
components: [m5stack_keyboard]
|
||||||
refresh: 1h
|
refresh: 1h
|
||||||
|
# TEMP: esphome#23831 (OTA over CANopen, CiA 302-3); drop once merged
|
||||||
|
- source: github://pr#23831
|
||||||
|
components: [canopen]
|
||||||
|
refresh: 1h
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
@@ -88,6 +92,11 @@ packages:
|
|||||||
vars:
|
vars:
|
||||||
light_id: status_frame
|
light_id: status_frame
|
||||||
|
|
||||||
|
logger:
|
||||||
|
logs:
|
||||||
|
# canbus logs every frame at DEBUG, which slows the loop during SDO block transfers
|
||||||
|
canbus: INFO
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
- id: i2c_grove
|
- id: i2c_grove
|
||||||
sda: 2
|
sda: 2
|
||||||
@@ -105,6 +114,8 @@ canbus:
|
|||||||
tx_pin: 5
|
tx_pin: 5
|
||||||
can_id: 3
|
can_id: 3
|
||||||
bit_rate: 500kbps
|
bit_rate: 500kbps
|
||||||
|
# IDF default is 5 frames; an SDO block (16 segments in ~8 ms) overflowed it (EMCY 0x8110, partial block acks)
|
||||||
|
rx_queue_len: 32
|
||||||
|
|
||||||
canopen:
|
canopen:
|
||||||
- id: can_open
|
- id: can_open
|
||||||
@@ -150,6 +161,10 @@ script:
|
|||||||
uint8_t d[5] = {0, 0, 0, 0, (uint8_t) (millis() / 100)};
|
uint8_t d[5] = {0, 0, 0, 0, (uint8_t) (millis() / 100)};
|
||||||
id(pkp).send_frame(0x195, d, sizeof(d));
|
id(pkp).send_frame(0x195, d, sizeof(d));
|
||||||
|
|
||||||
|
ota:
|
||||||
|
- platform: canopen
|
||||||
|
canopen_id: can_open
|
||||||
|
|
||||||
# CardKB sends only the press (Shift/Sym/Fn resolved in the CardKB): a consumer reacts to a change of key_count
|
# CardKB sends only the press (Shift/Sym/Fn resolved in the CardKB): a consumer reacts to a change of key_count
|
||||||
# and reads the key from key_code (both in the same frame), or watches key_event alone (count % 255 << 8 | key)
|
# and reads the key from key_code (both in the same frame), or watches key_event alone (count % 255 << 8 | key)
|
||||||
canopen_entities:
|
canopen_entities:
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ external_components:
|
|||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|
||||||
|
logger:
|
||||||
|
logs:
|
||||||
|
# canbus logs every frame at DEBUG, which slows the loop during SDO block transfers
|
||||||
|
canbus: INFO
|
||||||
|
|
||||||
canbus:
|
canbus:
|
||||||
- platform: esp32_can
|
- platform: esp32_can
|
||||||
id: can_bus
|
id: can_bus
|
||||||
@@ -38,6 +43,8 @@ canbus:
|
|||||||
tx_pin: 23
|
tx_pin: 23
|
||||||
can_id: 1
|
can_id: 1
|
||||||
bit_rate: 500kbps
|
bit_rate: 500kbps
|
||||||
|
# IDF default is 5 frames; an SDO block (16 segments in ~8 ms) overflowed it (EMCY 0x8110, partial block acks)
|
||||||
|
rx_queue_len: 32
|
||||||
|
|
||||||
canopen:
|
canopen:
|
||||||
id: can_open
|
id: can_open
|
||||||
|
|||||||
@@ -35,6 +35,11 @@ external_components:
|
|||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|
||||||
|
logger:
|
||||||
|
logs:
|
||||||
|
# canbus logs every frame at DEBUG, which slows the loop during SDO block transfers
|
||||||
|
canbus: INFO
|
||||||
|
|
||||||
canbus:
|
canbus:
|
||||||
- platform: esp32_can
|
- platform: esp32_can
|
||||||
id: can_bus
|
id: can_bus
|
||||||
@@ -42,6 +47,8 @@ canbus:
|
|||||||
tx_pin: 23
|
tx_pin: 23
|
||||||
can_id: 2
|
can_id: 2
|
||||||
bit_rate: 500kbps
|
bit_rate: 500kbps
|
||||||
|
# IDF default is 5 frames; an SDO block (16 segments in ~8 ms) overflowed it (EMCY 0x8110, partial block acks)
|
||||||
|
rx_queue_len: 32
|
||||||
|
|
||||||
canopen:
|
canopen:
|
||||||
id: can_open
|
id: can_open
|
||||||
|
|||||||
@@ -35,10 +35,6 @@ esp32:
|
|||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
# iBeacon on air from boot without the empty standard advertisement every 10 s
|
# iBeacon on air from boot without the empty standard advertisement every 10 s
|
||||||
external_components:
|
|
||||||
- source: github://randybb/esphome-components
|
|
||||||
components: [esp32_ble]
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
ipv6_only: !include common/ipv6_only.yaml
|
ipv6_only: !include common/ipv6_only.yaml
|
||||||
|
|||||||
@@ -107,6 +107,11 @@ m5stack_mini_joyc:
|
|||||||
id: joy_button
|
id: joy_button
|
||||||
name: Joystick Button
|
name: Joystick Button
|
||||||
|
|
||||||
|
logger:
|
||||||
|
logs:
|
||||||
|
# canbus logs every frame at DEBUG, which slows the loop during SDO block transfers
|
||||||
|
canbus: INFO
|
||||||
|
|
||||||
canbus:
|
canbus:
|
||||||
- platform: esp32_can
|
- platform: esp32_can
|
||||||
id: can_bus
|
id: can_bus
|
||||||
@@ -115,6 +120,8 @@ canbus:
|
|||||||
can_id: 4
|
can_id: 4
|
||||||
bit_rate: 500kbps
|
bit_rate: 500kbps
|
||||||
mode: LISTENONLY # TEMP: the node does not see the bus on RX (GPIO32), keep it off the bus
|
mode: LISTENONLY # TEMP: the node does not see the bus on RX (GPIO32), keep it off the bus
|
||||||
|
# IDF default is 5 frames; an SDO block (16 segments in ~8 ms) overflowed it (EMCY 0x8110, partial block acks)
|
||||||
|
rx_queue_len: 32
|
||||||
|
|
||||||
canopen:
|
canopen:
|
||||||
- id: can_open
|
- id: can_open
|
||||||
|
|||||||
Reference in new issue
Block a user