PaulSchulz / esphome-lora-sx126x

Component to use Lora on SX126X based boards
MIT License
8 stars 5 forks source link

Lorawan yaml #4

Open rallep71 opened 2 days ago

rallep71 commented 2 days ago

Hello, I want to test lorawan now, but I can't get any further because the yaml can't be compiled in esphome. here is my yaml, and the error message.

`Updating /config/esphome/lorawan.yaml

INFO ESPHome 2024.10.3 INFO Reading configuration /config/esphome/lorawan.yaml... ERROR Error while reading config: Invalid YAML syntax:

while parsing a block collection in "/config/esphome/lorawan.yaml", line 15, column 3 expected , but found '?' in "/config/esphome/lorawan.yaml", line 19, column 3 =========== [ERROR] /config/esphome/lorawan.yaml ===========

======================== [SUMMARY] ========================

yaml:

`esphome: name: lorawan-sx126x friendly_name: lorawan libraries:

esp32: board: esp32-s3-devkitc-1 framework: type: arduino

external_components:

Enable logging

logger:

wifi: networks:

api: encryption: key: "2JYEzqRQzDRVPxFmSMFpy99eejls6IeXmH+GOEyo6Tk="

ota:

# web_server: port: 80

spi:

clk_pin: GPIO9

mosi_pin: GPIO10

miso_pin: GPIO11

i2c:

- id: bus_a

sda: 17

scl: 18

LoRaWAN Specific Oprions

Setting these will enable the LoRaWAN radio mode

lorawan_sx126x:`

PaulSchulz commented 1 day ago

My apologies. LoRaWAN is not yet supported.

Jaishankar872 commented 1 day ago

is P2P communication possible? (Reference link)

PaulSchulz commented 1 day ago

Yes, via LoRa. Let me check and I will get back to you. Do you need bidirectional? Another option might be Meshtastic.. which uses RadioLib and supports a lot more boards than I do.

On Thu, 21 Nov 2024, 12:48 Jaishankar, @.***> wrote:

is P2P communication possible? (Reference link https://github.com/beegee-tokyo/SX126x-Arduino/issues/126)

— Reply to this email directly, view it on GitHub https://github.com/PaulSchulz/esphome-lora-sx126x/issues/4#issuecomment-2489927338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVLANZM7GGUXTPQAYQONT2BU7F3AVCNFSM6AAAAABSEAIOBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZHEZDOMZTHA . You are receiving this because you commented.Message ID: @.***>

Jaishankar872 commented 1 day ago

Yes, bidirectional for home automation. Like sending a comment control device and then the device will send an acknowledgement reply message.