Close

Source code for the KMP app

A project log for UltraTower 2023

Grow vegetables with ultraponics tower

j-gleyzesJ Gleyzes 10/04/2023 at 03:360 Comments

Open source code:

You can find the source code here :

- GitHub link: https://github.com/Gleyco/UltraTower_KMP
- Works with the new ESP32 code: https://github.com/Gleyco/UltraTower/blob/main/UltraTower_V2_auto_freq.in


Technical choice
The app is coded with Kotlin Multiplatform (KMP).  It's a library and set of tools that allow developers to create apps for Android and iOS, all using the same Kotlin code. I'd long wanted to try my hand at creating a cross-platform application using Compose and KMP.

The cross-platform Kotlin app is fully open source and available on GitHub. You can explore the source code, contribute to the project, and even use it as a basis for your own applications.

The application is under development at the moment, and includes disc settings, pH settings and thingspeak settings. Thermometer and EC probe settings are coming.

I wasn't able to test the code on IOS because you need a MAC to do so.

App screenshots:

Link to learn about KMP:

https://github.com/JetBrains/compose-multiplatform-template#readme

Discussions