[mh] Weeder to close contact?
H Plato <[email protected]> Tue, 1 Aug 2023 07:34:14 -0600
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have a weeder WTDIO-M which does a pretty good job of notifying me when a switch closes. I’d also like to use it to trigger a NO switch. Looking at the document, I _think_ I can do this by setting it to a high state: HIGH, H chn time, Make channel chn an output and set high for time x10 microseconds. chn = A-N, time = 1 to 65535. If time omitted, chn remains high.(Note 3) However looking at the MH code, I’m not sure the serial configuration. This is my button: $button = new Serial_Item( 'AAH', OFF, 'weeder' ); $button->add( 'AAL', ON, 'weeder' ); $button->add( 'A!', 'reset', 'weeder' ); $button->add( 'ASA', 'init', 'weeder' ); So close a contact I need to send an H and microseconds, $contact = new Serial_Item( 'ABH50000', ON, 'weeder' ); So set $contact ON should send a high level with a half second duration. I think this will close the contact, however that will leave the $contact in an ON state, is this correct? Anyone use a weeder board to close contacts? ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users