Page 4 of 4 FirstFirst ... 234
Results 31 to 33 of 33

Thread: Xlights with ESP2866 NodeMCU

  1. #31
    Join Date
    Dec 2011
    Posts
    5,933
    Post Thanks / Like

    Default Re: Xlights with ESP2866 NodeMCU

    i missed the adding of this line in setup for static ip .


    Code:
    //IPAddress ip (192,168,1,105);  // xx,xx,xx,xx
    //IPAddress netmask (255,255,255,0);  //255,255,255,0 is common
    //IPAddress gateway (192,168,1,1);  // xx,xx,xx,xx normally your router / access piont IP address
    //IPAddress dns (192,168,1,1); //  // xx,xx,xx,xx normally your router / access point IP address
    
    void setup()
    
    e131.begin(ssid, passphrase, ip, netmask, gateway, dns);               /* via Unicast on the default port */
      //e131.beginMulticast(ssid, passphrase, ip, netmask, gateway, dns, universe); /* via Multicast for Universe 1 */
    Last edited by angus40; 08-28-2019 at 10:36 PM.

  2. #32
    Join Date
    May 2019
    Posts
    8
    Post Thanks / Like

    Default Re: Xlights with ESP2866 NodeMCU

    I was cross referencing the lines that needed to be added for unicast, but could find where in the original code to add them? After all the define information?


    Sent from my iPhone using Tapatalk

  3. #33
    Join Date
    Dec 2011
    Posts
    5,933
    Post Thanks / Like

    Default Re: Xlights with ESP2866 NodeMCU

    Quote Originally Posted by Alexander14 View Post
    I was cross referencing the lines that needed to be added for unicast, but could find where in the original code to add them? After all the define information?


    Sent from my iPhone using Tapatalk
    like this will work , and add the line above to > void setup < in with the other lines for e131.

    Code:
    const char ssid[] = "UNSECURED ????";  // replace with your SSID.
    const char passphrase[] = "NOTMYWORDPASS"; // replace with your PASSWORD.
    const int universe = 1; // this sets the universe number you are using.
    //IPAddress ip (192,168,1,105);  // xx,xx,xx,xx
    //IPAddress netmask (255,255,255,0);  //255,255,255,0 is common
    //IPAddress gateway (192,168,1,1);  // xx,xx,xx,xx normally your router / access piont IP address
    //IPAddress dns (192,168,1,1); //  // xx,xx,xx,xx normally your router / access point IP address

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •