I like to share with you all my project oiyshTerminal.
It’s a solution for not only my need’s Every one who want to have own IoT server on own device now can install all the puzzles with one click.
It’s a solution to get a working instance of grafana, Node-red, mysql,… on android in termux. So after installation you have a full shell an android.
With working apps on ports:
ssh :2222
mosquitto :10883
mysqld :3306 grafana :3000
nodeRed :1880
For now it’s only for android and I think 7 or higher. Termux 118 tested.
There is also at the end debian in chroot directory.
Plan with it is to have a fast way to set all important things in one go.
On cheap cheap accessible every ware device. You can buy/find phone in a locker
Later use important apps for you. Node-red, mysql … add something in C. there is a gcc ready!
Continuing path of thinking…
I make a step back.
Q: What is installing all of that?
A: bash
Q: in bash?
A: $ apk install myDataSourceForMysl
Yes!
I’m experimenting with a idea of making more automation in processes of installing datasources / dashes / … But this is something different?
otdm - oiyshTerminal deb Manager
ok.
deb as a standard is a known thing. If you have simple datasource to do it’s yyy easy to make some script to make some injections to instance of grafana using HTTP API.
But if you need some dependency’s to your dash example python, opencv, not only npm stuff, mysql, influxDB … why not use something tested?
deb is used for years. By adding one word. You will ask to install on system what you need.
dash board with some shell dependencis or just dashboard.
from beginning if you have a system on dpkg (apk is using dpkg) you have a one command:
$ apt install myTurboDashBoardExample
and if you don’t have nodejs it will install it also something in shell if it’s not coming as a prebuild to your distro.
with that in mined
theoretically ba using dpkg you can set this in directory?
I went thru clean deb option. Then with otdm-tools as a set of bash helpers. Now I’m on a 0.14 version. It’s in python now.
I know it’s not so in the forum subject. It’s python and in update
What a odd place to think about solutions for grafana in apt
repository. But look…
Continuation of previews post there is some progress DONE.
In this update you can:
building otdmMake.sh [project]
it’s getting predefined information from designing grafana instance
updating data in project directory
executing otdm tasker
executing dpkg building sequence.
putting ready .deb file to repository directory
updates directory of repository for apt
then you can see a installation process
$ apt install otdm-grafana-ds-mysql
All mechanisms in this task are starting. dpkg in checking dependencies and solving them. pre post install do the magic.
And it’s… in grafana
$ apt remove otdm-grafana-ds-mysql
removes all it needs. Datasource is not there.
TBC…
let me know what you think
Movie showing the process: this is on youtube → [ ybOzuR1S5To ] [ otdm-tools ver: 0.20.5 installing otdm-grafana-ds-mysql .deb ])
And If I’m not welcomed tell me.
Please take down youtube host restriction for me. I want to share something with you all. I don’t sell any thing. WTF?