Today there are lots of fun for DIY electronics enthusiasts: Raspberry Pi, Arduino, ESP8266/ESP32 etc. But to have a pleasure to complete weekend project, you still need to: solder your device, develop firmware for it, using preferred technology stack, create some data acquisition infrastructure, as we know you want to interact with your new hardware from your office too, and develop some frontend to present your new gadget to your friends.
That's why most of your projects are not finished yet. We can share with you our approach, because we are on the same page.
Main building blocks of your next project will be:
- Your code: MCU like ESP32 or computer (arm32v6, arm32v7, arm64v8 or even amd64)
- MQTT Broker
- PWA Frontend application for iOS, Android, Linux, macOS, Windows, ChromeOS
Once you have signed up in https://fora.one you have access to our cloud MQTT server. But we have much more for you if you will follow our recommendations. The easiest way to get started is to create manual application. At this point you can generate dedicated credentials for both Data API (MQTT) and Management API (REST). Using Management API your MCU can declare Device and Datapoints, which you will use later to create widgets for your Fora.One dashboards. You even can automate creation of your widgets by you MCU.
Once you have your first results with MQTT data publishing you will see actual data in devices and datapoints sections of Fora.One, but what about some additional activities for your new gadget? Can it be OTA updated? Yes, you can use power of Fora.One applications for that. Technically speaking, Fora.One application is docker container you can develop, using our recommendation that can be automatically deployed by Fora.One agent to any piece of hardware (arm or amd64) and can perform any needed task. You can see some examples on github. We encourage naming apps as fora-contrib-app prefixed for easy search.