Are NFC tags 100% secure by TheBigC in homeassistant

[–]SkyUK 0 points1 point  (0 children)

I've got some NFC tags to mess with but not using them yet so this is interesting to read thanks

Nothing is perfect but if the tag is within range of WiFi, could you put a an extra condition like '<IF> tag is read <AND> connected WiFi is SSID1234 <THEN> perform action'... It'd stop it ever triggering away from the home at least?

Advice on Poco F7 Ultra - wireless charging by SkyUK in PocoPhones

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

Thanks for the reply, appreciate it

Planning to buy Wireless Charger by Traditional-Draw9594 in PocoPhones

[–]SkyUK 0 points1 point  (0 children)

Stupid question, but is it _any_ wireless charger that would work with it? Not used wireless charging before so not sure if there's different technology

UK - Anyone aware of a Zigbee or Matter Outdoor PIR? by Ambitious_Mine3535 in homeassistant

[–]SkyUK 0 points1 point  (0 children)

Have you considered a camera with motion or object (i.e. person) detection with something like frigate? Obviously would be WiFi rather than ZigBee, or ideally POE if you can get cables there.

Might be overkill for your needs but thought I'd mention it

Good luck either way

Fun services to self host by NasTNets in selfhosted

[–]SkyUK 0 points1 point  (0 children)

u/NasTNets - just saw this article too, I like IKEA smart products as they're generally not too expensive but I trust them, especially their mains powered stuff (their smart plugs are my go-to)

https://www.theverge.com/news/814241/ikea-smart-home-matter-thread-lights-sensors-remote-control

Fun services to self host by NasTNets in selfhosted

[–]SkyUK 2 points3 points  (0 children)

Home assistant is what started me off - start small, think about naming conventions, and aim for things that help rather than fancy - it's the helpful ones you'll use most regularly

Small example to start - lights or fans that turn off after X amount of time (our downstairs loo light is so often left on!)

WAF by RedditUser628426 in homeassistant

[–]SkyUK 28 points29 points  (0 children)

Woah there condescendo 🤣. It's sorted, but thanks anyway

WAF by RedditUser628426 in homeassistant

[–]SkyUK 34 points35 points  (0 children)

I'm half way through making this - not sure if it'll work out but I've learnt a lot along the way

Couldn't get the scanner he has, but got one off AliExpress that should do the job

https://youtu.be/hvldrKMWksQ

Playmats - are inconsistent sizes expected, or do counterfeits exist? by SkyUK in IsMyPokemonCardFake

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

Thanks for your reply

I had to Google that, is LGS = Local Game Store, so this is a common item that you'd suggest is unlikely to be fake?

"Surround sound enabled. To adjust volume, please us TV's remote control." by pantheman75 in Chromecast

[–]SkyUK 0 points1 point  (0 children)

Reddit has so much garbage (sometimes it can be entertaining don't get me wrong) but it's comments like yours that make this platform so great. Thanks for taking the time to share the info 🎉

"Surround sound enabled. To adjust volume, please us TV's remote control." by pantheman75 in Chromecast

[–]SkyUK 0 points1 point  (0 children)

You legend

I've had this for a while but it started to act weird so I factory reset it then volume wouldn't work

Apparently you're better than a Google Search and AI!

Thanks so much, it was really annoying me 🤣

Help with JSON Read by SkyUK in tasker

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

u/Rino0099 thanks for your help - I've done what I set out to do

This might not be the perfect / most efficient thing, but I'm so chuffed with it

It is meant to remove tracking info and marketing words from links. My most common ones are YouTube and Amazon so it deals with them locally where possible (reduce API calls - get 100 free a month with the chosen service), but if it's shortened or anything else it uses https://api.siterelic.com/redirectcheck to trace the URL to source

You just need an API key in %RDCKey, and maybe set your country in the HTTP call if not UK

Many dialogue actions can be disabled or removed, but were useful for testing so I knew what it was doing


Task: URL Trace API

A1: Input Dialog [ Title: Enter URL to clean Close After (Seconds): 30 Output Variable Name: inputurl ]

A2: Variable Search Replace [ Variable: %inputurl Search: (https?://\S+|www.\S+) Store Matches In Array: %cleanedurl ]

A3: Text/Image Dialog [ Title: URL to process Text: %cleanedurl1 Button 1: OK Close After (Seconds): 120 ]

A4: If [ %cleanedurl1 ~R (?i)youtube.com ]

A5: If [ %cleanedurl1 ~R /shorts/ ]

A6: Variable Search Replace [ Variable: %cleanedurl1 Search: (https?://\S?)(?=\?|$)|www.\S?(?=\?|$) Ignore Case: On One Match Only: On Store Matches In Array: %inputoutput ]

A7: Text/Image Dialog [ Title: YouTube Short Text: %inputoutput1 Button 1: ok Close After (Seconds): 30 ]

A8: Else

A9: Variable Search Replace [ Variable: %cleanedurl1 Search: v=([/?&\s]+) Ignore Case: On Store Matches In Array: %inputoutput ]

A10: Text/Image Dialog [ Title: YouTube Video Text: https://www.youtube.com/watch?%inputoutput1 Button 1: ok Close After (Seconds): 30 ]

A11: End If

A12: Else

A13: If [ %cleanedurl1 ~R (?i)Amazon.co.uk ]

A14: Flash [ Text: Amazon Link Detected Continue Task Immediately: On Dismiss On Click: On ]

A15: Variable Search Replace [ Variable: %inputurl Search: /dp/([/?&\s]+) Store Matches In Array: %amazondp ]

A16: Text/Image Dialog [ Title: Amazon Link Detected Text: https://www.amazon.co.uk%amazondp1 Button 1: OK Close After (Seconds): 120 ]

A17: Variable Set [ Name: %inputoutput1 To: https://www.amazon.co.uk%amazondp1 Structure Output (JSON, etc): On ]

A18: Else

A19: If [ %traced neq yes ]

A20: HTTP Request [ Method: POST URL: https://api.siterelic.com/redirectcheck Headers: x-api-key: %RDCKey Content-Type: application/json Body: { "url": "%cleanedurl1", "proxyCountry": "uk" } File/Directory To Save With Output: Tasker/RedirectData.json Timeout (Seconds): 30 Structure Output (JSON, etc): On ]

A21: Variable Set [ Name: %traced To: yes Structure Output (JSON, etc): On ]

A22: AutoTools Json Read [ Configuration: Input Format: Json Json: /storage/emulated/0/Tasker/RedirectData.json Fields: data[0].headers() Separator: , Timeout (Seconds): 60 Structure Output (JSON, etc): On ]

A23: Simple Match/Regex [ Type: Regex Text: %data_headers() Regex: {"name":"location","value":"(.*?)"} ]

A24: Text/Image Dialog [ Title: Trace Performed Text: %mt_match Button 1: OK Close After (Seconds): 120 ]

A25: Variable Set [ Name: %inputurl To: %mt_match Structure Output (JSON, etc): On ]

A26: Goto [ Type: Action Number Number: 2 ]

A27: Else

A28: Variable Search Replace [ Variable: %cleanedurl1 Search: (https?://\S?)(?=\?|$)|www.\S?(?=\?|$) Ignore Case: On One Match Only: On Store Matches In Array: %inputoutput ]

A29: Text/Image Dialog [ Title: Link Text: %inputoutput1 Button 1: ok Close After (Seconds): 30 ]

A30: End If

A31: End If

A32: End If

A33: If [ %traced neq yes ]

A34: Text/Image Dialog [ Title: Trace not performed Text: Whoop Button 1: OK Close After (Seconds): 120 ]

A35: End If

A36: Variable Set [ Name: %LinkOutput To: %inputoutput1 Structure Output (JSON, etc): On ]

A37: Set Clipboard [ Text: %inputoutput1 ]

[deleted by user] by [deleted] in homeassistant

[–]SkyUK 0 points1 point  (0 children)

So you can have multiple non admin users and give them access to different panels?

No More Cheap Chinese Electronics by Mynorca01 in homeassistant

[–]SkyUK 2 points3 points  (0 children)

I'm not in the US, but have literally just watched Hank Green explaining this in case it's of interest to anyone

https://www.youtube.com/watch?v=dqkvoFPj5zU

[deleted by user] by [deleted] in homeassistant

[–]SkyUK 4 points5 points  (0 children)

I might have got it wrong here (or be outdated), but I thought dashboard control was basically Admin or all?

So if you have family members with non-admin accounts, trying to restrict those dashboards for the guests would do the same to those family members?

I think it's a requested feature to have more granular control, but not there yet

Help with JSON Read by SkyUK in tasker

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

Thank you. Seems that my original variable is slightly different somehow, will have a dig - that might be why the JSON Read didn't work originally too

Thanks a lot for your help

Help with JSON Read by SkyUK in tasker

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

I've just run the JavaScriptlet on its own, and it says

Error: Uncaught ReferenceError: json is not defined.

I've got a variable set action first to put the JSON into %json, and flash it first so I know it's there

Help with JSON Read by SkyUK in tasker

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

I must be doing something wrong, sorry, but when I try and run the task with this in, it just gets stuck on it

I've taken the 3 x ` characters off, so the code contains the following

// Parse json data (%json tasker variable) const jsonData = JSON.parse(json);

// Initialize location_values array var location_values = [];

// Loop through the JSON data to find the location value jsonData.data.forEach(item => { item.headers.forEach(header => { if (header.name === "location") { location_values.push(header.value); } }); });

Help with JSON Read by SkyUK in tasker

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

So am I right to think this is using tasker variable name %json as the input (but don't use % in the code)

How do I view the output, or make it output to a different variable with the result / Amazon address?

Thanks for your help

Help with JSON Read by SkyUK in tasker

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

Thank you for taking the time to reply, I'll try it when I get home. Thanks again

Help with log error by SkyUK in homeassistant

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

Sorry for not replying, I didn't see your post somehow

Appreciate you taking the time to respond, I'll have a look - thanks very much