frame

HTTP Time example

Comments

  • floydfloyd Member
    clicking on the @xxx link the IDE will show you where the error is rised in your code. I guess the wifi authentication phase fails.
      
    Daniele Mazzei
    Zerynth Chief System Architect
  • KikiCSKikiCS Member
    Indeed, the wifi autentication fails, because after it prints "Establishing Link..." the code for this error appears:
    IOError  at line 42 of __main__ [the one containing the "wifi.link(...)" command, which I filled with correct wifi data]
    raised at line 95 of wireless.wifi.link

    I don't know how to solve this, I will probably check the behaviour with a different wifi...
  • Hi KikiCS,

    Zerynth r2.0.9 is out (link)
    You can try to update your system, create a new virtual machine (r2.0.9) for your particle photon and uplink again.

    Let me know if this can fix your problem :)
    Matteo Cipriani
    Zerynth Support Team
  • KikiCSKikiCS Member
    I was finally able to check the time. Wifi connection was no big deal, the problem was timeapi suggested in the example: it seems it's not working (in fact I couldn't find the website). I used another time api from a website called timezonedb.com and was able to download a long string that included time and date.
Sign In or Register to comment.

ZERYNTH Community

@ 2016 Zerynth.com, all rights reserved.