I'm currently evaluating the best programming platform for my home automation system.
I'm currently preferring, for controllers/remotes, to use handheld wifi devices running a custom interface written in Adobe Flash (it's a language I'm familiar with, and currently exports runtimes to WinMobile/PocketPC, unlocked iPhone/iPodTouch, and soon...Android!)
For the server part, I'm evaluating Hip, EventGhost, IR Server Suite, AutoIT, Girder, and even Adobe Director (my own specialty).
The key to coms between client and server is being able to use XML sockets.
Is there such a XML Socket plugin for EventGhost?
If there is no such plugin... I found "Palabre" on the net, describing itself as a "Flash XML multi-user socket server" written in Python:
http://palabre.gavroche.net/content/view/18/37/
How easy would it be to create a plugin for EventGhost? (BTW, I'm not a Python scripter...yet!)
"Palabre...is an open source (and free as in free beer) XML Socket Python Server.
It is meant to be used in replacement (for example) of the Macromedia Flash Communication Server. (which is let's admit it really expensive)
Of course, it's much more limited, but has all the basic functionalities for connecting Flash based Clients through Xml Sockets (sending and receiving messages)."
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Support for XML sockets?
Re: Support for XML sockets?
Well, I'd say there's no such thing as an XML socket, although there obviously are sockets that pass XML. The socket is just the connection between two processes or two machines. You can pass whatever you want along the connection, as long as both ends understand the protocol. I'm aware of rpc-xml, but don't know of any other xml protocol for xml. I don't believe there is a plugin that does what you want.
As for building your own, it isn't that hard to get started, but obviously can get really hard depending on the complexity of what you want the plugin to do.
Brett
As for building your own, it isn't that hard to get started, but obviously can get really hard depending on the complexity of what you want the plugin to do.
Brett
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Support for XML sockets?
Try this one. Unzip to a EventGhost\plugins\xmlSocket folder, restart EG and add the plugin
Connect to 127.0.0.1 port 1024 if you test locally or to your host ip, I understand you have a mobile device
The "hack" is not perfect and it gives an event in the log when you send data (and you get it back in return)
Pls explain what format of the events you would need
It is still buggy, When you need to change the configuration
1) disable the plugin first
2) change the configuration (host ip or port number)
3) enable the plugin again
4) reconnect your clients
(hope to fix this a bit better later)
Best regards, Walter
Connect to 127.0.0.1 port 1024 if you test locally or to your host ip, I understand you have a mobile device
The "hack" is not perfect and it gives an event in the log when you send data (and you get it back in return)
Pls explain what format of the events you would need
It is still buggy, When you need to change the configuration
1) disable the plugin first
2) change the configuration (host ip or port number)
3) enable the plugin again
4) reconnect your clients
(hope to fix this a bit better later)
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM