Skip to content

SEPIA-Home v2.4.1 with remote terminal and new TTS endpoint to support DIY 'headless' clients

Compare
Choose a tag to compare
@fquirin fquirin released this 18 Feb 22:48
· 232 commits to master since this release
a632a61

v2.4.1b - 2020.02.18 - updated: 2020.02.20

This release does some fine tuning of the smart home service, its parameters and interfaces (FHEM, openHAB) 🏠 💡 and introduces two very important new features required to build your own "headless" SEPIA client: a remote terminal for the client 📟 and a new TTS endpoint for the server 🤖 💬 to further reduce dependency on OS functionality.

If you like to customize commands you now have a new option to create your own server files for predefined small-talk, sentences and answers and carry them over from version to version (because they won't be overwritten). Check out this little tutorial.

In the skins section you will find a new entry called "ILA Legacy" that is special in two ways. First of all it is a tribute to ILA voice assistant the predecessor of SEPIA (that btw introduced offline TTS today as well ... just (almost) exactly 5 years ago ^_^) and secondly it is the first skin with a custom avatar for always on mode. Check it out! 😃

Oh and a quick reminder (because it has been asked a few times lately): Version v2.4.0 introduced a demo service for MQTT 📡 message broadcasting that can be found in the SDK and extensions repo.

Enjoy! 🙂

[EDIT] Updated with improved error messages about missing SSL and new self-signed SSL scripts for NGINX

Release notes

Updated client to v0.21.0:

  • Introduced new headless mode (URL param. 'isHeadless=true') with support for 'settings.js' file and new remote commandline module (using CLEXI server)
  • Client will automatically switch into setup state after few seconds when in headless mode and no login is given (+ audio notification ^^)
  • Integrated new TTS engine that streams data from SEPIA server (switch via new voice engine selector in settings)
  • Added new 'ILA-Legacy' skin with custom avatar for Always-On mode :-)
  • Added new 'server-access' page for detailed connection configuration (accessible from login and settings, replaces hostname field)
  • Improved automatic hostname recognition
  • Created new icon selection popup and applied it to Teach-UI custom button field
  • Added custom GPS location to device site settings
  • Slightly improved visibility of missed chat messages
  • Improved alarm sound player to better manage other audio sources
  • New CSS options to better control status bar and navigation bar color in Android (and probably iOS)
  • Fixed bugs in view scrolling and 'switchLanguage' service-action
  • Added URL param. 'logout' to start client with automatic logout
  • Improved Teach-UI start-up to allow more pre-filled teach fields
  • Added more debug/help info for insecure-origin (SSL stuff) issues like microphone access restrictions
  • Updated CLEXI lib to v0.8.1
  • Added some IE11 polyfills

Updated Control-HUB (admin-tools) to v1.3.1:

  • New 'Client Connections' page including remote terminal to access headless clients (via CLEXI)
  • New 'Speech Synthesis' test page for SEPIA TTS endpoint called
  • Smart home: better check of set-cmds entry for toggle button
  • Smart home: added 'sunroom' to list of rooms
  • Improved automatic hostname recognition for '[IP]:20726/sepia/...' origins
  • Updated CLEXI lib to v0.8.1

Updated Assist-server to v2.4.1:

  • The TTS module of the server has been updated and upgraded to support the 'espeak' engine (flite and picoTTS will follow soon). This means every client can stream TTS from the SEPIA server now if required. Please check the updated 'setup' scripts to install the packages!
  • Improved DataLoader to allow custom command and answer files, e.g. chats_en_custom.txt in addition to chats_en.txt (folder: sepia-assist-server/Xtensions/Assistant/...). This way users can better manage global custom commands.
  • Smart home interfaces (FHEM, openHAB, TestHub) will load devices correctly via unique ID now
  • The smart home service will ask the user now if its ok to use the first result in case a device search has multiple matches (given a specific room)
  • If a command uses a smart home device with specific name (tag) e.g. because it was defined via Teach-UI the tag will now be used properly to search the device (see Teach-UI examples)
  • Added 'sunroom' type to Room parameter
  • All brackets in the names of smart home devices will correctly be removed during voice output (use them e.g. to give your devices numbers)
  • Fix for FHEM interface if CrfToken is deactivated in FHEM server
  • Several smaller fixes/tweaks to the smart home interface (better 'state' and 'stateType' checks, "device with number X" works, correct handling of non-existing device types, etc.)
  • Updated radio stations, fixed a bug and added "chill-out" to parameter 'MusicGenre'
  • Improved output format of local time in answers
  • Updated news outlets and removed "11FREUNDE" (feed does not exist anymore :-( )
  • Added a README for the directory listing endpoint that can be found inside the web-content folder
  • Improved Java 11 compatibility

Updated Core-tools to v2.2.5:

  • Fixed a bug in RuntimeInterface
  • Added new 'open_frames_view' action (to be used by services)
  • Better error messages for Apache Http GET method
  • Updated mp3spi lib to v1.9.5.4 to fix a Java 11 issue

Other servers and tools:

  • Added scripts to install Java locally into SEPIA folder (~/SEPIA/java). Very useful for Windows systems.
  • **Updated server scripts to offer more options, better overview and improved features (e.g. setup Nginx and TTS engine, handle errors better, etc.)
  • Updated installation scripts and descriptions to get rid of some outdated info and stuff (e.g. promote Java 11, sudo warnings, etc.)
  • Teach-Server v2.1.1 has some improved descriptions for Teach-UI commands
  • Updated all servers and tools to use core-tools v2.2.5
  • Updated Dockerfile (beta) and added new script to build the build-environment for SEPIA-Home
  • Prepared everything for the release of the official "headless" Raspberry Pi SEPIA-Client