-
Posts
4589 -
Joined
-
Last visited
Everything posted by Xathros
-
No. Nether State or Integer variables will survive a reboot but, you can fix that easily as follows: If Then $s.MyVariable = 1 $s.Myvariable Init To $s.MyVariable Else Setting the init value to the current value ensures that the variable will still contain this value after reboot. Just remember to set the init everytime you change the value. -Xathros
-
Thank you! Like you, I hardly ever need to reboot my modem/router. I have quite a few clients however that have to reboot DSL modems to get back online once in a while and I attribute that to the ISP not their modems. In one vacation home, I installed a mechanical timer switch on the modem/router to power down/up once a day just in case. This means about 15 mins of downtime everyday but its usually in the wee hours of the morning unless there has been a power outage to throw off the timer. When I come across one of these where I have an ISY installed, I will be using the ISY to monitor and reset. -Xathros
-
Tim- Thank you for testing. Its not so much the ISP I was worried about as your router attempting to be helpful and caching DNS when we don't want it to. -Xathros
-
Add me to the list of noisemakers then! -Xathros
-
Solution: Buy a cheap linksys or netgear router place it between the actiontec crap and your network, Call your ISP and ask them to "Bridge the Router" which makes their router just a modem (no NAT translation and only the external IP address issued via DHCP to your new router's wan port) and use your new router to do the rest. -Xathros
-
Michel- I'm not seeing the possibility for a loop/race condition here. Based on my example above, do you see any issues ? -Xathros
-
Michel- So far so good. I have the following resource rule that will set iVar 37 (i.InternetTest) to 1 when called: So here is how it works: TestInternetAccess If $s.InternetTestEnabled is 1 Then Repeat Every 30 minutes $i.InternetTest = 0 Resource 'SetInternetTestTo1' Wait 5 seconds Run Program 'CheckInternetTest' (If) Else - No Actions - (To add one, press 'Action') When s.InternetTestEnabled is 1, this program will first set i.InternetTest to 0 then attempt to set i.InternetTest to 1 via a rest call to the ISY's DyNDNS address. If successful, then internet access is available, if failed then execute a program to power cycle network equipment. CheckInternetTest If $i.InternetTest is 1 Then - No Actions - (To add one, press 'Action') <> Else <> <> So far I have tested this remotely and it seems to work. I need to test again this evening when I get home to see it it shows fail when I take my cable modem offline. (Can't do that remotely...) Things to consider: You must have the Network Resources Module. ISY MUST be accessible via a DomainName or DynDNS Name. ISY Should use Internet based DNS server in static settings rather than your Router/Gateway's DNS Cache. This ensures that the ISY actually needs to go out to the Internet to find itself based on your domain name/DynDNS address since many routers will cache DNS and resolve their external IP to their internal IP, you may get a successful test when the modem is actually offline. I will follow up on this tonight or tomorrow with my final test results. EDIT: My testing last night shows this method to work. I'm not set up with my network equipment on an Insteon switch and probably won't bother with that as I hardly ever need to reboot that stuff but my cable goes offline once a month or so (upstream) so I am monitoring my uplink and sent out a notification on Internet restored. -Xathros
-
Why YES! There is! See: http://www.universal-devices.com/mwiki/index.php?title=ISY-99i_Series_INSTEON:REST_Interface -Xathros
-
Brian- See: http://forum.universal-devices.com/viewtopic.php?f=26&t=6981 This uses network resources to send direct to the prowl server and this way you can specify priority. I just finished moving all my high priority notifications to this method. -Xathros
-
The point of doing it this way is to send direct to the prowl server without the need for an intermediate SMTP server. Fewer points of failure this way. Downside is since we cant use variables in the network resource module, we need to create numerous resource rules to cover what a variable could do in an email notification. I just finished converting all of my High Priority/Emergency notifications to resource rules that include the priority parameter=2 so that I can take advantage of the Quiet hours feature in prowl and mute the low priority notifications when sleeping and still have emergency notifications make sound. The rest of my low priority notifications are still using the email to prowl method and arrive as "Normal / 0" priority. -Xathros
-
Michel- I'm not sure if this is possible or not but here goes: Can I use the network resources module to send a REST command using my DynDNS domain name/port to set a variable on the ISY itself ? Wait a few seconds and test the var to see if it's been set and if not then power cycle the modem/router. I think that as long as I have the ISY using an external DNS server and not my router for cached DNS, this should prove internet connectivity. I've been know to talk to myself at times, why shouldn't the ISY ? -Xathros
-
Glase- Looks to me like you forwarded to the wrong internal address 192.168.1.254 rather than the ISY's IP of 192.168.1.71. I wouldn't forward port 80 only forward 443. You probably don't want unencrypted traffic outside your network. -Xathros
-
All- FWIW, on my Mac with Java 6 I see Red Italic for controllers of a scene and Blue Normal for responders of a scene. Outside of a scene definition no Italics at all. -Xathros
-
All- Here is a review of two Email to iPhone Push Notification Systems: (Prowl and Push 4.0) Prowl: Available from the App store for $2.99 Requires free registration with the Prowlapp.com proxy service. Once registered, you can create API keys for connecting devices/applications to your Prowl account. An API key can be used as an email address in the form of @prowlapp.com Here are some screen shots showing ISY generated notifications sent to Prowl via email: The right hand screenshot shows 2 of the notifications "Expanded" Push 4.0: Available from the App store for $4.99. Requires free registration (via the App) with 4Push.com proxy service. Again, there is an email address assigned (Only one in this case) when you can send your message to be pushed to the iPhone/iPod/iPad. Here are some screenshots of Push 4.0 notifications: The right hand screenshot shows a selected notification. Both apps allow for connecting with Facebook, Twitter and RSS feeds as if we weren't annoyed by those apps enough already. During my testing, I had the ISY configured to send to both services simultaneously and found that in each test, the notifications arrived at my iPhone simultaneously as well with about a 5 second delay between send and receipt. Both apps are universal and look good on both the iPhone/iPod and iPad/iPad3. Things that stood out: Push 4.0 keeps track of which notifications you have read and that status is shown across all devices that are receiving those notifications. Kinda like IMAP mail but for notifications. Prowl is a lot more configurable. You can set notification text size from very small through very large. You can set up a "Quiet hours" schedule where only the badge numbers will update for new notifications, A "Do Not Disturb" toggle for times outside of the Quiet Hours schedule, Ability to redirect to a URL included in the notification (Maybe use this with the REST interface ??), Priority settings (-2 through +2 where 0 is normal and +2 can be configured to override Quiet and Do Not Disturb and each priority level can have it's own alert sound assigned. EDIT: Prowl also tracks read/unread status across multiple devices. My choice in the end is Prowl. Its cheaper, more configurable, it's "Inbox" shows much more history and navigation seems easier. I hope this all proves useful to someone. -Xathros
-
firebladeRR1k- Prowl does exactly the same thing. I was just playing with it here. Much quicker turnaround than SMS/MMS to the phone and much less intrusive. There is a Prowl API so it may be possible to send direct from the ISY to the prowlapp.com server without the need for SMTP in the middle but I haven't dug deeper into that yet. The iPhone App is $2.99 and the Prowlapp.com account is free. It does integrate nicely with Growl on my MAC as well. kevkmartin- Thanks for the mention of Push. I'll go have a look and see what it offers. EDIT: I don't see an app called Push. Can you give me more details on it? Who is the vendor? EDIT 2: Nevermind. Found it. Push 4.0 by Fabien Penso. $4.99 in the App store. -Xathros
-
Last I checked, there is no Java Virtual Machine on the iDevices and therefore, no ISY Admin console. You can use the basic HTML page for controlling Devices/Scenes/Programs or Mobilinc/MobilincHD but alas, no admin console. I use remote desktop to access a real machine and run the Admin from there when needed. -Xathros
-
LeeG- My tests indicate that your record remains unbroken. -X
-
Thanks. I was about to run a test to see. -Xathros
-
Is your ISY and Mobilinc set up to work from outside of your home network (3G/4G) ? If not, then it's likely failing when you have dropped your local WiFi connection and working when your connection is up. Most smartphones will drop WiFi when not in use to save battery. -Xathros
-
I use mobilinc to run a program to toggle a variable. In my case its Home/Away and looks like this: If $i.HomeAway is 0 Then $i.HomeAway = 1 $i.HomeAway Init To $i.HomeAway Else $i.HomeAway = 0 $i.HomeAway Init To $i.HomeAway I have the program DISABLED as it doesn't need to run unless called. I use Mobileinc to RunIf and have customized the status text to read Home or Away. You could do something similar and use the variable in your condition logic for the tstats or as LeeG suggested, use it as a folder condition but for that you might need to use a state variable rather than integer as I did. Not sure on that. -Xathros
-
I can confirm, the field is there! It took my full Lat/Lon position without error. I'd say the default width of that dialog needs to increase by approximately 25% to show the Lon field. Thanks LeeG! -Xathros
-
Excellent. As soon as I regain access to my ISY I will attempt to widen the dialog and see if it's just hiding on me. Thanks! And bmiller's image does have the new Lion/Mountain Lion MAC Scrollbar in it so I'm sure you nailed the answer here. -Xathros
-
Hi jmed999- The correct DNS settings are usually provided by your ISP but you can use either: 8.8.8.8 or 4.2.2.2 which are public DNS servers. I suspect that you are set up for DHCP addressing since you are not familiar with Static addressing or DHCP reservation. DHCP is a Protocol/process used by network devices to Dynamically Configure themselves with the assistance of a Host (your router or a standalone DHCP server). "Dynamic Host Configuration Protocol". When a client device is powered up, it looks for a DHCP server on the network and if found, asks for IP Address, Subnet Mask, Gateway address and DNS addresses to configure itself with. DHCP reservation at the router simply reserves a specific IP address for a device so when that device auto configures, it always gets the same IP address from the DHCP server. This is ALMOST a static address as it always is the same. Static addressing is when you configure the device by hand and disable its DHCP feature. You must provide valid addresses for IP, Subnet, Gateway and DNS and ensure that the IP address does not conflict with any other devices on your network. DNS - Domain Name Service - Is basically a database of domain/machine names with their associated IP addresses. Anytime you call a server by name, google.com for instance, DNS is used to look up the IP address of the server before it can be accessed. Your ISP will usually have 2 or more DNS servers for their customers to use. Quite often, consumer grade routers will advertise themselves as DNS servers on your network via DHCP and pass DNS requests upstream to your ISP. I hope this helps. -Xathros
-
Well theres my problem!!! I don't see a field for Lon. I'd post a screen shot but I'm unable to reach the ISY remotely for the first time in a long time. I will have to wait till I can get home to see whats wrong. Everything else on my network is responding. No Https, Ping or Telnet response from ISY. -Xathros Edit: My screen looks exactly like bmiller's screenshot. Maybe its a MAC UI Bug ? Anyway, using my Lat and GMT-5 seems to be within a minute or two of what the weather channel shows as sunrise/sunset for my zip code. I figure the ISY is using the Offset to determine the Lon. When I get ISY up and running later, I'll have a look through my XP VM and see if I get the same dialog layout.
-
I'm GMT-5 Eastern. I try to enter the Lat, Lon and get Invalid Lat as an error. I've tried but positive and negative Lon with the same result every time. I selected NYC from the list and only see the Lat in the field so I don't have an example to imitate with my data. Exactly how should the Lat/Lon pair be formatted for entry ? -Xathros