Arduino Intrusion Detection / Honeypot I decided to make a small intrusion detection system for my network. It works like this: When powered up it displays it’s address (can be obtained via DHCP or set statically in the code) After 20 seconds it blanks the display and listens for incomming traffic to the device. If […]
Month: September 2017
Home Environment – Part 4
Server side Here I will try to roughtly explain the server side of the story. This is not a complete guide in setting up Home Assistant, Mosquitto and Grafana. That is way to extensive to cover here. But there is a lot of good guides out there. Homie The first time you start up […]
Home Environment – Part 3
ESP8266 master All communication via MQTT is handled by the brilliant library/framework called Homie. I am using version 2 which is extremely well documented. I let the ESP wake up, take it’s readings and then go to sleep for 2 minutes before the next reading. I have simplified the main sketch by making a generic […]
Home Environment – Part 2
Components used Most of my components were found cheap on AliExpress or on Ebay. It’s amazing what you can get for a few dollars, if you are ready to wait for 1-2 month for delivery 🙂 ESP8266 12E Module: Find at AliExpress Arduino pro mini: Find at AliExpress PPD42 Dust sensor: Find at AliExpress CCS811 […]
Home Environment – Part 1
The project For some time I have been working on gathering information about the indoor climate in our appartment. The project is nearly finished and it seems like a stable platform. Here is an example of the end result of all the data collection: If you want to get a feeling of what you […]
Arduino Smart Logging
The problem Often when programming in Arduino you need some logging to the serial port. Most often this is done with a lot of “Serial.println” statements. To make some nice output the logging code easily becomes quite big. Here is an example that illustrates the problem: #define NUMBER_OF_APPLES 100 uint8_t applesPerPerson = findApplesPerPerson( peopleAmount ); […]