diff --git a/docs/Commands.md b/docs/Commands.md index 8dcadf7ff8..ebfe9f5962 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -384,7 +384,8 @@ Sensor80|Set antenna gain for MFRC522 RFID Rea Sensor90|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
`A` Reads accumulation data
`R` Read all available data
`K` Restart the rain sensor
`P` Set to polling only mode (not supported)
`C` Set to continuous mode, where data is sent when accumulation changes (default)
`H` Force high resolution
`L` Force low resolution
`I` Force imperial (not supported)
`M` Force metric (default)
`S` Revert to jumper configured values
`O` Reset the accumulation counter Sensor95|CM110x automatic baseline correction, 1=enable (default), 0=disable Sensor96|USE_FLOWRATEMETER settings -Sensor100|INA3221 3-channel Voltage and Current Sensor
``: with ``=1..4 : display current shunt resistor values in ohm for the given device index (up to 4x INA3221 devices)
`, , , `: set the shunt resistor values in ohm for the 3 channels of the given device index.
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
Exemple:
`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.
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:
`Rule1 on system#init do Sensor100 1, 0.1, 0.1, 0.1 endon` +Sensor100|INA3221 3-channel Voltage and Current Sensor
``: with ``=1..4 : display current shunt resistor values in ohm for the given device index (up to 4x INA3221 devices)
`, , , `: set the shunt resistor values in ohm for the 3 channels of the given device index.
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
Exemple:
`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.
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:
`Rule1 on system#init do Sensor100 1, 0.1, 0.1, 0.1 endon`
By defining `INA3221_CALC_CHARGE_AH / INA3221_CALC_ENERGY_WH` the driver adds a estimation of charge/energy in Ah and Wh to the output, To reset the energie calculation disable the according INA3221 chanel by setting the shunt to 0.0 and enable it again
For example : `sensor100 1,0,0.1,0.2` (or `sensor100 1,,,`) and `sensor100 1,0.1,0.1,0.2` will reset channel 1 of device 1
By defining `INA3221_SUPPLY_SIDE` the driver adds the measured shunt-voltage to the bus-voltage for the cannel with a negativ shunt-value (shunt <0) thus showing the values of the supply side (IN+) otherwise (shunt >0) the load-side (IN-) is shown.
e.g. `sensor100 1,-0.1,0.1,-0.2` shows the supply-voltage of channel 1 and 3.
additionaly the bits set (bit 0,1,2) enable the scanning of the voltage in the according channel thus you influence the scanning of the INA3221 chip (bus voltage, shunt-voltage or both)
e.g. `INA3221_SUPPLY_SIDE 0x0005` enables voltage-measurment of channel 1 and 3 for the device 1 + SpeedUnit|[TX20/TX23](TX2x) and WindMeter anemometer speed unit
`1` = m/s
`2`= km/h
`3` = kn
`4` = mph
`5` = ft/s
`6` = yd/s TempRes|Temperature sensor resolution
`0..3` = maximum number of decimal places TempOffset|`-12.6..12.6` = Set calibration offset value for reported temperature telemetry
This setting affects **all** temperature sensors on the device.