I have looked all over the place but can’t seem to find a more descriptive way of installing a script. If I click “Save Custom Script” nothing changes. But the script remains in the Command Shell section. It appears to then add a “custom script” section on the bottom of the page which is blank. Then I copied the custom script and clicked “run command” The steps I took to install the script is as follows:Ĭopied the startup script and then clicked “saved startup” I am running Firmware: DD-WRT v24-sp2 (03/25/13) mega. Is there a way to see a log file of what is happening in the router scripts? How do I know if I have curl installed. Is there any settings I need to change to make the script work. I must be doing something wrong on the DD-WRT side of things. tar. When I go to the URL in my browser it works perfectly in changing the presence senor within the SmartThings app. I have the smartapp and device handlers set up. WPA2 Personal AES Wireless Basic Settings: Client Wireless Network Mode Mixed Channel Width 20MHz (and copy my main router SSID) Sensitivity Range (ACK Timing) 0 Setup Basic Setup: Connection Type Automatic (DHCP) STP Disabled Local address is 192.168.2.1 (main router is on 192.168.1. This makes it super-easy to add more phones as needed.Sleep 1 # wait till /tmp/custom.sh gets generated The latter two can be found in the notification the above Toggle Presence Device apps sends at setup. The script takes three arguments, the MAC address, the app token and the access token.& new_state=off || new_state=onĮcho $new_state > /tmp/$MAC_ADDRESS.state Make future change here.ĭefinition (name: "Presence Toggle", namespace: "impliciter", author: "impliciter", oauth: true) " See the following for the basic device code. This allows you to manually override or set the presence. I set mine up with a virtual switch and a virtual presence tile/capabilities. Virtual Presence Toggle device for the router to interact with (with endpoint access)įirst, the virtual presence device is similar to others that have been posted.DD-WRT (possibly Tomato) based router to run the devices tracking script.That was a little easier to setup than with smartthings as there was already a good discussion thread to work off of. I just moved back from a veralite which I had setup my router to run a script to toggle a virtual presence switch. Similar to many users, I wasn’t happy with the smartthings mobile app presence detection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |