IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Logging of custom HTTP

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
bduren
Posts: 18
Joined: Tue Jul 21, 2009 8:43 am
Weather Station: WMR928
Operating System: W2012R2, W10, RaspberryPI 3+
Location: Sweden
Contact:

Logging of custom HTTP

Postby bduren » Sat Jul 21, 2018 12:43 pm

Hello
I intend to use custom HTTP for updating temperature.
Where can I see the result of the operation ? some log ?

Custom HTTP can include webtags so.....

http://www.temperatur.nu/rapportera.php?hash=xxxxxxxx=<#RCtemp>

This URL reports an OK (25,5) if typed directly in browser.

Please advise

Björn
Greetings
/Björn

http://vader.duren.se

User avatar
steve
Cumulus Author
Posts: 26700
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Logging of custom HTTP

Postby steve » Sat Jul 21, 2018 2:04 pm

The 'minutes' and 'rollover' responses are logged to the diags file if you turn on debug logging.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

bduren
Posts: 18
Joined: Tue Jul 21, 2009 8:43 am
Weather Station: WMR928
Operating System: W2012R2, W10, RaspberryPI 3+
Location: Sweden
Contact:

Re: Logging of custom HTTP

Postby bduren » Sat Jul 21, 2018 2:13 pm

So it works….
2018-07-21 16:05:00.821 Custom HTTP Minutes update
2018-07-21 16:05:01.037 Custom HTTP Minutes response: OK: ok! (24.2)

Very nice, thanks.
Greetings
/Björn

http://vader.duren.se


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 6 guests