Auteursarchief: Robin

ELO Intellitouch 2700 on Debian Jessie

Calibrating ELO IntelliTouch 2700 USB.

Not to hard to do, after finding the right solution ๐Ÿ™‚

Get ‘xinput-calibrator’ from Debian repositories and follow its instructions.

# apt-get install xinput-calibrator

Selection_089_kleinIn your desktop envorinment there will be an menu item ‘Calibrate touchscreen’. Click it!

Your screen will turn white and asks to tap on the screen at pointed locations.

After some samples a terminal will show up with a xorg.conf sample config.

Open a new terminal.

# sudo mkdir /etc/X11/xorg.conf.d
# sudo vi /etc/X11/xorg.conf.d/99-calibration.conf
or
# sudo nano /etc/X11/xorg.conf.d/99-calibration.conf

Paste the sample config, save and reboot.

Omniksol-4k-TL wifi kit

Capture inverter data yourself? Or want to process generated data? Instead of using the Omnik Portal App?

I found out that it is possible to configure the wifi kit to send TCP/UDP packets to an remote server. After that i started googling around. With some minimal data i started write a small C program.

Some other related project on the internet:

  1. GitHub – Woutrrr / Omnik-Data-Logger | Language: Python | Found first
  2. GitHub – micromys / Omnik | Language: PHP
  3. GitHub – arjenv / omnikstatus | Language: C | Found after completing my own script ๐Ÿ™

Those scripts are polling the inverter each few minutes. When my research started, i found out, by configuring the web interface, that Omnik also offers the possibility to push TCP or UDP packets to an specified server. With this enabled i started testing en developing.

Reading the message (which byte means what?) was based on the GitHub projects. So someone else did the hard work ๐Ÿ˜‰

Getting started… (read on)
Lees verder

ReadyNAS Pro 6 – Serial Console Port

The ReadyNAS Pro 6 has an serial port at RS232 level.

First tried to connect with an USB to TTL adapter. No luck. After some more reading and searching on the internet i just tried to connect with an USB to RS232 adapter. With positive results!

Counting from the USB ports:

  • 1 – GNDย  (pin 5 on RS232 / DB9 adapter)
  • 2 – TX (RX / pin 2 on RS232 / DB9 adapter)
  • 3 – RX (TX / pin 3 on RS232 / DB9 adapter)
  1. Use PuTTY or Minicom and configure it with: 9600n8.
  2. Hookup an USB keyboard to the ReadyNAS. (i use an usb port on the backside)
  3. Power On the ReadyNAS, see PuTTY of Minicom showing the device booting up ! ๐Ÿ™‚ (printscreen follows)
  4. With the USB keyboard you can hit F3 and enter the BIOS.
  5. Screen information will by sent to PuTTY or Minicom.

Note, there is also an VGA pin header on the main board. I will try that later, because i have to order some parts. (SUB-D 15 female for an flatcable, and an 16 pin flatcable connector)

Please have a look at these sites to:

 

ReadyNAS Pro 6 - Serial pin out

ReadyNAS Pro 6 – Serial pin out

IMG_20140908_191517

ReadyNAS Pro 6 – Breakout board – NIC, USB, COM

IMG_20140908_191543

ReadyNAS Pro 6 – COM Pin header

Apache 2.4 – mod_auth_form

Still a ‘wordpress  draft’, but published already.
It should bring you to an working solution.

I prefer webserver authentication above and php/coded authentication script. This because the webserver can also protect stylesheets, javascript files and, more important, images or other attachments. Within php you can only protect the called page.

Of course, in apache, you can easily use basic authentication. But then the browser shows you an ‘static’ login window. Apache2 has now an module which helps you with form authentication. You can make in now more fancy :).

Please leave comments if necessary ๐Ÿ™‚
note… in my test setup this is compiled and running next to system default Apache2 instance.
so 2 apache-bin directories are on the system.

Downloading and extracting Apache 2.4

# cd /opt/src/
# wget http://ftp.tudelft.nl/apache/httpd/httpd-2.4.10.tar.gz
# tar xf httpd-2.4.10.tar.gz
# cd httpd-2.4.10/

Downloaden and extracting Apache 2.4 requirements. Check requirements here

# cd srclib
# wget http://apache.mirror.triple-it.nl/apr/apr-1.5.1.tar.gz
# wget http://apache.mirror.triple-it.nl/apr/apr-util-1.5.3.tar.gz
# tar xf apr-1.5.1.tar.gz
# tar xf apr-util-1.5.3.tar.gz
# mv apr-1.5.1 apr
# mv apr-util-1.5.3 apr-util
# cd .. (/opt/src/httpd-2.4.10/)
# apt-get install libpcre3 libpcre3-dev (if not already installed)

Configuring source tree. (option –with-ssl is optional, decide for yourself if needed)

# ./configure --prefix=/opt/apache2 --with-included-apr --with-ssl --enable-auth-form

Lees verder

Energy Logger 4000 – Version 2

See the original post here.

Made it just a little more usefull ๐Ÿ™‚ by adding ‘Export to CSV’ functionality.
Guess it needs some data formatting to. But if you understand Microsoft Office Excel or OpenOffice Calc, it is possible to create some nice lines.

energylogreader-v0.2-export

Lees verder