question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"pi" actions are not interrupted

See original GitHub issue

I recommend removing the “pi” prefix from the Actions, that was added under #30. Or, pick a different prefix.

How about “computer”? How about making it configurable? We call ours “spee”, so “spee power off” would work pretty well.


Per PR #30 , the new “power off” and “reboot” commands were prefixed with “pi”:

“pi power off” “pi reboot”

Unfortunately, our Voice Kit cannot interrupt “pi” most of the time. Cases in point:

5 year old daughter: “pi power off” May 27 06:38:36 spee python3[550]: {'text': 'hey power off'}

me saying “pi power off” May 27 06:38:51 spee python3[550]: {'text': 'hi power off'}

spouse saying “pi power off” May 27 06:39:52 spee python3[550]: {'text': 'say power off'}

Only after about a dozen times, was “Pi power off” detected by me saying it.

Also, if you actually say commands like “hey power off”, the assistant responds with “Sorry, Power commands are not yet supported.”

^- this would indicate that the SDK may support power commands in the future itself through some API. Something to keep an eye out for.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
holtencommented, Jun 3, 2017

My take was “sudo power off” and “sudo reboot”. =)

0reactions
eduncan911commented, May 30, 2017

the point of this Issue is to change it to something from that default, as it does not work very well… with now 5 different people trying it (see OP).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use interrupts with Python on the Raspberry Pi and ...
The console is connected to the GPIO port 4 and 18 for testing, but my script does not quite work. os is “RASPBIAN”,...
Read more >
Error in GPIO interrupt handling - Raspberry Pi Forums
Hardware: RPi 3B I have problems with consecutive interrupts (edge triggered) on two different GPIO pins. In my application, the second ...
Read more >
Dual Cores & Interrupts on Pi Pico - Instructables
1. The LEDs, with 330 Ohm protection resistors, are on pins GP2, GP3, GP4 and GP5. The button switches, with internal pull-downs, are on...
Read more >
SwiftUI previews stopped working e… | Apple Developer Forums
SwiftUI previews stopped working everywhere after using EnvironmentObject. This error now appears in every SwiftUI project, even ones without EnvironmentObject ...
Read more >
life of pi priest test Flashcards - Quizlet
Pi was trying to illustrate with the story of the leopard that "zoo animals are not dangerous absconding criminals but simply wild creatures...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found