• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. henry2man
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
H
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 3
  • Groups 0

henry2man

@henry2man

0
Reputation
105
Profile views
3
Posts
0
Followers
0
Following
Joined Feb 26, 2019, 9:21 PM
Last Online Nov 8, 2019, 6:48 AM

henry2man Unfollow Follow

Latest posts made by henry2man

  • RE: MMM-Sunrise-Sunset

    @vbloke In this link there is a simple way to get a ISO 8601 into your local timezone --> https://stackoverflow.com/a/31453408

    var utcDate = '2011-06-29T16:52:48.000Z';  // ISO-8601 formatted date returned from server
    var localDate = new Date(utcDate);
    

    api.sunrise-sunset.org can return ISO 8601 dates using

    formatted=0
    

    parameter…

    If date parsing is the major issue & this solution works I think this approach is simpler. Even you can default the URL and simply configure lat/long & style (inline/list)

    Just my 2 cents…

    posted in Utilities
    H
    henry2man
    Oct 29, 2019, 6:57 AM
  • RE: MMM-Sunrise-Sunset

    I removed the config but seemed like yours. I followed the README from master. I’ll try again later, but also I’ve reviewed this API

    https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400&formatted=0

    It has enough information and seems to be free.

    What do you think?

    posted in Utilities
    H
    henry2man
    Oct 28, 2019, 6:56 PM
  • RE: MMM-Sunrise-Sunset

    I tried this module but activating this causes my MM to show nothing. I had no error messages on MM logs (in my case, a docker server-only instance) and nor on my Chrome console.

    In other words it looks that the IPGeo free key expires in 1 day…

    posted in Utilities
    H
    henry2man
    Oct 28, 2019, 2:48 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy