I manage an automation device (google it: semaphore tbox lite) and I want to collect datas and present them into a website.
This unit can display values (temperatures, pressures, amps, etc) but can also be controlled in real time to update parameters (motor on/off, thermostat, etc). This unit is linked to modbus devices and sensors
the device has some built-in server, but presently the server is reachable through activeX and some html. So, I'm unable to interact with the machine with other browsers like firefox (and android tablets and phones, see below).
The project :
I need to obtain a sample page, posted on my website (linux, mysql, php, etc available - common features). The sample page will be the beginning for a bigger project.
This webpage will timely poll the telemetry device to obtain different datas : temperatures, state of motors, pressures, etc.
Alternative : the telemetry server can FTP all datas, so the page could read the file and extract all the needed datas. But for dataflow, I think (think!) that polling the data when needed will consume less bandwidth. Because when nobody needs to view the datas, there is no need to collect them in real time, except the timely manner (for logs). Your opinion is welcome.
This webpage will display in real time (depending of the poll rate) the values of each sensor (cron ?)
This webpage will organize the polled datas into a database(S) for future requests (summary, logs, averages, etc)
This webpage will allow some users (aka login/password) to change some parameters : by example, the increase of a temperature (aka remote thermostat), the state of a motor. Related to this, the webpage will manage the sending of the datas to the telemetry device for immediate update.
This webpage will display the log of 1 sensor, extracted from the database and display it graphically.
the telemetry device, the tbox, has a lot of features and can send e-mails (depending of circumstances, parameters and so), FTP datas, etc.
And of course, the datas are reachable by direct poll. See provided doc for more explanations.
Future of the project :
If the choosen worker can show me what I need, I'll need a more complex website with more (sub)pages, and a lot of datas to collect. But the principle is still the same : collect, archive, display, update
Additionally, an android app will be created, depending of the price.
you'll find in the provided zip some picture of what I expect into the pages (logs and realtime parameters), but also doc of the tbox itself (for technical refs).
Feel free to ask more specific questions.