cariboo
September 5, 2018, 6:24am
1
I’m getting the following error meassge in my logs:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>503 Over Quota</title>
<style><!--
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
//--></style>
</head>
<body text=#000000 bgcolor=#ffffff>
<table border=0 cellpadding=2 cellspacing=0 width=100%>
<tr><td bgcolor=#3366cc><font face=arial,sans-serif color=#ffffff><b>Error</b></td></tr>
<tr><td> </td></tr></table>
<blockquote>
<H1>Over Quota</H1>
This application is temporarily over its serving quota. Please try again later
Does anyone have an idea whats causing it?
I’m running hassbian on a Pi 3B.
The only thing I can think of is wunderground.
cariboo
September 5, 2018, 6:42am
2
I’ve solved the problem, I had this sensor running:
# External ip address
- platform: rest
resource: http://ip.jsontest.com
name: External ip
value_template: '{{ value_json.ip }}'
I guess there were to many calls to http://ip.jsontest.com
I just learned recently that you can address that by changing it to this:
- platform: rest
resource: http://ip.jsontest.com
name: ExtIP
value_template: '{{ value_json.ip }}'
scan_interval:
minutes: 10
2 Likes
cariboo
September 5, 2018, 7:15pm
4
Thank you, I’ll give it a try.
You’re welcome.
I read that it normally updates every 30 seconds otherwise.
kriss13
(Cristian)
November 17, 2018, 10:55am
6
I have this error too. If I click on the http://ip.jsontest.com/ it opens a page with my external IP.
I have a “sensor” that monitors the PI and display that in a card including the current external IP… could that be the problem? Because I have no sensors configured using my IP.
This error should not happen since there is nothing actually wrong… is it a bug?
@chairstacker if I put that in my confuguration.yaml will is fix it?
cariboo
November 17, 2018, 10:49pm
8
I’ve changed to using the dns ip sensor:
1 Like
kriss13
(Cristian)
December 16, 2018, 10:01pm
9
I put that to 60 and still get this error.
Are you checking from more than one machine?
Maybe it’s better to use the DNS IP Sensor that @cariboo suggests above.
kriss13
(Cristian)
December 16, 2018, 10:52pm
11
What do you mean?
I have my Mac, iphone and ipad conected to the Hassio Pi. Why yould it matter?
It is the Pi that makes the check for IP, right?
I have dynamic ip resolved with a dns name to make it “static” but don’t understand how to fill the config in caribo’s methond.
Yup - I mean the number of Pis or other machines you use to connect to http://ip.jsontest.com/
Devices, like phones etc. don’t matter.
Can’t really help you with the config for the other sensor, though, as I’m not using it
From the documentation it looks pretty straightforward:
sensor:
- platform: dnsip
cariboo
December 17, 2018, 12:43am
13
This is what I’m using
- platform: dnsip
scan_interval: 7200
kriss13
(Cristian)
December 17, 2018, 11:47pm
14
- platform: rest
name: External IP
resource: https://api.ipify.org?format=json
value_template: '{{ value_json.ip }}'
scan_interval:
minutes: 30
This is what I use, as you can see just a platform and a scan interval is not enough, there is a query and a result involved. From dnsip docs I cannot figure it out how to get the result I am getting from rest.
edit:
this one worked for me