Skip to content

Solark 12k to openwrt/mbusd to HA - close but.. #37

Answered by pbix
jjhdtv asked this question in Q&A
Discussion options

You must be logged in to vote

So far you have proven that your cable is OK, your SolArk is talking and that your U11 is working fine. That was a big step but not the last one. The next step is to get mbusd working properly on your router. Plug your U11 into the USB port on the back of the router.

Install two kernal modules and mbusd which are not standard. Use the OpenWRT WebUI System->Software to install these.
kmod-usb-serial-ftdi
kmod-usb-serial
mbusd

After restart, SSH into your router and look for your new serial port. My U11 shows up as /dev/ttyUSB0
Now set the modbusd parameters to match the below using uci.

#uci show mbusd
mbusd.@MbusD[0]=mbusd
mbusd.@MbusD[0].enabled='1'
mbusd.@MbusD[0].port='502'
mbusd.@MbusD[…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pbix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants