MartinHjelmare / mycroftapi

A Python package to interact with Mycroft's messagebus to send notifications and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mycroft API Build Status Stories in Ready Coverage Status PRs Welcome

To be used to interact with a mycroft instance https://mycroft.ai. Right now only feature supported is speaking text but more coming soon.

Installing

pip install mycroftapi

How to Use

Below is a python code sample to show how to use the API, currently has a lot of things supported from changing eye color and more.

This example shows how to have Hello Brian scrolled across the display until I send it a reset.

from mycroftapi import MycroftAPI

mycroft_ip = '10.0.0.7'
text = 'hello Brian'
mycroft = MycroftAPI(mycroft_ip)
mycroft.speak_text(text)

Features

  • scroll text
  • change eye colors
  • blink eyes
  • eyes off/on
  • mute speaker
  • change eye brightness
  • control mouth visuals like smiling, etc
  • speak text to mycroft to have it speak it

About

A Python package to interact with Mycroft's messagebus to send notifications and more


Languages

Language:Python 100.0%