Piston to alert if IP address changes on two devices


#1

1) Give a description of the problem
Need a way to monitor two Ip address and alert me if they cahnge

2) What is the expected behavior?
Push or SMS if either IP changes

3) What is happening/not happening?
Not sure where to start

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Can you use https://uptimerobot.com/ instead.


#3

OK, but this is an internal IP. I tried to set it up as an Http:// monitor, but it say offline. Am I using the wrong parameter?


#4

Ah, hmm, are there any services on those IP address that you can connect to?


#5

These are WiFi speakers on my network. If the IP changes I need to know that as I have a Piston to maintain the volume.


#6

Does your router not have dhcp reservation based on mac address? Might be easier that way.


#7

No, as this system is FIOS and their router was such junk that I had to add an Apple Airport Extreme in Bridge Mode, and another to extend the network.


#8

I saw something about an smart app that is a called watchdog. Was suppose to help with keeping speaker active…

uleAug 30 joelw135
The status “No Present” happen when the connect does not receive answer from player, the causes are:
1.- The speaker is not powered on.
2.- The speaker is it in sleep mode and the network its disabled
3.- The speaker its in Bluetooth mode and the network mode is not working (some speakers disabled other modes)
4.- The speaker has changed the ip or port or uuid (frequently in software speakers)

The connect check the status every ~5 min and update the ip and port based in uuid, but if st crash the timer, the refresh ip is stopped, I suggest:

1.- Set a static ip for your speakers, to make more stable system
2.- Use a watchdog app to verify the timer.

[Release] WatchDog Timer
Community Created SmartApps
Hi, This is other work around to schedule events fail. The problem: schedule events fail without notice and when is restored the schedule could not start until the smartapp is refreshed or launched again Solution: To use some events to verify if timer is working, if not, relaunch the timer. This is not accurate, because depends of the events in your system. In my case, the change temperature works fine, its frequently enough to verify if timer works. You can use some events to verify the timer: motion contact acceleration Switch Presence smoke water temperature signalStrength powerMeter energyMeter button


#9

I will look at that. Thanks.


#10

No that doesn’t work, as it doesn’t check the IP itself. Still need a piston.


#11

Anyone know the commands for this?


#12

Another possibility… I use Host Pinger to monitor phones by IP address. It exposes the devices as presence sensors which can then be used in webCoRE. You can edit the IP addresses and delay to consider each device offline in the smart app.

Not sure if it is applicable to your needs but it works well for me. However, you need a Windows computer running on your network to do the pinging.


#13

There isn’t a Windows machine here only Mac.


#14

I hear you… the only reason I have one sitting around is for some media server stuff that requires Windows. Can’t quite imagine ever going back.


#15

Yes I agree, I have 3 iMac’s, one Mac Mini and Mac Book Pro and and iPad. I at one tim ran Windows, and got sick of the Blue Screen Of Death.

I have to find a solution for this IP thing as I have three speakers that are on WiFi, and if the IP fails or changes I have to chang my Pistons. I thought that WebCoRe would be able to check IP addresses. I don’t have any idea on how to solve this.


#16

I found some instructions on configuring your FIOS router to let the Airport Extreme handle DHCP rather than bridging… may not work for your situation but I agree with @eibyer that DHCP reservation is the best solution here. I don’t know when this article was published but the comments look recent.


#17

Those are the same instructions I used. I ended up loosing all my WiFi home automation devices. Apple wasn’t sure why, but I did it with support using the remote connection. I won’t try that again.