Category Archives: Tips

Tips and Tricks

Google Disables Hangouts API…breaking many services.

I have seen much FUD around this, and I wanted to clarify so people are aware what Google’s Intentions are for Hangouts.  As I am a heavy user of the product, I was very surprised to see this.  It appears that Google will still keep Hangouts around, but for the ‘normal’ user demographic only.  They will be disabling their API on April 25.  This however, should not be a complete surprise.  Google has made it clear that with the arrival of their new products Allo and Duo that they are switching to an enterprise vision for many of their products.  However, they will NOT BE REMOVING IT COMPLETELY, as mentioned in the linked engadget.com article.

What does this mean for you? The ‘End User’, if just using the services at face value may not even see a difference.  However, services and sites that use the integration features will likely be affected.  They (google) have allowed for an exception, and that is if they site/service qualifies as an “Enterprise Communication Tool”, slack for example.  There won’t be many of those I expect.

Basically it comes down to this, they are ending the Hangouts API integration (publicly) on April 25th.

 

Hope that helps,

Matthew Curry

Jasper Image v1.6 – Coming Soon!

There are already several improvements to the image, and I have put out feelers for any fixes/updates/etc that I can do to make the user experience better.  I already have a few of the obvious ones, however please feel free to report them in the new slack room “image-v1-6”, or in the Forums at the following LINK.

I am already working on it being pre-installed in the future with a REST api on it.  Making it easy to integrate with anything!

I will be posting the release notes with the new updates with the new image, and here as a post.  So please keep an eye out.

 

Thanks,
Matt

How AI listens in Jasper (and others)!

 There are two basic kinds of listeners, an active and a passive.  You will not get good offline (passive listener) results for a wide variety of speech currently.  Most offline listeners are used as ‘passive’ listeners. They usually just listen for the wake word or just a few small commands.  They are very accurate but can’t sustain a large vocabulary without CPU issues.  Some are also closed source such as Kitt.ai (snowboy), and require that you train each word on their site.

The other kind, aka the “Active listener”; or the one always listening.  Would be used to listen once activated by the passive listener, and has a much more broad vocabulary.  However, these are online only. Due to the way they work (gathering metadata to increase accuracy), its just not possible currently on a small device. Examples would be standard APIs such as Google, Wit.ai, Ivona/Polly, etc.

There are projects to fix these offline issues, but they are all in the works. See my site for info on some of them. mattcurry.com

NEW Jasper Documentation!

Hello All,

First, I want to thank everyone that has been patient with me so far in getting these things done one at a time…

I know it is not easy to get some of these things completed without good documentation.  So, with the help of a few community members, I have started what is a very rough draft of our documentation.  It is neither complete, or ready….  However, we are adding information as we go, so keep a close eye.  Even feel free to clone it, and contribute.  There will be documentation on how to do both of those coming as well.  Feel free to watch here, the repository, or the Support Forums/Slack for updates.  I update them all.

If you have items you would like to see added to the documentation, I would run it by myself, or d34dman first.  If we have not already written it (there are some not committed yet); then we will just let you know to put in a PR (aka Pull Request).  Once we have both reviewed it and give it a thumbs up.  We will merge it.

Alright, all that said… Here is the link to the documentation!

 

Thanks,

Matthew Curry

Pre-Built Jasper Kits, Ready to go out of the box!

These kits will arrive and be ready to use the moment you power them up. They will be customized to the user, and an image will be provided so they can restore any time they like.

They will include the following:

  • RPI3 B+
  • 32GB Class 10 SD Card
  • US Robotics 9610 [USB Speaker/Mic]
  • Customized/Installed/Setup of Jasper by me personally
    • Install of Jasper and all dependencies
    • STT Setup
    • TTS Setup
  • Testing
    • Running overnight
    • With your settings if you wish
  • Copy of your personalized image for backup
    • In case you wish to restore to a “Known Good” state
  • Updates
    • Such as customized integrations and modules provided by me.
    • Updated Installer / Setup script COMING SOON.


If you are interested in one of these kits, feel free to contact me or start the process by purchasing one below:




Jasper Client Links

These are several links I have compiled, and/or created in the last few months. They can help you get Jasper going. I am also working on a full how-to for both RPI2 and RPI3.

  • Jasper-Support-Forums
    • Support forums, I help run these if you have any questions. Contact Me.
  • SLACK SIGN UP
    • Chat room for helping with Jasper
  • Jasper-Client
    • Official Jasper-Client
  • Jasper-RPI-Tools:
    • Set of tools I created in helping setup Jasper/RPI. They are a work in progress, so be sure to do a ‘git pull’ often.
  • RPI-Jasper-Dependencies:
    • Set of pre-compiled dependencies, that would normally take hours to compile. Tested on RPI2/3. Usually used for a non-Jasper image; as the images I created have them all installed.
  • ALSA Setup Wiki
    • Help with ‘.asoundrc’, and setting your default audio device
    • Usually the most common road block.
  • Home-Assistant.io: Home automation for the RPI, works very well. Working on integration on the same RPI; however it has dependency conflicts. Testing in pyenv soon…
  • How TO: Burning SD Card

N.A.O.M.I – v1 Build

This is the latest revision of NAOMI

Keep in mind, I am working to make this easily built with off-shelf (preferably cheap) parts.

Currently Running:

  • RPI2
  • Bluetooth Adapter
  • Pico Router (2″ Square)
    • Allows for Network Bridging (AKA Borrowing Wifi)
  • Wifi Adapter
  • USB Speakerphone
  • Camera (x2)
    • One IP
    • One USB (Can’t See it in Pic)
  • Zwave Home Automation Controller (usb)

Integrations (Currently In Use):

  • Jasper Framework
    • Evernote
    • Twitter
    • Wolfram Alpha
    • Facebook (Tested)
    • Gmail Notifier
  • Home-Assistant.io (testing)
    • Shows when people or devices leave or come on to the network.
    • Tracks family members
    • Tracks Internet Speed Performance over time
    • Tracks Weather
    • Controls Zwave/Zigbee Devices
      • Turn on/off lights, open doors, etc…

12 Years without Microsoft and loving it!

As of April, 2004 I stopped using all Microsoft products.

For many reasons. I know people like to debate about microsoft products. However, for me its not a debate.

Examples [Just a tiny bit]:

  • If I was a contractor and came into your company and said, “I am going to record all your keystrokes, and put them on my server every 30min”, you would laugh me out the door. Especially in software, where the source can be recreated from the key logs.  Well, Microsoft does it.
  • If I was a contractor and came in to your company and found a security bug, and then sold it on the black market making you vulnerable before there is a patch to hackers.  You would probably sue me; and maybe even press charges of some kind, as it can put you out of business.  Well, Microsoft does it.
  • If I was a contractor and came in during the night and upgraded all your desktops to an OS you haven’t tested… well I think you get the point by now…
  • UEFI – Just look into it…
  • Severe security issues; and poor coding.
    • Keep in mind even if they don’t use the keylog maliciously, with the poor security wrapped around it, it is within reason to think it would be compromised.

Please keep in mind I am just looking at the black and white of things. This has nothing to do with how I ‘feel’ about them.  From a business standpoint, I can not simply fathom the use of any Microsoft product in any serious company; especially a software development one.

Now, I am experienced in IT/Software Development/DevOps; and anyone will tell you security is a trade off with convenience.  That is true.  However, between the cost (which is high); and the constant worry about security and stability with each patch.  Its something people really need to ask themselves, ” Is this really convenient/cost effective”; and 15 years ago it might have been yes. Now, there is no excuse.