Building devices to use same RF as emonTH


I'd like a couple of reed switches on my doors (door sensors). Since I already have the RF radio in the emonpi, it would be nice to communicate via that. How can I do this?

* Is there a shield for arduino to do this?

* Can the emonTH accept and transmit extra inputs?

Robert Wall's picture

Re: Building devices to use same RF as emonTH

There is a digital input (DIG2) with a pull-down resistor available on the emonTH's terminal block, which could be used for a reed switch. You would need to add the appropriate statements to the sketch to read the switch, debounce it and send the value onwards in the radio packet.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.