Hello; After a year or so of life interrupting with other things, I've dusted off this "round-tuit"
As my original hard drive in the linux box bit the dust, I've had to start from scratch.
I have two of these Ethernet I/O boards configured and working from the supplied Windows software.
I am trying to write a driver to interface them with misterhouse.
What I have working is opening the socket, connecting and querying the board and retrieving the status "word."
I compare the word with a previous pass, and store the new state into a logfile if it has changed from the previous state.
I parse the word, and store the relay and input status into individual variables, but
it seems to me that I should be trying to create a generic (or some other) item for each one of these inputs and outputs,
so that it can show in the misterhouse web gui, and I can use the high level interface to accomplish some programming.
Does anyone have any documentation on how to accomplish this?
Ideally I would like to create an EIO item with three states (status, on, off) for each of the inputs or outputs (or I think that's what I want).
I've read through the sample files, but not knowing a lot of perl, run into some comprehension issues.
Also my programming experience is about 30 years out of date, and lacks object oriented stuff (which surely doesn't help).
I see there have been a few others on the list that have experimented with this board, are you still using them?
And if so, did you just use a low level driver, or write some higher level driver to use with the web interface.
Thanks in advance.