Skip to content

thingsSDK/wifigotchi-example

Repository files navigation

An Internet-enabled DIY MMO "Tamagotchi"

This is an example of the Wifigotchi running on the JavaScript runtime Espruino on an ESP8266 based board, the Adafruit Feather HUZZAH.

Bill of Materials

Software

  • Flasher.js (To installer/flash Espruino on your ESP8266 board)
  • Node.js / npm

Wiring

Wifigotchi wiring

Run the Code!

Make sure you've flashed the Espruino runtime using the one-click flasher utility, Flasher.js. You only need to do this once.

Flasher.js 2x speed

Clone or download the project.

$ git clone https://github.com/thingsSDK/wifigotchi-example.git

Install the dependancies.

$ npm install

Modify devices.json with your COM/serial port. Replace COM7 to your port.

Rename credentials.example.json to credentials.json and modify with your wifi connectivity settings.

    {
        "SSID": "PASSWORD",
        "ANOTHER_SSID": "THAT_OTHER_PASSWORD"
    }

For example, if your home wifi network was NETGEAR52 and your password was LetMeIn change the code to this.

    {
        "NETGEAR52": "LetMeIn"
    }

If you wanted your device to connect to your work network WORK aswell, you can add another entry to the credentials.

    {
        "NETGEAR52": "LetMeIn",
        "WORK": "dadada"
    }

When you're done run the push command to deploy it to your device.

$ npm run push

Then visit http://wifigotchi.com and click a face and watch your internet enabled Wifigotchi change it's face!

About

Example ThingsSDK project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published