User Tools

Site Tools


xmas:esp8266

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
xmas:esp8266 [2025/11/30 22:52] mlivolsixmas:esp8266 [2025/11/30 22:54] (current) mlivolsi
Line 82: Line 82:
  
 Before writing the program above, ChatGPT gave me an example program to run on Linux as an OPC server. I took that code, tested it with Xlights,  and then modified it for the NodeMCU. Before writing the program above, ChatGPT gave me an example program to run on Linux as an OPC server. I took that code, tested it with Xlights,  and then modified it for the NodeMCU.
 +
 There’s a good article about OPC here: There’s a good article about OPC here:
 http://openpixelcontrol.org and it will explain the protocol. http://openpixelcontrol.org and it will explain the protocol.
Line 95: Line 96:
  
 The Arduino script gave me the IP address, but you can also check your router for the IP address (dhcp). The Arduino script gave me the IP address, but you can also check your router for the IP address (dhcp).
-NOTE: The message data size is 12, but I only configured 2 models, so I’m only sending 6 bytes in the message (see OPC protocol above)+**NOTE:** The message data size is 12, but I only configured 2 models, so I’m only sending 6 bytes in the message (see OPC protocol above)
  
 {{:xmas:xlights1.png?400|}} {{:xmas:xlights1.png?400|}}
Line 114: Line 115:
 I created these tamponish looking devices to transmit to the RGB floodlights. I split the signal in two to control two flood lights (and that way, they’ll always be synched). I created these tamponish looking devices to transmit to the RGB floodlights. I split the signal in two to control two flood lights (and that way, they’ll always be synched).
  
-{{:xmas:infrared.png?400|}}+{{:xmas:infrared.png?200|}}
  
  
xmas/esp8266.1764543169.txt.gz · Last modified: by mlivolsi