Code Monkey home page Code Monkey logo

Comments (6)

diederikdehaas avatar diederikdehaas commented on July 29, 2024

service ssh status will return it's status which you can then apply a regex to to get the info you need.

from rpi-monitor.

georg90 avatar georg90 commented on July 29, 2024

I'm aware of ways to get the information, my question was more regarding how to implement the "result" in the rpi monitor application? :)

from rpi-monitor.

XavierBerger avatar XavierBerger commented on July 29, 2024

Hello,
I think thant the feature you miss is the possibility to create a ’label’ with a specific color (background and/orground that will alow you to reflect a status. This idea as been proposed in anpther issue. I do plan to integrate it since the idea is good and I’ve a feedback showing a need.
Until this is released, you can add javascript into the configuration files which will do the job. This is alittle bit tricky but this is the strenght of RPi-Monitor where everything is configurable.

Xavier

(Sent from my tablet.)

from rpi-monitor.

georg90 avatar georg90 commented on July 29, 2024

can you give me a simple example on where to add the code?

cheers!

from rpi-monitor.

XavierBerger avatar XavierBerger commented on July 29, 2024

Hello, the best way to understand how to configure RPi-Monitor is to have a look to the defferent example detailled in my blog. Remember that the definition of web item are in javascript. That could help during customization.

Xavier
Sent from my tablet.

from rpi-monitor.

XavierBerger avatar XavierBerger commented on July 29, 2024

New function added in main branch: Label.
This feature will be part of the next release.

from rpi-monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.