-->
Page 1 of 2

#esp8266 bot

PostPosted: Tue Oct 07, 2014 2:49 am
by Sprite_tm
Hi all,

For those of you who are active in the IRC channel #esp8266 (on Freenode), since yesterday we have a bot. It's not that useful yet, the most interesting thing it can do is tell you how long it's been since some user is active (esp8266bot: seen Sprite_tm).

Anyway, that's still pretty good if you consider that the bot is completely in the style of the channel:
Image

That's a 5V USB power plug which feeds into a LM1117-3.3 which powers the ESP8266. The only extra component is an 100uF cap to suppress transient spikes.

I'll publish sources as soon as I cleaned them up a bit.

Re: #esp8266 bot

PostPosted: Tue Oct 07, 2014 2:58 am
by tinhead
ohh this is great, an irc bot on esp8266. Did you implemented botnet or is it "simple" single bot with used db only?

Re: #esp8266 bot

PostPosted: Tue Oct 07, 2014 3:29 am
by Sprite_tm
tinhead wrote:ohh this is great, an irc bot on esp8266. Did you implemented botnet or is it "simple" single bot with used db only?


Database? I think you overestimate what I can do in an idle evening :P The code is built from scratch and the implementation is as simple as you'd expect: eg for the seen functionality I just have an array in RAM with the 32 people who last talked and the time since they did.

Re: #esp8266 bot

PostPosted: Tue Oct 07, 2014 3:45 am
by tinhead
oh well, i was only curious what inside the code :idea: