I have recently started a home automation project but now I´m stuck…
I can send On and OFF comanand thru RPI command-line with “sudo piHomeEasy 0 31418 -1 on” to activate my NEXA powerplugs but i can’t figure out how to integrate my script with OpenHAB.
The RF transmitter is directly connected to the RPI GPIO Pins
The script needs to be in /etc/openhab2/scrit’s AND needs to be adapted in order to suit the codes of your device and device adress needs to match yours.
In other words the “is…” string needs to fit your device settings and the “dev/serial…” needs to fit the adress of your device.