Hi!
How can I connect ESP8266 sensors from my workshop via LTE Mobile WiFi?
Any Chance with Nabu Casa?
Or second Raspberry in my workshop?
MQTT is not my choice…
Thanks
René
No
Yes, vpn to your lan.
Yes if you want to make use of webhooks
For for the full blown beauty
Can you do that from esphome?
Never tried that but the http_request
looks useful for that task
The whole thing is made easier by the pi. Most people’s requirements for remote esphome don’t include a pi. With a vpn using the esphome api should be easy.
Doesn’t look that hard looking at this posts here:
on_value:
then:
http_request.post:
verify_ssl: false
url: https://hooks.nabu.casa/copy_url_from_cloud_page
headers:
Content-Type: application/json
json:
ilp_temp: !lambda |-
return ((std::string) to_string(id(ilp_temp).state));
But if one has spare pi’s in the drawer one could use them as vpn gateway. Easier solution might be just to use a phone (if that does any way provide the mobile hotspot) for vpn or maybe even try wireguard with esphome if one is really adventures
My remote esphome node has been working very reliably since it was installed. Build the conf as normally would do and then send out with interval automation.
- interval: 5min
then:
http_request.post:
verify_ssl: false
url: https://hooks.nabu.casa/xxx...
headers:
Content-Type: application/json
json:
ilp_temp: !lambda |-
return ((std::string) to_string(id(ilp_temp).state));
cabinet_temp: !lambda |-
return ((std::string) to_string(id(cabinet_temp).state));