diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-07-16 10:59:05 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-07-16 10:59:05 +0200 |
| commit | f98bd0db78003e6e75c70946d9d4e09483e9d975 (patch) | |
| tree | 19df2cf9ff8546f027f73114711edc487d75d180 | |
| parent | 565984ed498d103ac8687e29bd4e5180acb7b4da (diff) | |
Minor changes
| -rw-r--r-- | README.md | 11 | ||||
| -rw-r--r-- | config.mk | 2 |
2 files changed, 4 insertions, 9 deletions
@@ -6,7 +6,7 @@ A ZeroMQ-based power monitoring publisher for the ina260 chip. This repository p - `publisher`: that continuously publish using the ZeroMQ pub/sub communication pattern - `subscriber`: a client that collect the measurements from the publishers (broker, frontend etc...) -*Note: Nothing is stored locally! Everything that is published by the publisher is either receive by a subscriber or lost.* +*Note: Nothing is stored locally! Everything that is published by the publishers is either received by the subscriber or lost.* ### Compilation The only dependency is [ZeroMQ](https://zeromq.org/). After installing the ZeroMQ library, the following will generate all the executables: @@ -15,10 +15,5 @@ The only dependency is [ZeroMQ](https://zeromq.org/). After installing the ZeroM ### Deployment 1. Update `config.mk` according to you needs -2. On the nodes equiped with the ina260 chips: - - $ make publish - -3. One the node that collect the measurements (broker, frontend etc..): - - $ make subscribe
\ No newline at end of file +2. On the nodes equiped with the ina260 chips run `make publish` +3. On the node that collect the measurements (broker, frontend etc..) run `make subscribe`
\ No newline at end of file @@ -1,7 +1,7 @@ ##### ZeroMQ # ZMQ_PORT is the port used for all communications ZMQ_PORT=5556 -# SUBSCRIBER_ADDR is used by the publisher +# SUBSCRIBER_ADDR is used by the publishers # to contact the subscriber SUBSCRIBER_ADDR=localhost # ZMQ_TOKEN is used by ZeroMQ to detect |
