1. 21 Feb, 2016 1 commit
  2. 18 Feb, 2016 1 commit
  3. 14 Feb, 2016 1 commit
    • Henk Vergonet's avatar
      Add i2c based module for am2320 humidity sensor · a1c1e015
      Henk Vergonet authored
      Example use:
      > sda=1
      > scl=2
      > am2320.init(sda,scl)
      > rh, t = am2320.read()
      > print(string.format("Temperature: %s degrees C", t / 10))
      > print(string.format("RH: %s %%", rh / 10))
      
      signed-off-by: henk.vergonet@gmail.com
      a1c1e015
  4. 26 Jan, 2016 1 commit
  5. 29 Dec, 2015 1 commit
  6. 16 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Reworked module registration, removed modules.h · 4e8ef87d
      Johny Mattsson authored
      Module creation & registration now made a lot simpler. In essence,
      each module file is now self-contained and only needs a
      
        NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname);
      
      line to both be automatically recognised by the Lua initialization
      as well as honor the LUA_USE_MODULES_MYNAME #define.
      4e8ef87d
  7. 19 Nov, 2015 1 commit
  8. 03 Nov, 2015 2 commits
  9. 31 Oct, 2015 1 commit
  10. 09 Oct, 2015 1 commit
  11. 19 Sep, 2015 2 commits
  12. 17 Sep, 2015 2 commits
  13. 10 Sep, 2015 1 commit
    • Robert Foss's avatar
      Added ENDUSER_SETUP module. · e2ada487
      Robert Foss authored
      The module will start a SoftAP, DNS, HTTP server acting as a captive portal.
      The portal will have the SSID SetupGadget and will serve a website where
      credentials for the end users WLAN can be submitted.
      
      Once valid credentials have been submitted and used to connect to the
      local WLAN this module will stop.
      
      This module requires USE_DNS to enabled in dhcpserver.h
      e2ada487
  14. 21 Aug, 2015 1 commit
  15. 03 Aug, 2015 1 commit
  16. 10 Jul, 2015 4 commits
    • Johny Mattsson's avatar
      Added SNTP module, for easy time sync. · 09410d55
      Johny Mattsson authored
      Integrates with the rtctime component if it's available.
      09410d55
    • Johny Mattsson's avatar
      Imported RTC FIFO component + added Lua interface. · 67e72c45
      Johny Mattsson authored
      The rtcfifo module uses RTC memory to store sensor samples across deep-sleeps,
      making it possible to batch up samples for less frequent uploads. This
      component uses 9 RTC memory slots for control, and a variable number of
      slots for sample storage (see rtcfifo.prepare() on how to control the
      size/location of the latter).
      
      When used together with the rtctime module, it also exposes the convenience
      function rtcfifo.dsleep_until_sample() which can be used to easily take
      readings on a regular basis without having to manually take into account
      time spent awake to get an accurate sleep time.
      
      The format used for storing samples is quite dense, and allows for 16 bits
      of data in a fixed point format (per sample).
      67e72c45
    • Johny Mattsson's avatar
      Imported RTC+sleep timekeeping from an internal DiUS project. · 21874249
      Johny Mattsson authored
      Added Lua module rtctime to interface with it.
      
      This keeps as accurate time as is possible on the ESP8266, including across
      deep sleeps (provided rtctime.dsleep() is used rather than node.dsleep()).
      Intended to be used together with NTP for high accuracy time keeping. The
      API is via rtctime.{get,set}timeofday(), working from Unix epoch.
      
      Note that 160MHz CPU clock is not currently supported by the rtctime code,
      as it is only aware of the 52MHz boot clock and the regular 80Mhz default
      clock.
      
      See rtctime.h for detailed info on how this all works.
      21874249
    • Johny Mattsson's avatar
      Imported RTC access from a DiUS internal project. · 1a613eff
      Johny Mattsson authored
      Added Lua access module named "rtcmem" for read/write of RTC user module.
      1a613eff
  17. 03 Jul, 2015 2 commits
  18. 01 Jul, 2015 1 commit
  19. 19 Jun, 2015 1 commit
  20. 18 Jun, 2015 1 commit
  21. 11 Jun, 2015 1 commit
  22. 28 May, 2015 1 commit
  23. 21 May, 2015 2 commits
  24. 18 Mar, 2015 1 commit
  25. 16 Mar, 2015 1 commit
  26. 15 Mar, 2015 2 commits
  27. 06 Mar, 2015 3 commits