NexaHomeCmd till Linux

Moderators: hekj, Telldus

Post Reply
elmaco
Posts: 25
Joined: Fri Mar 17, 2023 9:45 am

NexaHomeCmd till Linux

Post by elmaco »

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)

:banghead: 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
hekj
Posts: 992
Joined: Fri Mar 17, 2023 9:45 am
Location: Stockholm
Contact:

Re: NexaHomeCmd till Linux

Post by hekj »

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)

:banghead: 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?
Du måste även hämta class-filen, skriv följande i ett terminalfönster.

Code: Select all

cd /home/pi/nexahome/
wget http://nexahome.se/NexaHomeCmd.class
elmaco
Posts: 25
Joined: Fri Mar 17, 2023 9:45 am

Re: NexaHomeCmd till Linux

Post by elmaco »

Aha det hade jag missat, nu funkar det! :D
1000tack till ett superbra program!

mvh/
Marcus
Post Reply