##### ZeroMQ # ZMQ_PORT is the port used for all communications ZMQ_PORT=5556 # SUBSCRIBER_ADDR is used by the publishers # to contact the subscriber SUBSCRIBER_ADDR=10.128.0.133 # ZMQ_TOKEN is used by ZeroMQ to detect # messages from publishers. Leave as is if not sure. ZMQ_TOKEN=ina260-zmq-publisher # ZMQ_MSG_SIZE max number of bytes per ZeroMQ messages # Be careful with this parameter. Default is 5MiB # Units is bytes ZMQ_MSG_SIZE=5242880 ##### Loggers/Publisher # LOG_DELAY defines the delay between 2 consecutive # ina260 power read performed by the logger # Unit is milliseconds LOG_DELAY=1000 # SUBSCRIBER_DIR will contain all the measurments # received from the publishers SUBSCRIBER_DIR=./data # LOG_INTERVAL determined the duration # of a logging period. At the end of a logging period, # a file with all the power measurements is generated by the loggers in LOGGERS_DIR # This file, is then transmitted by the publishers to the subscriber # Unit is seconds LOG_INTERVAL=20 # KEY is attached to all the messages published by the node # It allows you to filter the messages received on the client # if you are using multiple monitoring nodes (multiple publishers) KEY=node1