The SAMIL has a variety of network connectivity methods and my objective was to get it connected to my LAN using WiFi
At the time of writing this blog entry, there are entries on many different forums describing the various difficulties experienced in attempting to get the WiFi communications working.
To date I have been partially successful so will document my findings here in the hope that they may help others attempting the same process.
Inverter model: As per title
PC OS: XP SP3
Software: Samil Power Co - SolarPower Browser V2.9.2.6
Network:
* Type:
10/100 Ethernet with two WiFi routers
* LAN
subnet address is 192.168.0.x
*
Billion Router BiPAC 7800N serving DHCP for LAN and WiFi using WPA/WPA2-PSK Mixed 802.11 b/g/n on Channel 8 with ESSID visible and shared key
*
D-Link Router DIR-615 WiFi using Auto (WPA or WPA2) TKIP and AES Mixed 802.11 b/g/n on Channel 8 with SSID visible and shared key
- Connected SAMIL to Billion router via RJ45 Ethernet cable (referred to as netting twine in the SAMIL manual!)
- On SAMIL Esc to Home menu
- Down arrow to Settings then OK
- Right arrow and Down arrow to Network then OK
- Up arrow for "1" then Right arrow for next password digit - repeat for all digits then OKi.e. 1 1 1 1 1 1 OK
- For Ethernet Interface I initially tried Auto-IP/DHCP but could not get a connection
Note1: I could find no trace of a DHCP request in the router Syslog for any unidentifiable MAC address
Note2: The MAC address being used by the SAMIL LAN interface was NOT that shown in the SAMIL System Info screen but does belong to the same address-space owner (see below)
Interesting side-note: The System Info screen shows a MAC address of 24:08:28:02:03:00 which when searched on sites like hwaddress.com are unknown
IF HOWEVER you invert the MAC address as I've seen some commercial Router interface cards do, you get 00:03:02:etc which co-incidentally returns the address-space owner as Charles Industries which further research shows as "www.charlesindustries.com ... Heavy-duty use inverters for sensitive electronics"
Further side-note: The MAC address eventually displayed (via ARP -a) once the browser was connected and working over the LAN cable, was another unknown address ...
18-08-1C-02-03-00, yet once again, if you invert that MAC you again get 00:03:02:etc which obviously resolves to Charles Industries again.
- Went back in and set to Manual IP, setting the device to 192.168.0.40 along with all other other IP values such as subnet, gateway, DNS etc
- This time when I saved the settings the SAMIL appeared to reboot its software, after which I could effortlessly load and connect to the device using the SolarPower browser
- Doing an ARP - a on the PC with the browser running I ascertained the cabled MAC address as noted in (6) above.
- Next I selected the inverter name under the expanded "Inverters" list in the LH frame of the SolarPower Browser
- Selected the "Parameters" tab in the main frame of the browser
- Under Module Flag WIFI, I entered the SSID of my primary WiFi router (the D-Link DIR-615) and the Password (Shared Key) for that router SSID then selected SAVE
- By the time I walked to the inverter, it appeared to be rebooting the software ... which it proceeded to do again and again and again (I thought I had stuffed it and it had gone into perpetual reboot!) then it stopped and returned to stable state.
- As soon as I got to the inverter I had unplugged the LAN cable but after the reboots stopped and I returned to my PC, I could not connect to the device.
The hard-coded IP address (192.168.0.40) was no longer reachable and I could find no trace of a DHCP request to issue an alternate IP.
- Back to the SAMIL and changed the IP setting to Auto-IP/DHCP. The SAMIL rebooted (once) but still no WiFi Connectivity
- Back to the SAMIL and changed the IP setting to WIFI, leaving the Ethernet settings untouched (Auto-IP/DHCP). The WIFI setting showed the correct SSID. The SAMIL the went into it's multiple reboot scenario again!
- When the rebooting finished, still no WiFi connectivity so reconnected the LAN cable but could not get to the device
- Reset the SAMIL to the Manual IP settings (incidentally, settings were still retained even after setting to use DHCP). SAMIL rebooted. I could again get to the device on the .40 IP address
- I then entered the ESSID of the Billion router and it's passkey and upon SAVE the SAMIL again did it's multi-reboot thing!
- Disconnecting the LAN cable and reloading the browser I now had WIFI connectivity BUT ...
I could find no trace of a new MAC address in the tables or logs of EITHER of the routers!!
I got called away from my testing.
- Returning several hours later there was no longer any WiFi connectivity.!!
- To cut a long story short ... going through the process of connecting the LAN cable, assigning a static IP, connecting the browser and re-saving the SSID which forces the SAMIL reboot process, seems to establish WIFI connectivity SOMETIMES but then always for only a short time.
Unproven at this stage, but I suspect the WIFI connection is dropped when a WIFI group key handshake occurs!
In Summary
It looks like the SAMIL will only connect the WIFI following it's reboot cycle after updating the WIFI settings. Any subsequent disruption of the WIFI communication (pairwise group handshaking etc) seems to break the connection and it does not re-establish.
It also appears that the wired LAN connection will ONLY work with all IP details specified and will NOT acquire a DHCP address despite DHCP being alive and well for other devices on the network.
If you have any comments or feedback please do add to my findings here.