Rhasspy mobile app

Strange, I also use Home Assistant as the intent handler. Did you have other rhasspy satellites worked? Did you manage the intent with events or intents?

I just tested a rhasspy satellite and it worked properly with the exact same siteId as the mobile app (the command shows in the base rhasspy webpage recognize box and the intent actually executes).

I am using Home Assistant event handler to handle the intents.

On the mobile app, I have the MQTT server configured, and the check is verified.

I can’t seem to put in the Rhasspy IP (IPADDRESS:12101) itself in the app settings, it says “cannot connect to rhasspy”.

The standard rhasspy satellite has no problem connecting to the same endpoint.

This may be the issue, any idea why it wouldn’t be able to connect?

I’m running rhasspy 2.5.7 and mobile app 1.6.3.

@razzo04
I’d like to start/stop recording with a phone shake.
Im trying to start a broadcast intent with automate but im failing miserably. do you know if its posible and how?
start/stop with a shake would be superb as it doesn’t need constant streaming for wake word detection.

I tried to use the automate app and it works instead of using the broadcast intent I used app start so that if the app is not running it will start and should start listening for command and if it is running it should just start listening. You must add in the parameter extras {“StartRecording”: “”} otherwise the app will only start and will not know that it must start listening. However, if you want there is also an android widget that does the same thing as app start.

Hi Razzo04
thanks for you help. the point is start rhasspy without unlocking the phone but unfortunatelly it isn’t working.

now im having the same issue than RandomRhasspyUser

I can’t seem to put in the Rhasspy IP (IPADDRESS:12101) itself in the app settings, it says “cannot connect to rhasspy”.

and the “no one managed the intent: hassturnoff” issue too

mqtt msgs shown :
:

rhasspy configuration:

Android prevents an application that has no graphics element on the screen from performing certain tasks such as recording audio especially if the phone is locked to overcome this the app must have a Foreground notification at the moment there is no direct setting in the app that allows this but you can enable wake Word select on UDP and enter 127.0.0.1:20000 so the UDP packets will not be sent but will remain in the device. Concerning the problem that intent is not being handled, I suspect that the problem is that rhasspy is not sending the intent to home assistant. under the section Intent Handling, do you have inserted the siteId set on the app?

Hi, great app. I have the mobile App got working with nodered. At the moment i can click on the microphone symbol and talk and have to click again when finished. That is working already and i can switch on and off an wled stripe. Great for now.
But how exactly can i use wake word from your app? I dont understand your explanation in this thread about wake word using. I have a raspberry PI 3b with hypriot and rhasspy (port 12101) and nodered (port 1880) as docker Container at 192.168.0.54. A second raspberry is running mosquito mqtt broker at 192.168.0.30:1883. Can you explain to me what udp port and ip i have to choose in your App and in rhasspy to get the wake word function working? I use porcupine in rhasspy for wake word. In rhasspy i have german profile.

You can find more information in this post.

Hi there,

razzo04 thinks about an smartwatch App so we can use a Watch as Satellite. See here:
https://github.com/razzo04/rhasspy-mobile-app/issues/4

With this App we have a Satellite on our Wrist. Perhaps anyone has an Watch with Wear OS and Microphone, so we can help to develop. This time i have only a Pebble Time, but i will order a Wear OS Watch.

Greetings

I just installed the Mobile App but I realized the Settings are not loading, the wheel keeps spinning.
I both built it my self and also downloaded the app, I tried both.

What version of Android are you using?

Congratulations razzo04.

Your App is great!!!

I’m using it to control Domoticz with my Android Phone and a Node-Red structure to recognize the intents and execute commands via http responses to the Domoticz API.

For the moment is working fine. Now I want to to try with old Android phones placed in several rooms with the power supply connected and using wake up word.

My question is about the satellite siteId. I don’t know how to include the siteId in Rhasspy Mobile App to differenciatte bewteen them to send the audio from Rhasspy without active session to different mobiles.

Thanks in advace.

If you have any conflict with the siteId generated by the app you can change it manually by editing the text field “Siteid” and then you can click again on auto setup.

Thanks for the info razzo04. I’ve just realized you have released a new version and I don’t know why but now changing the siteid inside the app is working. With the previous releases, in order to get the recognition and the tts working I needed to have the same siteid name of the Rhasspy Host.

Is it possible to have some tts messages to some of the satellites and “a common” channel to be received by of them?
Thanks

The only way to play a tts message is to send to each satellite the message with the siteId set on the app, so there is no way to broadcast a message.

ok, so the broadcast alternative would be to create a nodered flow with the same msg to the satellites. Something like this:
imagen

Using the tts API and http Post Request is working fine:

http://192.168.1.204:12101/api/text-to-speech?siteId=Tablet
http://192.168.1.204:12101/api/text-to-speech?siteId=Mobile

But…
when the tablet or the mobile are locked , the payload is received but there is no audio :frowning:

The tablet and the mobile will be connected to power so I don’t care about battery.

How could I have the App running all the time?

Android greatly limits the ability to run the app in the background and to access some resources like a microphone but theoretically if you enabled wake word should have appeared a notification warning that the app is running in the background so the app should operate even when the screen is off.

Hi @razzo04 I’m using stock MIUI ROM Global 12.0.5 stable and android version 10 QP1A.190711.020 ON xiaomi redmi note 8 pro

Very strange. I tested it on Xiaomi redmi note 9 pro and it worked. could you share the app logs should be in Android/data/com.example.rhasspy_mobile_app/files/logs.txt. Does this problem occur with previous versions?

Hi @razzo04 ! I just wanted to thank you for creating this app, it’s exactly what I’ve been looking for, and I’m eager to try it. If you don’t mind me asking, what are your future plans for the app? Are you planning on continuing development? Thanks!

1 Like