-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On play finished received but it wasn't for me #102
Comments
I think, that I need a little aid, to start with the customLed Pattern. |
Hi! The doc available is the only one. For any type of leds, the syntax is exactly the same, the creator of a led pattern doesn't need to care the hardware others use. To understand how it works, you should check at the existing patterns, like the google/alexa/project alice/kiboost ones. As of how to connect the leds, you should use the By reading your pin list, you either took the pin logical numbers, in which case 14 is ground, 15 would be BCM 22 and 18 would be BCM 24 or you are using BCM numbering, in which case BCM 14 and BCM 15 don't exist. |
Well, I have connected the pins #8 #10 #12 (GPIO 14,15,18) that is by documentation the default. CustomLedPattern.py
|
Are you sure you are getting the mqtt messages correctly? Have you tried manually sending a message? Or by using the MqttSpy scripts you can quick try them by setting your mqtt broker to localhost |
I cant belive, why this setup is so tricky. I have already 2 respeaker-2 up and running with HLC without any hassle. I want to understand, why this particular setup is different. It might be an issue with the mqtt messages. Rhasspy is working and is exchanging messages via mqtt. I can see that HLC on this device is listening to the messages, but it feels not responsible to react on these messages. 2021-04-24 21:38:22,472 [MainThread] - [INFO] - Starting Hermes Led Control v. 2.0.13 |
"Not for me" is decided by checking if the Mqtt message siteId property corresponds to the "deviceName" config or to a string "all" |
Iam using HLC together with Rhasspy 2.5.10.
This Pi3a+ is configured as satellite.
GPIO 14/15/18 are connected to simple LED's.
I experimented with clientId, but it seems to have no effect.
What Iam doing wrong?
The LED's are not working as of pattern, the following messages in debug output:
2021-04-23 11:18:52,264 [MainThread] - [INFO] - Initializing HermesLedControl
2021-04-23 11:18:52,334 [MainThread] - [INFO] - Initializing Rhasspy settings
2021-04-23 11:18:52,335 [MainThread] - [INFO] - Loading configurations
2021-04-23 11:18:52,339 [MainThread] - [INFO] - Loaded 14 hardware references
2021-04-23 11:18:52,340 [MainThread] - [INFO] - - Mqtt server set to mqtt-prod.fritz.box
2021-04-23 11:18:52,341 [MainThread] - [INFO] - - Mqtt port set to 1883
2021-04-23 11:18:52,343 [MainThread] - [INFO] - - Client id set to pi4
2021-04-23 11:18:52,344 [MainThread] - [INFO] - - Hardware set to Pure GPIO
2021-04-23 11:18:52,345 [MainThread] - [INFO] - - Using kiboost as pattern with 3 leds
2021-04-23 11:18:52,346 [MainThread] - [INFO] - Initializing leds controller
2021-04-23 11:18:52,632 [MainThread] - [INFO] - Hermes Led Control started
2021-04-23 11:18:55,058 [Thread-2] - [DEBUG] - On hotword triggered
2021-04-23 11:18:55,704 [Thread-2] - [DEBUG] - On play finished received but it wasn't for me
2021-04-23 11:18:55,707 [Thread-2] - [DEBUG] - On hotword toggle on triggered
2021-04-23 11:18:55,715 [Thread-2] - [DEBUG] - On listen triggered
2021-04-23 11:18:57,207 [Thread-2] - [DEBUG] - On think triggered
2021-04-23 11:18:58,138 [Thread-2] - [DEBUG] - On play finished received but it wasn't for me
2021-04-23 11:18:58,142 [Thread-2] - [DEBUG] - On hotword toggle on triggered
2021-04-23 11:18:58,147 [Thread-2] - [DEBUG] - On hotword toggle on triggered
2021-04-23 11:18:58,152 [Thread-2] - [DEBUG] - On success triggered
2021-04-23 11:18:58,213 [Thread-2] - [DEBUG] - On say triggered
2021-04-23 11:19:02,071 [Thread-2] - [DEBUG] - On play finished received but it wasn't for me
2021-04-23 11:19:02,073 [Thread-2] - [DEBUG] - On tts finished triggered
2021-04-23 11:19:25,777 [Thread-2] - [DEBUG] - On hotword toggle on triggered
The text was updated successfully, but these errors were encountered: