Public Member Functions | |
def | __init__ (self) |
def | check_for_response (self) |
def | on_arduino_responded (self, event=None) |
def | on_no_internet (self, event=None) |
def | speak (self, text) |
Public Member Functions inherited from mycroft.client.enclosure.base.Enclosure | |
def | __init__ (self) |
def | callback_disconnect (self, gui_id) |
def | on_gui_client_connected (self, message) |
GUI client socket. More... | |
def | on_gui_delete_namespace (self, message) |
def | on_gui_delete_page (self, message) |
def | on_gui_send_event (self, message) |
def | on_gui_set_value (self, message) |
def | on_gui_show_page (self, message) |
def | register_gui_handlers (self) |
def | remove_namespace (self, namespace) |
def | remove_pages (self, namespace, pages) |
def | run (self) |
def | send (self, args, kwargs) |
GUI client API. More... | |
def | set (self, namespace, name, value) |
def | show (self, namespace, page, index) |
Public Attributes | |
arduino_responded | |
eyes | |
mouth | |
port | |
rate | |
reader | |
serial | |
system | |
timeout | |
writer | |
Public Attributes inherited from mycroft.client.enclosure.base.Enclosure | |
active_namespaces | |
bus | |
config | |
datastore | |
explicit_move | |
global_config | |
GUIs | |
lang | |
loaded | |
Private Member Functions | |
def | __init_serial (self) |
def | __register_events (self) |
def | __register_mouth_events (self, event=None) |
def | __remove_mouth_events (self, event=None) |
def | __reset (self, event=None) |
def | _do_net_check (self) |
def | _handle_pairing_complete (self, Message) |
Static Private Attributes | |
int | _last_internet_notification = 0 |
Serves as a communication interface between Arduino and Mycroft Core. ``Enclosure`` initializes and aggregates all enclosures implementation. E.g. ``EnclosureEyes``, ``EnclosureMouth`` and ``EnclosureArduino`` It also listens to the basic events in order to perform those core actions on the unit. E.g. Start and Stop talk animation
Definition at line 248 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
def mycroft.client.enclosure.mark1.EnclosureMark1.__init__ | ( | self | ) |
Definition at line 264 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Definition at line 330 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Definition at line 343 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Definition at line 352 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Definition at line 358 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Definition at line 366 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Definition at line 391 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
private |
Handler for 'mycroft.paired', unmutes the mic after the pairing is complete.
Definition at line 384 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
def mycroft.client.enclosure.mark1.EnclosureMark1.check_for_response | ( | self | ) |
Definition at line 375 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
def mycroft.client.enclosure.mark1.EnclosureMark1.on_arduino_responded | ( | self, | |
event = None |
|||
) |
Definition at line 291 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
def mycroft.client.enclosure.mark1.EnclosureMark1.on_no_internet | ( | self, | |
event = None |
|||
) |
Definition at line 307 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
def mycroft.client.enclosure.mark1.EnclosureMark1.speak | ( | self, | |
text | |||
) |
Definition at line 372 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
|
staticprivate |
Definition at line 262 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.arduino_responded |
Definition at line 274 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.eyes |
Definition at line 292 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.mouth |
Definition at line 293 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.port |
Definition at line 332 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.rate |
Definition at line 333 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.reader |
Definition at line 268 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.serial |
Definition at line 335 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.system |
Definition at line 294 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.timeout |
Definition at line 334 of file scripts/mycroft/client/enclosure/mark1/__init__.py.
mycroft.client.enclosure.mark1.EnclosureMark1.writer |
Definition at line 269 of file scripts/mycroft/client/enclosure/mark1/__init__.py.