Giter VIP home page Giter VIP logo

Comments (4)

alanmitchell avatar alanmitchell commented on August 20, 2024

Alan Budget

Task Days Expenses
Boiler Alarm Code Formatting 4.0

from bmon.

alanmitchell avatar alanmitchell commented on August 20, 2024

To run a particular function of a module that is identified in a string

import formatters     # the module that has all the formatting functions

the_func = "test_formatter"       # the name of the function you want to call

getattr(formatters, the_func)()   # calls the function

from bmon.

alanmitchell avatar alanmitchell commented on August 20, 2024

Here is the code that shows what MODBUS addresses are queried and posted from the Burnham boilers. The reading values are of the base_reader.STATE type will require formatting functions. The buildings that have readings from this type of boiler are 511 Oklahoma St, 158 Burton St, and 4319 Reka Drive.

Also need to create formatting functions for the AERCO boiler readings. The reader code for the AERCO boiler is here. The manuals that explain the values are in the docs/manuals directory of the project. The building that has readings from this type of boiler is Chugach View.

from bmon.

alaskamapscience avatar alaskamapscience commented on August 20, 2024

After looking at the sage registers, we decided that we need to add a new sensor output to the mini-monitor that will show the alert_code. This value will be default to zero, but if the alarm_reason register shows that there is an alert, it will look at the current alert log record to get the alert code.

from bmon.

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.