Hi All,
I have set myself a new challenge, and i believe WSL can help me with that (hopefully) !
I purchased a Rpi B+, and installed Raspbian, and also the WSL software succesfully.
I am seeking for a replacement of my current devices : Solarlog200 (solarpanels), Xanura HCB (domotica) and S0 power consumption metering.
I want to start with the last one, getting my power consumption working, as i believe i do not need external interfaces/converters for this purpose.
However, i wonder if nobody else wanted to integrate the S0 pulse meterings with WSL ?
Looking at the code of the above URL, i believe the device/GPIO paths are not entirely correct ?
It is mentioned : i=`cat /sys/class/gpio/gpio2/value`
But my path looks like :
root@raspberrypi:/sys/class/gpio# ls -alR /sys/class/gpio/
/sys/class/gpio/:
total 0
drwxrwx--- 2 root gpio 0 Jan 1 1970 .
drwxr-xr-x 39 root root 0 Dec 16 21:13 ..
-rwxrwx--- 1 root gpio 4096 Jan 1 1970 export
lrwxrwxrwx 1 root gpio 0 Jan 1 1970 gpiochip0 -> ../../devices/virtual/gpio/gpiochip0
-rwxrwx--- 1 root gpio 4096 Jan 1 1970 unexport
root@raspberrypi:/sys/class/gpio#
Any help would be greatly appreciated !
Ron