template.cgi missing? **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
fortunatech
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Thu Sep 05, 2013 5:17 am

template.cgi missing? **solved**

Post by fortunatech »

The MB Wiki instructs to use the "template.cgi" script in a URL call to return data directly from the software. It gives an example of http://ip-of-meteobridge/cgi-bin/template.cgi?template=[DD...

This template is useful to obtain yesterday's min/max data from soil sensors in the garden directly from a browser window.

Using version 4.4 version after 10/12, MB's response to a template query is "no such file or directory". Has the path changed?
ve7gel
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Thu Aug 29, 2019 3:22 pm
Location: Vancouver Island, BC, CA

Re: template.cgi missing?

Post by ve7gel »

I have this issue too when querying Meteobridge. A query from my irrigation system or home automation controller both fail with "No such file or directory" as well.

P.S. I logged in via SSH and checked for the presence of the template....it does indeed seem to be missing.
kurite
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Fri Oct 16, 2020 1:57 am
Contact:

Re: template.cgi missing?

Post by kurite »

I too am missing template.cgi in the latest firmware but the other cgi interfaces are available. A bit frustrating since I just set up a Siri Shortcut to read me the current weather from template.cgi (super easy to use!)

TL-MR3020 (no USB hub)

Meteobridge 4.4 (Oct 14 2020, build 13969)
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: template.cgi missing?

Post by admin »

It is there with the current version. Which platform are you on?
ve7gel
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Thu Aug 29, 2019 3:22 pm
Location: Vancouver Island, BC, CA

Re: template.cgi missing?

Post by ve7gel »

I have a TP-MR3020v1. The problem was there with the October 14 update, and I haven't tried the most recent update. I was waiting for confirmation that it was fixed, so will try it a bit later today. Thanks for the info
kurite
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Fri Oct 16, 2020 1:57 am
Contact:

Re: template.cgi missing?

Post by kurite »

I just got 5.0, same issue of missing template.cgi:
TL-MR3020 (no USB hub)
Meteobridge 5.0 (Oct 17 2020, build 13977), FW 1.4
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: template.cgi missing?

Post by admin »

You are right, on MR3020v1 the file has been stripped by error from the latest releases. It is added again. Final version 4.4 as well as new 5.0 do have it again. Please do a reboot.
ve7gel
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Thu Aug 29, 2019 3:22 pm
Location: Vancouver Island, BC, CA

Re: template.cgi missing? **solved**

Post by ve7gel »

Thanks for the update. Rebooted with V5 and it is now working properly.
kurite
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Fri Oct 16, 2020 1:57 am
Contact:

Re: template.cgi missing? **solved**

Post by kurite »

Yes, it is there now on Meteobridge 5.0 (Oct 17 2020, build 13979), FW 1.4

Awesome support. Thank you very much.
Post Reply