Hello all.
I’d like to share with you a little software project that I made on top of BigClown, which I named home_center. Within my own education (I work as a Java backedn developper) I decided to create a simple web application in Scala and react.js. And because I like BigClown I decided to join those two things :-).
Basically the home_center reads mqtt messages on one side and presents them to the user on the other side. Currently I use H2 sql database for storing the messages. I use this db because it runs in the same JVM as the rest of the program and so it does not require any other dependencies. During the storing of the message I also add a timestamp to it so that I can show the waveform of the measured value. Web interface is used for presenting the data to the user in the form of simple tables a graphs. The user can select between two time granularities of the graphs - hours or minutes.
The project is currently implemented against BridgeModule and I plan to add support for remote modules as well. Besides the BigClown I use the project for my own home-made automation project, flower watering that is based on WeMos. Here I use the web ui not only for presentation, but also for input from the user.
I’d like to add support for the user directly interacting with the BC actuators in the future. I have in my mind controlling outdoor blinds in our house. The next thing I would like to implement is the ability to react to the sensors and sending commands to actuators - when there is dark outside, move the blinds down. And last but not least I plan to add authentication/authorization to the system so that no passerby can overflow my flower nor can put the blinds down.
If you are interested in the project I published the source code (as well as installation procedure) to the GitHub (GitHub - vavravl1/home_center: Scala play UI for BigClown project). You can also find few screenshots of it there.
I will gladly appreciate any feedback.
Vlada