Hur gör man i LINUX, jag har en fungerande Nexahome&Tellstick duo installerad på en Raspberry Pi?
Jag har gjort en fil i /Home/Pi/nexahome
som heter NexaHomeCmd.java där jag kopierat in koden från Nexahome.com (http://nexahome.se/NexaHomeCmd.java)
Jag har provat alla möjliga varianter på commandon som exempel:
JAVA NexaHomeCmd --on 1 NexaHome.xml
java NexaHomeCmd --on 1 http://192.168.0.45:8080/nexahome
java NexaHomeCmd --off 1 /Home/Pi/nexahome/NexaHome.xml
Vad gör jag fel?
tack på förhand/
Marcus
NexaHomeCmd till Linux
Re: NexaHomeCmd till Linux
Du måste även hämta class-filen, skriv följande i ett terminalfönster.elmaco wrote:Hur gör man i LINUX, jag har en fungerande Nexahome&Tellstick duo installerad på en Raspberry Pi?
Jag har gjort en fil i /Home/Pi/nexahome
som heter NexaHomeCmd.java där jag kopierat in koden från Nexahome.com (http://nexahome.se/NexaHomeCmd.java)
Jag har provat alla möjliga varianter på commandon som exempel:
JAVA NexaHomeCmd --on 1 NexaHome.xml
java NexaHomeCmd --on 1 http://192.168.0.45:8080/nexahome
java NexaHomeCmd --off 1 /Home/Pi/nexahome/NexaHome.xml
Vad gör jag fel?
Code: Select all
cd /home/pi/nexahome/
wget http://nexahome.se/NexaHomeCmd.class
Henrik | http://easyhomeauto.se
Re: NexaHomeCmd till Linux
Aha det hade jag missat, nu funkar det!
1000tack till ett superbra program!
mvh/
Marcus
1000tack till ett superbra program!
mvh/
Marcus