Before I post my question, I would like to take this opportunity as my first post on this forum to commend the great work you've done with the back end software on your devices. I've been into home automation since 2005 and never thought it possible for a tiny web server to have such great functionality. Bravo!
As part of controlling a garage door motor, I need to send a 1 to a dry contact for a few milliseconds. This is easily handled with KNX push buttons (send 1 on press and send 0 on release), but I'm not sure how to duplicate the functionality in Visualisation. Any suggestions?
thanks FatMax for your kind words, we are trying to improve every day!
As of your question, you need to create a virtual object in Object list e.g. 1/1/2. Then create event-based script for this grp address with the following content:
Code:
-- 1/1/1 is grp address which you want to turn on /off
grp.write('1/1/1', true)
os.sleep(0.1) -- pause for 0.1 second
grp.write('1/1/1', false)
If you have your dry contact connected on a KNX actuator that has staircase function then it's easier to use the built in function on the actuator and just send 1 from LM visualization.
That will also work if you need very precise delay between on/off. The delay will fluctuate slightly when sending from LM, but can never be less than specified sleep time.
Hello i have a problem . In visualization i install a IP camera but i have not streaming live it only show the first picture of the place and not streaming . Can someone help me ???
(28.12.2015, 18:57)AdriSaliai Wrote: Hello i have a problem . In visualization i install a IP camera but i have not streaming live it only show the first picture of the place and not streaming . Can someone help me ???
Hi, can you show link of your camera from camera settings in LM?
First, you have to make sure that your camera can stream in MJPEG format over HTTP. This is the only format that all browsers support without additional plugins. Unfortunately some newer cameras don't have MJPEG support.
To get the correct URL you have to open camera web interface, right click on stream image and select "Copy image location" or similar. Then you can try opening this URL in your browser. If it works then it's probably a correct URL and it can be used in LM visualization.