Porting Yasdi

This is a port for Yasdi 1.7.2 on OpenWrt Kamikaze 7.09.

The package was tested on an ASUS WL-500g Deluxe, with 2 Sunny Boy 1700 inverters connected over RS-485 to tx1/rx1. GPIO1 is used to switch the direction of the RS-485 tranceiver, since the router does not implement the RTS and DTR lines.

The source package contains a README explaining how to compile it.

The ipk package installs:

  • the libraries to /usr/lib
  • yasdishell to /usr/bin
  • yasdi.ini to /etc
  • a symbolic link from /etc/devices to /tmp

It can be tested using /usr/bin/yasdishell /etc/yasdi.ini

These are the same packages, but for Yasdi 1.8.0 and OpenWrt Kamikaze 8.09rc2:

Porting libftp

This is a first try to port libftp to OpenWrt Kamikaze 7.09.

The package builds and can be installed on the device, but it does not run at the moment. There seems to be a problem with the getservbyname function. It would have to be patched.

Another option would be to switch to the curl library, which already has a working OpenWrt package, supports ftp append (very usefull for storing logs!) and other protocols as http put, scp, …

Porting Solar-Logger

This is a first try to port Solar-Logger to OpenWrt Kamikaze 7.09.

The package builds and can be installed on the device. I tried with Solar-Logger 0.3.0, but it exits immediately when started. Probably went out of memory.


If the inverter(s) are equiped with RS-485 ports, you will have to add an RS485 port to the hardware running OpenWrt. This can be done

  • using USB (e.g. COMi)
  • from an RS-232 port (e.g. K3)
  • from the serial ports that are available internally. For an an ASUS WL-500g Deluxe, this could be connected to the connectors J1 and J5 inside like this:


doku/hardware/openwrt/start.txt · Zuletzt geändert: 2014/06/19 22:47 (Externe Bearbeitung)