Local URLs for API services



  • What URL pattern can I use to trigger exposed services locally on my device without going through cloud.onion.io?

    Once deployed, my Omega will not be able to connect to the internet (due to poor connectivity in a remote area), but I still want other devices on the local network to be able to trigger events from remote sensors.

    Apologies if this has already been documented somewhere.

    Thanks,
    benthenchelys


  • administrators

    @benthenchelys Good question!
    Unfortunately, there are no local URL endpoints for the services exposed on the Cloud.
    That's where our Cloud <-> Device connection comes into play.

    However, all of those services are available on the command-line through the ubus. Check out our ubus tutorials for more info.

    Your other devices and sensors can potentially use SSH to trigger ubus commands. Hope that helps!


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.