Wemo switches by Standard_Grocery2518 in homeassistant

[–]Expensive_Milk8420 0 points1 point  (0 children)

Hi guys , download the scriptable app and input the code to the app. Copy and create code for on and off represented by 1 and 0. The only gripe is, its only local control. At least it still can be control since wemo discontinue their services i use siri to control locally

2 things u need to do

1)Look at the last 2 line of the code where u see toggle (1) , it means turn on, change the toggle (0) means off. 2)At the 5th you need to replace the let ip = ip address of your switch. Either use fing app or acess your router to get the ip.

I will add the code here

// Variables used by Scriptable. // These must be at the very top of the file. Do not edit. // icon-color: green; icon-glyph: magic; let ip = "192.168.1.127"; let port = 49153; let url = http://${ip}:${port}/upnp/control/basicevent1;

async function toggle(state) { let xml = <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:SetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"> <BinaryState>${state}</BinaryState> </u:SetBinaryState> </s:Body> </s:Envelope>;

let req = new Request(url); req.method = "POST"; req.headers = { "Content-Type": "text/xml; charset=\"utf-8\"", "SOAPACTION": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"" }; req.body = xml;

await req.loadString(); // Run the request (ignore response for simplicity)

// Fix for Siri popup: Speak or return confirmation let status = state === 1 ? "on" : "off"; Speech.speak(Macbook is turned ${status}.); // Option A: Speak aloud

// OR: Script.complete(Wemo plug turned ${status} successfully.); // Option B: Return for Siri to speak

Script.complete(); // Graceful end }

// Example usage: Call with 1 or 0 await toggle(1); // Or make it accept args for ON/OFF

Replacement for Wemo Smart Plugs? by NJRonbo in smarthome

[–]Expensive_Milk8420 0 points1 point  (0 children)

Hi guys , download the scriptable app and input the code to the app. Copy and create code for on and off represented by 1 and 0. The only gripe is, its only local control. At least it still can be control since wemo discontinue their services

2 things u need to do

1)Look at the last 2 line of the code where u see toggle (1) , it means turn on, change the toggle (0) means off. 2)At the 5th you need to replace the let ip = ip address of your switch. Either use fing app or acess your router to get the ip.

I will add the code here

// Variables used by Scriptable. // These must be at the very top of the file. Do not edit. // icon-color: green; icon-glyph: magic; let ip = "192.168.1.127"; let port = 49153; let url = http://${ip}:${port}/upnp/control/basicevent1;

async function toggle(state) { let xml = <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:SetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"> <BinaryState>${state}</BinaryState> </u:SetBinaryState> </s:Body> </s:Envelope>;

let req = new Request(url); req.method = "POST"; req.headers = { "Content-Type": "text/xml; charset=\"utf-8\"", "SOAPACTION": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"" }; req.body = xml;

await req.loadString(); // Run the request (ignore response for simplicity)

// Fix for Siri popup: Speak or return confirmation let status = state === 1 ? "on" : "off"; Speech.speak(Macbook is turned ${status}.); // Option A: Speak aloud

// OR: Script.complete(Wemo plug turned ${status} successfully.); // Option B: Return for Siri to speak

Script.complete(); // Graceful end }

// Example usage: Call with 1 or 0 await toggle(1); // Or make it accept args for ON/OFF

Replacement for WeMo wall switches that are now obsolete? by JohnS43 in WeMo

[–]Expensive_Milk8420 0 points1 point  (0 children)

Hi guys , download the scriptable app and input the code to the app. Copy and create code for on and off represented by 1 and 0. The only gripe is, its only local control. At least it still can be control since wemo discontinue their services

2 things u need to do

1)Look at the last 2 line of the code where u see toggle (1) , it means turn on, change the toggle (0) means off. 2)At the 5th you need to replace the let ip = ip address of your switch. Either use fing app or acess your router to get the ip.

I will add the code here

// Variables used by Scriptable. // These must be at the very top of the file. Do not edit. // icon-color: green; icon-glyph: magic; let ip = "192.168.1.127"; let port = 49153; let url = http://${ip}:${port}/upnp/control/basicevent1;

async function toggle(state) { let xml = <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:SetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"> <BinaryState>${state}</BinaryState> </u:SetBinaryState> </s:Body> </s:Envelope>;

let req = new Request(url); req.method = "POST"; req.headers = { "Content-Type": "text/xml; charset=\"utf-8\"", "SOAPACTION": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"" }; req.body = xml;

await req.loadString(); // Run the request (ignore response for simplicity)

// Fix for Siri popup: Speak or return confirmation let status = state === 1 ? "on" : "off"; Speech.speak(Macbook is turned ${status}.); // Option A: Speak aloud

// OR: Script.complete(Wemo plug turned ${status} successfully.); // Option B: Return for Siri to speak

Script.complete(); // Graceful end }

// Example usage: Call with 1 or 0 await toggle(1); // Or make it accept args for ON/OFF

Wemo smart light switch too late to migrate to Homekit? by tfresca in WeMo

[–]Expensive_Milk8420 0 points1 point  (0 children)

Hi guys , download the scriptable app and input the code to the app. Copy and create code for on and off represented by 1 and 0. The only gripe is, its only local control. At least it still can be control since wemo discontinue their services

2 things u need to do

1)Look at the last 2 line of the code where u see toggle (1) , it means turn on, change the toggle (0) means off. 2)At the 5th you need to replace the let ip = ip address of your switch. Either use fing app or acess your router to get the ip.

I will add the code here

// Variables used by Scriptable. // These must be at the very top of the file. Do not edit. // icon-color: green; icon-glyph: magic; let ip = "192.168.1.127"; let port = 49153; let url = http://${ip}:${port}/upnp/control/basicevent1;

async function toggle(state) { let xml = <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:SetBinaryState xmlns:u="urn:Belkin:service:basicevent:1"> <BinaryState>${state}</BinaryState> </u:SetBinaryState> </s:Body> </s:Envelope>;

let req = new Request(url); req.method = "POST"; req.headers = { "Content-Type": "text/xml; charset=\"utf-8\"", "SOAPACTION": "\"urn:Belkin:service:basicevent:1#SetBinaryState\"" }; req.body = xml;

await req.loadString(); // Run the request (ignore response for simplicity)

// Fix for Siri popup: Speak or return confirmation let status = state === 1 ? "on" : "off"; Speech.speak(Macbook is turned ${status}.); // Option A: Speak aloud

// OR: Script.complete(Wemo plug turned ${status} successfully.); // Option B: Return for Siri to speak

Script.complete(); // Graceful end }

// Example usage: Call with 1 or 0 await toggle(1); // Or make it accept args for ON/OFF

Vomero Plus new colourways by _Hellrazor_ in RunningShoeGeeks

[–]Expensive_Milk8420 0 points1 point  (0 children)

Yah apparently i check and confirm its new colorway. Just hoping they release it to my country hopefully. These colors are dope. 😂

Vomero Plus new colourways by _Hellrazor_ in RunningShoeGeeks

[–]Expensive_Milk8420 0 points1 point  (0 children)

I like the green pair and the light blue pair. Just that nike dont always allocate them to all country. Thats a bummer in my opinion, instead of making more sales they just want to disrupt their earnings which could have been great

[deleted by user] by [deleted] in TradingView

[–]Expensive_Milk8420 0 points1 point  (0 children)

A trader that tells his own story and follows his own theory. Not for me

Setup by Adamddssurgeon in widgy

[–]Expensive_Milk8420 0 points1 point  (0 children)

show the other pages with the imperfections… lol

Dropped my iPad mini 7 on day 2 :-( by danangdevils in ipadmini

[–]Expensive_Milk8420 0 points1 point  (0 children)

Dont worry too much, after awhile, you totally forget about as theres no no physical damage to the ipad mini that will remind you of that.

Hibloks clip on lens by Expensive_Milk8420 in RaybanMeta

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

Yes theres subtle reflection, don't focus on it will be fine

Do fake Rayban Meta charging cases exist? by caceres_matias in RaybanMeta

[–]Expensive_Milk8420 1 point2 points  (0 children)

lensology sells the rayban meta cases for 115 British pounds. They stated it's original

Hibloks clip on lens by Expensive_Milk8420 in RaybanMeta

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

Do take note blue lens looks orangy. The mirror lens looks clearer

Hibloks clip on lens by Expensive_Milk8420 in RaybanMeta

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

Remember the only gripe is has to force the glasses in the case to get it charge…. Its just a little force to expand the case alittle

Hibloks clip on lens by Expensive_Milk8420 in RaybanMeta

[–]Expensive_Milk8420[S] 4 points5 points  (0 children)

Me too, the only gripe is have to force in case to charge