Giter VIP home page Giter VIP logo

fhem-rhasspy's People

Contributors

cb2sela avatar drhirn avatar jens-schiffke avatar rejoe2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cb2sela

fhem-rhasspy's Issues

Typo in 0.4.6a

In line 1228 , this
$room = $
should be changed to
$room = $_;
I think. Otherwise FHEM restarts.

(This is my first use of github, so I am sorry if I do not use is appropriately).

Multi language

https://forum.fhem.de/index.php/topic,113180.msg1135182.html#msg1135182

Die Mehrsprachigkeit zielt jetzt ja soweit ich das nachvollziehen kann nur auf die Rhasspy-Ebene ab.

Was ich toll fände, wäre wenn es Mehrsprachigkeit auch auf der FHEM-Ebene gäbe:
Zwei Rhasspy-Devices anlegen, welche sich mit zwei unterschiedlichen Rhasspy-Mastern verbinden, sollte ja kein Problem sein.
Aber das bewusste Trainieren von wenigen Wörtern , um die Schwierigkeiten der Speech2Text-Fähigkeit zu erleichtern, wird dann durch nur ein Attribut rhasspyRoom /rhasspyName aufgeweicht. Beide Master erlenen dann "Stehlampe" obwohl der Engländer damit wenig anfangen kann. "Rhasspy weiß nicht, wie man folgenden Worte ausspricht...".

Könnte man also in Abhängigkeit einer Sprachdefinition in der DEF auch unterschiedliche, mehrere Raumattribute zur Verfügung stellen?
rhasspyRoomDE, rhasspyRoomEN

Fetch siteIds

Fetch all siteIds to compare them with rhasspyRooms
sub fetchSiteIDs(){
my $RhasspyMaster = AttrVal("Rhasspy","rhasspyMaster",'http://127.0.0.1:12101')."/api/profile";
my $ua = LWP::UserAgent->new();
my $response = $ua->get("$RhasspyMaster");
my $content = $response->content;
my $ref = JSON->new->decode($content);
my $JSONString = encode('cp-1252',$ref->{'dialogue'}{'satellite_site_ids'});
fhem("setreading Rhasspy SatellitesIDs $JSONString");
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.