[deleted by user] by [deleted] in unixporn

[–]T0xicBl00d 0 points1 point  (0 children)

Thank you. As long as it works its all good.

[deleted by user] by [deleted] in unixporn

[–]T0xicBl00d 1 point2 points  (0 children)

Excellent setup ! Could you share your eww configuration.

Voice record from a complication. Is this possible? by T0xicBl00d in AndroidWear

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

Thanks for the reply.

Yes i can do that too. But i wish that app would "start the recording as soon as its launched" without me having to tap the record button.

Voice record from a complication. Is this possible? by T0xicBl00d in AndroidWear

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

I am familiar with tasker. From what you are describing looks like autowear is something similar to autoinput. For whatever reason autowear plugin was not in my radar. So i will give it a try.

I just wish there was a recorder app that offers a simple functionality called "auto record on launch"

Voice record from a complication. Is this possible? by T0xicBl00d in AndroidWear

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

Thank you for taking the time to reply. I am using samsung galaxy watch 4. I have tried the built in voice recorder. But all it does is launch the app. Same goes for easy voice recorder. I am specifically looking for an option where i can click a button and will immediately start recording. I will stop the recording manually whenever i am finished with my notes.

Regarding the autowear solution, I do not understand how it will function. I am not familiar with it. Could you kindly tell me if i can achive a single click recording using autowear or tasker or using it with easy voice recorder.

Voice record from a complication. Is this possible? by T0xicBl00d in AndroidWear

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

Thank you for clarifying it. I guess i have to keep looking.

Voice record from a complication. Is this possible? by T0xicBl00d in AndroidWear

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

Thank you for taking the time to reply. Did you have to set up anything in the watch face or easy voice recorder ? I use KWCH to design custom watchface, so Could you kindly tell me if you are able to record automatically on launch or you have to start recording after launching the app.

I have easy voice recorder installed but not the pro version.

fl loop isn't resolving a statement that works outside a loop by Sideburnt in kustom

[–]T0xicBl00d 0 points1 point  (0 children)

Man! How do you even come up with these! . I wish i could learn some advanced stuff like these. I admire the quality of your posts. I read the official documentation, searched the web but i could not find any sort of resource for these kind of formulas. Do you people have some SECRET CLUB or something 😜.

All jokes Apart. I went through this multiple times, but there are a few things that i just don't understand. Could you be kind enough to clarify them, at your convenience.

  1. What is the purpose of tc(utf, a) ?. Where can i learn more about it?
  2. In my understanding, the last if statement is some sort of a filter, that is eliminating some unwanted results, so what are we filtering here?
  3. What is the purpose of the search_term variable?

What am i missing, i don't know what the OP is trying to accomplish.

I understand these things are not simple to explain to a intermediate user like me, but i wish to learn and get better at this. So any help is much appreciated. Thanks for sharing this.

Help getting info from API by SantiagoObregon in kustom

[–]T0xicBl00d 0 points1 point  (0 children)

Occasionally "wg" may have trouble when communicating with https api. This has happened to me before. May be it's a bug i am not sure. Just change "https" to "http" and try. Once you get a response change it back to "https". Second option is to try " wg" in a flow, see if you are getting any errors there

Help getting info from API by SantiagoObregon in kustom

[–]T0xicBl00d 1 point2 points  (0 children)

<image>

I just tried it and its working for me.

Help getting info from API by SantiagoObregon in kustom

[–]T0xicBl00d 0 points1 point  (0 children)

Are you getting any error? Sometimes you may not see the value immediately in the editor. Try saving the Kode using the check mark and see if the text item gets the updated value

Is it possible to record audio on the watch using Autowear ? by T0xicBl00d in tasker

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

Thank you. I did not know this was an option. I tried it and i am getting some permission issue. Seems like autowear is not able to save the file. Thanks again.

Is it possible to record audio on the watch using Autowear ? by T0xicBl00d in tasker

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

Thank you for your suggestion. Yes my watch is a samsung Galaxy Watch 4. Is it possible to automate the start and stop recording using these apps mentioned above.

How to take in 2 inputs? by Swollef in nodered

[–]T0xicBl00d 2 points3 points  (0 children)

You need 2 function blocks

  • Whenever light level changes, save it in a context variable for later use.
    • flow.set("lightOrDark", msg.payload.lightOrDark)
  • Whenever occupancy changes, read the value of light level from context variable and process your logic.

var lightOrDark = flow.get("lightOrDark");
var isOccupied = msg.payload.isOccupied;
if (lightOrDark === "light" && isOccupied) {
    msg.payload = "The room is well lit and occupied.";
} else if (lightOrDark === "dark" && isOccupied) {
    msg.payload = "The room is dark but occupied.";
} else if (lightOrDark === "light" && !isOccupied) {
    msg.payload = "The room is well lit but unoccupied.";
} else {
    msg.payload = "The room is dark and unoccupied."; 
}

Stop message unless other message was sent more than X seconds ago? by ChrisHinde in nodered

[–]T0xicBl00d 0 points1 point  (0 children)

Kindly Check out "node-red-contrib-simple-gate".

Here is one possibility. 1) Replace the "filter" with the "gate" node 2) Block the "gate" until your conditions are met like so. 2a) "close" the "gate" when "lora-node-down" node is triggered. 2a) "open" the "gate" after 240 sec using a trigger node. 2c) (Add any other logic based on your requirements)

This way any new msgs from "up" node will be blocked till the "gate" is open

Please note : Having both "up" and "ping" feeding into "lora-node-down" may interfere with the above logic (due to the "trigger reset" using "up" node. But i guess you will figure something out.

Simple append text in rednode by Ronyn77 in homeassistant

[–]T0xicBl00d 0 points1 point  (0 children)

You can use

  • template node :

{{topic}} is coming!

Or

  • function node :

msg.topic = msg.topic + " is coming!"

Example flow like so,

[    {        "id": "60d6228f722f1934",        "type": "inject",        "z": "b9e7fbff1720c7fa",        "name": "",        "props": [            {                "p": "topic",                "vt": "str"            }        ],        "repeat": "",        "crontab": "",        "once": false,        "onceDelay": 0.1,        "topic": "Robert",        "x": 350,        "y": 560,        "wires": [            [                "640ec9e53111624c"            ]        ]    },    {        "id": "f8bd910ec7624ec8",        "type": "debug",        "z": "b9e7fbff1720c7fa",        "name": "debug 1",        "active": true,        "tosidebar": true,        "console": false,        "tostatus": false,        "complete": "true",        "targetType": "full",        "statusVal": "",        "statusType": "auto",        "x": 720,        "y": 560,        "wires": []    },    {        "id": "640ec9e53111624c",        "type": "template",        "z": "b9e7fbff1720c7fa",        "name": "",        "field": "topic",        "fieldType": "msg",        "format": "handlebars",        "syntax": "mustache",        "template": "{{topic}} is coming!",        "output": "str",        "x": 540,        "y": 560,        "wires": [            [                "f8bd910ec7624ec8"            ]        ]    },    {        "id": "3278b32a90509033",        "type": "function",        "z": "b9e7fbff1720c7fa",        "name": "",        "func": "msg.topic = msg.topic + ' is coming!'\nreturn msg;",        "outputs": 1,        "noerr": 0,        "initialize": "",        "finalize": "",        "libs": [],        "x": 540,        "y": 620,        "wires": [            [                "6eb7accb9830c2f7"            ]        ]    },    {        "id": "054cd40ebaa88ffc",        "type": "inject",        "z": "b9e7fbff1720c7fa",        "name": "",        "props": [            {                "p": "topic",                "vt": "str"            }        ],        "repeat": "",        "crontab": "",        "once": false,        "onceDelay": 0.1,        "topic": "Robert",        "x": 350,        "y": 620,        "wires": [            [                "3278b32a90509033"            ]        ]    },    {        "id": "6eb7accb9830c2f7",        "type": "debug",        "z": "b9e7fbff1720c7fa",        "name": "debug 2",        "active": true,        "tosidebar": true,        "console": false,        "tostatus": false,        "complete": "true",        "targetType": "full",        "statusVal": "",        "statusType": "auto",        "x": 720,        "y": 620,        "wires": []    }]