# Multiple apartments

**URL:** <https://community.openenergymonitor.org/t/multiple-apartments/5745>\
**Category:** emonPi\
**Created:** [23 November 2017 16:57 UTC](https://community.openenergymonitor.org/t/multiple-apartments/5745 "2017-11-23T16:57:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommy](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@Tommy](https://community.openenergymonitor.org/u/Tommy)\
**Post date:** [23 November 2017 16:57 UTC](https://community.openenergymonitor.org/t/multiple-apartments/5745/1 "2017-11-23T16:57:59Z")

</div>

Hi!  
New here. Would it somehow be possible to monitor 20-25 apartments using pulse readouts?

Thanks

---

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [23 November 2017 17:01 UTC](https://community.openenergymonitor.org/t/multiple-apartments/5745/2 "2017-11-23T17:01:40Z")

</div>

I’m afraid the emonTx/emonPi can only handle a single pulse input per unit therefore you would need 25 separate units.

Could you use CT’s and use an IoTaWatt that has got 14 channel CT inputs?

[https://shop.openenergymonitor.com/iotawatt-wifi-connected-14-channel-electricity-monitor/](https://shop.openenergymonitor.com/iotawatt-wifi-connected-14-channel-electricity-monitor/)

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [23 November 2017 17:49 UTC](https://community.openenergymonitor.org/t/multiple-apartments/5745/3 "2017-11-23T17:49:51Z")

</div>

> [@Tommy](#):
>
> Would it somehow be possible to monitor 20-25 apartments using pulse readouts?

Yes, but not “out of the box” with OEM stuff as Glyn says. You could connect multiple pulse counters to a Raspberry Pi directly (not an emonPi), it’s been a long time since I studied the GPIO on a Pi, but if you could free up 20-25 pins it would be fairly straightforward, I think 20-25 is pushing it for one Pi but I think 2 Pi’s (even 2 zero WiFi’s) would easily be ample. You might be able to use an IO expander to keep it on one Pi, but I’m not familiar with using them.

Here’s a post where I have connected 2 optical pulse counters to one Pi, but the code is scale-able and there was plenty of GPIO pins left over. (see [Directly connecting to Optical Pulse Counter with RPi? - #2 by pb66](https://community.openenergymonitor.org/t/directly-connecting-to-optical-pulse-counter-with-rpi/1294/2))
