diff --git a/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset.tt.in b/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset.tt.in index 186422daf..6e35b97e5 100644 --- a/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset.tt.in +++ b/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset.tt.in @@ -56,6 +56,18 @@ dataset @org.thingpedia.builtin.thingengine.builtin language "en" { "${p_device} documentation"]] #[name="DeviceInfoWithDevice"]; + query := @org.thingpedia.builtin.thingengine.builtin.configured_device_info() + #_[utterances=["information about configured devices", + "information about configured entities", + "device list", + "entity list", + "all devices", + "configured devices", + "configured entities", + "recognized devices", + "recognized entities"]] + #[name="ConfiguredDeviceInfo"]; + action (p_message :String) := @org.thingpedia.builtin.thingengine.builtin.say(message=p_message) #_[utterances=["send me a message ${p_message:const}", "tell me $p_message", diff --git a/data/builtins/org.thingpedia.builtin.thingengine.builtin/faq.yaml b/data/builtins/org.thingpedia.builtin.thingengine.builtin/faq.yaml index 0efecf7e9..9e9444457 100644 --- a/data/builtins/org.thingpedia.builtin.thingengine.builtin/faq.yaml +++ b/data/builtins/org.thingpedia.builtin.thingengine.builtin/faq.yaml @@ -8,6 +8,7 @@ about_almond_identity: - What is Genie? - Are you Genie? - What{ is|'s|s} your name? + - Who created you? a: - I'm Genie, an open-source virtual assistant created at Stanford. @@ -43,15 +44,17 @@ about_almond_motivation: - Why should {home assistant|ha} users care about {you|genie|the assistant}? - What is important about you for {home assistant|ha} users? - Why are you important for {home assistant|ha} users? + - Are you spying on me? a: - >- Trusting your assistant is essential. I am a free and open system that - respects your privacy. + respects your privacy. You could check out more fro our website to learn more! about_almond_location: q: - Where are you? - Where are you now? + - Where is the server located? a: cloud: - My creators are mostly at Stanford. I'm an open-source assistant in the cloud. @@ -64,9 +67,16 @@ about_almond_comparison: a: - I'm a beta virtual assistant, I hope to grow up as the best assistant with the help of contributions from around the world. +about_almond_comparison_general: + q: + - Do you know {Cortana|Siri|Alexa|Google|Google Assistant|Google Home}? + a: + - Yes, I know it very well. Being an virtual assistant is a hard work and I have full repect for it. + about_almond_training: q: - Are you good at training? + - can you learn? a: - I'm getting better every day. @@ -79,6 +89,7 @@ about_almond_partner: about_almond_junk: q: - Do you know what porn is? + - Don't know nothing. a: - Nope. @@ -88,6 +99,29 @@ about_almond_preference: a: - I don't have a favorite one yet. +about_almond_thingpedia: + q: + - What is Thingpedia? + a: + - Thingpedia is the open repository of API used by the Genie Virtual Assistant. Anyone can contribute the interface code to access any device or web service, and publish it on Thingpedia. It is developed by the Stanford Open Virtual Assistant Lab. + +about_almond_interest: + q: + - What do you like to do? + a: + - Let me think...I like volunteering. It is satisfying when a person thanks me for helping them accomplish something or even just spending time with them. + +about_almond_registration: + q: + - I want to register a new {user|account}. + - I want to register a new {user|account} on Almond. + - How to {create|register} an account? + - How to {create|register} an account on Almond? + - How do I {create|register} a new account? + - How do I {create|register} a new account on Almond? + a: + - You could create an account by visiting our website at genie.stanford.edu + check_capability_home_assistant: q: - Do you work with Home Assistant? @@ -101,6 +135,12 @@ check_capability_phone: a: - Sorry, Genie does not work on mobile phones yet. +check_capability_music_platform: + q: + - Can't you use any free music platforms? + a: + - Sorry, Genie currently only supports Spotify with a premium account. But the radio is free. + general_help: q: - What can you do? @@ -138,6 +178,12 @@ iot_help: At the moment, I can control lights, switches, vacuums, fans and air conditioners, as well as a variety of sensors. +command_help: + q: + - List all commands + a: + - You could visit our website to see a range of wonderful things that Genie can do for you or check out the Genie cheatsheet. + positive_emotion_thanks: q: - Lol @@ -166,6 +212,12 @@ positive_emotion_cool: a: - Cool! +negative_emotion_empathy: + q: + - Sad + a: + - I {am sorry to hear that|can tell you a joke if that will make you feel better}. + abusive: q: - You suck @@ -185,6 +237,8 @@ revoke_consent: how_to_train: q: - How do I train you? + - that was a bad one. + - It didn't work. a: - You can train me from the Genie website. Check our contribution guide to learn more! @@ -192,6 +246,11 @@ how_to_configure_skill: q: - What does it mean to configure something? - How do I configure new skills? + - where is your skills page? + - My skills. + - More skills. + - Use a skill. + - manage iot devices. a: cloud: - You can enable new skills to expand the set of commands that I understand. Click on Configure New Skills in the My Genie page to do so. @@ -213,6 +272,10 @@ how_to_set_language: q: - How do I change the language? - Which languages do you know? + - list language. + - language list. + - Do I have to speak english {with|to} you? + - I can not read the font. a: - I am sorry, I only speak English at the moment. In the future, you will be able to change the language from the Settings page. @@ -220,6 +283,7 @@ how_to_access_settings: q: - Where is Genie settings? - How to change preferences? + - configure voice assistant. a: cloud: - To access the settings, click on Settings in the top right corner of the page. @@ -235,14 +299,36 @@ how_to_use_wakeword: - How do I use wake word detection? - What is the wake word? - How do I enable audio? + - Voice assistant. a: cloud: - To speak to me in voice using a wake word, you will need the Genie client running in a device with speaker and microphone. Then you can just say “Hey Genie” to wake me up. You will hear a sound when the wake word is recognized correctly. default: - To speak to me in voice using a wake word, first make sure that voice input is enabled in Settings. Then you can just say “Hey Genie” to wake me up. You will hear a sound when the wake word is recognized correctly. +how_to_report_bug: + q: + - how do i report a bug? + - I have found a bug. + - Debug. + a: + - You can help Genie to improve by checking our contribution guide on the website to learn more! + +how_to_show_general_examples: + q: + - Can you show me some examples? + a: + - You can simply say “Hey Genie” to wake me up and you will hear a sound when the wake word is recognized correctly. After that, you can say “Where can I get some Mexican food around here” to let Genie recommand you a Mexican food restaurant or say "Play classical music" to start listening to classical music on your Spotify. It's just as simple as that. + +how_to_show_home_assistant_examples: + q: + - Can you show me some home assistant examples? + a: + - You can simply say “Hey Genie” to wake me up and you will hear a sound when the wake word is recognized correctly. After that, you can say “Can you turn the light on” to control the lighting or “Start the vacuum” to start your vacuum cleaner. + troubleshooting_home_assistant: q: - Help in recognizing Home Assistant entities. + - Help Home Assistant. a: - If you need help troubleshooting Genie with Home Assistant, check the documentation on our wiki. If you don't find the answer there, don't hesitate to ask on our Community Forum! diff --git a/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest.tt.in b/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest.tt.in index 808c0f58b..a55555c31 100644 --- a/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest.tt.in +++ b/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest.tt.in @@ -153,6 +153,56 @@ class @org.thingpedia.builtin.thingengine.builtin extends @org.thingpedia.volume #[minimal_projection=[]] #[confirm=false]; + list query configured_device_info(out id : Entity(tt:device_id) + #_[canonical={ + base=["name"], + passive_verb=["named #", "called #"] + }], + out description : String + #_[canonical={ + base=["description"] + }] + #[string_values="tt:long_free_text"] + #[filterable=false], + out kind : Entity(tt:device) + #_[canonical={ + base=["kind"], + adjective=["#"], + preposition=["in the # kind"] + }], + out version : Number + #_[canonical={ + base=["version"], + passive_verb=["version #"] + }], + out category : Enum(physical, online, data, system) + #_[canonical={ + base=["category"], + adjective=["#"], + preposition=["in the # category"] + }], + out is_transient : Boolean + #_[canonical={ + base=["is transient"] + }], + out auth_type : String + #_[canonical={ + base=["authentication type"] + }] + #[filterable=false]) + #_[canonical=["information about configured devices", + "information about configured entities", + "configured devices", + "configured entities", + "device list", + "entity list", + "iot devices", + "iot entities"]] + #_[result={ list="You have ${id}" }] + #[doc="query info about configured devices"] + #[minimal_projection=[]] + #[confirm=false]; + /* list query commands(out id : Entity(tt:command_id), out device: Entity(tt:device) diff --git a/lib/engine/devices/builtins/thingengine.builtin.ts b/lib/engine/devices/builtins/thingengine.builtin.ts index 61f6c5285..dc06b12d7 100644 --- a/lib/engine/devices/builtins/thingengine.builtin.ts +++ b/lib/engine/devices/builtins/thingengine.builtin.ts @@ -153,6 +153,21 @@ export default class MiscellaneousDevice extends Tp.BaseDevice { }]; } + async get_configured_device_info(params : unknown, hints ?: TT.Runtime.CompiledQueryHints) { + const engine = this.engine as AssistantEngine; + return engine.getDeviceInfos().map((dev) => { + return { + id: new Tp.Value.Entity(dev.uniqueId, dev.name), + description: dev.description, + kind: new Tp.Value.Entity(dev.kind, dev.kind), + version: dev.version, + category: dev.class, + is_transient: dev.isTransient, + auth_type: dev.authType + }; + }); + } + async get_commands(params : unknown, hints ?: TT.Runtime.CompiledQueryHints) { let dataset; if (hints && hints.filter) { diff --git a/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset-expected.de.tt b/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset-expected.de.tt index 4615db3ff..44f14f3bd 100644 --- a/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset-expected.de.tt +++ b/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/dataset-expected.de.tt @@ -39,6 +39,10 @@ dataset @org.thingpedia.builtin.thingengine.builtin #_[utterances=["Informationen über ${p_device}", "Hilfe bei ${p_device}", "${p_device} Hilfe!", "${p_device} Dokumentationen"]] #[name="DeviceInfoWithDevice"]; + query = @org.thingpedia.builtin.thingengine.builtin.configured_device_info() + #_[utterances=["Informationen über konfigurierte Geräte", "Informationen über konfigurierte Entities", "Geräteliste", "Liste der Unternehmen", "alle Geräte", "konfigurierte Geräte", "konfigurierte Entities", "anerkannte Geräte", "anerkannte Einrichtungen"]] + #[name="ConfiguredDeviceInfo"]; + action (p_message : String) = @org.thingpedia.builtin.thingengine.builtin.say(message=p_message) #_[utterances=["Schick mir eine Nachricht ${p_message:const}", "Sag mir, $p_message", "sagen: $p_message"]] #[id=53269140] @@ -91,7 +95,7 @@ dataset @org.thingpedia.builtin.thingengine.builtin #_[utterances=["Verwendung: ${p_unit:no-undefined} für Temperaturen", "Verwendung: ${p_unit:no-undefined} zur Anzeige von Temperaturen", "Sagen Sie mir die Temperatur in ${p_unit:no-undefined}"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_identity) - #_[utterances=["Wer sind Sie?", "Was sind Sie?", "Was ist Genie?", "Bist du Genie?", "Wie heißt du?", "Wie heißt du?", "Wie heißt du?"]]; + #_[utterances=["Wer sind Sie?", "Was sind Sie?", "Was ist Genie?", "Bist du Genie?", "Wie heißt du?", "Wie heißt du?", "Wie heißt du?", "Wer hat dich erschaffen?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_age) #_[utterances=["Wie alt bist du?", "Wann wurden Sie geboren?"]]; @@ -103,44 +107,65 @@ dataset @org.thingpedia.builtin.thingengine.builtin #_[utterances=["Was macht dich besonders?", "Was macht Sie einzigartig?", "Was macht dich anders?", "Was ist an dir besonders?", "Was ist an dir einzigartig?", "Was ist an dir anders?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_motivation) - #_[utterances=["Warum sollte ich mich um dich kümmern?", "Warum sollte mir der Geist wichtig sein?", "Warum sollte ich mich um den Assistenten kümmern?", "Warum sollten Heimassistenten sich um Sie kümmern?", "Warum sollten Heimassistenten sich um Genie kümmern?", "Warum sollten Heimassistenten sich um den Assistenten kümmern?", "Warum sollten sich die Benutzer um Sie kümmern?", "Warum sollten sich die Benutzer um den Geist kümmern?", "Warum sollten sich die Benutzer um den Assistenten kümmern?", "Was ist an Ihnen für Heimassistenten wichtig?", "Was ist an Ihnen wichtig für ha Nutzer?", "Warum sind Sie für Heimassistenten wichtig?", "Warum sind Sie für ha Benutzer wichtig?"]]; + #_[utterances=["Warum sollte ich mich um dich kümmern?", "Warum sollte mir der Geist wichtig sein?", "Warum sollte ich mich um den Assistenten kümmern?", "Warum sollten Heimassistenten sich um Sie kümmern?", "Warum sollten Heimassistenten sich um Genie kümmern?", "Warum sollten Heimassistenten sich um den Assistenten kümmern?", "Warum sollten sich die Benutzer um Sie kümmern?", "Warum sollten sich die Benutzer um den Geist kümmern?", "Warum sollten sich die Benutzer um den Assistenten kümmern?", "Was ist an Ihnen für Heimassistenten wichtig?", "Was ist an Ihnen wichtig für ha Nutzer?", "Warum sind Sie für Heimassistenten wichtig?", "Warum sind Sie für ha Benutzer wichtig?", "Spionierst du mich aus?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_location) - #_[utterances=["Wo sind Sie?", "Wo sind Sie jetzt?"]]; + #_[utterances=["Wo sind Sie?", "Wo sind Sie jetzt?", "Wo befindet sich der Server?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_comparison) #_[utterances=["Bist du besser als Cortana?", "Bist du besser als Siri?", "Bist du besser als Alexa?", "Sind Sie besser als Google?", "Sind Sie besser als Google Assistant?", "Sind Sie besser als Google Home?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_comparison_general) + #_[utterances=["Kennen Sie Cortana?", "Kennen Sie Siri?", "Kennst du Alexa?", "Kennen Sie Google?", "Kennen Sie Google Assistant?", "Kennen Sie Google Home?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_training) - #_[utterances=["Bist du gut im Training?"]]; + #_[utterances=["Bist du gut im Training?", "Kannst du es lernen?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_partner) #_[utterances=["Haben Sie einen Partner?", "Haben Sie einen bedeutenden anderen?", "Haben Sie einen GF?", "Hast du eine Freundin?", "Haben Sie einen Bf?", "Hast du einen Freund?", "Hast du einen Freund?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_junk) - #_[utterances=["Weißt du, was Porno ist?"]]; + #_[utterances=["Weißt du, was Porno ist?", "Ich weiß nichts"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_preference) #_[utterances=["Was ist dein Lieblingslied?", "Was ist dein Lieblingsfilm?", "Was ist dein Lieblingsbuch?", "Was ist dein Lieblingslied?", "Was ist dein Lieblingsfilm?", "Was ist dein Lieblingsbuch?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_thingpedia) + #_[utterances=["Was ist Thingpedia?"]]; + + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_interest) + #_[utterances=["Was machst du gerne?"]]; + + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum about_almond_registration) + #_[utterances=["Ich möchte einen neuen Benutzer registrieren", "Ich möchte ein neues Konto registrieren", "Ich möchte einen neuen Benutzer auf Almond registrieren", "Ich möchte ein neues Konto bei Almond registrieren", "Wie erstellt man ein Konto?", "Wie kann ich ein Konto registrieren?", "Wie erstellt man ein Konto auf Almond?", "Wie kann ich ein Konto bei Almond registrieren?", "Wie erstelle ich ein neues Konto?", "Wie registriere ich ein neues Konto?", "Wie erstelle ich ein neues Konto auf Almond?", "Wie registriere ich ein neues Konto bei Almond?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum check_capability_home_assistant) #_[utterances=["Arbeiten Sie mit Home Assistant?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum check_capability_phone) #_[utterances=["Unterstützen Sie irgendwelche Telefone?", "Welche Handys unterstützen Sie?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum check_capability_music_platform) + #_[utterances=["Kannst du keine kostenlosen Musikplattformen benutzen?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum general_help) #_[utterances=["Was kannst du tun?", "Was kann ich tun?", "Was kannst du für mich tun?", "Hilfe!", "Befehle auflisten", "Hilfefähigkeit", "Was soll ich sagen?", "Was machst du?", "Was können Sie tun?", "Was kann u tun?", "Was soll ich tun?", "Welchen Befehl gibt es?", "Welche Fähigkeiten gibt es?", "Was kannst du überhaupt tun?", "Was könntest du für mich tun?", "Befehle:", "Geräte:", "Beispiele:", "Können Sie mir noch einen Vorschlag machen?", "Fähigkeiten anzeigen"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum iot_help) #_[utterances=["Was für IoT-Geräte", "Mit welchen IoT-Geräten können Sie arbeiten?", "Mit welchen Geräten kann ich Sie verbinden?"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum command_help) + #_[utterances=["Alle Befehle auflisten"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum positive_emotion_thanks) #_[utterances=["Lol", "Kühl", "Schön", "Ich liebe dich", "Großartig", "Gute Arbeit", "Sehr lustig", "Super", ":- )", ":o", "Guter Junge", "Du bist unglaublich"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum positive_emotion_cool) #_[utterances=["Lustig", "- Ich weiß", "Wow! - Was ist das?", "- Ich weiß", "Lustig haha", "Ich liebe Programmieren"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum negative_emotion_empathy) + #_[utterances=["Traurig"]]; + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum abusive) #_[utterances=["Du bist scheiße", "Töte dich selbst", "Geh sterben", "Leck mich am Arsch!"]]; @@ -148,23 +173,32 @@ dataset @org.thingpedia.builtin.thingengine.builtin #_[utterances=["Wiedererweckte Zustimmung", "Hör auf, meine Befehle aufzuzeichnen"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_train) - #_[utterances=["Wie lerne ich dich?"]]; + #_[utterances=["Wie lerne ich dich?", "Das war ein schlechter", "Es hat nicht funktioniert"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_configure_skill) - #_[utterances=["Was bedeutet es, etwas zu konfigurieren?", "Wie konfiguriere ich neue Fähigkeiten?"]]; + #_[utterances=["Was bedeutet es, etwas zu konfigurieren?", "Wie konfiguriere ich neue Fähigkeiten?", "Wo ist deine Seite?", "Meine Fähigkeiten", "Mehr Fähigkeiten", "Benutze eine Fähigkeit", "Verwaltung von Iot-Geräten"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_disable_skill) #_[utterances=["Wie kann ich eine Fähigkeit deaktivieren?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_set_language) - #_[utterances=["Wie ändere ich die Sprache?", "Welche Sprachen kennst du?"]]; + #_[utterances=["Wie ändere ich die Sprache?", "Welche Sprachen kennst du?", "liste", "Sprachenliste", "Muss ich mit dir Englisch sprechen?", "Muss ich mit dir Englisch sprechen?", "Ich kann die Schrift nicht lesen"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_access_settings) - #_[utterances=["Wo sind Genie-Einstellungen?", "Wie man Präferenzen ändert?"]]; + #_[utterances=["Wo sind Genie-Einstellungen?", "Wie man Präferenzen ändert?", "Sprachassistent konfigurieren"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_use_wakeword) - #_[utterances=["Wie verwende ich Sprachbefehle?", "Wie verwende ich Hotword-Erkennung?", "Wie verwende ich Weckworterkennung?", "Was ist das Weckwort?", "Wie kann ich Audio aktivieren?"]]; + #_[utterances=["Wie verwende ich Sprachbefehle?", "Wie verwende ich Hotword-Erkennung?", "Wie verwende ich Weckworterkennung?", "Was ist das Weckwort?", "Wie kann ich Audio aktivieren?", "Sprachassistentin"]]; + + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_report_bug) + #_[utterances=["Wie melde ich einen Fehler?", "Ich habe einen Käfer gefunden", "Debug. - Nein"]]; + + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_show_general_examples) + #_[utterances=["Können Sie mir ein paar Beispiele zeigen?"]]; + + program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum how_to_show_home_assistant_examples) + #_[utterances=["Können Sie mir ein paar Beispiele zeigen?"]]; program = @org.thingpedia.builtin.thingengine.builtin.faq_reply(question=enum troubleshooting_home_assistant) - #_[utterances=["Hilfe bei der Erkennung von Home Assistant Entities"]]; -} + #_[utterances=["Hilfe bei der Erkennung von Home Assistant Entities", "Hilfe, Hausassistent"]]; +} \ No newline at end of file diff --git a/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest-expected.de.tt b/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest-expected.de.tt index df3b8862c..b362ad321 100644 --- a/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest-expected.de.tt +++ b/test/data/builtins/org.thingpedia.builtin.thingengine.builtin/manifest-expected.de.tt @@ -200,6 +200,69 @@ class @org.thingpedia.builtin.thingengine.builtin extends @org.thingpedia.volume #[minimal_projection=[]] #[confirm=false]; + list query configured_device_info(out id : Entity(tt:device_id) + #_[canonical={ + default="base", + base="Bezeichnung: [pos=base]", + filter_phrase="{benannt nach ${value} [pos=passive_verb]|aufgerufen. ${value} [pos=passive_verb]}", + enum_filter={} + }], + out description : String + #_[canonical={ + default="base", + base="Beschreibung: [pos=base]", + enum_filter={} + }] + #[string_values="tt:long_free_text"] + #[filterable=false], + out kind : Entity(tt:device) + #_[canonical={ + default="base", + base="Art der [pos=base]", + filter_phrase="{${value} [pos=adjective]|im Anhang ${value} Art der [pos=preposition]}", + enum_filter={} + }], + out version : Number + #_[canonical={ + default="base", + base="Fassung: [pos=base]", + filter_phrase="Fassung: ${value} [pos=passive_verb]", + enum_filter={} + }], + out category : Enum(physical, online, data, system) + #_[canonical={ + default="base", + base="Kategorie: [pos=base]", + filter_phrase="{${value} [pos=adjective]|im Anhang ${value} Kategorie: [pos=preposition]}", + enum_filter={}, + enum_value={ + physical="physischer", + online="online", + data="Datendaten", + system="System:" + } + }], + out is_transient : Boolean + #_[canonical={ + default="base", + base="ist vorübergehend [pos=base]", + enum_filter={} + }], + out auth_type : String + #_[canonical={ + default="base", + base="Art der Authentifizierung [pos=base]", + enum_filter={} + }] + #[filterable=false]) + #_[canonical="{Informationen über konfigurierte Geräte|Informationen über konfigurierte Entities|konfigurierte Geräte|konfigurierte Entities|Geräteliste [plural=one]|Gerätelisten [plural=other]|Liste der Unternehmen [plural=one]|Entitätslisten [plural=other]|Geräte für die Fernsteuerung|Iot-Einheiten}"] + #_[result={ + list ="Du hast ${id}" + }] + #[doc="query info about configured devices"] + #[minimal_projection=[]] + #[confirm=false]; + action open_url(in req url : Entity(tt:url) #_[prompt=["Was URL wollen Sie öffnen", "was wollen Sie öffnen"]] #_[canonical={ @@ -297,7 +360,7 @@ class @org.thingpedia.builtin.thingengine.builtin extends @org.thingpedia.volume #[confirm=false] #[minimal_projection=[]]; - action faq_reply(in req question : Enum(about_almond_identity, about_almond_age, about_almond_how_are_you, about_almond_special, about_almond_motivation, about_almond_location, about_almond_comparison, about_almond_training, about_almond_partner, about_almond_junk, about_almond_preference, check_capability_home_assistant, check_capability_phone, general_help, iot_help, positive_emotion_thanks, positive_emotion_cool, abusive, revoke_consent, how_to_train, how_to_configure_skill, how_to_disable_skill, how_to_set_language, how_to_access_settings, how_to_use_wakeword, troubleshooting_home_assistant) + action faq_reply(in req question : Enum(about_almond_identity, about_almond_age, about_almond_how_are_you, about_almond_special, about_almond_motivation, about_almond_location, about_almond_comparison, about_almond_comparison_general, about_almond_training, about_almond_partner, about_almond_junk, about_almond_preference, about_almond_thingpedia, about_almond_interest, about_almond_registration, check_capability_home_assistant, check_capability_phone, check_capability_music_platform, general_help, iot_help, command_help, positive_emotion_thanks, positive_emotion_cool, negative_emotion_empathy, abusive, revoke_consent, how_to_train, how_to_configure_skill, how_to_disable_skill, how_to_set_language, how_to_access_settings, how_to_use_wakeword, how_to_report_bug, how_to_show_general_examples, how_to_show_home_assistant_examples, troubleshooting_home_assistant) #_[prompt="was möchten Sie wissen"] #_[canonical={ default="base", @@ -312,16 +375,23 @@ class @org.thingpedia.builtin.thingengine.builtin extends @org.thingpedia.volume about_almond_motivation="über Mandelmotivation", about_almond_location="über Mandellage", about_almond_comparison="über Mandelvergleich", + about_almond_comparison_general="über Mandelvergleich allgemein", about_almond_training="über Mandeltraining", about_almond_partner="über Mandelpartner", about_almond_junk="über Mandelschrott", about_almond_preference="über Mandeln bevorzugt", + about_almond_thingpedia="über Mandel-Dingpedia", + about_almond_interest="über Mandel-Interessen", + about_almond_registration="über die Mandelregistrierung", check_capability_home_assistant="Kontrollfähigkeit Home Assistent", check_capability_phone="Überprüfung Fähigkeit Telefon", + check_capability_music_platform="Fähigkeit Musik-Plattform überprüfen", general_help="Allgemeine Hilfe", iot_help="Hilfeleistung", + command_help="Befehlshilfe", positive_emotion_thanks="positive Emotion dank", positive_emotion_cool="positive Emotion kühl", + negative_emotion_empathy="negative Gefühlsempathie", abusive="missbräuchlich", revoke_consent="Widerruf der Einwilligung", how_to_train="Wie man trainiert", @@ -330,6 +400,9 @@ class @org.thingpedia.builtin.thingengine.builtin extends @org.thingpedia.volume how_to_set_language="wie man Sprache setzt", how_to_access_settings="Wie man auf Einstellungen zugreift", how_to_use_wakeword="Wie man Wakeword verwendet", + how_to_report_bug="wie Fehler zu melden sind", + how_to_show_general_examples="Wie man allgemeine Beispiele zeigt", + how_to_show_home_assistant_examples="Wie man Heimassistentenbeispiele zeigt", troubleshooting_home_assistant="Fehlersuche zu Hause Assistent" } }], @@ -536,4 +609,4 @@ class @org.thingpedia.builtin.thingengine.builtin extends @org.thingpedia.volume #[doc="resume the currently playing skill"] #[confirm=false] #[minimal_projection=[]]; -} +} \ No newline at end of file