Newer
Older
SmartAlarm / config.php
root on 7 May 2019 459 bytes Initial commit
  1. <?php
  2. /***
  3. * Requires: apt-get install php5-imap
  4. */
  5. $weatherenabled = 1;
  6. $gmailenabled = 1;
  7. $dateenabled = 1;
  8. $quoteenabled = 1;
  9.  
  10. // weather
  11. $city="London";
  12. $country="UK"; //Two digit country code
  13. $openweatherApiKey = "";
  14. $weatherurl="http://api.openweathermap.org/data/2.5/weather?q=".$city.",".$country."&units=metric&cnt=7&lang=en&appid=".$openweatherApiKey;
  15. // gmail
  16. $hostname = '{imap.gmail.com:993/imap/ssl}INBOX';
  17. $username = '';
  18. $password = '';
  19.  
  20. ?>
Buy Me A Coffee