WacKEDmaN / ESP8266-IRC-Client

ESP8266 IRC Client with BME280, PCF8591, IR Temp Sensors that respond to triggers from IRC channels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP8266-IRC-Client

V1.3 ESP8266-IRC-Client-v1-3.ino

New config section at top of script
Added NTP
Added !uptime command (!localtime !gmttime and !unixtime comming soon!)
Added auto join IRC Channels (triggers via line sent from server currently set for end of motd)
Added custom LCD characters
LCD now displays live BME280 (if defined!) Time and voltage data, IRC Triggers show for 5 seconds before returning to the "live" page..
10hr Live stream of it in action... https://www.youtube.com/watch?v=Qyn5Yd8giZI (not much activity sorry we're all idle whores!)

V1.2 ESP8266-IRC-Client-v1-2.ino

Search sketch for "XXXX" lines for quick startup!
Added ability to remove individual sensors .. comment out #ifdef USE_XXXX lines
Added 16x2 LCD on I2C
Thanks to Andreas Spiess for the preprocessor tips! https://www.youtube.com/watch?v=1eL8dXL3Wow

V1.0 ESP8266-IRC-Client.ino

ESP8266 IRC Client with BME280, PCF8591, IR Temp Sensors that respond to triggers from IRC channels
Uses ArduinoIRC library: IRCClient.h https://github.com/fredimachado/ArduinoIRC
Edit WIFI settings to match your network
Edit IRC settings to match your irc server, port, bot nick, and bot user
Edit REPLY_TO to match your IRC Nick, else you wont be able to join a channel
Edit Channels to match the IRC channels to join (towards bottom of script)
use '/msg IRC_NICKNAME !join' from IRC, once the bot has connected to IRC to join channels, it will only join if your IRC nick matches REPLY_TO (IRC_NICKNAME and REPLY_TO are case sensitive!!)
once its joined the channels you can send '!help' for a list of available commands (sends to PM)

Pinouts

Device NodeMCU Pins Device Pins
18x2 LCD D1(SCL),D2(SDA) (SCL),(SDA)
BME280 D1(SCL),D2(SDA) (SCL),(SDA)
PCF8591 D1(SCL),D2(SDA) (SCL),(SDA)
IRTemp D3, D4, D5 Data,Clock,Acquire

About

ESP8266 IRC Client with BME280, PCF8591, IR Temp Sensors that respond to triggers from IRC channels


Languages

Language:C++ 100.0%