{"action":"created","issue":{"url":"https://api.github.com/repos/emoncms/emoncms/issues/472","repository_url":"https://api.github.com/repos/emoncms/emoncms","labels_url":"https://api.github.com/repos/emoncms/emoncms/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/emoncms/emoncms/issues/472/comments","events_url":"https://api.github.com/repos/emoncms/emoncms/issues/472/events","html_url":"https://github.com/emoncms/emoncms/issues/472","id":133382510,"number":472,"title":"MQTT needs multiuser support with authentication","user":{"login":"chaveiro","id":4527135,"avatar_url":"https://avatars.githubusercontent.com/u/4527135?v=3","gravatar_id":"","url":"https://api.github.com/users/chaveiro","html_url":"https://github.com/chaveiro","followers_url":"https://api.github.com/users/chaveiro/followers","following_url":"https://api.github.com/users/chaveiro/following{/other_user}","gists_url":"https://api.github.com/users/chaveiro/gists{/gist_id}","starred_url":"https://api.github.com/users/chaveiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaveiro/subscriptions","organizations_url":"https://api.github.com/users/chaveiro/orgs","repos_url":"https://api.github.com/users/chaveiro/repos","events_url":"https://api.github.com/users/chaveiro/events{/privacy}","received_events_url":"https://api.github.com/users/chaveiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-13T01:19:18Z","updated_at":"2016-04-12T11:10:32Z","closed_at":null,"body":"On https://github.com/emoncms/emoncms/pull/471 i reverted the user id key location from settings.php to the phpmqtt_input.php script file because it's not related to emoncms instalation but to the instance of that script running for a particular user.\r\nBest is to make the phpmqtt_input.php script generic for multiuser support, this will require mqtt autentication. Use of apikey or device key on the mqtt message ?\r\nExample:        basetopic/[authkey|userid]/emontx/power 10\r\nWhat kind of auth is used usualy for mqtt across the internet?"},"comment":{"url":"https://api.github.com/repos/emoncms/emoncms/issues/comments/208849991","html_url":"https://github.com/emoncms/emoncms/issues/472#issuecomment-208849991","issue_url":"https://api.github.com/repos/emoncms/emoncms/issues/472","id":208849991,"user":{"login":"nachoferre","id":11354137,"avatar_url":"https://avatars.githubusercontent.com/u/11354137?v=3","gravatar_id":"","url":"https://api.github.com/users/nachoferre","html_url":"https://github.com/nachoferre","followers_url":"https://api.github.com/users/nachoferre/followers","following_url":"https://api.github.com/users/nachoferre/following{/other_user}","gists_url":"https://api.github.com/users/nachoferre/gists{/gist_id}","starred_url":"https://api.github.com/users/nachoferre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nachoferre/subscriptions","organizations_url":"https://api.github.com/users/nachoferre/orgs","repos_url":"https://api.github.com/users/nachoferre/repos","events_url":"https://api.github.com/users/nachoferre/events{/privacy}","received_events_url":"https://api.github.com/users/nachoferre/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T11:10:32Z","updated_at":"2016-04-12T11:10:32Z","body":"Thanks!\r\nI was able to make a connection in one way, emoncms receiving. For what i have read u need emon hub in order to be able to send mqtt messages from emoncms. Am i right?"}}