RasPi does the Home Automation (Part III): ‘Let’s Put It All Together’

Hi, now it’s time to put it all together: 1st: a mini Custom Control for each gear, looking like this: Its controller takes a Device to trigger DeviceControl to switch the radio controlled gears: public class DevicePane extends AnchorPane { @FXML private Button offButton; @FXML private Button onButton; @FXML private Text deviceNameText; public DevicePane(Device device)… Continue Reading RasPi does the Home Automation (Part III): ‘Let’s Put It All Together’

RasPi does the Home Automation (Part II): Crossing the bridge to JavaFX

Hi, before JavaFX can take over, I need some bottom-up stuff to control my Intertechno-Devices. Basically this is the schema: Right now I have 2 radio intermediate adapters to switch the lights of my terrace/garden and the fountain. And one of these to control the lights in front of my house (cool: can be combined… Continue Reading RasPi does the Home Automation (Part II): Crossing the bridge to JavaFX

JavaFX 8 embedded currently ‘untouchable’?

[UPDATE] Solved: eGalax Touch Screen issues with JavaFX (on Raspberry Pi) Hi all, yesterday I recevied my 7″ touch screen. I immediately started to give it a try. In the end spend the night with getting it work with my RasPi. First with X11 Installed pre-configured kernel with eGalax touch screen support: Works! startx: Works!… Continue Reading JavaFX 8 embedded currently ‘untouchable’?

RasPi does the Home Automation (Part I): Setting up the Pi

Hi all, it’s some time ago since my last post as I was very busy due to other projects. But I still intent to control my wireless power outlets with the Raspberry. The hardware In the meantime the receiver/transmitter components arrived from Hong Kong (took some weeks, but 8€ (incl. shipping!) for 5 pairs of… Continue Reading RasPi does the Home Automation (Part I): Setting up the Pi

Custom Component: TouchPad Control

Playing around with the Canvas I have implemented a TouchPad like Control. xValueProperty and yValueProperty are provided in a range from 0.0…1.0 respectively -1.0..1.0. Thus this control can be used like an “Input-Device”, e.g. a Joystick (use two of them to operate a Quadrocopter ;-)) or a PitchControl (like the FX control of “DM1 –… Continue Reading Custom Component: TouchPad Control

JavaFX on Raspberry Pi: GPIO Controller (Part1)

I have started a new leisure time project with my Raspberry Pi. Target: control the outside lighting around my house (yes, magic words these days: HOME AUTOMATION). But let’s see how far I will get ;-). Until now I created a very simple JavaFX UI to control and test the 8 GPIO-out pin states: But… Continue Reading JavaFX on Raspberry Pi: GPIO Controller (Part1)

JavaFX on Raspberry Pi: runfxapp v1.1

I have updated my runfxapp skript: Feel free to load it: runfxapp 1.1 Please find installation instructions and usage hints in my previous post. #!/bin/bash # ############################################################# # # Script: runfxapp # # Start JavaFX apps more conveniently. # # (c) copyright 2013 Jens Deters, mail@jensd.de, www.jensd.de # ############################################################# JAVA_HOME=/opt/jdk1.8.0 JAVA_MAIN=$JAVA_HOME/bin/java LIBS=/opt/pi4j/lib/*:/opt/lib/* SCRIPT=$0 EXIT_SUCCESS=0 EXIT_FAILURE=1… Continue Reading JavaFX on Raspberry Pi: runfxapp v1.1

Custom Component: SelectableTitledPane

I’m working on a form to provide search criteria to find pictures in picmodo. My goal is to provide a very easy to use interface. Each search criteria is represented by a SelectableTitledPane which contains the parameter settings. Basically I have set a CheckBox as graphic component of a TitlePane and modified the CSS of… Continue Reading Custom Component: SelectableTitledPane