Hi all,
I was wondering if it is possible (or it maybe exists but i don't find it) to connect to an external services.
I've running a deamon who can listen on a specified tcp-port (through a socket).
Once connected to that deamon, you can type a command to send events on my CAN-network to control switches and/or lights.
(I can accomplish this with telnet-session connected to that specified tcp-port)
I would like to do this with drupal.
I was thinking of creating a specified contenttype (sort of event) which can connect to that deamon and can send commands. So when i can schedule these new content-items within a calendar, i can accamplish a little of my home control.
Is it also possible that drupal can listen to events, sended by that deamon ? And taken some actions when it receive these events ?
For who is interested for the communication protocol that is used, can find it at http://www.vscp.org/
VSCP stands for 'very simple control protocol' and it's a open source protocol that can be used for CAN, RS232, RS485, RF, ethernet ...
Any suggestions, hints are very welcome.