Commit Graph

233 Commits

Author SHA1 Message Date
Peter Steenbergen e1a4e0c4de MycroftOS: Buildroot: Don's bother the speechrecognition executables.
(Hopefully, the clean build runs till the end now)
2020-01-03 13:07:51 +01:00
Peter Steenbergen 073e5b9e91 MycroftOS: Get RPI4 inline with RPI3 2020-01-03 13:07:22 +01:00
Peter Steenbergen 3e6ec89558 MycroftOS: Mimic a captive portal to auto start a browser on wifi connect. 2019-12-31 16:59:43 +01:00
Peter Steenbergen 34a89c5541 MycroftOS: Implementation of MycroftOS-WiFiSetup system.
- Start an Acces Point if no wlan is configured.
- Start a small flask webserver to configure the wifi.
2019-12-29 14:03:51 +01:00
Peter Steenbergen 7fd28c698d MycroftOS: Buildroot: Bump kernel to 4.19.89 2019-12-22 21:06:49 +01:00
Peter Steenbergen 8e897038b7 MycroftOS: Make the HDMI bootup screen pretty again 2019-12-22 19:29:30 +01:00
Peter Steenbergen fbf0c9f590 MycroftOS: Add date/time utils and AP support to wpa_supplicant 2019-12-22 14:00:33 +01:00
Peter Steenbergen 1dfae2d035 MycroftOS: Loading the mycroft-cli-client to soon is fixed
- Therefor start the ncurses cli client by default again
2019-12-22 13:14:57 +01:00
Peter Steenbergen 2540e70dca MycroftOS: Fix splash screen to be reset when mycroft started 2019-12-22 12:48:16 +01:00
Peter Steenbergen 2923aa5be2 MycroftOS: Silence the HDMI screen again. 2019-12-22 12:28:16 +01:00
Peter Steenbergen 4061037d0b MycroftOS: Some of tweaks and fises. 2019-12-21 23:43:56 +01:00
Peter Steenbergen 181bb4c98d MycroftOS: Bump mycroft to 19.8.5 and proper systemd support.
- Make it more robust
- In preparation for watchdog support
- Do not start Mycroft if network is not up
- Wait for internet connectivity
2019-12-21 18:54:56 +01:00
Peter Steenbergen e1c343a762 MycroftOS: Decrease pulseaudio latency by disabling tsched.
- This decreases teh latency from 828899 usec to 91376 usec
  a factor of ~10 which feels a lot snappier with for instance
  the listener sound. (testing needs to prove possible other
  related glitches.)
2019-12-20 21:09:29 +01:00
Peter Steenbergen ef7f547531 MycroftOS: Fix wifi. 2019-12-20 21:05:12 +01:00
Peter Steenbergen 9cfca493ac MycroftOS: Disable Echo Cancellation (for now). 2019-12-17 12:12:27 +01:00
Peter Steenbergen a3e71e7602 MycroftOS: Remove export for node, replace with LC_ALL. 2019-12-17 09:27:02 +01:00
Peter Steenbergen e714267786 MycroftOS: Remove alsactl as alsa is not running at that point yet.
Secondly, export LC_ALL just to be sure.
2019-12-17 09:24:26 +01:00
Peter Steenbergen 6371967836 Revert "MycroftOS: Buildroot: Adjust patchesfor Buildroot 2019.11.x"
This reverts commit 66eeec18d0.
2019-12-15 20:40:16 +01:00
Peter Steenbergen cd521279b0 MycroftOS: RPi4 configuration rename. 2019-12-10 13:24:48 +01:00
Peter Steenbergen ee529612ef Merge branch 'feature/rpi4' into develop 2019-12-10 13:23:46 +01:00
Peter Steenbergen 8b826c72fd MycroftOS: BNuilding now uses a proper Makefile.
- Big thx once again to the HassOS guys.
2019-12-10 13:21:49 +01:00
Peter Steenbergen c24ec5c1b7 MycroftOS: Add RPI4 support. 2019-12-10 11:13:25 +01:00
Peter Steenbergen f45287d34d MycroftOS: Add patched volume skill by default.
- This will change later on when the enclosure code is ready
  and take care of the volume control. For now we use ALSA
  and added the MycroftOS to ALSA_PLATFORMS
2019-12-08 15:30:58 +01:00
Peter Steenbergen e1862c63aa MycroftOS: Don's start mycroft-cli-client by default.
- Also in preperation to showing a help section with typical
  commands available for MycroftOS.
2019-12-08 14:23:02 +01:00
Peter Steenbergen 1adee13f9f MycroftOS: Remove python-typing requirement for Python 3.8 compatibility 2019-12-08 13:19:58 +01:00
Peter Steenbergen d7925b6496 MycroftOS: Add python-colorama as msk dependency 2019-12-07 18:57:29 +01:00
Peter Steenbergen 3853026e25 MycroftOS: Bump python-mycroft to latest 19.8.4 2019-12-07 17:44:35 +01:00
Peter Steenbergen 66eeec18d0 MycroftOS: Buildroot: Adjust patchesfor Buildroot 2019.11.x 2019-12-05 14:36:50 +01:00
Peter Steenbergen 19710450c5 MycroftOS: Bump to latest version - remove adapt parser patch 2019-12-03 16:13:16 +01:00
Peter Steenbergen dc787876c9 MycroftOS: Upgrade python-adapt-parser to 0.3.4 2019-11-27 13:40:38 +01:00
Peter Steenbergen b6d1742913 MycroftOS: Use paplay instead of aplay for WAV playback. 2019-11-26 08:27:51 +01:00
Peter Steenbergen 24655a9e0a MycroftOS: Bump python-mycroft including the requirement changes. 2019-11-24 16:17:24 +01:00
Peter Steenbergen ed27ec8fad MycroftOS: System changes related to sound and restoring them. 2019-11-17 14:30:43 +01:00
Peter Steenbergen fad8734ec9 MycroftOS: Small changes to cmdline.txt 2019-11-17 13:08:37 +01:00
Peter Steenbergen 9182baac3f MycroftOS: Add back python-gtts_token package.
That is got removed from mycroft it's requirements.txt
doesn't mean it is not needed (DOH)
2019-11-17 13:01:16 +01:00
Peter Steenbergen 135ca07748 MycroftOS: Remove GnuTLS tools. Generates compile errors and we do not need it anyway. 2019-11-17 12:21:22 +01:00
Peter Steenbergen 21e1081440 MycroftOS: Enabling avahi zero conf of pulseaudio 2019-11-15 14:37:59 +01:00
Peter Steenbergen 008f5649ee MycroftOS: Bump python-mycroft to latest version
- Mycroft version 19.8.3 + Dutch support
- Plus all other requirements updated for this bump.
2019-11-15 14:07:01 +01:00
Peter Steenbergen 093e2d9c52 MycroftOS: Enabling anonymous pulse access + network sound 2019-11-15 12:20:47 +01:00
Peter Steenbergen 9b0e6dabd7 MycroftOS: Enabling syslogd & klogd deamons for better debugging
Can be removed again later when we reach a more stable status
2019-11-15 11:52:36 +01:00
Peter Steenbergen 712ceed32a MycroftOS: Enabling Acoustic Echo Cancellation 2019-11-15 09:25:53 +01:00
Peter Steenbergen cb528f6e57 MycroftOS: Addition of mycroft-config script. 2019-11-13 09:58:57 +01:00
Peter Steenbergen 7a54a0d8cf MycroftOS: Force all ALSA sound request to be forwarded to pulseaudio 2019-11-13 08:33:51 +01:00
Peter Steenbergen 8498108492 MycroftOS: Sound changes.
- Addition of alsa-plugins
- Addition of some extra sound libraries
2019-11-12 19:24:09 +01:00
Peter Steenbergen 0e7948a1cd MycroftOS: Small cosmetic chenage to the cli_login visuals 2019-11-11 09:43:04 +01:00
Peter Steenbergen 97d9cf26cf MycroftOS: Addition of default pulseaudio settings for MycroftOS 2019-11-11 09:39:36 +01:00
Peter Steenbergen 7d574f5432 MycroftOS: Changes to default system mycroft.conf
- Make Mimic2 the default TTS
- Make TTS duckable
(Make MycroftOS more inline with Mark-1 and Mark-2)
2019-11-11 09:10:44 +01:00
Peter Steenbergen 5ccd33e78f MycroftOS: Different OS layout changes
- Prepare system script to run at boot to prepare the system.
  Now used to restore sound configuration files to default before
  udev takes over and configures the system for what it sees.
  Later can be used to prepare the system for read-only OS similar
  as I have done during my Kodi developemtn years.
- Sound config changes to default settings.
- Remove forgotten wifi-setup system.
2019-11-11 08:53:55 +01:00
Peter Steenbergen 7f7f8522ed MycroftOS: Buildroot: Remove DirectFB Multi support 2019-11-09 12:43:09 +01:00
Peter Steenbergen fcada57c4c MycroftOS: Buildroot: Addition of different libraries to complement VLC 2019-11-09 12:07:40 +01:00
Peter Steenbergen 918e873de4 MycroftOS: Start mycroft-cli-client automatically when loging in
- Plus a bit of nice to have MOTD from PiCroft
2019-11-05 13:59:27 +01:00
Peter Steenbergen 4b12d08faa MycroftOS: Addition of MycroftOS specific pulse audio .pa files 2019-11-05 13:41:03 +01:00
Peter Steenbergen 8a944f3850 MycroftOS: Add some libraries 2019-11-04 19:32:00 +01:00
Peter Steenbergen 7ab92f2898 MycroftOS: Fix spi/i2s/gpio access for non root users
Similar system as raspbian via udev rules to change teh group.
Adding the mycroft user to those groups.
2019-11-03 13:42:06 +01:00
Peter Steenbergen 3f57490e11 MycroftOS: Remove forgotten defconfig wifi-setup changes 2019-11-02 12:43:46 +01:00
Peter Steenbergen 057b825f8d MycroftOS: Update all Builroot patches to 2019.08.x version 2019-10-29 15:00:06 +01:00
Peter Steenbergen f625deed3d MycroftOS: Step away from using the NPM wifi setup system
Never realised that Mycroft A.I. had there own ,mycroft-wifi-setup
package created; https://github.com/MycroftAI/mycroft-wifi-setup

Will start uising that one instead to be more inline with the
Mark-1 and Mark-II systems.
2019-10-27 12:43:50 +01:00
Peter Steenbergen 6ca98e19f4 MycroftOS: Forgot to bump max core version string to 19.8 2019-10-26 14:24:38 +02:00
Peter Steenbergen 38caead28d MycroftOS: Addition of BASH profile scripts 2019-10-25 12:26:53 +02:00
Peter Steenbergen 1db02c81f3 MycroftOS: Small additions to the defconfig.
- git_crypt
- autossh
- avahi
- systemd firstboot (to be used for SDResize script)
- systemd locale and rfkill
2019-10-25 12:03:15 +02:00
Peter Steenbergen 8a3e18c11c MycroftOS: Bump python-mycroft to latest 19.08.2 version 2019-10-24 10:16:12 +02:00
Peter Steenbergen 1ed424a9d5 MycroftOS: Buildroot: Various changes to the linux / kernel / wifi.
- Couldn't get the wifi working on my RPI3b and couldn't figure it out.
  Updated all drivers, packages etc. however still not working.
  Tested the RPI on the latest Rasbian, which also didn't work
  So expect an hardware failure.
- Merged all this regardless.
- Kernel updated to latest 4.19 including all firmware packages
- Addition of other wifi firmwares so we can use usb dongles
- Anyhow need to buy a new RPI3b for testing the wifi drivers
- This kernel and drivers should also work on a RPI4
2019-10-22 14:36:38 +02:00
Peter Steenbergen d0c144b9a6 MycroftOS: Update ReSpeaker drivers and package to latest version 2019-10-22 14:28:09 +02:00
Peter Steenbergen 063faa464d MycrofOS: Wifi defconfig changes 2019-10-18 14:43:49 +02:00
Peter Steenbergen 611bbdd444 MycroftOS: Further work on the MycroftOS-WiFiSetup system 2019-09-30 16:13:38 +02:00
Peter Steenbergen 34ff40ca17 Merge branch 'feature/wifi-setup' of https://github.com/j1nx/MycroftOS into feature/wifi-setup 2019-09-27 09:52:37 +02:00
Peter Steenbergen 71aa0fa1a8 Merge branch 'develop' into feature/wifi-setup 2019-09-27 09:50:38 +02:00
Peter Steenbergen 091f5720e6 MycroftOS: Firstboot systemd system
- System to run sccripts at the very first boot. Now currently used
  only for resizing the partion using the full SD size.
- Can be expanded to run other scripts to prepare stuff at the
  very first boot.
2019-09-27 09:12:17 +02:00
Peter Steenbergen d7e7dddf58 MycroftOS: Bump python-mycroft to latest 19.08.0 version 2019-09-24 17:09:56 +02:00
Peter Steenbergen 471002d23c MycroftOS: Revert back to default audio (pulse) config for mycroft 2019-09-21 12:39:33 +02:00
Peter Steenbergen bdcbb3d98d MycroftOS: Add MycroftOS enclosure to msm patch 2019-09-21 12:38:48 +02:00
Peter Steenbergen 2adb2aa804 MycroftOS: Bump python-msm to 0.8.3 2019-09-21 12:13:25 +02:00
Peter Steenbergen 135dd8058b MycroftOS: Switch python-mycroft to utilizing sha256 commit
- This way the develop branch can stay up to date with mycroft dev
- Future release-tags of MycroftOS will be locked at mycroft release tags
2019-09-21 11:43:01 +02:00
j1nx bf24e48ffc Merge remote-tracking branch 'origin/develop' into feature/wifi-setup 2019-09-16 13:57:24 +02:00
j1nx b8b18cebf4 MycroftOS: First steps in using npm and nvm 2019-09-16 13:43:48 +02:00
Peter Steenbergen e3a31304d0 MycroftOS: Fix small mistakes in seeed configuration script 2019-09-16 12:42:24 +02:00
Peter Steenbergen 2f4c401b7f MycroftOS: Bump versions of python-casttube and python-protobuf 2019-09-16 12:39:41 +02:00
Peter Steenbergen 5dceef03f7 MycroftOS: Fix stupid quoting error in mycroft.conf 2019-09-12 18:16:12 +02:00
Peter Steenbergen 46d6ec7e9c MycroftOS: Changes for the respeaker driver setup including a
initial start to use pulseaudio <needs some testing>
2019-09-11 16:06:10 +02:00
Peter Steenbergen 7eb848f661 MycroftOS: Define enclosure platform and version. 2019-09-11 14:32:29 +02:00
Peter Steenbergen c72abbf659 MycroftOS: Add default /home/mycroft/.mycroft/mycroft.conf 2019-09-10 10:18:25 +02:00
Peter Steenbergen 3bbdddfa01 MycroftOS: Multiple fixes, tweakes, changes and/or reverts.
Basically a bunch of staged stuff of before the upgrade of
buildroot and mycroft. If I remember it all correctly;

- Change the folder permissions setup from device_table to
  systemd.
- Remove the mycroft user setup from the mycroft.service
  package into a systemwide buildroot user_table.txt
- Fix respeaker stuff for systemd system
- Fix sudo system for the mycroft user
- Allow mycroft to SSH into the system. Disallow root login.
- Probably some other fixes and tweaks I forgot about....
2019-09-09 15:25:51 +02:00
Peter Steenbergen 23bb1b70b3 MycroftOS: Lower python-pychromecast to 3.2.2 (mistake) 2019-09-08 20:31:05 +02:00
Peter Steenbergen a0289685fc MycroftOS: Add python-appdirs and python-pako requirements 2019-09-08 18:42:59 +02:00
Peter Steenbergen eb91fa52b2 MycroftOS: Add python-lazy requirement 2019-09-08 17:28:50 +02:00
Peter Steenbergen ed71c55793 MycroftOS: Bump python-padaos to 0.1.9 2019-09-07 18:02:21 +02:00
Peter Steenbergen 51ff9ce3db MycroftOS: Bump python-padatious to 0.4.6 2019-09-07 17:36:14 +02:00
Peter Steenbergen d38585e1b3 MycroftOS: Bump python-pyee requirement 2019-09-07 16:20:19 +02:00
Peter Steenbergen 5f407e9ad4 MycroftOS: Bump python-gtts requirement 2019-09-07 15:51:43 +02:00
Peter Steenbergen 6b9d732358 MycroftOS: Downgrade and add python-pyyaml requirement 2019-09-07 15:33:11 +02:00
Peter Steenbergen b8517c20c4 MycroftOS: Bump python-msk requirement 2019-09-07 15:02:20 +02:00
Peter Steenbergen 97b9bfa810 MycroftOS: Bump adapt-parser requirement 2019-09-07 14:43:02 +02:00
Peter Steenbergen 09c2e03f53 MycroftOS: Bump python-pychromecast requirement 2019-09-07 14:26:20 +02:00
Peter Steenbergen e873caa842 MycroftOS: Buildroot: Add python-cryptography 2.6.1 requirement 2019-09-07 13:02:53 +02:00
Peter Steenbergen c349691756 MycroftOS: Bump python-msm to 2.7.9 2019-09-04 19:03:34 +02:00
Peter Steenbergen 40985acc7a MycroftOS: Update python-mycroft patches to v19.2.14 2019-09-04 16:49:17 +02:00
Peter Steenbergen 781380f395 MycroftOS: Bump python-mycroft to v19.2.14
This is most likely the last 19.02 version before they switch to 19.08
2019-09-04 11:49:40 +02:00
Peter Steenbergen f141e3495e MycroftOS: Linux: Bump kernel to latest 4.14.x 2019-09-03 19:51:45 +02:00
Peter Steenbergen feac30bb7c MycroftOS: Update the buildroot patches for 2019.05.x 2019-09-03 10:59:35 +02:00
Peter Steenbergen 469f4473bf MycroftOS: Remove /var/log from tmpfs
- This to keep the log files at reboot
2019-06-11 15:41:50 +02:00