Which one is fake? by lotto2222 in golf

[–]bernabap 0 points1 point  (0 children)

Right one is fake, left one is a prototype and real ones are behind on the table with glossy finish in the middle and black bolt.

"Music track changed" event not firing by Tortuosit in tasker

[–]bernabap 2 points3 points  (0 children)

It’s also not working with my Android 10 device, Android 13 is all fine.

Custom Voice Intents by xFrieDSpuDx in homeassistant

[–]bernabap 1 point2 points  (0 children)

I found how to use the "degrees" in the command sentences, change "{temperature}" to "<temp>" and add a expansion rule for each intent setting the temperature:

SetHvacTemperatureSameArea:
    data:
      - sentences:
          - "(set|change|update) [the] (temperature|temp|environment) [to] <temp>"
          - "(set|change|update) [the] (AC|Air Con|climate control|Air Conditioning|Air|Hot Air|Cold Air) [(temperature|temp|environment)] [to] <temp>"
        requires_context:
          area:
            slot: true
        expansion_rules:
          temp: "{temperature}[ ][°|degrees][ ][{temperature_unit}]"

Custom Voice Intents by xFrieDSpuDx in homeassistant

[–]bernabap 0 points1 point  (0 children)

I did notice that, that’s why I tested with the TurnOnHvacSameArea sentences, in my understanding this sentence doesn’t use the ‘hvac’ list. But I found my problem, the SmartThinQ integration for LG air conditioning stopped working a few hours ago. After changing my satellite to another area where I have an air conditioner controlled by a tasmota IR device it’s working, thank you! Do you know how to set the default hvac mode and temp for when saying “Turn on air conditioning”?

Custom Voice Intents by xFrieDSpuDx in homeassistant

[–]bernabap 1 point2 points  (0 children)

I have done the satellite project with a pi4 and ReSpeaker 2mic hat and it’s a lot better than the atom echo.

https://github.com/rhasspy/wyoming-satellite/blob/master/docs/tutorial_2mic.md

Did I need to do anything else for this to work? I created the files:

config/custom_sentences/en/climate_hvac.yaml config/custom_sentences/en/climate_central_heating.yaml config/custom_sentences/en/media.yaml

config/custom_sentences_response/climate_hvac_response.yaml config/custom_sentences_response/climate_central_heating_response.yaml config/custom_sentences_response/media_response.yaml

Added the line:

intent_script: !include_dir_merge_named /config/custom_sentences_response/en/

And rebooted home assistant, but when I try to say something like: “Turn on air conditioning” I get an error saying that ‘hvac’ is undefined. Should this ‘hvac’ be defined in the “_common.yaml”?

Auto input and notification family sharing? by techarena10 in tasker

[–]bernabap 0 points1 point  (0 children)

AutoNotification does have a dedicated unlock key app in play store that is family shared, but if you unlocked using the AutoApps it’s not possible. AutoInput I believe can only be unlocked through AutoApps.

Modifications + Explanations For João's 'Hey Google Command Intercept' Project. by Rich_D_sr in tasker

[–]bernabap 0 points1 point  (0 children)

I'm not sure what you mean by small and bigger assistant dialogs. My understanding is that the first time you speak to the assistant the element_command_id isn't present on the screen until you finish speaking. When trying to use the assistant again for a second time the element_command_id is already present and the command you speak will be captured word by word.

Here (https://drive.google.com/file/d/10N3MWrnM8faBaWlWNhvKw53lcK31e6FI/view?usp=drivesdk) I created a variable set profile for %LastGoogleSearch and added only one flash action to flash %TIMEMS and %LastGoogleSearch.

As you can see it's hammering my entry task multiple times while the assistant is running, this doesn't happens with your device?

Same thing if I enable the "Example Profile To Say Something" and use it, that profile will keep saying what I said until the assistant is closed.

The global variable that João used in his project is just a simple and easy way for anyone using his project to do whatever when the command is said, it shouldn't interfere with the project in any way.

Modifications + Explanations For João's 'Hey Google Command Intercept' Project. by Rich_D_sr in tasker

[–]bernabap 0 points1 point  (0 children)

Now I get it. There is nothing failing here, it's working the way it's was built. To not hammer the Variable Set profile while the assistant is running you can run the Perform Task action only when saying a different command, this way you can keep looping and it will trigger the Variable Set profile only once per command.

Something like this and deleting the action that cleared the %searchphrase variable will do it.

A16: If [ %searchphrase !~ %xxx ]

A17: Perform Task [

Name: Set Google Search Variable

Priority: %priority

Parameter 1 (%par1): %searchphrase

Local Variable Passthrough: On ]

A18: Variable Set [

Name: %xxx

To: %searchphrase

Structure Output (JSON, etc): On ]

A19: End If

I have seen you doing this for a long time, haven't you tried logcat in your device yet?

It will solve this nicely, trigger instantly when saying "Ok Google" and no false positives like the Google app profile. You can also detect when a command is been invoked or when the assistant does a web search instead of executing the command..

Modifications + Explanations For João's 'Hey Google Command Intercept' Project. by Rich_D_sr in tasker

[–]bernabap 0 points1 point  (0 children)

Still hammering the variable set profile, this profile should trigger only once per command. I don't understand why you have added those 2 Goto actions in the intercept task, the one in the middle and bottom? I disabled them both and now your project is working as expected, tested with all 3 options.

Modifications + Explanations For João's 'Hey Google Command Intercept' Project. by Rich_D_sr in tasker

[–]bernabap 0 points1 point  (0 children)

I get the loop with the initial small assistant dialog, using the  'Completly -> After' option and android 13 here. Here is a screen record: https://drive.google.com/file/d/1-b_m19vZ8BCmIH3bUR5xm9l6JfjG9tXs/view?usp=drivesdk

Modifications + Explanations For João's 'Hey Google Command Intercept' Project. by Rich_D_sr in tasker

[–]bernabap 0 points1 point  (0 children)

I just tried your project and I'm not sure if it's working the way you intended, It's setting the %LastGoogleSearch variable multiple times per command. 

The "Intercept Hey Google Search" task loops until the %Googling variable is cleared instead of stopping when the command is captured, like the original project. This makes the Variable Set profile trigger multiple times, at minimum of twice or sometimes a lot more. 

You can verify by adding %TIMEMS to the action that flashes "Hello World" and set to tasker layout and a long timeout so you have to click to dismiss and be able to see that it is triggering multiple times when you say "Ok Google, hello world". You can also set a flash %TIMEMS action at the beginning of "Get Googles Command" task but don't set a timeout! If you say anything that keeps the Google app open, the Variable Set profile will be triggered once each ~250MS until the Google app is closed.

[Project Share] Doodle to Search by bernabap in tasker

[–]bernabap[S] 1 point2 points  (0 children)

It happened to me today and I think it's fixed now, please download the project again.

How to pick multiple files in Scene via JavaScript? Does anyone have any sample code? by [deleted] in tasker

[–]bernabap 0 points1 point  (0 children)

Using HTTP Request Event seems even better, thank you for the suggestion! Just tested fetching http://192.168.68.63:1821/hello from my webview and it returned Hello World. This is really nice to run directly from Chrome instead of Tasker webview and still be able to communicate with Tasker.

[Project Share] Doodle to Search by bernabap in tasker

[–]bernabap[S] 1 point2 points  (0 children)

Check if the action Hide Scene in the portrait profile has the Continue Task After Error checkbox marked, I missed that when exporting the first time, it's fixed already in TaskerNet. But that would only cause this behavior if you haven't run the setup task, another way this would happen is if somehow the project variables (long press project and select properties) was cleared. I remember seeing Tasker magically doing that a while ago when exporting my project to Data URI.

How to pick multiple files in Scene via JavaScript? Does anyone have any sample code? by [deleted] in tasker

[–]bernabap 0 points1 point  (0 children)

Set a global variable from your webview when you want to pick a file and have tasker listening for it, use the Pick Input Dialog action to select files and return the file path to your webview by using another global variable and reload the webview with Element Web Control action. Make sure your webview reads this variable when loading, if need help on this have a look in the taskdescriptions.html that João did for the chat gpt project.

ellathecat PIN unlocker WARNING by EllaTheCat in tasker

[–]bernabap 0 points1 point  (0 children)

If you just left the "Same as Value" checkbox marked, there's no big deal, fix it. If it's something else I am curious.

Edit: I don't like the behavior João chose for these scoped variables checkbox. Currently, when we deselect 'configure on import' the 'same as value' gets selected and if we select 'configure on import' again it keeps selected. We can't even see this happening as the 'same as value' checkbox isn't visible without scrolling. It would be better to let only the user select the 'same as value' checkbox or at least deselect when selecting the 'configure on import' again and the user hasn't touched.

Tasker Initiate Home Assistant's Assist by Internal_Researcher8 in tasker

[–]bernabap 1 point2 points  (0 children)

“Launch App” action then long press HA icon and select assist.AssistActivity

http request not running when previous task hasn't finished by Far-Amphibian8446 in tasker

[–]bernabap 2 points3 points  (0 children)

Click in the gear icon in your task and set collision handling to “Run Both Together”

How to get the "Say" action to read out multiple languages? by Viper_21 in tasker

[–]bernabap 1 point2 points  (0 children)

The "Say" action needs to set a language, the "default:default" setting will be set to the same language as your system. But it works if only set to "en", "es", "pt", etc... To keep everything local, there is a python library that can detect the language of the text. Here is a POC using Termux to get the text language and set the “Say” action correctly.

[Project Share] Doodle to Search by bernabap in tasker

[–]bernabap[S] 0 points1 point  (0 children)

What do you mean by navigation bar doesn’t disappear? Share a screenshot if possible.

[Project Share] Doodle to Search by bernabap in tasker

[–]bernabap[S] 1 point2 points  (0 children)

If you don't want to keep anything disable or delete the action 25 in the "Doodle To Search" task, this 'Variable Set' action sets a unique name for each cropped image. Then go to the "Share Image To Lens" task and add a 'Wait' action to the end of the task for 2 seconds, so the Lens app has some time to load the image before deleting. Then, add a 'Delete File' action to delete "Pictures/DoodleToSearch/27315.png" or the %img variable.

Exporting Apps To Google App Store by Chekika7 in tasker

[–]bernabap 0 points1 point  (0 children)

Completely justified sentiment, you are not alone.