Battery
Last updated
Was this helpful?
Last updated
Was this helpful?
Battery support list
Installation
Device and command supported
Command List
Please ensure already installed EdgeX SDK first
Decompress the power device service zip file and copy the power device service folder into C:\Advantech\EdgeX\DeviceService\
3. Modify the correct COM Port in \res\application.ini if the battery module is connected via RS232
Please refer to the device service configuration and programming in the previous sections first
Retail Service is an EdgeX device service and gets Peripheral information.
Operating system:
Windows 10 x86/x64
Device Service
IPS420S Serial Port
Port : 49983
NOTE : Edit exist application.ini and modify SerialPort for IPS420S
path : ./IPS420SBattery/res/application.ini
Get the IPS420S Service Version
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/ds_IPS420S-Service-Information/version or http://localhost:49983/api/v1/device/name/ds_IPS420S-Service-Information/version
Get the IPS420S Service WorkingStatus String
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/ds_IPS420S-Service-Information/WorkingStatusText or http://localhost:49983/api/v1/device/name/ds_IPS420S-Service-Information/WorkingStatusText
Get a number of batteries pack for IPS420S.
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/ds_IPS420S-Service-Information/batterypack or http://localhost:49983/api/v1/device/name/ds_IPS420S-Service-Information/batterypack
Description
Get the IPS420S Battery Firmware Version
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_FirmwareVersion or http://localhost:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_FirmwareVersion
Get the IPS420S Battery DCin Status
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_FirmwareVersion or http://localhost:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_FirmwareVersion
Description
Get the IPS420S Battery Alert Status
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_AlertStatus or http://localhost:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_AlertStatus
Get the IPS420S Battery Alert Percentage
Restful API : http://IPS420S-Service-IP:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_AlertPercentage or http://localhost:49983/api/v1/device/name/Battery-IPS420S-MCU/Battery_AlertPercentage
IPS420S-Battery
Get the IPS420S Battery RawData.
Restful API : http://IPS420SService-IP:49983api/v1/device/name/Battery-IPS420S-01/RawData or http://localhost:49983/api/v1/device/name/Battery-IPS420S-01/RawData
JSON Format