goals for 28/12/23 #1

Open
opened 2023-12-28 19:04:37 -05:00 by morgan · 1 comment
Owner
  • esp-netif-now component
  • UDP device discovery
  • CoAP serivce/resource discovery
  • CoAP data peristance
  • Serverless MQTT
    • Configuration
* [x] esp-netif-now component * [ ] UDP device discovery * [ ] CoAP serivce/resource discovery * [ ] CoAP data peristance * [ ] Serverless MQTT * * [ ] Configuration
Author
Owner

Page Content


morgans random stream of hack.

On this installment, 28/12/23, I will be working on #CoAP over #ESPNow.

Goals

  • esp-netif-now component
  • UDP device discovery
  • CoAP serivce/resource discovery
  • CoAP data peristance
  • Serverless MQTT
    • Configuration

esp-netif-now

ESP-Now is a broadcast over WiFi management frames protocol.
By default in the ESP-IDF it does not get an LwIP interface. For the first
part of this stream I will rework my proof of concept code to write a
proper ESP-NETIF driver to bind ESP-Now to LwIP. The proof-of-concept already
works and writing a proper driver should be fairly straight forward.

CoAP

With the LwIP interface brought up automatic CoAP service and resource discovery
can be run. This will reach out to unknown devices and see if they have services
compatible with theirs, ie; a button looking for a switch.

This data should be persisted to assist with further configuration and future bringups.

Serverless MQTT

My vision for this draws heavily from Tasmota and it's use of MQTT endpoints for control
and status. CoAPs Observe functionality will be used a lot like MQTT server push.

Configuration

Unlike Tasmota I will forgo the web interface and all configuration should be accomplished
over CoAP. Resources being provided will start unconfigured and provide an output enpoint
that points to another devices input resource endpoint.


Donate

Page Content ------------- # morgans random stream of hack. On this installment, 28/12/23, I will be working on #CoAP over #ESPNow. # Goals * [x] esp-netif-now component * [ ] UDP device discovery * [ ] CoAP serivce/resource discovery * [ ] CoAP data peristance * [ ] Serverless MQTT * * [ ] Configuration ## esp-netif-now ESP-Now is a broadcast over WiFi management frames protocol. By default in the ESP-IDF it does not get an LwIP interface. For the first part of this stream I will rework my proof of concept code to write a proper ESP-NETIF driver to bind ESP-Now to LwIP. The proof-of-concept already works and writing a proper driver should be fairly straight forward. ## CoAP With the LwIP interface brought up automatic CoAP service and resource discovery can be run. This will reach out to unknown devices and see if they have services compatible with theirs, ie; a button looking for a switch. This data should be persisted to assist with further configuration and future bringups. ## Serverless MQTT My vision for this draws heavily from Tasmota and it's use of MQTT endpoints for control and status. CoAPs Observe functionality will be used a lot like MQTT server push. ### Configuration Unlike Tasmota I will forgo the web interface and all configuration should be accomplished over CoAP. Resources being provided will start unconfigured and provide an `output` enpoint that points to another devices `input` resource endpoint. <br /> <a style="border: 1px solid transparent; color: black; background-color: yellow; padding: 10px 16px; font-size:20px; border-radius: 10px; font-weight: bold;" target="_blank" href="https://liberapay.com/mra/donate">Donate</a>
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: morgan/stream-log#1
No description provided.