Skip to content

0.6.2

Compare
Choose a tag to compare
@nmakel nmakel released this 13 Oct 19:05
c298e75
  • warning: renamed various battery registers to conform to inverter and meter naming
    • manufacturer_name becomes c_manufacturer
    • model becomes c_model
    • firmware_version becomes c_version
    • serial_number becomes c_serialnumber
    • device_id becomes c_deviceaddress
    • max_charge_continues_power becomes maximum_charge_continuous_power
    • max_discharge_continues_power becomes maximum_discharge_continuous_power
    • max_charge_peak_power becomes maximum_charge_peak_power
    • max_discharge_peak_power becomes maximum_discharge_peak_power
    • max_temperature becomes maximum_temperature
    • max_energy becomes maximum_energy
    • events_log* becomes event_log*
  • added units to battery registers
  • per-device word order, fixes incorrect inverter energy_total value
  • cleaned up register data types, unimplemented values
  • added c_sunspec_did to battery registers
  • added c_manufacturer to meter and inverter registers
  • added rstrip to string decoding
  • updated sunspec DID maps
  • added batteryStatus enum and BATTERY_STATUS_MAP
  • added connect() and disconnect() functions
  • modified connected() function to return result of is_socket_open(), not connected()