Link Search Menu Expand Document

arena-py API v0.9.6

arena.device

Gives access to an ARENA device. Can create and execute various user-defined functions/tasks.

Parameters
  • str host: Hostname of the ARENA webserver (required).
  • str realm: Reserved topic fork for future use (optional).
  • str namespace: Username of authenticated user or other namespace (automatic).
  • str device: The name of the device, without namespace (required).
Device( host='arenaxr.org', realm='realm', network_latency_interval=10000, on_msg_callback=None, end_program_callback=None, debug=False, **kwargs)
async def process_message(self):
def publish(self, topic, payload_obj):

Publishes to mqtt broker.

def on_publish(self, client, userdata, mid):

Table of contents