Close serial port on shutdown openhab

82 views
Skip to first unread message

R Elberts

unread,
Sep 15, 2014, 10:29:03 AM9/15/14
to ope...@googlegroups.com
Hallo All

How can I close the serial port when  i shutdown openhab

Rule "shut down serial"
 
when 
System shut down 
then
"serial=/dev/ttyACM0:close"
end
this is not working 




Thomas E.-E.

unread,
Sep 16, 2014, 7:38:30 AM9/16/14
to ope...@googlegroups.com
Hi,

the serial port should be closed from each of the bindings when openHAB shuts down. If not i would treat that as a bug. With wich binding did you observe serial ports being left open?

Best, Thomas E.-E.

R Elberts

unread,
Sep 16, 2014, 1:53:37 PM9/16/14
to ope...@googlegroups.com
Can you tell me how i can stop  openhab  in a terminale 
I run it on the raspberry and stop it by pressing CTRL C

Ruud


--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/Sd1TtxaV-Ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.

Thomas E.-E.

unread,
Sep 20, 2014, 5:20:42 PM9/20/14
to ope...@googlegroups.com
Hi,

type "close" on the OSGi console which leads to the same effect than using CTRL+C i think.

Best, Thomas E.-E.


On Tuesday, September 16, 2014 7:53:37 PM UTC+2, R Elberts wrote:
Can you tell me how i can stop  openhab  in a terminale 
I run it on the raspberry and stop it by pressing CTRL C

Ruud

2014-09-16 13:38 GMT+02:00 Thomas E.-E. <teic...@gmail.com>:
Hi,

the serial port should be closed from each of the bindings when openHAB shuts down. If not i would treat that as a bug. With wich binding did you observe serial ports being left open?

Best, Thomas E.-E.


On Monday, September 15, 2014 4:29:03 PM UTC+2, R Elberts wrote:
Hallo All

How can I close the serial port when  i shutdown openhab

Rule "shut down serial"
 
when 
System shut down 
then
"serial=/dev/ttyACM0:close"
end
this is not working 




--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/Sd1TtxaV-Ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages