Posted: Tuesday May 14th, 2013 02:47 pm |
|
1st Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Hi All - I'm new to comfort and have a question which i hope someone maybe able to answer.
I have a new Comfort Ultra with UCN06+Ethernet and the UCM Universal card.
What i would like to do is send Comport a TCP message from my network camera to turn a light on when it detects motion.
My interface on comfort is 192.168.0.125 on port 1001.
I cant quite see if its possible to send a string to this port and how Comfort and listen and respond to the message.
Any examples of the format to send would be good...
Thanks
Martin
|
Posted: Tuesday May 14th, 2013 07:50 pm |
|
2nd Post |
wexfordman
UCM Pi Users
Joined: | Monday Jan 1st, 2007 |
Location: | Cork, Ireland |
Posts: | 546 |
Status: |
Offline
|
back to top
|
I've sort of done that, but using the alarm relay on the camera/dvr. Nice thing about it is if you use a dvr, then you can be a lot more specific about where the motion is detected.
|
Posted: Tuesday May 14th, 2013 08:18 pm |
|
3rd Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Hi, Yes i could but id like to try and use the network if possible
My camera has different motion detection windows so i would like to send TCP commnds.
I have the UCM to ethernet interface, do i need another ethernet interface if i have the Universal UCM?
If so this may be my first problem
|
Posted: Wednesday May 15th, 2013 05:46 am |
|
4th Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
The UCM/ETH02 (UCM06+ ETH02) communicates using the Comfort protocol
So you can send messages to Comfort by this UCM if the commands are Comfort commands
If you need to send a message according to any other protocol then you need the UCM/Universal + ETH02
UCM/Universal does not come with any interface. When you buy you can add RS232, RS485 or ETH02, so if you have the ETH02 on top of the UCM/Universal then you can send message to that
|
Posted: Friday May 17th, 2013 02:51 pm |
|
5th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Hi Ident
Thanks i now have the Universal UCM with an Eth02 piggy back.
I have configured it to an IP and port 192.168.0.126 : 1020.
Can you give me a little guidance to see if my network camera can talk to confort.
It is a Mobotix M12 camera cable of sending IP notifications via raw TCP/IP plain text.
Do you think Comfort would be able to learn a string sent to it?
Can you give me an example of what format i should send this in please?
I've had a go but dont seem to able to see anything if i click monitor - do i somehow need to make my camera login?
Could i include the login in the text i send to comfort?
Thanks in advance
Martin
|
Posted: Saturday May 18th, 2013 02:26 am |
|
6th Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
In server mode, the ETH02 is able to receive messages sent to its IP address/Port. This means your camera must send its notifications to the ETH02 IP addresses
In Client Mode, the ETH02 sends and accepts messages from a server at another IP address. You have to enter the server IP address/port at this mode
So it depends on how the camera works, please check the instructions of the camera
|
Posted: Saturday May 18th, 2013 06:08 am |
|
7th Post |
HenleyBranch
UCM Pi Users
Joined: | Saturday Apr 30th, 2011 |
Location: | United Kingdom |
Posts: | 75 |
Status: |
Offline
|
back to top
|
Ident
Sorry slight hijack to this thread, but I too am interested in getting Comfort to communicate with other devices on my network.
I have a couple of questions: how do I identify if I have EHT01 or ETH02 installed? Is this possible to tell through Comfigurator? It says UCM type 10 with Firmware 7.008 under System Information.
Is there any guidance on how to set up as client to get comfort to send and receive messages to / from an IP address?
Thanks
Henley
|
Posted: Saturday May 18th, 2013 07:08 am |
|
8th Post |
Posted: Saturday May 18th, 2013 09:29 am |
|
9th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Ok thanks I'll give that a whirl and try again.
The Axis P8221 is my other option, I can send it a http cgi command to set outputs which I could connect to comforts inputs to trigger a response.
I'm hoping that comfort can do similar without the need for the Axis box.
Cheers
|
Posted: Sunday May 19th, 2013 07:38 am |
|
10th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Hi Ident
I tried a few different settings and the camera is definately sending a message to the correct port on on the universal ucm, the camera tells me the messsage was successfully sent and if i change the port the number to something randam the message fails, so somethings getting through somewhere.however I'm not seeing anything in the ucm monitor or if I click learn.
Comfiguratornucm is 192.168.0.125:1001
Universal ucm is on 192.168.0.126:1020
The camera is just sending a message 'motion' but I tried other things like decimal and nothing appears in the monitor. I'm assuming that the monitor will display mall received messages ? Do I need to send like LI1234 to get things accepted first?
Sorry for all the questions I'm just hoping comfort will operate in this way.
As I said before I can use an Axis communication P8221 which will accept a http request from the camera and set one of its ports high to trigger a response in comfort but I really wanted a direct comfort solution.
Cheers
|
Posted: Monday May 20th, 2013 06:20 am |
|
11th Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
There should be no problem for the Universal UCM to accept the message
We need to know all your settings on DS Manager and Universal UCM so we can see what you have done wrong
|
Posted: Monday May 20th, 2013 07:11 am |
|
12th Post |
Posted: Monday May 20th, 2013 07:11 am |
|
13th Post |
Posted: Monday May 20th, 2013 07:12 am |
|
14th Post |
Posted: Monday May 20th, 2013 07:14 am |
|
15th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
last image.
The only thing ive changed is the baud rate the max setting that matches is 38400 but ive tried it at others also.
ThanksAttachment: Capture1.JPG (Downloaded 61 times)
|
Posted: Monday May 20th, 2013 12:42 pm |
|
16th Post |
HeFeng
Cytech
Joined: | Saturday Dec 11th, 2010 |
Location: | |
Posts: | 29 |
Status: |
Offline
|
back to top
|
Hi,Somersetdude, see your UCM02 setting,you use header byte 03, I think you didn't send 03 to the Universal UCM , so you can't see anything,now change header bytes to be 0(means no header) and see any difference...
by the way, Eth02 plugged on the general UCM and universal UCM with different firmware, on general UCM, use cytech3_13.bin, on Universal UCM , use CytechUni3_13.bin...
|
Posted: Monday May 20th, 2013 12:51 pm |
|
17th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Ok cheers, i'll try that. I'm not back until later tonight to test.
I updated the firmwares at the weekend as per your information,
Thanks
|
Posted: Monday May 20th, 2013 06:01 pm |
|
18th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
Tried changing the header to 0 but no change still not seeing anything.....
|
Posted: Monday May 20th, 2013 08:57 pm |
|
19th Post |
Somersetdude
Member
Joined: | Tuesday May 14th, 2013 |
Location: | |
Posts: | 13 |
Status: |
Offline
|
back to top
|
All working now!!!
Doh - jumper setting to add eth02 board...
Lots to do - now have cameras talking to comfort via TCP yippee.
|
|