Status Recipe Question
-
Hi, and what logs says ? (
command not found
i think) -
@bugsounet Hello. If you mean in pm2 logs I have no errors
0|mm | [DETECTOR] Starts listening. 1 Models 0|mm | [10.10.2022 21:36.01.952] [LOG] 0|mm | [DETECTOR] Stops listening. 0|mm | [10.10.2022 21:36.01.956] [LOG] 0|mm | [DETECTOR] Detected: jarvis from: Snowboy 0|mm | [10.10.2022 21:36.06.743] [LOG] 0|mm | [DETECTOR] Starts listening. 1 Models
-
so recipe is not launched, i think
(or maybe result is on debug only)past it ?
-
@bugsounet But If recipe is not launced then how does the leds turn on and off?
-
ah, sorry, i not really understand.
I have to verify but i think when hook or error event is launched , it turn to standby +/- imediately
maybe it’s the causeNote: logs events on the python code can help or enable debug mode in GA
-
@bugsounet YES. That is what exactly is happening. When GA is in listen status the blue leds turn on anfter 2 seconds they turn off. But when GA is in one of the others to statuses (hook and error) the leds turning on and off immidiately.
-
why I have do this rule ?
Simply to send Hand toEXT-Detector
as soon as possibleSample: When GA popup is on the screen and GA stop speaking, you can send request directly with
Jarvis...
the rule is the same with hook and errorhook is done -->. ready to listen (trigged by standby)
error is displayed -> ready to listen (trigged by standby)
result is displayed and finish speak -> ready to listen (trigged by standby) -
after I think to this:
param.status.actual
=> it’s the actual state
param.status.old
=> it’s the lasted status before actual statemaybe you can use it
if
standby
in actual andhook
in old then wait 2sec and applystandby
something like this
-
@bugsounet No problem. It does it job as it is. The only time I need this is when my screen is turned off. I expained why in my mirror’s topic. Since I have this everything else is not so important. Thank you again and in person now for all your help you have given me. Keep up the good work!
-
Sure
It’s there that you understand that why it’s difficult to code something !
Sometime simple things begin hard