-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternate Communication Channels #27
Comments
Yes theoretically that would be possible, but it's not a focus of this project at this time - and if this happens then with the native esphomelib api (#322). One problem with your "channel" simplification is that most protocols don't just need this abstraction, they also need the abstraction of connections. For example while MQTT theoretically can work with any channel you like, it still mandates that this "channel" have a few features:
So this would require another abstraction on top of "channels". This will definitely not happen any time soon (and by that I mean probably not in the next year or two) as it's just a ton of work to get it to work, with honestly just a few use-cases. Esphomelib is made for homes, not for 1km distances. |
The ESP32 has an experimental ppp client which would solve the issue of serial not having open/close schematics. https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kconfig.html#config-ppp-support |
2 years have passed, almost 3, is there any news? i would like to implement a LoRa comunication channel! |
Making progress in esphome/esphome#8187, and first implementation is for UART: esphome/esphome#8214. This is a generalised approach, which will make possible to develop simpler components for exchanging data directly between nodes by any means, like TCP, ESP-Now, LoRa, etc. |
Is your feature request related to a problem? Please describe.
I have an sensor far away from my house(let's say 1km distance).There is no wifi, even no AC power.
Describe the solution you'd like
Will esphomelib support LuRaWan , or GSM connection to server?
Additional context
Right now, esphomelib has organized all data to an object
mqtt_message
(include topic ,payload, qos, etc.), Then it called publish() method inmqtt_client_
which is an AsyncMqttClient without source code, but inside depended library. Obviously themqtt_client
binds AsyncTcp+Wifi. I would like to name it "Channel".GSM module connect to esp32 through UART (another channel), All communication between the esp32 and GSM module is AT-commands.
Imaging Esphomelib
mqtt component
has a member calledchannel
. Just modify the value ofchannel
formwifi
togsm
. The esp32 will turn to the new channel. Because I have tested the node underchannel_wifi
, so the node should be no issue on other channel. Isn't it awesome?The text was updated successfully, but these errors were encountered: