I implemented a REST interface which HA can use, this is available at https://github.com/clach04/x10_rest
Work in progress x10 support for HA available at https://github.com/clach04/home-assistant-x10
Original post below
I have some X10 hardware, I know it is not as sophisticated as the new zwave stuff (e.g. no state reading information) I can’t justify moving to new kit when what I have works well enough for me
I need some advice on how to add X10 support. Being selfish, I mostly care about my setup. Which is controlled by a (usb2serial adapter to) serial CM17A firecracker.
Options I’m considering but do not yet know enough about the HA framework/plugins:
- I think I’d like to avoid resorting to shelling out
- I’ve been using OpenHAB for a while and there is no support for serial CM17A firecracker but there is Mochad support (although there is no support for CM17A in Mochad!) My solution for OpenHAB was to implement a Mochad clone https://bitbucket.org/clach04/mochad_firecracker - is this approach worth pursuing with TCP binary sensors and TCP sensors or even adding Mochad support to HA?
- Similar to #2 is there any value in me using another fake server? E.g. Wemo or wemo switch by hacking https://github.com/makermusings/fauxmo (it maybe this implements the wrong UI so this is all high level speculation). There are other examples of this (for example, Philips hue bridge simulator)
- Adding a REST interface and hooking up to REST switch ?
- Implementing CM17A support in HA directly (with the switch interface only initially and ignoring lamp support)
- Something else?
Is there anyone else interested in X10? Apologies for the dumb questions.