Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

4-days forecast problem
#41

(03-12-2019, 22:56)ok2arm Wrote:  Hi Boys Smile
Maybee is my question offtopic, but...
Display is fully working, I have registered API in DarkSky, also writed in credentials.h but but not working...
Display not call API. I have tested "call"  API on other device... = working
On display is 4x the same picute (clouds with ?, 0 / 0 etc...)
Any idea ?

Hello, OK2ARM,

Do you have turn internet on in Config.h file?

You have to have in Config.h:
 
Code:
// --------------------------------------------------------------------------------------
//   Internet Settings 
// --------------------------------------------------------------------------------------
#define ENABLE_INTERNET     1                        // 1= Enable Internet connection, 0= Disable
#define WEBSERVER_PORT     80                        // WebServer port (default 80) 

// --------------------------------------------------------------------------------------
//   NTP Server Settings. At least one should be defined
// --------------------------------------------------------------------------------------
#define TIMESERVER "pool.ntp.org"

and you position  at least 4 decimal places, for example mine:
 
Code:
// --------------------------------------------------------------------------------------
//   Dark Sky 4 Days Forecast Settings
// --------------------------------------------------------------------------------------                                                   
// Set the forecast longitude and latitude to at least 4 decimal places
// Hint: Use the same values set on the WeatherDuino Receiver

const String latitude =  "50.181038";    // 90.0000 to -90.0000 negative for Southern hemisphere
const String longitude = "14.649961";   // 180.000 to -180.000 negative for West

(In Credentials.h you have to have WiFi credentials completed and api_key too.)

If you still can not, copy both files here (delete your credentials), or - otherwise - let me know if you work.
Good luck.

Best Regards
Zdenek

Brandys/L Weather
Reply


Messages In This Thread
4-days forecast problem - by jarekh3 - 10-05-2019, 22:19
RE: 4-days forecast problem - by werk_ag - 10-05-2019, 22:31
RE: 4-days forecast problem - by jarekh3 - 10-05-2019, 23:02
RE: 4-days forecast problem - by werk_ag - 10-05-2019, 23:08
RE: 4-days forecast problem - by jarekh3 - 10-05-2019, 23:20
RE: 4-days forecast problem - by werk_ag - 11-05-2019, 04:00
RE: 4-days forecast problem - by jarekh3 - 11-05-2019, 08:05
RE: 4-days forecast problem - by werk_ag - 12-05-2019, 04:12
RE: 4-days forecast problem - by jarekh3 - 12-05-2019, 16:59
RE: 4-days forecast problem - by werk_ag - 13-05-2019, 01:06
RE: 4-days forecast problem - by jarekh3 - 13-05-2019, 19:34
RE: 4-days forecast problem - by hornychz - 13-05-2019, 08:56
RE: 4-days forecast problem - by werk_ag - 13-05-2019, 16:05
RE: 4-days forecast problem - by werk_ag - 13-05-2019, 12:03
RE: 4-days forecast problem - by hornychz - 13-05-2019, 13:20
RE: 4-days forecast problem - by jarekh3 - 13-05-2019, 13:48
RE: 4-days forecast problem - by hornychz - 13-05-2019, 16:47
RE: 4-days forecast problem - by werk_ag - 13-05-2019, 20:45
RE: 4-days forecast problem - by engolling - 13-05-2019, 22:28
RE: 4-days forecast problem - by werk_ag - 14-05-2019, 12:35
RE: 4-days forecast problem - by hornychz - 14-05-2019, 15:24
RE: 4-days forecast problem - by jarekh3 - 14-05-2019, 18:51
RE: 4-days forecast problem - by werk_ag - 14-05-2019, 22:06
RE: 4-days forecast problem - by hornychz - 15-05-2019, 07:47
RE: 4-days forecast problem - by werk_ag - 19-05-2019, 01:30
RE: 4-days forecast problem - by hornychz - 19-05-2019, 15:57
RE: 4-days forecast problem - by hornychz - 19-05-2019, 16:01
RE: 4-days forecast problem - by jarekh3 - 19-05-2019, 16:05
RE: 4-days forecast problem - by werk_ag - 19-05-2019, 18:38
RE: 4-days forecast problem - by jarekh3 - 19-05-2019, 18:48
RE: 4-days forecast problem - by werk_ag - 19-05-2019, 18:56
RE: 4-days forecast problem - by jarekh3 - 19-05-2019, 19:25
RE: 4-days forecast problem - by werk_ag - 20-05-2019, 00:25
RE: 4-days forecast problem - by jarekh3 - 20-05-2019, 06:52
RE: 4-days forecast problem - by werk_ag - 19-05-2019, 18:22
RE: 4-days forecast problem - by hornychz - 19-05-2019, 22:23
RE: 4-days forecast problem - by hornychz - 19-05-2019, 22:32
RE: 4-days forecast problem - by hornychz - 19-05-2019, 22:56
RE: 4-days forecast problem - by werk_ag - 20-05-2019, 00:16
RE: 4-days forecast problem - by ok2arm - 03-12-2019, 22:56
RE: 4-days forecast problem - by hornychz - 04-12-2019, 00:01
RE: 4-days forecast problem - by werk_ag - 04-12-2019, 01:35
RE: 4-days forecast problem - by ok2arm - 05-12-2019, 21:14
RE: 4-days forecast problem - by hornychz - 06-12-2019, 01:04
RE: 4-days forecast problem - by ok2arm - 06-12-2019, 12:02
RE: 4-days forecast problem - by werk_ag - 06-12-2019, 06:18
RE: 4-days forecast problem - by ok2arm - 06-12-2019, 12:03
RE: 4-days forecast problem - by werk_ag - 07-12-2019, 04:08
RE: 4-days forecast problem - by ok2arm - 08-12-2019, 18:00
RE: 4-days forecast problem - by werk_ag - 08-12-2019, 18:45
RE: 4-days forecast problem - by ok2arm - 08-12-2019, 23:47



Users browsing this thread: 2 Guest(s)