![]() It will implement a WiFi AP such that an operator getting close enough can connect his tablet to it and open the web interface for configuring jobs, watch progress and download job results.This controller may operate by itself out in the wild powered by solar panels and batteries and no Internet connection at all.Design a remote measuring system using a RaspberryPi as controller.I might not have directly mentioned it, but my project is such: What else could one sensibly use in a light-weight application like this? I have earlier tried to install mysql on an RPi but when I tried to also install phpmyadmin in order to be able to navigate the database the whole RPi went unstable and I had to scrap it. This happens unsynchronized to any user interaction via the web. ![]() Through a web interface the user should be able to configure the jobs by creating new job definitions or editing existing definitions.Īnd the job sequencer will check every minute if there is a job to run and then start it using the data in the files or database. The result data from the jobs, typically saved as zip files on the file system, a list of these could be in the database.Several support files used by the jobs, content might be stored in a DB or stay on the file system.One description for each job that the system is set up to do, since there are an unknown number of jobs probably better in a DB.One config for the main application - this will probably stay as a file.OK, so my use case is real simple, it could be implemented using a bunch of text files. One of the first lines in the doc page I linked to states I have found this info: SQLite with Lazarusīut it deals with a GUI program and my program is not, it is a command line program run from cron.Īnd then there is the web interface through PHP7. Probably zero external users most of the time.īut it needs to be possible to interface from FPC and PHP (on webserver) and run on RPi4B with Raspbian Buster. Therefore I planned on using text files (ini format) for handling the user config.īut for other reasons it would be better using a database, and I think that SQLite would be OK because there are not so much data to handle and it is not a massively multiuser thing either. Today I have moved to FPC/Lazarus on RPi4 and Raspbian and I want to use a web interface for user interaction. ![]() I have done a similar system 13-14 years ago on Windows using Delphi7 and ADO connection to a MSSQLServer database.īut that was not interfaced through Apache, I created a dedicated Delphi Windows service program instead. I am building a control system for external equipment using an RPi4 box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |