Hi Keith,
I hope you don’t mind me answering your email on this thread. Hopefully, it will be of benefit to other users.
Node RED gathers data from the emonPi inputs by selecting the mqtt node and setting up the node using Server: localhost:1883, Topic:emon/emonpi/XXXX (the input name).
Correct
Q1: What do I do to set up a Node RED input for a feed, or a virtual feed (NOT AN INPUT)?
Sorry, I don’t quite understand. Do you want to send data from NodeRED to Emoncms? This can be done using MQTT or nodeRED Emocnms node. This has been covered in this thread:
I want to use the serial output node.
Q2: What do I do to select a Raspberry Pi serial output (presumably a pin pair, but anything available will do as long as I can get a serial output)?
The RaspberryPi only has a single hardware UART which is used to communicate with the emonPi. To have a second serial output you will need to either use software serial which I don’t recommend or add another hardware serial port. This can be done by adding a USB to UART adapter then using nodeRED serial out to output serial data to /dev/ttyUSB1
or whatever the adapter is mounted.