{"action":"created","issue":{"url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge/issues/1","repository_url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge","labels_url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge/issues/1/comments","events_url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge/issues/1/events","html_url":"https://github.com/terafin/mqtt-rainforest-bridge/issues/1","id":356351435,"node_id":"MDU6SXNzdWUzNTYzNTE0MzU=","number":1,"title":"NPM Failure?","user":{"login":"kozoke","id":14950116,"node_id":"MDQ6VXNlcjE0OTUwMTE2","avatar_url":"https://avatars1.githubusercontent.com/u/14950116?v=4","gravatar_id":"","url":"https://api.github.com/users/kozoke","html_url":"https://github.com/kozoke","followers_url":"https://api.github.com/users/kozoke/followers","following_url":"https://api.github.com/users/kozoke/following{/other_user}","gists_url":"https://api.github.com/users/kozoke/gists{/gist_id}","starred_url":"https://api.github.com/users/kozoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozoke/subscriptions","organizations_url":"https://api.github.com/users/kozoke/orgs","repos_url":"https://api.github.com/users/kozoke/repos","events_url":"https://api.github.com/users/kozoke/events{/privacy}","received_events_url":"https://api.github.com/users/kozoke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-09-03T04:03:30Z","updated_at":"2018-09-05T03:26:31Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm a bit new to docker but saw your work.  I may have set up the container incorrectly?  but I'm getting this error.  Any thougths?\r\n\r\nThanks\r\n\r\n`\r\n> mqtt-rainforest-bridge@0.0.1 start /usr/node_app\r\n\r\n\r\n> node mqtt-rainforest-bridge.js\r\n\r\nstarting winston logging for: winston\r\n\r\n[2018-09-03T03:54:35.918Z]  INFO: winston/16 on ee77bc232e9d:  => console logging enabled (type=raw)\r\n\r\n\r\n[2018-09-03T03:54:36.081Z]  INFO: winston/16 on ee77bc232e9d: Starting to monitor: undefined (type=raw)\r\n\r\n\r\n[2018-09-03T03:54:36.162Z]  WARN: winston/16 on ee77bc232e9d: MQTT_HOST not set, aborting (type=raw)\r\n\r\n\r\nAborted (core dumped)\r\n\r\n\r\n\r\n\r\nnpm ERR! Linux 4.9.116-1.ph2-esx\r\n\r\n\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\"\r\n\r\n\r\nnpm ERR! node v6.14.3\r\n\r\n\r\nnpm ERR! npm  v3.10.10\r\n\r\n\r\nnpm ERR! code ELIFECYCLE\r\n\r\n\r\nnpm ERR! mqtt-rainforest-bridge@0.0.1 start: `node mqtt-rainforest-bridge.js`\r\n\r\n\r\nnpm ERR! Exit status 134\r\n\r\n\u0002\r\n\r\n\r\n \r\n\r\n\r\nnpm ERR! Failed at the mqtt-rainforest-bridge@0.0.1 start script 'node mqtt-rainforest-bridge.js'.\r\n\r\n\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\n\r\n\r\nnpm ERR! If you do, this is most likely a problem with the mqtt-rainforest-bridge package,\r\n\r\n\r\nnpm ERR! not with npm itself.\r\n\r\n\r\nnpm ERR! Tell the author that this fails on your system:\r\n\r\n\r\nnpm ERR!     node mqtt-rainforest-bridge.js\r\n\r\n\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\n\r\n\r\nnpm ERR!     npm bugs mqtt-rainforest-bridge\r\n\r\n\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\n\r\n\r\nnpm ERR!     npm owner ls mqtt-rainforest-bridge\r\n\r\n\r\nnpm ERR! There is likely additional logging output above.\r\n\r\n\r\n\r\n\r\nnpm ERR! Please include the following file with any support request:\r\n\r\n\r\nnpm ERR!     /usr/node_app/npm-debug.log\r\n\r\n\r\n\r\n\r\n> mqtt-rainforest-bridge@0.0.1 start /usr/node_app\r\n\r\n\r\n> node mqtt-rainforest-bridge.js\r\n\r\n\r\nstarting winston logging for: winston\r\n\r\n\r\n`"},"comment":{"url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge/issues/comments/418587651","html_url":"https://github.com/terafin/mqtt-rainforest-bridge/issues/1#issuecomment-418587651","issue_url":"https://api.github.com/repos/terafin/mqtt-rainforest-bridge/issues/1","id":418587651,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODU4NzY1MQ==","user":{"login":"kozoke","id":14950116,"node_id":"MDQ6VXNlcjE0OTUwMTE2","avatar_url":"https://avatars1.githubusercontent.com/u/14950116?v=4","gravatar_id":"","url":"https://api.github.com/users/kozoke","html_url":"https://github.com/kozoke","followers_url":"https://api.github.com/users/kozoke/followers","following_url":"https://api.github.com/users/kozoke/following{/other_user}","gists_url":"https://api.github.com/users/kozoke/gists{/gist_id}","starred_url":"https://api.github.com/users/kozoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozoke/subscriptions","organizations_url":"https://api.github.com/users/kozoke/orgs","repos_url":"https://api.github.com/users/kozoke/repos","events_url":"https://api.github.com/users/kozoke/events{/privacy}","received_events_url":"https://api.github.com/users/kozoke/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T03:26:31Z","updated_at":"2018-09-05T03:26:31Z","author_association":"NONE","body":"Hi,\n\nI've gotten the docker container loaded.  Logs look good but in the Eagle\nit appears to error out.\nI had to add a port mapping and it started to send data over mqtt!\n\nIs there a way to add more data fields from the eagle such as:\nCurrent summation\n    payload: '{\n<Command><Name>get_current_summation</Name><MacId>d8d5b90000005b53</MacId><Format>JSON</Format></Command>\n}'\n\nRate Label:\n    payload: '{\n<Command><Name>get_price</Name><MacId>d8d5b90000005b53</MacId><Format>JSON</Format></Command>\n}'\n\nPrice Tier\n    payload: '{\n<Command><Name>get_price</Name><MacId>d8d5b90000005b53</MacId><Format>JSON</Format></Command>\n}'\n\nPrice\npayload: '{\n<Command><Name>get_price</Name><MacId>d8d5b90000005b53</MacId><Format>JSON</Format></Command>\n}'\n\nThese are extracted from my home assistant rest api code...  Just not sure\nhow to code it into your app. :-)\nIf not, no worries - really cool that this works!\n\n\nHere is my docker run command:\ndocker run -d \\\n--name='mqtt-rainforest-bridge1' \\\n-e TOPIC_PREFIX='/energyusage/home' \\\n-e LISTENING_PORT='32000' \\\n-p 32000:32000 \\\n-e LISTENING_PATH='/rainforest/data' \\\n-e MQTT_HOST='mqtt://192.168.###.###' \\\nterafin/mqtt-rainforest-bridge:latest\n\n\n\n\n\n\nOn Mon, Sep 3, 2018 at 10:52 PM terafin <notifications@github.com> wrote:\n\n> FWIW endpoint seems to be working here, would love to hear how it works\n> for you!\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/terafin/mqtt-rainforest-bridge/issues/1#issuecomment-418248889>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AOQe5DhLmHs_miK028bKf9bXiehabPQ9ks5uXhUHgaJpZM4WW7_n>\n> .\n>\n\n\n-- \nKeith Kozo\n4159371909\nkrk112@alumni.psu.edu\n"}}
{"actor":{"display_login":"kozoke"}}