Live Gauges API

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Live Gauges API

Post by stadelhofen » Wed Oct 04, 2017 10:06 am

Hi everybody
How is it possible to display the Live Gauges API in the homepage instead of a menu.
Since «gauges» is displayd in the list of blocks/plugins, I assume, that it should be possible to add it as a block?
Many thanks for any support.
Michael

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Jachym » Wed Oct 04, 2017 10:37 am

There are two blocks:
- gauges
- steelSeries

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 9:28 am

yes, but if I set gauges, the homepage is empty
Attachments
Bildschirmfoto 2017-10-05 um 11.27.59.png
Bildschirmfoto 2017-10-05 um 11.27.59.png (478.72 KiB) Viewed 24457 times

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Live Gauges API

Post by nikokara - BANNED » Thu Oct 05, 2017 9:59 am

Desktop homepage --> Header block

and input
current;ssGauges
(separaded by semicolon)

klick Save
niko

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Jachym » Thu Oct 05, 2017 10:13 am

stadelhofen wrote: Thu Oct 05, 2017 9:28 am yes, but if I set gauges, the homepage is empty
I cannot view your website, looks like a security problem, Chrome blocks it

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 12:19 pm

I woud like to use the Live Gauges.

I tried this: current;gauges in the Headerblock, but with no success.

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Live Gauges API

Post by nikokara - BANNED » Thu Oct 05, 2017 12:49 pm

Hi stadelhofen

blocks are missing

I see this
stadelhofen_2017-10-05_154521.jpg
stadelhofen_2017-10-05_154521.jpg (16.14 KiB) Viewed 24440 times
niko

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 1:20 pm

yes, I replaced it, but I don't understand, why I can't place current;gauges in the homepage

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Jachym » Thu Oct 05, 2017 1:32 pm

I cannot check this because when I try to go to your website, Chrome gives me a security warning and does not let me view it.

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 1:39 pm

can you use another browser instead?
That was the reason, ehy I first tried it to host it with SSL and you responded, that this is not implemented in your Template

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Jachym » Thu Oct 05, 2017 1:54 pm

Hi,
not sure what you mean, https/http has nothing to do with the actual scripts, it is not something I need to change in the template. You can use any PHP script on any https server.

HTTP/HTTPS is purely a server/domain settings, regardless of what you then use on that server. The only thing that can sometimes happen is that some data might not be loaded if it is http (especially images), but it happens very rarely.

I think you should first fix this because if your web is inaccessible from the most widely used browser it is a serious issue

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 3:43 pm

I asked the Provider to install Lets Encrypt for this domain: http://meteo.ksstadelhofen.ch/template/indexDesktop.php
I need your support, because I do not understand the Plugin description for the gauges.
When I write current;gauges in the header Block, or further down in the Column1 and save it, I can't see any gauges
Attachments
Bildschirmfoto 2017-10-05 um 17.44.28.png
Bildschirmfoto 2017-10-05 um 17.44.28.png (12.65 KiB) Viewed 24408 times
Bildschirmfoto 2017-10-05 um 17.44.28.png
Bildschirmfoto 2017-10-05 um 17.44.28.png (12.65 KiB) Viewed 24408 times

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 3:58 pm

and when do you implement SSL for http://www.meteotemplate.com ?
you wrote: I think you should first fix this because if your web is inaccessible from the most widely used browser it is a serious issue... :shock:

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Johnny » Thu Oct 05, 2017 4:08 pm

Hi, the link in your profile shows this:

https://meteokst.lima-city.de/template/ ... veData.php

If you go to that link you are warned of a site problem and advised not to go further.

If you go to the link you have just posted:

http://meteo.ksstadelhofen.ch/template/indexDesktop.php

It works, so which is the correct link for your MT site? Or is it both?
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 4:12 pm

it's http://meteo.ksstadelhofen.ch
I changed it in my profile
But my question remains the same, how can I implement gauges in the homepage?

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Live Gauges API

Post by jay_hoehn » Thu Oct 05, 2017 4:22 pm

Have you tried redownloading the block and reuploading it to the server?

Jay

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Johnny » Thu Oct 05, 2017 4:24 pm

Are you talking about these gauges?

gauges.JPG
gauges.JPG (55.62 KiB) Viewed 24380 times
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
Fraggboy
Forecaster
Forecaster
Posts: 193
Joined: Wed Sep 27, 2017 2:45 pm
Location: Sunny California
Station model: Bloomsky II + Storm
Software: Bloomsky
Contact:

Re: Live Gauges API

Post by Fraggboy » Thu Oct 05, 2017 4:33 pm

He's talking about the livegaugesAPI plugin. These gauges are a plugin, and not a block.
Image

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 4:38 pm

No, about these: http://meteo.ksstadelhofen.ch/template/ ... index1.php
I woud like to implement them in the homepage

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Live Gauges API

Post by jay_hoehn » Thu Oct 05, 2017 4:39 pm

That can not be done. That is a plugin and not a block to be added to the home page.

Jay

User avatar
stadelhofen
Observer
Observer
Posts: 20
Joined: Wed Sep 27, 2017 11:00 am
Location: Zürich
Station model: Davis Vintage Pro 2
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by stadelhofen » Thu Oct 05, 2017 5:19 pm

but how come, that the STEELSERIES GAUGES, which are also Plugins, can be implemented in the homepage, this does not make sence

User avatar
nikokara - BANNED
Advisor
Advisor
Posts: 70
Joined: Wed Sep 13, 2017 5:05 pm
Station model: ng265 (Fine Offset)
Software: Cumulus

Re: Live Gauges API

Post by nikokara - BANNED » Thu Oct 05, 2017 5:23 pm

steelgauges have both plugin & block
niko

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Johnny » Thu Oct 05, 2017 5:26 pm

I'm pretty sure Jay is 100% correct here, this is a plugin only having it's own page - I've always thought they look pretty cool. Maybe they can't be used as a block due to their size, you might have to wait for Jachym to give you a definitive answer on this.
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Jachym » Thu Oct 05, 2017 7:01 pm

stadelhofen wrote: Thu Oct 05, 2017 3:58 pm and when do you implement SSL for http://www.meteotemplate.com ?
you wrote: I think you should first fix this because if your web is inaccessible from the most widely used browser it is a serious issue... :shock:
Your page showed just an error from Chrome. My page is http, but shows fine.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Live Gauges API

Post by Jachym » Thu Oct 05, 2017 7:02 pm

Steelseries gauges have a plugin and a block, no plugin can be displayed on the homepage unless it is also a block.

The only problem with https you might have is that your server might not like communication with mine, which is http, so you wont see latest versions etc., but your page will work fine.

Post Reply