-
Greetings! SEPIA is the most wonderful piece of programming I've ever played with. (Florian if you still check in here I take my hat off to you--I'm blown away!) I've been exploring SEPIA for about a year and it currently runs my home connected to Openhabian. While I've only fiddled a little bit under the hood (I have so many questions, but those will wait until I understand more), my current task leads me to this question: Is there an easy way to mass copy TeachUI commands to another client account? Up to now I've been exporting commands and importing them one by one into another account. It was OK at first, but I've amassed 100+ commands and I'm hoping there's a better way. It looks like this data is in Elasticsearch, but before I delve into that rabbit hole I thought someone might have a simpler solution. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
Hi @Bench2 , first of all thanks a lot for the kind words! 😃 Unfortunately I've never implemented an 'export-all' button, but in theory it shouldn't be that hard to do. I'll have a look at the files to see, if I can maybe offer a hotfix that you can upload to your server manually. I'd love to release an official update, but that is too much work atm. In the meantime there is something that might help in the future. Did you know that any Teach-UI command that you create for the "assistant" user, will work for all users? :-). This may or may not make sense, depending on if you have a lot of individual, user-specific commands or more general things. |
Beta Was this translation helpful? Give feedback.
-
Hello, @fquirin Thank you for your reply. No worries I understand the time thing, but that makes me even more blown away by your work you've done in your "spare time"!! Am I right in my gathering that you've done all of this with S.E.P.I.A by yourself? I'm in awe by the scope and breadth of what you've built. It's truly incredible. No, I didn't realize that all Teach-UI commands are universal! Of course. Doh! :embarassed: Thank you for the offer of a mass export feature, it would be a useful feature but I think what would be of more use (rescue?) for my going down the wrong path of not using the "assistant" account from the start is a mass import feature if that would be possible. On another note, I've run into a new error with Hey SEPIA wake word feature. I've started getting the following error:
I've been using 2.1en Hey SEPIA with a Key (v2+) key for months. The error goes away if I use 1.4 Hey SEPIA (as expected). I've got SEPIA on Raspbian Bookworm. My initial thought is Porcupine has changed something, but I'm clueless as to how to verify this. The strange thing is I don't get the error on some accounts on different clients while others have been getting the error consistently. (I've managed to trigger a "Error: 'pv_porcupine_init' failed with status ACTIVATION_LIMIT_REACHED" error trying various things--understandable.) Thank you for your time! |
Beta Was this translation helpful? Give feedback.
-
Hi, Florian. Thanks for the clarification. Yes, that's how I understood what you've done. It really is amazing. Honestly simply fantastic! YES! I saw your LLM model integration posting. I'm VERY interested in this. It will be a game changer for end user experience. I would love to play with it, but your post there left out a lot of how to start. If you need beta testers... ;) Understood about how "assistant" would work with multiple accounts. OK, I think I might be able to help on the documentation side. I didn't want to assert myself presumptuously, but in a former life I was writer and author (tech, non-fiction). I seemed to have a knack for tutorials (11 books published in 9 languages--translated by the publisher--is German your primary language?). I would like to offer my help if I may. My gut feeling is when the general public comes to really understand the pitfalls of cloud personal assistants, home automation, LLM's, etc., what you're doing is the obvious way to go. It's just getting things up and going is not something a lot of people have the skills, understanding or patience to get going. I have a few thoughts on that, but that's a another conversation. As terrible as this sounds, it's a relief that the porcupine thing is not just me (that I didn't break anything or a hardware failure on my end caused it). :) Thank you for the feature! I will download and will report back. Best! |
Beta Was this translation helpful? Give feedback.
-
Hi, again Florian. Clicking the Export All button returns:
I only see an Import (which only allows me to select a single json to import)-- I don't see an Import All button. It's the same when restarting SEPIA using restart-sepia.sh and logging in again. Edit: and sepiaFW.teach.sh Thank you! |
Beta Was this translation helpful? Give feedback.
-
I have English set everywhere and I got it to work (more in a sec). Just FYI the "No commands found for language: EN" must be due to no error handling message for "No Teach-UI commands found." I loaded up the "assistant" to try your new feature (which had no commands).
Ah, of course! So when I loaded another account with all of my Teach-UI commands (I had 370 of them!) and it all worked brilliantly! Question: Before I go through editing my various accounts and moving universal commands to "assistant", do duplicate commands on satellites default to "assistant" or do the currently loaded user command take prioriety? Thank you, Florian! |
Beta Was this translation helpful? Give feedback.
Hi Ben ,
That is correct, yes. Of cause there are dependencies from things like TTS, STT or wake-word systems etc., where I wrote "only" the integration code and some ideas where created in the discussion with other people or inspired by other projects, but I wrote all the server and UI/frontend code and made all the design stuff and graphics, so basically everything you will find in the SEPIA GitHub repositories 🙂. Its a project that I've started a very long time ago and it has changed a lot over the years. Currently I'm experimenting with local LLMs ^^, exciting times (again).