JakeMakes

Git Good @ Tech

Category: Internet Of Things

Programming / Flashing Sonoff TH16 Wifi Smart switch.

Sonoff is cool little smart switch for not only home automation but for makers and hackers also, why? It’s based on ESP8266 plus it has tx/rx pins accessible and the hardware is well documented (schematics at the end of the post).

Now concerning the Sonoff original software I got it working after around 15 minutes of messing around. For some reason the app also needed my location information, sound recording,  access to SD card and so on ….. so yeah not fishy at all. After successful pairing of the switch with app everything worked fine (around 5 minutes) until the app recommended the firmware update….. aaaand its broken. After the update the device was basically just push switch. After the update no matter what I did I could not reconnect the switch to the app.

Luckily I bought it to hack it. So here we go ….

Continue reading

Sending email with arduino and php.

Most of the currently available solutions for sending a simple email with arduino are bit complicated for my taste. Like knowing your SMTP server ip and the converting your password and username to bas64 like whaaat no way, ain’t nobody got time for that.

So here is a solution, BUT there are couple of small BUT-s you have to have access to some kind of web hosting solution. (There are plenty of free hosting solutions out there, like googling + registration = 3 min. I tested 😉 ). And the hosting solution has to have smtp enabled on php or supported (I didn’t find any that didn’t work). And I will show you how to check that.
We will use: Arduino Uno and WizNet W5100 ethernet shield.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 3 (Node Red and dashboard)

In previous two tutorials we learned how to set up ESP8266 with arduino IDE as temperature sensing node. Now we gonna look Node Red side of things and will create dashboard for displaying the data.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 2 (ESP8266 sketch)

In this part of the tutorial we will look closer the esp8266 sketch that will send the temperature info to our server.

 

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 1 (ESP8266 and Arduino IDE)

In this small series I will show you how to use Arduino IDE with ESP8266 and log your temperature data to the MySql server trough Node Red. And for data transmission we will use MQTT.

Continue reading

Installing MQTT Broker(Mosquitto) on Raspberry Pi

Eclipse Mosquitto™ is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for “Internet of Things” messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino. And I will show you how to install Mosquitto to RaspberryPi

Continue reading

© 2017 JakeMakes