Connecting Neos to Other Applications

From Neos Wiki
Revision as of 00:06, 26 April 2021 by ProbablePrime (talk | contribs) (Created page with "When creating items and worlds within Neos, you may want to connect Neos to the outside world. To applications, software and systems that are outside of it. This guide will pr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When creating items and worlds within Neos, you may want to connect Neos to the outside world. To applications, software and systems that are outside of it. This guide will provide some information on how you can achieve that.

Example Scenarios

Some example things you might want to do this with are:

  • Communicating with Web Servers
  • Talking to Real world Hardware or devices such as Heart Rate Sensors, Lights or Sound Equipment
  • Receiving data such as stock information, the weather and more

Options

You have a number of options to achieve communication with other applications. With all of these options do remember that Neos does not support JSON or Collections/Arrays so you will have to handle parsing these yourself within LogiX.

Webserver Communication using HTTP

Neos has two nodes that can allow you to make HTTP Requests:

You can use these to communicate with any HTTP capable webserver, API or system.

Web Socket Communication

Neos has. These allow Neos to communicate with any WebSocket capable server. This is useful for real time communication between Neos and an Application.

Sending other Protocols over WebSockets

While Neos only supports HTTP and WebSockets you can send messages over WebSockets which resemble other protocols. Users have done this with:

  • DMX
  • MIDI
  • OSC

Using a WebSocket / HTTP Proxy

You can also use WebSockets or HTTP as a proxy to communicate to another device. Users have done this with:

  • Heart Rate Sensors
  • Calendars
  • Complex APIs that needed simplifying


Recommendations