{"action":"created","issue":{"url":"https://api.github.com/repos/sidorares/node-dbus/issues/71","labels_url":"https://api.github.com/repos/sidorares/node-dbus/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/sidorares/node-dbus/issues/71/comments","events_url":"https://api.github.com/repos/sidorares/node-dbus/issues/71/events","html_url":"https://github.com/sidorares/node-dbus/issues/71","id":67739425,"number":71,"title":"Monitoring NetworkManager 1.0","user":{"login":"linux4kix","id":102309,"avatar_url":"https://avatars.githubusercontent.com/u/102309?v=3","gravatar_id":"","url":"https://api.github.com/users/linux4kix","html_url":"https://github.com/linux4kix","followers_url":"https://api.github.com/users/linux4kix/followers","following_url":"https://api.github.com/users/linux4kix/following{/other_user}","gists_url":"https://api.github.com/users/linux4kix/gists{/gist_id}","starred_url":"https://api.github.com/users/linux4kix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linux4kix/subscriptions","organizations_url":"https://api.github.com/users/linux4kix/orgs","repos_url":"https://api.github.com/users/linux4kix/repos","events_url":"https://api.github.com/users/linux4kix/events{/privacy}","received_events_url":"https://api.github.com/users/linux4kix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-11T05:52:39Z","updated_at":"2015-04-11T11:42:55Z","closed_at":null,"body":"I am trying to switch from the libdbus based node-dbus over to dbus-native and am having some problems with getting signals from NetworManager.  If I run dbus-monitor with the parameters in this script I see all the messages come across.  My script runs and connects to the system bus but I get no signals emitted.\r\n\r\n```js\r\nvar bus = require('dbus-native').systemBus();\r\nvar signame = 'StateChanged';\r\nbus.addMatch('type=\\'signal\\',member=\\'' + signame + '\\'',\r\n             function(err, value) {\r\n                 if (err) throw new Error(err);                                      \r\n});                                                        \r\nvar signalFullName = bus.mangle('/org/freedesktop/NetworkManager',\r\n                                'org.freedesktop.NetworkManager',\r\n                                signame);\r\n\r\nbus.signals.on(signalFullName, function(messageBody) {                  \r\n    console.log(messageBody);\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/sidorares/node-dbus/issues/comments/91831520","html_url":"https://github.com/sidorares/node-dbus/issues/71#issuecomment-91831520","issue_url":"https://api.github.com/repos/sidorares/node-dbus/issues/71","id":91831520,"user":{"login":"linux4kix","id":102309,"avatar_url":"https://avatars.githubusercontent.com/u/102309?v=3","gravatar_id":"","url":"https://api.github.com/users/linux4kix","html_url":"https://github.com/linux4kix","followers_url":"https://api.github.com/users/linux4kix/followers","following_url":"https://api.github.com/users/linux4kix/following{/other_user}","gists_url":"https://api.github.com/users/linux4kix/gists{/gist_id}","starred_url":"https://api.github.com/users/linux4kix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linux4kix/subscriptions","organizations_url":"https://api.github.com/users/linux4kix/orgs","repos_url":"https://api.github.com/users/linux4kix/repos","events_url":"https://api.github.com/users/linux4kix/events{/privacy}","received_events_url":"https://api.github.com/users/linux4kix/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T11:42:55Z","updated_at":"2015-04-11T11:42:55Z","body":"Sure. Thanks for taking a look at this.\n\ndbus-monitor --system\n\"type='signal',sender='org.freedesktop.NetworkManager',interface='org.freedesktop.NetworkManager',member='StateChanged'\"\n\nThen unplugged the network cable, or turning off your wifi should cause a\nbunch of uint32's to be returned.\n\nOn Sat, Apr 11, 2015 at 1:25 PM, Andrey Sidorov <notifications@github.com>\nwrote:\n\n> Can you put your dbus-monitor command here, I'll try to reproduce\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sidorares/node-dbus/issues/71#issuecomment-91829116>.\n>\n"}}