Modbus master to shac communication

Discussion in 'C-Bus Automation Controllers' started by kojobomb, Jan 4, 2022.

  1. kojobomb

    kojobomb

    Joined:
    May 27, 2019
    Messages:
    71
    Likes Received:
    6
    Location:
    Possum Brush
    Is there any known way of migrating a data set point from a separate Modbus Master into the SHAC?
    I am now of the understanding that the SHAC is setup to communicate as a master unit.
    I have a (SMA data manager) also acting as a master/client and communicating with SMA PV and battery inverters (slaves) in an off-grid situation and would like to send/poll/read 1 x register (Battery state of charge SOC) as a minimum.
    For obvious reasons this would be a very useful byte of data to input into SHAC to help cbus manage both self consumption and night time energy use and also to broadcast to all EDLT's and Ipads.
    Ive found Modbus master to master gateways but it seems expensive ($600) and a clumsy way to achieve what could be far simpler.
    Any support in finding the right solution would be extremely appreciated.
    Ash

    Just thought a photo might help build some interest in finding a solution
     
    Last edited: Jan 4, 2022
    kojobomb, Jan 4, 2022
    #1
  2. kojobomb

    kojobomb

    Joined:
    May 27, 2019
    Messages:
    71
    Likes Received:
    6
    Location:
    Possum Brush
    image.jpg
     

    Attached Files:

    kojobomb, Jan 4, 2022
    #2
  3. kojobomb

    Damaxx

    Joined:
    May 12, 2008
    Messages:
    228
    Likes Received:
    47
    As you have probably worked out, RS485 Modbus can only have one master. That means you need the master to write to the SHAC. I am not familiar with the SMA device, but at a glance it looks like it connects to all the devices via RS485 then collates it and presents it via it's own web page? Maybe look past the 485 Modbus side altogether. The SMA has it's own API to access the data - https://developer.sma.de/sma-apis.html although it may come with a fee.
     
    Damaxx, Jan 4, 2022
    #3
  4. kojobomb

    kojobomb

    Joined:
    May 27, 2019
    Messages:
    71
    Likes Received:
    6
    Location:
    Possum Brush
    Ok sounds simple. I think it's time to keep up the learning on this, I had previously never heard of an API.
    SMA reopen tomorrow so I think my next step will be with them to see what their communications department suggest is the easiest way forward.
    Im greatful for your help.
    Ash
     
    kojobomb, Jan 4, 2022
    #4
  5. kojobomb

    Damaxx

    Joined:
    May 12, 2008
    Messages:
    228
    Likes Received:
    47
    If you have no luck there, I have installed a couple of Moxa 485 to TCP modbus modules and got them working with my SHAC. TCP modbus has the benefit of multi-master so as long as the polling doesn't clash, it can be polled by multiple devices.
     
    Damaxx, Jan 4, 2022
    #5
  6. kojobomb

    kojobomb

    Joined:
    May 27, 2019
    Messages:
    71
    Likes Received:
    6
    Location:
    Possum Brush
    All is good, after many hours and not going to let it beat me I've come out on top.
    Thanks
     
    kojobomb, Jan 5, 2022
    #6
    Damaxx likes this.
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.