I have an emonPi monitoring my Solar etc, and I want to measure some temperatures elsewhere in the house so I figured, why not use another Pi? So I have:
Raspberry Pi 2 model B v1.1, powered by iPhone plug 5v DC 1a.
8gb card with emonSD-03May16 image.
RJ45 to Terminal Block Breakout for DS18B20 connected to RPi via RJ45.
5x DS18B20 sensors wired into the Breakout.
I was hoping that would magically give me the 5 temperatures but no, that would have been too easy. I have avoided having 2 emonPi devices on the same network (in case that causes problems) by using an old router.
When I log into emoncms on the above Pi there are no nodes on the inputs page; I was expecting to see a node 5 for the Pi, and the list of inputs, similar to what I see in the proper emonPi, and it appears to be configured that way by default in the EmonHub Config Editor.
Is what I’m trying to do reasonable?
If so, have I missed something?
I’m not sure if you are using a “Pi” or an “emonPi” so this bit worries me
There is nowhere to plug the RJ45 breakout into a regular Pi, there is an actual ethernet socket for connecting to a network but you shouldn’t be plugging temp sensors in there, I have no idea how either party will cope with that.
The normal Pi can work with 1-wire but you will need to hook up via the gpio connector.
If you are using an emonPi it should indeed work as you expect IF you are plugging the RJ45 breakout in the right end of the emonPi as that too has an Ethernet socket at the other end. if you are using an emonPi the node 5 should be there with or without the temp sensors so you should work on getting that sorted first before plugging the temp sensors in.
Funny thing is, plan A was to connect it to my emonTx, I wired up the sensors and… It’s an emonTx v3.2 with no RJ45 socket! Usually I’m guilty of not reading the instructions but on this occasion I read them but didn’t think to check the gadget!
Can you tell I’m more a software guy than hardware/electronics?
See RaspberryPi info page, they do a variety of different adapters. The RP2 looks like the best suit for you, since you have 6 sensors I don’t think the rpi1 running at 3.3V would work.
I would ditch the RJ45 breakout and wire the 6 sensors direct to the emonTx v3.2 terminal block (probably via a bit of terminal strip as 6 wires will be a squeeze at best).
You would need to use a 5vdc power source for the emonTx rather than powering via the ac:ac adapter but aside from loading the new sketch, editing emonhub.conf and attaching the temp sensors you should be set.
This is incorrect, the emonTx V3.2 CAN be powered by AC-AC adapter. All versions of the emonTx V3 have had this feature. See emonTx V3.3 Wiki. The V3.4 hardware update just included RJ45 socket, DIP switches to set node ID and RFM69CW (although the first hundred V3.4’s where shipped with RFM12B due to a 69 shortage).