Skip to content

Commit

Permalink
add Sensor100
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmichel-nwsb committed Jan 2, 2024
1 parent 4ff2596 commit 65646e8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ GPIOs<a class="cmnd" id="gpios"></a>|Show list of available [components](Compone
GPIO<a class="cmnd" id="gpio"></a>|Show current [component](Components#gpio-conversion) assignments of the Module's configurable GPIO<BR>`255` / `All` Show [component](Components#gpio-conversion) assignments for all the devices available GPIO<BR>
GPIO<x\><a class="cmnd" id="gpiox"></a>|`<component>` = assign a [component](Components) to `Gpio<x>`
GPIORead<x\><a class="cmnd" id="gpioread"></a>|Perform a digitalRead on each configured GPIO to show input state
I2CScan0<a class="cmnd" id="i2cscan0"></a>|*ESP32 only* Scan both I<sup>2</sup>C busses and show addresses for found devices
I2CScan0<a class="cmnd" id="i2cscan0"></a>|*ESP32 only* Scan both I<sup>2</sup>C busses and show addresses for found devices
I2CScan<a class="cmnd" id="i2cscan"></a>|Scan I<sup>2</sup>C bus and show addresses for found devices
I2CDriver<a class="cmnd" id="i2cdriver"></a>|Enable / Disable I<sup>2</sup>C sensor drivers. [Read more...](I2CDEVICES)<BR>
LogHost<a class="cmnd" id="loghost"></a>|`1` = reset [syslog](https://www.sigmdel.ca/michel/ha/rpi/syslog_en.html) host to firmware default (`SYS_LOG_HOST`)<BR>`<value>` = set syslog host
Expand Down Expand Up @@ -366,6 +366,7 @@ Sensor80<a class="cmnd" id="sensor80"></a>|Set antenna gain for MFRC522 RFID Rea
Sensor90<a class="cmnd" id="sensor90"></a>|Send [commands](https://rainsensors.com/wp-content/uploads/sites/3/2020/07/rg-15_instructions_sw_1.000.pdf) to Hydreon RG-15 Rain Sensor<BR>`A` Reads accumulation data<BR>`R` Read all available data<BR>`K` Restart the rain sensor<BR>`P` Set to polling only mode (not supported)<BR>`C` Set to continuous mode, where data is sent when accumulation changes (default)<BR>`H` Force high resolution<BR>`L` Force low resolution<BR>`I` Force imperial (not supported)<BR>`M` Force metric (default)<BR>`S` Revert to jumper configured values<BR>`O` Reset the accumulation counter
Sensor95<a class="cmnd" id="Sensor95"></a>|CM110x automatic baseline correction, 1=enable (default), 0=disable
Sensor96<a class="cmnd" id="Sensor96"></a>|USE_FLOWRATEMETER settings
Sensor100<a class="cmnd" id="sensor100"></a>|INA3221 3-channel Voltage and Current Sensor<BR>`<deviceId>`: with `<deviceId>`=1..4 : display current shunt resistor values in ohm for the given device index (up to 4x INA3221 devices)<BR>`<device>, <shuntChan1>, <shuntChan2>, <shuntChan3>`: set the shunt resistor values in ohm for the 3 channels of the given device index. <BR>A value of 0 means the channel is disabled and won't be displayed in the UI. A disabled channel is reported with value`null` in the SENSOR JSON<BR>Exemple:<BR>`Sensor100 1, 0.1, 0.1, 0.1` set all 3 shunts to the value 0.1 ohms and enable all 3 channels on the 1st INA3221 device.<BR>WARNING: Shunt values are NOT saved in flash settings. They must be re-configured at boot using `autoexec.bat` (if there is a filesystem) or a boot rule such as:<BR>`Rule1 on system#boot do Sensor100 1, 0.1, 0.1, 0.1 endon`
SpeedUnit<a class="cmnd" id="SpeedUnit"></a>|[TX20/TX23](TX2x) and WindMeter anemometer speed unit<BR>`1` = m/s<BR>`2`= km/h<BR>`3` = kn<br>`4` = mph<BR>`5` = ft/s<BR>`6` = yd/s
TempRes<a class="cmnd" id="tempres"></a>|Temperature sensor resolution<BR>`0..3` = maximum number of decimal places
TempOffset<a class="cmnd" id="tempoffset"></a>|`-12.6..12.6` = Set calibration offset value for reported temperature telemetry<BR>This setting affects **all** temperature sensors on the device.
Expand Down Expand Up @@ -697,7 +698,7 @@ DisplayAddress<a class="cmnd" id="displayaddress"></a>|`0..255` Set display modu
DisplayDimmer<a class="cmnd" id="displaydimmer"></a>|`0` = Turn the display off<BR>`1..100` = Set display luminosity *(only on 8x8 Dot-Matrix displays)*<br>`13..100` maps to `1..7` levels of brightness for [TM1637, TM1638 and MAX7219](TM163x#displaydimmer) or [TM1650](TM1650#commands-and-usage) seven-segment display modules
DisplayInvert<a class="cmnd" id="displayinvert"></a>|`1` - Invert display where implemented. [More info...](Displays.md)
DisplayMode<a class="cmnd" id="displaymode"></a>|`0..5` Set to display [predefined content](Displays#displaymode-parameters) according to display type<br>`0..3` for [TM1637, TM1638 and MAX7219](TM163x#displaymodes) or [TM1650](TM1650#commands-and-usage) seven-segment display modules
DisplayModel<a class="cmnd" id="displaymodel"></a>|Set display model:<BR>`1` = [I<sup>2</sup>C LCD Display](https://learn.adafruit.com/i2c-spi-lcd-backpack) (default addresses `0x27`, `0x3F`)<BR>`2` = [SSD1306](https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples) OLED 128x32/128x64/68x48 (default I<sup>2</sup>C addresses `0x3C`, `0x3D`)<BR>`3` = [HT16K33](https://www.adafruit.com/product/1427) 8x8 Dot-Matrix<BR>`4` = [ILI9341](https://www.adafruit.com/product/1770) TFT LCD<BR>`5` = [2.9 inch E-Paper Display](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module) 296x128 (software 3-wire SPI)<BR>`6` = [4.2 inch E-Paper Display](https://www.waveshare.com/wiki/4.2inch_e-Paper_Module) 400x300 (software 3-wire SPI)<BR>`7` = [SH1106](https://www.ebay.com/itm/1-3-SH1106-I2C-IIC-128X64-OLED-LCD-LED-Display-Module-Board-For-Arduino-BLUE/391701761596) OLED 128x64 (default I<sup>2</sup>C address `0x3c`)<BR>`8` = [ILI9488](https://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board) TFT 480x320 (capacitive touch, hardware 3-wire SPI)<BR>`9` = [SSD1351](https://www.ebay.com/itm/3-3V-5V-General-1-5inch-RGB-OLED-Display-Module-128x128-SSD1351-SPI-Interface/253655550921) color OLED 128x128 (hardware 3-wire SPI)<BR>`10` = [RA8867](https://www.buydisplay.com/default/spi-7-inch-tft-lcd-dislay-module-1024x600-ra8876-optl-touch-screen-panel) TFT LCD 1024x600 (capacitive touch, hardware 4-wire SPI)<BR>`15` = [TM1637](https://wiki.seeedstudio.com/Grove-4-Digit_Display/) 7-segment, 4-,6- and 8-digit displays (TM1637, TM1638 and MAX7219 or TM1650), hardware 2- and 3-wire I2C-like interface<BR>`16` = [LilyGO T5-4.7](http://www.lilygo.cn/prod_view.aspx?TypeId=50061&Id=1384&FId=t3:50061:3) E-Paper display board<BR>`17` = [Universal Display Driver](https://tasmota.github.io/docs/Displays/#universal-display-driver) powered displays <BR>`18` = Interface to virtual display driver with [Berry](Berry)<BR>`19` = [MAX7219 Dot Matrix](MAX7219.md)<BR>`20` = [TM1650](TM1650) 7-segment 4-digit displays, I^2^C
DisplayModel<a class="cmnd" id="displaymodel"></a>|Set display model:<BR>`1` = [I<sup>2</sup>C LCD Display](https://learn.adafruit.com/i2c-spi-lcd-backpack) (default addresses `0x27`, `0x3F`)<BR>`2` = [SSD1306](https://learn.adafruit.com/monochrome-oled-breakouts/arduino-library-and-examples) OLED 128x32/128x64/68x48 (default I<sup>2</sup>C addresses `0x3C`, `0x3D`)<BR>`3` = [HT16K33](https://www.adafruit.com/product/1427) 8x8 Dot-Matrix<BR>`4` = [ILI9341](https://www.adafruit.com/product/1770) TFT LCD<BR>`5` = [2.9 inch E-Paper Display](https://www.waveshare.com/wiki/2.9inch_e-Paper_Module) 296x128 (software 3-wire SPI)<BR>`6` = [4.2 inch E-Paper Display](https://www.waveshare.com/wiki/4.2inch_e-Paper_Module) 400x300 (software 3-wire SPI)<BR>`7` = [SH1106](https://www.ebay.com/itm/1-3-SH1106-I2C-IIC-128X64-OLED-LCD-LED-Display-Module-Board-For-Arduino-BLUE/391701761596) OLED 128x64 (default I<sup>2</sup>C address `0x3c`)<BR>`8` = [ILI9488](https://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board) TFT 480x320 (capacitive touch, hardware 3-wire SPI)<BR>`9` = [SSD1351](https://www.ebay.com/itm/3-3V-5V-General-1-5inch-RGB-OLED-Display-Module-128x128-SSD1351-SPI-Interface/253655550921) color OLED 128x128 (hardware 3-wire SPI)<BR>`10` = [RA8867](https://www.buydisplay.com/default/spi-7-inch-tft-lcd-dislay-module-1024x600-ra8876-optl-touch-screen-panel) TFT LCD 1024x600 (capacitive touch, hardware 4-wire SPI)<BR>`15` = [TM1637](https://wiki.seeedstudio.com/Grove-4-Digit_Display/) 7-segment, 4-,6- and 8-digit displays (TM1637, TM1638 and MAX7219 or TM1650), hardware 2- and 3-wire I2C-like interface<BR>`16` = [LilyGO T5-4.7](http://www.lilygo.cn/prod_view.aspx?TypeId=50061&Id=1384&FId=t3:50061:3) E-Paper display board<BR>`17` = [Universal Display Driver](https://tasmota.github.io/docs/Displays/#universal-display-driver) powered displays <BR>`18` = Interface to virtual display driver with [Berry](Berry)<BR>`19` = [MAX7219 Dot Matrix](MAX7219.md)<BR>`20` = [TM1650](TM1650) 7-segment 4-digit displays, I^2^C
DisplayRefresh<a class="cmnd" id="displayrefresh"></a>|`1..7` Set time in seconds to update predefined content when using `DisplayMode` &ne; `0`
DisplaySize<a class="cmnd" id="displaysize"></a>|`1..4` Set display scale-up size *(SSD1306 and ILI9341 only)*
DisplayRotate<a class="cmnd" id="displayrotate"></a>|Set rotation angle<BR> `0` = 0°<BR> `1` = 90°<BR> `2` = 180°<BR> `3` = 270°
Expand Down Expand Up @@ -1059,7 +1060,7 @@ WcAECDSP<a class="cmnd" id="wcaecdsp"></a>|`1` = enable auto exposure control (D
WcAECValue<a class="cmnd" id="wcaecvalue"></a>|`0..1024` = setauto exposure control value
WcAELevel<a class="cmnd" id="wcaelevel"></a>|`-2..+2` = set auto exposure control level
WcAGC<a class="cmnd" id="wcagc"></a>|`1` = enable auto gain control, `0` = disable *(default)*
WcAGCGain<a class="cmnd" id="wcagcgain"></a>|`0..30` = set auto gain control gain value
WcAGCGain<a class="cmnd" id="wcagcgain"></a>|`0..30` = set auto gain control gain value
WcAWB<a class="cmnd" id="wcawb"></a>|`1` = enable Auto White Balance, `0` = disable *(default)*
WcAWBGain<a class="cmnd" id="wcawbgain"></a>|`1` = enable Auto White Balance Gain, `0` = disable *(default)*
WcBPC<a class="cmnd" id="wcbpc"></a>|`1` = enable Black Pixel Correct, `0` = disable *(default)*
Expand All @@ -1076,7 +1077,7 @@ WcInit<a class="cmnd" id="wcinit"></a>|Initialize camera
WcLensCorrect<a class="cmnd" id="wclenscorrect"></a>`1` = enable auto lens correct, `0` = disable *(default)*
WcMirror<a class="cmnd" id="wcmirror"></a>|`1` = enable mirror camera image, `0` = disable *(default)*
WcResolution<a class="cmnd" id="wcresolution"></a>|Set camera resolution.<BR>`0` = 96x96 (96x96)<BR>`1` = QQVGA2 (128x160)<BR>`2` = QCIF (176x144)<BR>`3` = HQVGA (240x176)<BR>`4` = QVGA (320x240)<BR>`5` = CIF (400x296)<BR>`6` = VGA (640x480)<BR>`7` = SVGA (800x600)<BR>`8` = XGA (1024x768)<BR>`9` = SXGA (1280x1024)<BR>`10` = UXGA (1600x1200)
WcRtsp<a class="cmnd" id="wcrtsp"></a>|(Requires defined `ENABLE_RTSPSERVER`)<BR>`1` = start RTSP server (forces restart) , `0` = stop server
WcRtsp<a class="cmnd" id="wcrtsp"></a>|(Requires defined `ENABLE_RTSPSERVER`)<BR>`1` = start RTSP server (forces restart) , `0` = stop server
WcSaturation<a class="cmnd" id="wcsaturation"></a>|`-2..+2` = set picture saturation
WcSpecialEffect<a class="cmnd" id="wcspecialeffect"></a>|Set picture effect: `0` = off, `1` = Negative, `2` = Grayscale, `3` = Red Tint, `4` = Green Tint, `5` = Blue Tint, `6` = Sepia
WcStats<a class="cmnd" id="wcspecialeffect"></a>|show statistics
Expand All @@ -1085,7 +1086,7 @@ WcWBMode<a class="cmnd" id="wcwbmode"></a>|White Balance Mode<BR>`0` = auto, `1`
WcWPC<a class="cmnd" id="wcwpc"></a>|`1` = enable White Pixel Correct, `0` = disable *(default)*



### Ethernet

Command|Parameters
Expand Down

0 comments on commit 65646e8

Please sign in to comment.