for me, hacking is the hobby. Whether it's hardware, software, or some combination. I like making the equipment I own act the way I want it to, regardless of what the manufacturer intended. I like to do things for the sake of doing them sometimes.
Actually, the other approach (non-device driver) that interested me WAS libusb. I was looking at the pycm19a code and wondering if something similar could be worked out for the cm15a. I personally would do it in perl, only because that's the language I'm most comfortable with. I'll have a good look at how the python code works, and contemplate implementing something similar. I still think there has to be a way to monitor the data sent and received by AHP. With a large enough dump of raw data and sufficient time studying it, it ought to be possible to duplicate the behaviors of AHP.
I haven't looked at heyu, but isn't that closed-source? I mean, free as in beer is better than expensive, but I intend for my solution if it materializes to be free as in speech. I'm doing this for fun. Unless someone is paying me to write it, I intend to GPL it for all to enjoy and hack. I envision starting out with a script that just translates the data into something usable, and maybe eventually creating a perl module that others can include in their own code. If there's a demand, that is. I'm wondering if there really is considering how little has been done thus far. If HA people aren't typically coders, it makes the most sense to just write something that performs similar functions to heyu, which from what I've read seems to allow x10 commands to be sent from the command line at the very least. That's certainly something I will implement if I get this off the ground. I am picturing a daemon-type solution, where there is a background process doing the talking and receiving the data, and a command line program to send commands. the daemon (backend) would have to be configurable to trigger linux events when it received predetermined x10 commands. In this way, I could, for example, make a notification pop up on my desktop stating which door or window was just opened, or eventually, that the wash needed to go into the dryer. Or that the motion detector in the driveway has detected someone approaching the house. On the other hand, if someone logs in via ssh from outside my LAN, it could chirp my powerhorns in case I am not by a screen to see the pop-up that I already have coded. The possibilities will be endless. And the code will be free. I've disconnected my cm15a from my laptop and plan to plug it in downstairs where the box with vmware is. Hopefully in the end it will be moved to my main server where no ms software resides. Everyone wish me luck.