Search found 8 matches

by TommyS
Sun Sep 17, 2017 10:44 am
Forum: Software
Topic: SunTimer
Replies: 4
Views: 11320

Re: SunTimer

Ahhhh yes! No space did the trick :)

Thx a lot!
by TommyS
Fri Sep 15, 2017 6:15 am
Forum: Software
Topic: SunTimer
Replies: 4
Views: 11320

Re: SunTimer

Hi I have checked the format a couple of times and tried different variants. Now it looks like this: S-00:30 -> 22:30 I have an older version of ONH in running (I upgrading to a new rasp and latest versions) and I have the same problem there. I thought that there was a bug and it was fixed in a newe...
by TommyS
Thu Sep 14, 2017 2:02 pm
Forum: Software
Topic: SunTimer
Replies: 4
Views: 11320

SunTimer

Hi, When I use the SunTimer, some times the Time Today, witch I suppose should show witch time the timer will act to day, is empty. I also experiencing that the timer wont always trigger when it should. Is there anything I can have done wrong? Running on a Raspberry Pi and latest night build. Thanks...
by TommyS
Thu Sep 14, 2017 1:35 pm
Forum: Software
Topic: Exec and pipes
Replies: 8
Views: 12222

Re: Exec and pipes

Hi! Finally I finished this. I was forced to write a script to make it work. I could not use passed in values to set values for the control characters in the script. In stead, I had to write at select/case rutin. I call the script from ONH with CustomLamp. The OnCommand=exec,/home/nethome/LampTower....
by TommyS
Sun Aug 27, 2017 6:10 am
Forum: Software
Topic: Exec and pipes
Replies: 8
Views: 12222

Re: Exec and pipes

Thank you!

Yes, I understand the script idea.
I will try that, it should work.

The thing was that I like it simple and it would be nice to do everything inside ONH :)

But one can't have everything.. :)

Thanks again!
by TommyS
Sat Aug 26, 2017 5:25 pm
Forum: Software
Topic: Exec and pipes
Replies: 8
Views: 12222

Re: Exec and pipes

Okey, I think I have been a little unclear about what I want to accomplish :D I want a CustomLamp item where i using exec to send shell commands. Then I use the item as usual. When then CustomLamp activates I want the command described before to be executed. And the same when inactivate. So, at mome...
by TommyS
Fri Aug 25, 2017 5:59 am
Forum: Software
Topic: Exec and pipes
Replies: 8
Views: 12222

Re: Exec and pipes

Hi Stefan, Well, I echo a string of control characters into netcat. This lights up a lamp. This works fine if I run it from command line, without the exec, of course. So what you say is that ONH will not handle the echo pipe to netcat? Well, that make sense because I tried to echo to a file (exec,ec...
by TommyS
Sun Aug 20, 2017 8:18 am
Forum: Software
Topic: Exec and pipes
Replies: 8
Views: 12222

Exec and pipes

Hi!
I'm trying to use pipes with exec but it looks like it is not working.
Have anyone else tried this?

Here is what I'm trying:
exec,/bin/echo -n -e '\x57\x02\x00\x04\x04\x04\x04\x00\' | netcat -i1 -w1 192.168.10.21 20000

/Tommy