homebridge-http-temperature-humidity icon indicating copy to clipboard operation
homebridge-http-temperature-humidity copied to clipboard

4 seconds delay

Open Lukas-me opened this issue 8 years ago • 7 comments

Hi,

I have installed the homebridge software on my RaspberryPi and configured 2 http-temphum devices. It takes 4 seconds for every http request to get the temperature and humidity from a sql-Database over a php-script. Is this normal or is there a way to reduce this time?

bildschirmfoto 2016-10-06 um 20 57 07 bildschirmfoto 2016-10-06 um 20 56 52

Lukas-me avatar Oct 12 '16 13:10 Lukas-me

That’s very slow! Mine takes less than a second. How long does it take you to open the urls directly?

On Oct 12, 2016, at 9:17 AM, Lukas-me [email protected] wrote:

Hi,

I have installed the homebridge software on my RaspberryPi and configured 2 http-temphum devices. It takes 4 seconds for every http request to get the temperature and humidity from a sql-Database over a php-script. Is this normal or is there a way to reduce this time?

https://cloud.githubusercontent.com/assets/22793216/19311463/c87b13ce-908e-11e6-903a-34264c537ac2.png https://cloud.githubusercontent.com/assets/22793216/19311471/d037bed2-908e-11e6-921b-821dd1886564.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-70dydu2TQxxBHXIwXcl-bxGhV5Sks5qzN30gaJpZM4KUvhh.

lucacri avatar Oct 12 '16 15:10 lucacri

Hi,

to open the urls directly takes less then a second. Its very fast and in the local network. Is there something wrong in my configuration?

Am 12.10.2016 um 17:23 schrieb Luca Critelli [email protected]:

That’s very slow! Mine takes less than a second. How long does it take you to open the urls directly?

On Oct 12, 2016, at 9:17 AM, Lukas-me [email protected] wrote:

Hi,

I have installed the homebridge software on my RaspberryPi and configured 2 http-temphum devices. It takes 4 seconds for every http request to get the temperature and humidity from a sql-Database over a php-script. Is this normal or is there a way to reduce this time?

https://cloud.githubusercontent.com/assets/22793216/19311463/c87b13ce-908e-11e6-903a-34264c537ac2.png https://cloud.githubusercontent.com/assets/22793216/19311471/d037bed2-908e-11e6-921b-821dd1886564.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-70dydu2TQxxBHXIwXcl-bxGhV5Sks5qzN30gaJpZM4KUvhh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253245534, or mute the thread https://github.com/notifications/unsubscribe-auth/AVvMACPmYGrRlqHz710IohVXKntX4rtzks5qzPtogaJpZM4KUvhh.

Lukas-me avatar Oct 13 '16 09:10 Lukas-me

That’s very very strange. The configuration you posted looks good

Did you try opening the url from the Pi from command line (via curl)?

On Oct 13, 2016, at 5:27 AM, Lukas-me [email protected] wrote:

Hi,

to open the urls directly takes less then a second. Its very fast and in the local network. Is there something wrong in my configuration?

Am 12.10.2016 um 17:23 schrieb Luca Critelli [email protected]:

That’s very slow! Mine takes less than a second. How long does it take you to open the urls directly?

On Oct 12, 2016, at 9:17 AM, Lukas-me [email protected] wrote:

Hi,

I have installed the homebridge software on my RaspberryPi and configured 2 http-temphum devices. It takes 4 seconds for every http request to get the temperature and humidity from a sql-Database over a php-script. Is this normal or is there a way to reduce this time?

https://cloud.githubusercontent.com/assets/22793216/19311463/c87b13ce-908e-11e6-903a-34264c537ac2.png https://cloud.githubusercontent.com/assets/22793216/19311471/d037bed2-908e-11e6-921b-821dd1886564.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-70dydu2TQxxBHXIwXcl-bxGhV5Sks5qzN30gaJpZM4KUvhh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253245534, or mute the thread https://github.com/notifications/unsubscribe-auth/AVvMACPmYGrRlqHz710IohVXKntX4rtzks5qzPtogaJpZM4KUvhh.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253462369, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-yZndE7y5v3Fa79qobdRNEBxHKNyks5qzfmLgaJpZM4KUvhh.

lucacri avatar Oct 13 '16 14:10 lucacri

This also takes less than a second.

Am 13.10.2016 um 16:56 schrieb Luca Critelli [email protected]:

That’s very very strange. The configuration you posted looks good

Did you try opening the url from the Pi from command line (via curl)?

On Oct 13, 2016, at 5:27 AM, Lukas-me [email protected] wrote:

Hi,

to open the urls directly takes less then a second. Its very fast and in the local network. Is there something wrong in my configuration?

Am 12.10.2016 um 17:23 schrieb Luca Critelli [email protected]:

That’s very slow! Mine takes less than a second. How long does it take you to open the urls directly?

On Oct 12, 2016, at 9:17 AM, Lukas-me [email protected] wrote:

Hi,

I have installed the homebridge software on my RaspberryPi and configured 2 http-temphum devices. It takes 4 seconds for every http request to get the temperature and humidity from a sql-Database over a php-script. Is this normal or is there a way to reduce this time?

https://cloud.githubusercontent.com/assets/22793216/19311463/c87b13ce-908e-11e6-903a-34264c537ac2.png https://cloud.githubusercontent.com/assets/22793216/19311471/d037bed2-908e-11e6-921b-821dd1886564.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-70dydu2TQxxBHXIwXcl-bxGhV5Sks5qzN30gaJpZM4KUvhh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253245534, or mute the thread https://github.com/notifications/unsubscribe-auth/AVvMACPmYGrRlqHz710IohVXKntX4rtzks5qzPtogaJpZM4KUvhh.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253462369, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-yZndE7y5v3Fa79qobdRNEBxHKNyks5qzfmLgaJpZM4KUvhh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253537941, or mute the thread https://github.com/notifications/unsubscribe-auth/AVvMALKpIJQR9eiMwNv1_nBgptG2Qu2pks5qzkaPgaJpZM4KUvhh.

Lukas-me avatar Oct 13 '16 15:10 Lukas-me

Hi I opened the URL directly over the command line and this takes also less then a second. I also configured the homebridge-http plugin for a http switch and this works fine.

Am 13.10.2016 um 16:56 schrieb Luca Critelli [email protected]:

That’s very very strange. The configuration you posted looks good

Did you try opening the url from the Pi from command line (via curl)?

On Oct 13, 2016, at 5:27 AM, Lukas-me [email protected] wrote:

Hi,

to open the urls directly takes less then a second. Its very fast and in the local network. Is there something wrong in my configuration?

Am 12.10.2016 um 17:23 schrieb Luca Critelli [email protected]:

That’s very slow! Mine takes less than a second. How long does it take you to open the urls directly?

On Oct 12, 2016, at 9:17 AM, Lukas-me [email protected] wrote:

Hi,

I have installed the homebridge software on my RaspberryPi and configured 2 http-temphum devices. It takes 4 seconds for every http request to get the temperature and humidity from a sql-Database over a php-script. Is this normal or is there a way to reduce this time?

https://cloud.githubusercontent.com/assets/22793216/19311463/c87b13ce-908e-11e6-903a-34264c537ac2.png https://cloud.githubusercontent.com/assets/22793216/19311471/d037bed2-908e-11e6-921b-821dd1886564.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-70dydu2TQxxBHXIwXcl-bxGhV5Sks5qzN30gaJpZM4KUvhh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253245534, or mute the thread https://github.com/notifications/unsubscribe-auth/AVvMACPmYGrRlqHz710IohVXKntX4rtzks5qzPtogaJpZM4KUvhh.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucacri/homebridge-http-temperature-humidity/issues/21#issuecomment-253462369, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx0-yZndE7y5v3Fa79qobdRNEBxHKNyks5qzfmLgaJpZM4KUvhh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Lukas-me avatar Oct 17 '16 07:10 Lukas-me

Did you find any resolution to this issue? I'm having the very same issue and it is really annoying. Since temperature isn't such a big thing as the remote controlling is, I am currently disabling the accessories.

Marcussjogren avatar Dec 26 '16 21:12 Marcussjogren

Hi,

No i didn't find a solution for the sensors. I'm now using the thermostat-http accessories which includes temp, hum and targettemp, because i'm also controlling my heaters.

Am 26.12.2016 um 22:36 schrieb Marcussjogren [email protected]:

Did you find any resolution to this issue? I'm having the very same issue and it is really annoying. Since temperature isn't such a big thing as the remote controlling is, I am currently disabling the accessories.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Lukas-me avatar Dec 27 '16 15:12 Lukas-me