SMIB: Difference between revisions

From SoMakeIt
Jump to navigation Jump to search
(Update smibhid features, notably the howfresh slack command.)
m (Typos)
 
Line 36: Line 36:


==== API and web interface ====
==== API and web interface ====
SMINHIB no features a web interface and API for more in depth information and control. See the [https://github.com/somakeit/smibhid SMIBHID repository] for more information.
SMIBHIB now features a web interface and API for more in depth information and control. See the [https://github.com/somakeit/smibhid SMIBHID repository] for more information.


==== Clean room air filter ====
==== Clean room air filter ====

Latest revision as of 16:43, 4 April 2025

Overview

SMIB is the So Make It Bot.

The github repo has further technical information and an issue tracker for bugs and ideas: https://github.com/somakeit/smib

SMIB is a slack bot on the So Make It slack instance which will allow users to interact with SMIB through slack channels and commands.

At present SMIB manages space state updates and reporting and the current space state can be seen by opening the SMIB bot page on slack.

SMIB also posts open or closed messages in the space-open-announce channel.

SMIBHID

SMIBHID is the So Make It Bot Human Interface Device, it's buttons by the doors for simply reporting the space open/closed state with the push of a button.

Front door SMIBHID
Corridor door SMIBHID.

Usage

Open Close

Whenever you open the space and will be around for long enough to other non-keyholder members to come down and also use the space, press the space open button to let them know.

If you are locking the space up as the last member out the door, press the space closed button to let other members know that they will not be able to access the space without a key.

Pressing the space closed button when the space is already closed will do nothing. If you press the space open button while the space is already open it will allow you to add a new message for open for X hours as below.

Open for X hours

If you know you will be around for an approximate number of hours, when opening the space, repeatedly press the space open button to cycle through from 0-9 hours to announce the space open for.

If you just press once it will show 0 hours, equally if you increment from 9 hours you will return to 0 hours. 0 hours will simply state space open with no specific hours in the slack channel.

Reset button

Each SMIBHID has a reset button you can press to reset the device ad hopefully brig it back to life if it is not correctly showing space state or responding to input.

Connection error

If the green and red lights are both flashing and/or the display shows connectivity or space state update errors, then there is likely an issue with the SMIB server hosted on smib-pi in the vending machine. These issues should be raised with the Code or IT teams in slack.

API and web interface

SMIBHIB now features a web interface and API for more in depth information and control. See the SMIBHID repository for more information.

Clean room air filter

The air filter in the clean room is powered by a SMIBHID taking space state from SMIB and switching the fans on when the space is open when switched to auto mode.

It also contains a number of sensors for monitoring the air quality in the space which are accessible in slack using the /howfresh slash command, details below.

How fresh?

SMIBHID-Fan has BME280 and SCD30 sensor modules connected, which provide the following data:

  • BME280
    • Temperature
    • Humidity
    • Air pressure
  • SCD30
    • Temperature
    • Humidity
    • CO2

It is possible to query the current values from these sensors in slack by issuing the /howfresh slack command, which will shortly return the live values in the channel you issue the command from.

If you want to make a query that is shown publicly, issue the command in a channel such as general.

If you want to query the data without posting this to a public channel, you can ask the SMIB bot directly, by typing /howfresh in the chat tab of the SMIB bot by opening the bot from the left hand slack menu and opening the messages tab on the SMIB bot page.