• Have you tried out dark mode?! Scroll to the bottom of any page to find a sun or moon icon to turn dark mode on or off!

diy solar

diy solar

Most reacted posts

  • Post in thread: Setting registers in Epever controller with python

    Thanks to everyone. It all works now. I have no prior experience with modbus.
  • Post in thread: Setting registers in Epever controller with python

    I have a Epever 40 amp charge controller and using python + minimalmodbus to communicate to it on the rs485 bus. I can read all of the over 100 registers OK. I can set the 'battery type' to 'user'. I'm trying a test to set the boost reconnect voltage. This is what I'm doing but, I'm getting an...
  • Post in thread: Setting registers in Epever controller with python

    controller registers: http://www.solar-elektro.cz/data/dokumenty/1733_modbus_protocol.pdf minimalmodbus: https://minimalmodbus.readthedocs.io/en/stable/index.html
  • Post in thread: Setting registers in Epever controller with python

    I tried these. Nothing works so far instrument.write_register(0x9009, .133, 2) # 'Slave reported device failure' exception instrument.write_register(0x9009, 1330, 2) # 'ValueError...' (133,000 is too big?) exception instrument.write_register(0x9009, 1330, 0)...
  • Post in thread: Setting registers in Epever controller with python

    I ended up (for now) setting the battery parameters with the display so I agree that register 0x9009 is writable with the MT50. Can you try it with pymodbus? from pymodbus.client.sync import ModbusSerialClient as ModbusClient client = ModbusClient( method='rtu', port='/dev/ttyUSB0'...
  • Post in thread: Setting registers in Epever controller with python

    I decided to try pymodbus to see if I could get more info. r = client.read_holding_registers(0x9009, 1, unit=1) # https://pymodbus.readthedocs.io/en/latest/source/library/pymodbus.client.html val = r.registers[0] assert r.registers[0] == 1320 This works then I try to change this value: r =...
  • Post in thread: Setting registers in Epever controller with python

    If I try to write 1310 or 1320, I still get exception 4.
  • Post in thread: Epever Tracer 4215BN charge controller status fault bit is on

    I'm logging data from the controller's rs485 interface to see how it works. It seems to be doing the right stuff but there is one thing that doesn't make sense. According to the documentation this is the definition of the status bits: D15-D14: Input volt status. 00 normal, 01 no power...

diy solar

diy solar
Back
Top