you've a space : *wl _apisecret* = x6omxelabcdefgbn1ef1msbqfdmiwgys correct : *wl_apisecret* = x6omxelabcdefgbn1ef1msbqfdmiwgys
Le vendredi 26 juin 2020 à 23:15:11 UTC+2, hoev...@gmail.com a écrit : > Here is my driver-config. api-secret is set (although I've changed it a > bit in this copy below): > > [WLLDriver] > driver = user.WLLDriver > max_tries = 5 > retry_wait = 10 > poll_interval = 5 > url = http://192.168.2.33:80/v1/current_conditions > wl_apikey = nivwsekqwfbkhqtqwo8nximhl7zgxpcs > wl _apisecret = x6omxelabcdefgbn1ef1msbqfdmiwgys > wl_stationid = 91978 > wl_archive_interval = 5 > > Op vrijdag 26 juni 2020 om 23:12:17 UTC+2 schreef flor...@pre-vost.fr: > >> Do you've set the api secret ? >> >> Le vendredi 26 juin 2020 à 23:09:59 UTC+2, hoev...@gmail.com a écrit : >> >>> Hmmm, not sure. Looks like time&date is right to me >>> >>> root@ubuntu:/etc/weewx# date >>> Fri 26 Jun 2020 11:08:42 PM CEST >>> root@ubuntu:/etc/weewx# >>> >>> >>> >>> Op vrijdag 26 juni 2020 om 23:07:24 UTC+2 schreef flor...@pre-vost.fr: >>> >>>> Check your time server. It appear that is not correctly set and the API >>>> return a wrong time when you request API >>>> >>>> Le vendredi 26 juin 2020 à 23:04:35 UTC+2, hoev...@gmail.com a écrit : >>>> >>>>> Okay, URL and responses >>>>> >>>>> >>>>> https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205164&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=2459c09bc4e1f00ab25912b82ab1df0db96860afff1b0194df98fc752cdf8f2c >>>>> >>>>> code >>>>> "401" >>>>> message >>>>> "Invalid API Signature." >>>>> >>>>> >>>>> >>>>> https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205164&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=2459c09bc4e1f00ab25912b82ab1df0db96860afff1b0194df98fc752cdf8f2c >>>>> >>>>> code >>>>> "401" >>>>> message >>>>> "Invalid API Signature." >>>>> >>>>> >>>>> >>>>> https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205153&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=ae52423cb4b1756a678979aeffe0817d424a26cb5b1b416d0bb40b0838c179da >>>>> >>>>> code >>>>> "401" >>>>> message >>>>> "Invalid API Signature." >>>>> >>>>> Op vrijdag 26 juni 2020 om 22:58:12 UTC+2 schreef flor...@pre-vost.fr: >>>>> >>>>>> No, I would like just to restart weewx and when debug mode show URL >>>>>> API, request this link on your favorite browser and put on comment the >>>>>> result >>>>>> >>>>>> Le vendredi 26 juin 2020 à 22:54:19 UTC+2, hoev...@gmail.com a >>>>>> écrit : >>>>>> >>>>>>> Or do you mean running weewx standalone? >>>>>>> >>>>>>> Parameter name: "api-key" has value >>>>>>> "nivwsekqwfbkhqtqwo8nximhl7zgxpcs" >>>>>>> Parameter name: "api-secret" has value "ABC123" >>>>>>> Parameter name: "end-timestamp" has value "1593204600" >>>>>>> Parameter name: "start-timestamp" has value "1593118200" >>>>>>> Parameter name: "station-id" has value "91978" >>>>>>> Parameter name: "t" has value "1593204804" >>>>>>> Parameter name: "api-key" has value >>>>>>> "nivwsekqwfbkhqtqwo8nximhl7zgxpcs" >>>>>>> Parameter name: "api-secret" has value "ABC123" >>>>>>> Parameter name: "end-timestamp" has value "1593204600" >>>>>>> Parameter name: "start-timestamp" has value "1593118200" >>>>>>> Parameter name: "station-id" has value "91978" >>>>>>> Parameter name: "t" has value "1593204816" >>>>>>> >>>>>>> Op vrijdag 26 juni 2020 om 22:45:24 UTC+2 schreef Maarten van der >>>>>>> Hoeven: >>>>>>> >>>>>>>> I've got weewx already on debug. Or do you mean something else? >>>>>>>> >>>>>>>> # WEEWX CONFIGURATION FILE >>>>>>>> >>>>>>>> >>>>>>>> ############################################################################## >>>>>>>> >>>>>>>> # This section is for general configuration information. >>>>>>>> >>>>>>>> # Set to 1 for extra debug info, otherwise comment it out or set to >>>>>>>> zero >>>>>>>> debug = 1 >>>>>>>> >>>>>>>> # Root directory of the weewx data file hierarchy for this station >>>>>>>> WEEWX_ROOT = / >>>>>>>> >>>>>>>> # Whether to log successful operations >>>>>>>> log_success = True >>>>>>>> >>>>>>>> # Whether to log unsuccessful operations >>>>>>>> log_failure = True >>>>>>>> >>>>>>>> # How long to wait before timing out a socket (FTP, HTTP) connection >>>>>>>> socket_timeout = 20 >>>>>>>> >>>>>>>> # Do not modify this. It is used when installing and updating weewx. >>>>>>>> version = 4.1.1 >>>>>>>> >>>>>>>> Op vrijdag 26 juni 2020 om 22:35:10 UTC+2 schreef >>>>>>>> flor...@pre-vost.fr: >>>>>>>> >>>>>>>>> Relaunch weewx and use the url on debug. Here, the url is not in >>>>>>>>> the current timestamp. It for this thay you've this error. >>>>>>>> >>>>>>>> -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/09e41341-879f-403a-adb8-032d641865ban%40googlegroups.com.