You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configuration from the config file gets saved to device
Additional information
configuration is saved correctly using Windows GUI tool which has its own quirks like no possibility to import from csv or no possibility to select settings.ini file location and one hast to export to csv first which sets location where settings.ini is taken from)
openups tool reports error about not being able to write to config file (not sure why it even attempts to do so). complete output of an unsuccessful write attempt:
Environment: Linux Mint 20, amd64
UPS board: OpenUps2
openups version: 1.0
A. Steps to reproduce:
B. Expected result:
C. Actual result:
$ sudo openups -t openups2 openups version 1.0. Device selected: openups2 Selected device openups2: Open UPS2 interface 0 already claimed by driver "usbhid", attempting to detach it usb_detach_kernel_driver_np returned 0 Product: OPEN-UPS2, Manufacturer: Mini-Box.Com, Firmware Version: LI-ION VIN: 0.000000 VBat: 0.000000 VOut: 0.024000 CCharge: 0.000000 Temp1: 26.000000 Temp2: 26.000000 Temp3: 26.000000 VCell1: 0.000000 VCell2: 0.000000 VCell3: 0.000000 CDischarge: 0.000000 VDuty: 0.000000 VerMajor: 1 VerMinor: 5 State: 3 StateUPS: 3 stateCHG: 15 stateDBG: 0 Capacity: 50 BatOn 1: 0 BatOn 2: 0 BatOn 3: 0 RTE: 65535 UPSMode: 0 VOutPot: 0 ConfigSwitch: 7 ShutdownType: 0 Read configuration OPENUPSMODE=0 CAPACITY=1500 MOB_ONOFF_TOUT=500 UPS_BUTTON_ON_TOUT=100 UPS_CONFIG=00000101 UPS_CONFIG2=00000001 UPS_VIN_MIN_START=11.000 UPS_VCELL_MIN_START=3.000 UPS_VCELL_MIN_STOP=2.800 UPS_VCELL_MIN_HARD_STOP=2.500 UPS_VBAT_UVP_OFF_TOUT=5 UPS_HARDOFF_TOUT=60 UPS_VBAT_SLEEP_TOUT=Never DCHG_IMAX=10.000 AFE_OLV=00 AFE_OLD=0f AFE_SCC=f0 AFE_SCD=f0 CHG_VCOND=3.000 CHG_TCOND=30 CHG_BULK_STOP_VOLTAGE=3.500 CHG_HYSTERESIS=0.100 CHG_GLOBAL_TOUT=180 CHG_TOPPING_TIMER=18000 CHG_START_VOLTAGE=3.320 CHG_BAT_TYPE=1 CHG_TEMP_COLD=5 CHG_TEMP_COOL=10 CHG_TEMP_WARM=50 CHG_TEMP_HOT=55 BAL_VCELL_MIN=3.320 BAL_VCELL_DIFF_START=0.070 BAL_VCELL_DIFF_STOP=0.030 OUT_VOLTAGE=12.000 OUT_STARTVOLTAGE_OFFSET=17 OUT_MAX_REGULATOR_STEP=255 OCV_SOC0=3.100 OCV_SOC10=3.200 OCV_SOC25=3.250 OCV_SOC50=3.300 OCV_SOC75=3.320 OCV_SOC100=3.350 WRITE COUNT=3
Acceptance criteria
Additional information
$ sudo openups -t openups2 -i /opt/openups/openups_settings.txt openups version 1.0. Device selected: openups2 Selected device openups2: Open UPS2 Product: OPEN-UPS2, Manufacturer: Mini-Box.Com, Firmware Version: LI-ION VIN: 0.000000 VBat: 0.000000 VOut: 0.000000 CCharge: 0.000000 Temp1: 26.000000 Temp2: 26.000000 Temp3: 27.000000 VCell1: 0.000000 VCell2: 0.000000 VCell3: 0.000000 CDischarge: 0.000000 VDuty: 0.000000 VerMajor: 1 VerMinor: 5 State: 3 StateUPS: 3 stateCHG: 15 stateDBG: 0 Capacity: 50 BatOn 1: 0 BatOn 2: 0 BatOn 3: 0 RTE: 65535 UPSMode: 0 VOutPot: 0 ConfigSwitch: 7 ShutdownType: 0 Read configuration OPENUPSMODE=0 CAPACITY=1500 MOB_ONOFF_TOUT=500 UPS_BUTTON_ON_TOUT=100 UPS_CONFIG=00000101 UPS_CONFIG2=00000001 UPS_VIN_MIN_START=11.000 UPS_VCELL_MIN_START=3.000 UPS_VCELL_MIN_STOP=2.800 UPS_VCELL_MIN_HARD_STOP=2.500 UPS_VBAT_UVP_OFF_TOUT=5 UPS_HARDOFF_TOUT=60 UPS_VBAT_SLEEP_TOUT=Never DCHG_IMAX=10.000 AFE_OLV=00 AFE_OLD=0f AFE_SCC=f0 AFE_SCD=f0 CHG_VCOND=3.000 CHG_TCOND=30 CHG_BULK_STOP_VOLTAGE=3.500 CHG_HYSTERESIS=0.100 CHG_GLOBAL_TOUT=180 CHG_TOPPING_TIMER=18000 CHG_START_VOLTAGE=3.320 CHG_BAT_TYPE=1 CHG_TEMP_COLD=5 CHG_TEMP_COOL=10 CHG_TEMP_WARM=50 CHG_TEMP_HOT=55 BAL_VCELL_MIN=3.320 BAL_VCELL_DIFF_START=0.070 BAL_VCELL_DIFF_STOP=0.030 OUT_VOLTAGE=12.000 OUT_STARTVOLTAGE_OFFSET=17 OUT_MAX_REGULATOR_STEP=255 OCV_SOC0=3.100 OCV_SOC10=3.200 OCV_SOC25=3.250 OCV_SOC50=3.300 OCV_SOC75=3.320 OCV_SOC100=3.350 WRITE COUNT=3 Successfully erased (0xa2) configuration memory Erased configuration Failed to open /opt/openups/openups_settings.txt for writting Loaded configuration file: /opt/openups/openups_settings.txt Wrote configuration Restarted UPS
conf style:
csv
ini
The text was updated successfully, but these errors were encountered: