arena-py API v0.10.2
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)
Inherited Members
- arena.arena_mqtt.ArenaMQTT
- scene
- device
- auth
- debug
- username
- remote_auth_token
- mqttc_id
- config_url
- config_data
- mqtt_host
- subscribe_topic
- latency_topic
- ignore_topic
- mqttc
- can_publish
- on_msg_callback
- end_program_callback
- event_loop
- mqtt_connect_evt
- msg_queue
- generate_client_id
- network_latency_update
- run_once
- run_after_interval
- run_async
- run_forever
- run_tasks
- stop_tasks
- sleep
- on_connect
- on_message
- on_disconnect
- disconnect
- message_callback_add
- message_callback_remove
- rcv_queue_len
- pub_queue_len
- client_id