Kotlin Design Patterns & Processing IoT sensor data with InfluxDB
* 18:15 Door opens
* 18:30 Food arrives 🍕🍻 (Sponsored by Lunatech)
* 19:00 Talk starts
* Kotlin Design Patterns by Alexey Soshin
* 19:45 short break
* 20:00 Processing IoT sensor data with InfluxDB by Johan Janssen
Info about Talks
“Kotlin Design Patterns” by Alexy Soshin
Design patterns are just missing language features? In this talk we’ll cover how different design patterns from “Gang of Four” are applied in Kotlin. Which are built in, which are easy to implement, and also some that are not necessary now.
About Alexey Soshin:
My name is Alexey Soshin, and I’m a software architect of a ride-hailing app. I’m also author of “Hands-on Design Patterns with Kotlin”.
“Processing IoT sensor data with InfluxDB” by Johan Janssen
Sensors give us a wealth of information. But how do we store the information and how do we make it available in a readable way? This talk also shows how the same principles apply to other time based measurements such as method duration.
In this session, I will show you how you can send sensor data to InfluxDB. The example is based upon Spring Boot. InfluxDB is a time series database which is a perfect fit to store sensor data.
It’s possible to send the data by making a REST call to InfluxDB, by using the Java InfluxDB client or with Spring Data InfluxDB.
The example (including a live demo) is based on a Raspberry Pi with the following sensors:
· BME280 connected to the GPIO ports of a Raspberry Pi
· Raspberry Pi sensor
· Xiaomi Mijia and Xiaomi Flora connected via Bluetooth to the Raspberry Pi
The sensors return a wealth of information such as the temperature and humidity.
After the sensor data is stored we make it available in a nice graphical way. Therefore we use the Chronograf dashboard. InfluxDB and Chronograf run in Docker containers on the Raspberry Pi.
About Johan Janssen
Johan is working as a Java architect and trainer at Info Support. He has been working for various demanding companies where rapidly delivering quality software was very important. Johan regularly writes articles and presents about various subjects at conferences like JavaOne, GOTO Amsterdam/Berlin, Devoxx BE/UK/PL, JavaZone, J-Fall, Jfokus, JavaLand, Scala Days Berlin/New York and many others. Johan received the JavaOne Rock Star and Oracle Code One Star awards.