##### ZeroMQ # ZMQ_PORT is the port used for all communications ZMQ_PORT=5556 # SUBSCRIBER_ADDR is used by the publisher # to contact the subscriber SUBSCRIBER_ADDR=localhost # 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 ZMQ_MSG_SIZE=2550 ##### Logger/Publisher # LOGGERS_DIR will contains all the data generated by the loggers # a.k.a the ina260 power measurements LOGGERS_DIR=./logs # 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 logger in LOGGERS_DIR # this file is then transmitted by the publisher to the subscribers LOG_INTERVAL=30 # 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