|
| 1 | +# DEVICE:URL:REPORT: https://github.com/PiSupply/PiJuice/issues/124#issuecomment-1018603688 |
| 2 | +# DEVICE:URL:VENDOR: https://uk.pi-supply.com/products/pijuice-standard |
| 3 | + |
| 4 | +# DEVICE:COMMENT-BLOCK:UPSCONF: |
| 5 | +# [hat] |
| 6 | +# driver = pijuice |
| 7 | +# port = /dev/i2c-1 |
| 8 | +# desc = "PiJuice HAT" |
| 9 | +# DEVICE:EOC |
| 10 | + |
| 11 | +# DEVICE:COMMENT-BLOCK: DRIVER START LOG |
| 12 | +# 0.000000 [D5] send_to_all: SETINFO driver.parameter.port "/dev/i2c-1" |
| 13 | +# 0.000247 [D1] debug level is '6' |
| 14 | +# 0.001303 [D5] send_to_all: SETINFO device.type "ups" |
| 15 | +# 0.001446 [D3] get_firmware_version |
| 16 | +# 0.002954 Unknown Firmware release: 1.4 |
| 17 | +# 0.003016 [D1] UPS Firmware Version: 1.4 |
| 18 | +# 0.003074 [D5] send_to_all: SETINFO ups.firmware "1.4" |
| 19 | +# 0.003136 [D5] send_to_all: SETINFO driver.version "2.7.4-4385-g2bd17f540" |
| 20 | +# 0.003195 [D5] send_to_all: SETINFO driver.version.internal "0.9" |
| 21 | +# 0.003252 [D5] send_to_all: SETINFO driver.name "pijuice" |
| 22 | +# 0.003309 [D5] send_to_all: SETINFO ups.mfr "PiJuice" |
| 23 | +# 0.003365 [D5] send_to_all: SETINFO ups.type "HAT" |
| 24 | +# 0.003422 [D5] send_to_all: SETINFO device.mfr "PiJuice" |
| 25 | +# 0.003477 [D5] send_to_all: SETINFO device.type "HAT" |
| 26 | +# 0.003533 [D1] Low Battery Threshold: 25% |
| 27 | +# 0.003589 [D5] send_to_all: SETINFO battery.charge.low "25" |
| 28 | +# 0.003642 [D1] Nominal Battery Voltage: 4.180V |
| 29 | +# 0.003697 [D5] send_to_all: SETINFO battery.voltage.nominal "4.180" |
| 30 | +# 0.003747 [D3] get_i2c_address |
| 31 | +# 0.004934 [D1] I2C Address: 0x14 |
| 32 | +# 0.005001 [D1] Found device '0x14' on port '/dev/i2c-1' |
| 33 | +# 0.005049 [D3] get_battery_profile |
| 34 | +# 0.009196 [D1] Battery Capacity: 1.820Ah |
| 35 | +# 0.009271 [D5] send_to_all: SETINFO battery.capacity "1.820" |
| 36 | +# 0.009321 [D3] get_battery_profile_ext |
| 37 | +# 0.014312 [D1] Battery Chemistry: LiPO |
| 38 | +# 0.014389 [D5] send_to_all: SETINFO battery.type "LiPO" |
| 39 | +# 0.014444 [D3] get_status |
| 40 | +# 0.015638 [D1] Battery Status: Normal |
| 41 | +# 0.015703 [D5] send_to_all: SETINFO battery.packs "1" |
| 42 | +# 0.015763 [D5] send_to_all: SETINFO battery.packs.bad "0" |
| 43 | +# 0.015814 [D1] Power Input: Not Present |
| 44 | +# 0.015862 [D1] Power Input 5v: Present |
| 45 | +# 0.015910 [D3] get_charge_level_hi_res |
| 46 | +# 0.017323 [D1] Battery Charge Level: 51.0% |
| 47 | +# 0.017389 [D5] send_to_all: SETINFO battery.charge "51.0" |
| 48 | +# 0.017437 On USB power |
| 49 | +# 0.017548 [D1] On USB power [1:0:0] |
| 50 | +# 0.017599 [D1] Battery Charger Status: resting |
| 51 | +# 0.017653 [D5] send_to_all: SETINFO battery.charger.status "resting" |
| 52 | +# 0.017698 [D3] get_battery_temperature |
| 53 | +# 0.018972 [D1] Battery Temperature: 123°C |
| 54 | +# 0.019030 [D5] send_to_all: SETINFO battery.temperature "123" |
| 55 | +# 0.019074 [D3] get_battery_voltage |
| 56 | +# 0.020351 [D1] Battery Voltage: 3.700V |
| 57 | +# 0.020406 [D5] send_to_all: SETINFO battery.voltage "3.700" |
| 58 | +# 0.020448 [D3] get_battery_current |
| 59 | +# 0.021728 [D1] Battery Current: 0.264A |
| 60 | +# 0.021791 [D5] send_to_all: SETINFO battery.current "0.264" |
| 61 | +# 0.021834 [D3] get_io_voltage |
| 62 | +# 0.023122 [D1] Input Voltage: 4.994V |
| 63 | +# 0.023176 [D5] send_to_all: SETINFO input.voltage "4.994" |
| 64 | +# 0.023219 [D3] get_io_current |
| 65 | +# 0.024520 [D1] Input Current: 0.064A |
| 66 | +# 0.024578 [D5] send_to_all: SETINFO input.current "0.064" |
| 67 | +# 0.024621 [D3] get_time |
| 68 | +# 0.027337 [D1] UPS Time: 21:48:40.41 |
| 69 | +# 0.027400 [D5] send_to_all: SETINFO ups.time "21:48:40.41" |
| 70 | +# 0.027445 [D1] UPS Date: 2022-01-21 |
| 71 | +# 0.027493 [D5] send_to_all: SETINFO ups.date "2022-01-21" |
| 72 | +# 0.027536 [D3] get_power_off |
| 73 | +# 0.028605 [D1] Power Off: DISABLED |
| 74 | +# 0.028660 [D5] send_to_all: SETINFO ups.status "OL" |
| 75 | +# 0.028705 [D5] send_to_all: DATAOK |
| 76 | +# 0.028754 [D5] send_to_all: SETINFO driver.parameter.pollinterval "2" |
| 77 | +# 0.028803 [D5] send_to_all: SETINFO driver.parameter.synchronous "no" |
| 78 | +# 0.028851 [D3] get_status |
| 79 | +# 0.029951 [D1] Battery Status: Normal |
| 80 | +# 0.030010 [D1] Power Input: Not Present |
| 81 | +# 0.030052 [D1] Power Input 5v: Present |
| 82 | +# 0.030092 [D3] get_charge_level_hi_res |
| 83 | +# 0.031379 [D1] Battery Charge Level: 51.0% |
| 84 | +# 0.031431 [D1] On USB power [1:0:0] |
| 85 | +# 0.031472 [D1] Battery Charger Status: resting |
| 86 | +# 0.031516 [D3] get_battery_temperature |
| 87 | +# 0.032790 [D1] Battery Temperature: 251°C |
| 88 | +# 0.032845 [D5] send_to_all: SETINFO battery.temperature "251" |
| 89 | +# 0.032888 [D3] get_battery_voltage |
| 90 | +# 0.034167 [D1] Battery Voltage: 3.828V |
| 91 | +# 0.034228 [D5] send_to_all: SETINFO battery.voltage "3.828" |
| 92 | +# 0.034270 [D3] get_battery_current |
| 93 | +# 0.035546 [D1] Battery Current: 0.264A |
| 94 | +# 0.035596 [D3] get_io_voltage |
| 95 | +# 0.036884 [D1] Input Voltage: 4.991V |
| 96 | +# 0.036937 [D5] send_to_all: SETINFO input.voltage "4.991" |
| 97 | +# 0.036979 [D3] get_io_current |
| 98 | +# 0.038280 [D1] Input Current: 0.064A |
| 99 | +# 0.038387 [D3] get_time |
| 100 | +# 0.041102 [D1] UPS Time: 21:48:40.39 |
| 101 | +# 0.041158 [D5] send_to_all: SETINFO ups.time "21:48:40.39" |
| 102 | +# 0.041202 [D1] UPS Date: 2022-01-21 |
| 103 | +# 0.041247 [D3] get_power_off |
| 104 | +# 0.042321 [D1] Power Off: DISABLED |
| 105 | +# 0.042380 [D3] get_status |
| 106 | +# 0.043475 [D1] Battery Status: Normal |
| 107 | +# 0.043527 [D1] Power Input: Not Present |
| 108 | +# 0.043568 [D1] Power Input 5v: Present |
| 109 | +# 0.043610 [D3] get_charge_level_hi_res |
| 110 | +# 0.044899 [D1] Battery Charge Level: 51.0% |
| 111 | +# 0.044952 [D1] On USB power [1:0:0] |
| 112 | +# 0.044994 [D1] Battery Charger Status: resting |
| 113 | +# 0.045038 [D3] get_battery_temperature |
| 114 | +# 0.046314 [D1] Battery Temperature: 251°C |
| 115 | +# 0.046372 [D3] get_battery_voltage |
| 116 | +# 0.047647 [D1] Battery Voltage: 3.700V |
| 117 | +# 0.047701 [D5] send_to_all: SETINFO battery.voltage "3.700" |
| 118 | +# 0.047743 [D3] get_battery_current |
| 119 | +# 0.049021 [D1] Battery Current: 0.264A |
| 120 | +# 0.049071 [D3] get_io_voltage |
| 121 | +# 0.050360 [D1] Input Voltage: 4.988V |
| 122 | +# 0.050420 [D5] send_to_all: SETINFO input.voltage "4.988" |
| 123 | +# 0.050462 [D3] get_io_current |
| 124 | +# 0.051760 [D1] Input Current: 0.064A |
| 125 | +# 0.051812 [D3] get_time |
| 126 | +# 0.054527 [D1] UPS Time: 21:48:40.38 |
| 127 | +# 0.054588 [D5] send_to_all: SETINFO ups.time "21:48:40.38" |
| 128 | +# 0.054633 [D1] UPS Date: 2022-01-21 |
| 129 | +# 0.054678 [D3] get_power_off |
| 130 | +# 0.055747 [D1] Power Off: DISABLED |
| 131 | +# 0.055797 [D3] Entering dstate_dump |
| 132 | +# DEVICE:EOC |
| 133 | + |
| 134 | +battery.capacity: 1.820 #BAD: Actual battery was 12000 mAh; possibly wrong DIP switch combo was in place to configure the HAT |
| 135 | +battery.charge: 51.0 #BAD: (?) Not 100% but charger is "resting"... |
| 136 | +battery.charge.low: 25 |
| 137 | +battery.charger.status: resting |
| 138 | +battery.current: 0.264 |
| 139 | +battery.packs: 1 |
| 140 | +battery.packs.bad: 0 |
| 141 | +battery.temperature: 251 #BAD: Probably a 10x factor error |
| 142 | +battery.type: LiPO |
| 143 | +battery.voltage: 3.700 |
| 144 | +battery.voltage.nominal: 4.180 |
| 145 | +device.mfr: PiJuice |
| 146 | +device.type: HAT |
| 147 | +driver.name: pijuice |
| 148 | +driver.parameter.pollinterval: 2 |
| 149 | +driver.parameter.port: /dev/i2c-1 |
| 150 | +driver.parameter.synchronous: no |
| 151 | +driver.version: 2.7.4-4385-g2bd17f540 |
| 152 | +driver.version.internal: 0.9 |
| 153 | +input.current: 0.064 |
| 154 | +input.voltage: 4.988 |
| 155 | +ups.date: 2022-01-21 |
| 156 | +ups.firmware: 1.4 |
| 157 | +ups.mfr: PiJuice |
| 158 | +ups.status: OL |
| 159 | +ups.time: 21:48:40.38 |
| 160 | +ups.type: HAT |
0 commit comments