snipsco / snips-skill-respeaker

Official Snips Animation Feedback For Makers Kits/Dev Kits, supporting all kinds of APA102 based LED hardwares.
MIT License
41 stars 23 forks source link

Only one LED blinking green #30

Open happenpappen opened 4 years ago

happenpappen commented 4 years ago

After starting my Raspberry Pi 3 with Debian Buster and the ReSpeaker 6 Mic array, the idle pattern (one random led blinks green) starts to work. But this pattern never changes, even when the hotword ist recognized. I tried to start the action in debug mode and from my point of view everything looks ok:

pi@rpi4:/var/lib/snips/skills/snips-skill-respeaker $ ./action-led_animation_1.6.3 -d [18:29:00] [Debug] [load_json_file] Opening file: ./hardware_specs/respeaker_6_mic_hat.json [18:29:01] [Info] [set_power_pin] Set power pin 5 to [18:29:01] [Debug] hardware_model : respeaker_6_mic_hat [18:29:01] [Debug] LED number : 12 [18:29:01] [Debug] LED SPI BUS : 0 [18:29:01] [Debug] LED SPI DEV : 0 [18:29:01] [Debug] Power PIN : 5 [18:29:01] [Debug] Power VAL : 1 [18:29:01] [Debug] Button PIN : 26 [18:29:01] [Debug] Button VAL : 0 [18:29:01] [Debug] max_brightness : 63 [18:29:01] [Debug] mqtt_host : mqtt.stoppe.org [18:29:01] [Debug] mqtt_port : 1883 [18:29:01] [Debug] mqtt_user : [18:29:01] [Debug] mqtt_pass : [18:29:01] [Debug] site_id : Wohnzimmer [18:29:01] [Debug] client_id : 56Ds3ML9dE [18:29:01] [Debug] idle color : 0x0000ff00 [18:29:01] [Debug] speak color : 0x00ff00ff [18:29:01] [Debug] listen color : 0x000000ff [18:29:01] [Debug] mute color : 0x00ffff00 [18:29:01] [Debug] unmute color : 0x0000ff00 [18:29:01] [Debug] on_idle : true [18:29:01] [Debug] on_listen : true [18:29:01] [Debug] on_speak : true [18:29:01] [Debug] to_mute : true [18:29:01] [Debug] to_unmute : true [18:29:01] [Debug] if_mute_feedback sound : YES [18:29:01] [Info] [mqtt_mute_feedback] Muting the feedback sound [18:29:01] [Debug] [mqtt_mute_feedback] Publishing to topic : hermes/feedback/sound/toggleOff [18:29:01] [Debug] [mqtt_mute_feedback] Publishing message : {"siteId":"Wohnzimmer"} [18:29:02] [Debug] [init_key] Button has been created on GPIO26[18:29:02] [18:29:02] [Info] Initilisation Done! [Debug] [18:29:02][key_status_observer] is successful started! [Info] Version ............. 1.6.3 [18:29:02] [Info] Client Id ........... 56Ds3ML9dE [18:29:02] [Info] Brightness .......... 63 [18:29:02] [Info] Device .............. respeaker_6_mic_hat [18:29:02] [Info] Nightmode ........... Enabled [18:29:02] [Info] Feedback Sound ...... Disabled [18:29:02] [Info] MQTT Bus ............ mqtt.stoppe.org:1883 [18:29:02] [Info] Button GPIO ......... 26 [18:29:02] [Info] [Tips] Hit the button to start a new conversion. [18:29:02] [Info] [Tips] Hold the button to switch between mute/unmute the feedback sound [18:29:02] [Info] Press CTRL-C to exit. [18:29:02] [Debug] State is changed to 0 [18:29:02] [Debug] Previous thread NONE terminated with success [18:29:02] [Debug] [on_idle] animation started

Permissions of the _snips-skills user look ok as well:

pi@rpi4:/var/lib/snips/skills/snips-skill-respeaker $ groups _snips-skills _snips-skills : _snips-skills audio spi gpio