- This topic has 10 replies, 3 voices, and was last updated 7 years, 10 months ago by uRADMonitor.
-
AuthorPosts
-
December 29, 2015 at 4:26 pm #2639Martin RothParticipant
I noticed only after a few weeks that my uradmonitor was no longer able to send data, due to a problem with its network connection. I’ve looked for a solution to alert me when uradmonitor.com has not received data from my unit for a while, and came across uptimerobot.com: If you make a free account at uptimerobot.com, it allows you to monitor up to 50 user-defined services periodically and alerts you by e-mail when they are down.
I found out through a bit of experimentation, that the URL http://data.uradmonitor.com/api/v1/devices/11000001/cpm is used to grab the data for the CPM graph, and normally responds with JSON data in the form
[{"time":"1451319871","cpm":"17"},{"time":"1451320470","cpm":"14"},{"time":"1451321070","cpm":"17"}]
If the unit is down and no data has been received for a while, it seems the JSON response instead is
{"success":"[]"}
Of course, replace the 11000001 in the URL with your device id!
So you can set up an UptimeRobot as such:
Monitor Type: Keyword
Friendly Name: my uradmonitor data feed
URL: http://data.uradmonitor.com/api/v1/devices/11000001/cpm (use your device id instead of 11000001!)
Keyword: success
Alert When: Keyword Exists
Monitoring Interval: Maximum (120 Minutes)Attachments:
December 29, 2015 at 4:44 pm #2641Martin RothParticipantAttached an image from the UptimeRobot dashboard
Attachments:
January 2, 2016 at 11:01 pm #2659uRADMonitorKeymasterThat’s a good approach, however I’m not sure on how often the monitoring site calls the API.
If too often, it might trigger the DoS protection and get ignored (interpreted as a sigh of deliberate server resources consumption).EDIT: Indeed if there is no recent data, the JSOn answer will show an empty array (no matches).
- This reply was modified 8 years, 4 months ago by uRADMonitor.
- This reply was modified 8 years, 4 months ago by uRADMonitor.
- This reply was modified 8 years, 4 months ago by uRADMonitor.
June 3, 2016 at 10:38 pm #2995Ken ScottParticipantI noticed only after a few weeks that my uradmonitor was no longer able to send data, due to a problem with its network connection.
Just got me device today, already seeing this problem 3 times within as many hours. Link just drops requiring a hard reset of the device. For this price point this is very disappointing.
June 3, 2016 at 10:55 pm #2997uRADMonitorKeymasterHello Ken,
The model A has a watchdog mechanism: if the network connection drops, it will reboot automatically after 10 minutes. This was added in the newer firmware versions, and your unit has it.
I’d need more details to know what goes wrong with your setup, and a first thing you could test is connecting the unit to a different internet router. Then is changing the power adapter with another one. We’d need this two ruled out before anything else.
L.EDIT: I see it up and running: https://www.uradmonitor.com/?open=110000E7
- This reply was modified 7 years, 11 months ago by uRADMonitor.
June 3, 2016 at 11:10 pm #2999Ken ScottParticipantyes its up and running now, I have moved it between 2 different switches and experienced the same drop, both link lights go completely out as well as the link light on the switch. I will try a new power supply but suspect the cable that was shipped with it, its rather flimsy and has a knick in it, perhaps its faulty or damaged.
I’ll report back if it occurs again.
June 4, 2016 at 6:05 pm #3000uRADMonitorKeymasterThanks for the update!
July 2, 2016 at 1:52 pm #3102Ken ScottParticipantI am not thinking the watchdog is working. It has dropped out several times over the past few weeks and I have to hard boot it to get it to come back. Currently offline again.
Is there a way to update the frmware? I know you said mine already has it, however it does not appear to be functioning as you described.
- This reply was modified 7 years, 10 months ago by Ken Scott.
July 3, 2016 at 5:31 pm #3120uRADMonitorKeymasterHello Ken,
By any chance, is it possible to connect the unit to a different router and/or a different ISP?
July 3, 2016 at 5:55 pm #3121Ken ScottParticipantTo answer your questions
its been on 3 different routers all with the same behavior.
Different ISP – no cant do that. I can tell you its a rock solid connection though.I am pretty sure its the unit itself as the link lights go dead and do not light up until its hard booted. Once that happens it is fine.
I have just installed a new cable run with POE to it. we’ll see how this goes. at the very least I’ll be able to power cycle from my office.
Ken
July 3, 2016 at 8:04 pm #3122uRADMonitorKeymasterIf that doesn’t help, I should be able to send you a custom firmware, to pinpoint the problem as the device sees it.
-
AuthorPosts
- You must be logged in to reply to this topic.