Skip to content

OpenWRT

fignew edited this page Aug 6, 2025 · 2 revisions

In OpenWRT you can point eu.hamedata.com to your server via the LuCI web interface under [Network->DHCP/DNS->DNS Records] or in the config:

/etc/config/dhcp

    config domain
        option name 'eu.hamedata.com'
        option ip '192.168.1.XXX'

It is also strongly recommended to give your battery a static IP address

/etc/config/dhcp

    config host
        option ip '192.168.1.YYY'
        list mac '00:9C:17:BA:77:33'
        option name 'b2500'
        option dns '1'
        option leasetime '7d'

Once you've confirmed that MarstACK is working you can also entirely block the battery from the internet

/etc/config/firewall

config rule
        option src 'lan'
        option dest '*'
        option name 'Block B2500 from Internet'
        option target 'DROP'
        list proto 'all'
        list src_mac '00:9C:17:BA:77:33'

Clone this wiki locally