AminetAminet
Search:
83526 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/other/Sensei.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Displays I2C Sensor information on WB
Author:Henryk Richter
Uploader:henryk richter gmx net
Type:driver/other
Version:1.5
Requires:OS 3.0+
Architecture:m68k-amigaos
Date:2021-05-31
Download:http://aminet.net/driver/other/Sensei.lha - View contents
Readme:http://aminet.net/driver/other/Sensei.readme
Downloads:279

 This tool shows hardware and environmental information from sensors
 connected to the I2C (TWI) bus. A number of hardware interfaces for I2C slave
 devices have been available for decades (most notably the ICY Zorro board but
 also a number of bitbang interfaces for Parallel/Serial and Floppy port).
 Sensei shows data that can be gathered through different sensors on the
 Workbench. A list of supported chipsets can be gathered from the current
 state of the i2csensors.library distribution.

 Sensei is a Commodity and can be controlled by the Commodities Exchange
 program.

 Some of the customization options are available by the pull-down menu. There
 are additional options available as tooltypes (colors, bevel box styles,
 text pens).

 Screenshot: http://bax.comlab.uni-rostock.de/dl/Sensei_A3k_v13.jpg

Requirements:

- I2C hardware interface with matching i2c.library and one or more connected
  sensors (see Aminet:docs/hard/icy.lzh, Aminet:docs/hard/i2clib40.lha or
  https://gitlab.com/HenrykRichter/cpldicy for potential options)

- i2csensors.library (V2+) alongside sensor definitions in devs:Sensors
  (included here, Sources/SDK at https://gitlab.com/HenrykRichter/i2csensors)


Installation:

 An installer script is provided that will install both i2csensors.library
 and Sensei. 

 If you like to start Sensei at boot time, just put the program into
 SYS:WBStartup.

 Sensei can be started directly from Workbench or CLI.


Troubleshooting and other tips:

 First, make sure that your I2C interface is working. The i2clib distribution
 contains a CLI tool called I2CScan. Once I2CScan finds the devices connected
 to your I2C bus without complaints, you are probably good to go with basic
 operation.

 Next, verify that i2csensors.library (2.4 as of this writing) is installed
 in LIBS: and sensor definitions matching the connected I2C devices are 
 present in DEVS:Sensors/. The CLI tool "simplesensors" supplied with the 
 library can poll and display data from sensors.

 Sensei will filter out sensors that are defined in the configuration files
 but don't respond. These will be shown by "simplesensors" with a zero
 output.


Known issues:

 The two row display (SHOWTITLE) will work only if the font height is less
 than half of the history box height. For large fonts, please adjust BOXH
 accordingly.


Synopsis:

 The program options are the same for starting from CLI or Workbench.
 In the latter case, the options are stored as Tooltypes within the icon.

 CX_POPUP/K,CX_POPKEY/K,PRIORITY/K/N,QUIET/S,INTERVAL/K/N,WINX/K/N,
 WINY/K/N,WIDTH/K/N,FONTNAME/K,FONTSIZE/K/N,DISABLED/K,STARTDELAY/K/N,
 BACKGROUND/K,SHOWTITLE/K/N

 CX_POPUP=YES or NO (def: YES) - Open Window on Start, if YES

 CX_POPKEY  - Keyboard combination to open main window (def: none)

 PRIORITY   - Priority of commodity (def: 0)

 INTERVAL   - update interval in seconds (def: 20)

 WINX       - window offset from left edge of screen

 WINY       - window offset from top edge of screen

 WIDTH      - width of history graphs (64,96,128,160)

 FONTNAME   - name of font in window (def: use system default)

 FONTSIZE   - height of font in window (def: use system default)

 DISABLED   - IDs of disabled sensors as hex string (def: none)

 STARTDELAY - program start delay in seconds (def: 0)

 BACKGROUND - either COPY  =semi transparent window,
                     NONE  =background color filled window,
                     TRANS =fully transparent window including
                            boxes

 SHOWTITLE  - 1 = show sensor information in two rows, include
                  sensor name in first row (requires
		  BOXH >= 2*FONTSIZE)
              0 = show only values and units in a single row

 TEXTPEN    - foreground color index for text (def: system
              standard)
              
 SHADOWPEN  - shadow color index for text (def: system
              standard for highlights), in TRANS mode only

 RECESSED   - bevel box style
              0 = outward (like buttons)
              1 = recessed
              2 = off

 COLORT     - color specification for the respective measurement
 COLORV       types, given as hexadecimal,
 COLORC       e.g. COLORV=FF00FF will show magenta voltages
 COLORF
 COLORP
 COLORH

 BOXH       - height of boxes (def: 30, min 20, max 100)


History:
 1.5:
  - added support for ScreenNotify.library

 1.4:
  - fixed Background=Trans in config
  - added MISC sensor class

 1.3:
  - added BOXH option (CLI or Tooltype)
  - window no longer moves under the screen title bar 
    when it gets too large

 1.2:
  - found some bugs in Window shutdown when done via Menu
  - fixed Mungwall hit on memory free
  - added PEN and COLOR options, as well as RECESSED option
  - added full transparent mode
  
 1.1:
  - some minor fixes and additional options
  - changed icon to OS35 color icon type
 
 1.0:
  - first release



Contents of driver/other/Sensei.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  472     576  81.9% -lh5- a086 May  3 22:12 Sensei/c/FindExp
[unknown]                 1586    2200  72.1% -lh5- f663 May  4 09:15 Sensei/c/simplesensors
[unknown]                  306     576  53.1% -lh5- b2ac Jun 14  2019 Sensei/devs/Sensors/AM2320.cfg
[unknown]                  272     457  59.5% -lh5- 1b59 Apr 26 21:06 Sensei/devs/Sensors/BME280.cfg
[unknown]                  370     688  53.8% -lh5- dae2 Feb  4  2020 Sensei/devs/Sensors/BME680.cfg
[unknown]                  190     288  66.0% -lh5- 228c Jun 26  2018 Sensei/devs/Sensors/BMP280.cfg
[unknown]                  620    1061  58.4% -lh5- b33c Jun 26  2018 Sensei/devs/Sensors/DS3231.cfg
[unknown]                  257     379  67.8% -lh5- 16bb Apr 24 20:03 Sensei/devs/Sensors/MCP9808.cfg
[unknown]                 2424    6881  35.2% -lh5- d0d1 May 28 08:47 Sensei/Install
[unknown]                 1120    2013  55.6% -lh5- eb21 May  3 19:09 Sensei/Install.info
[unknown]                 1249    1812  68.9% -lh5- d94d May  3 22:19 Sensei/libs/i2c.library
[unknown]                 9030   15108  59.8% -lh5- 5963 May  4 09:15 Sensei/libs/i2csensors.library
[unknown]                 2393    5096  47.0% -lh5- 8a4c May 24 14:00 Sensei/README
[unknown]                  272     514  52.9% -lh5- 84ea May  4 09:13 Sensei/README.info
[unknown]                 8632   14904  57.9% -lh5- e4cc May 27 10:17 Sensei/Sensei
[unknown]                 1724    2292  75.2% -lh5- 0a26 Apr 24 19:06 Sensei/Sensei.info
[unknown]                  256     516  49.6% -lh5- 1c43 May  4 09:29 Sensei.info
[unknown]                  376     968  38.8% -lh5- baba Jun 26  2018 Sensei/devs/Sensors/LTC2990.cfg
[unknown]                  317     784  40.4% -lh5- 7832 Jul 13  2019 Sensei/devs/Sensors/LTC2990_9a_Fanny.cfg
[unknown]                  450    1183  38.0% -lh5- 3e84 Jul 29  2020 Sensei/devs/Sensors/LTC2990_9e_TK060.cfg
[unknown]                  383     921  41.6% -lh5- 86ba Jul 13  2019 Sensei/devs/Sensors/MAX31760_A0_Fanny.cfg
[unknown]                  372     898  41.4% -lh5- 157a Jul 13  2019 Sensei/devs/Sensors/MAX31760_A2_Fanny.cfg
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        22 files   33071   60115  55.0%            Jun  1 05:18

Aminet © 1992-2021 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>