{"action":"created","issue":{"url":"https://api.github.com/repos/hansworst24/Ticz/issues/13","repository_url":"https://api.github.com/repos/hansworst24/Ticz","labels_url":"https://api.github.com/repos/hansworst24/Ticz/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/hansworst24/Ticz/issues/13/comments","events_url":"https://api.github.com/repos/hansworst24/Ticz/issues/13/events","html_url":"https://github.com/hansworst24/Ticz/issues/13","id":147607231,"number":13,"title":"REQ: BWR102 Bathroom scale device","user":{"login":"keptenkurk","id":8373500,"avatar_url":"https://avatars.githubusercontent.com/u/8373500?v=3","gravatar_id":"","url":"https://api.github.com/users/keptenkurk","html_url":"https://github.com/keptenkurk","followers_url":"https://api.github.com/users/keptenkurk/followers","following_url":"https://api.github.com/users/keptenkurk/following{/other_user}","gists_url":"https://api.github.com/users/keptenkurk/gists{/gist_id}","starred_url":"https://api.github.com/users/keptenkurk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keptenkurk/subscriptions","organizations_url":"https://api.github.com/users/keptenkurk/orgs","repos_url":"https://api.github.com/users/keptenkurk/repos","events_url":"https://api.github.com/users/keptenkurk/events{/privacy}","received_events_url":"https://api.github.com/users/keptenkurk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T01:46:54Z","updated_at":"2016-04-12T19:04:40Z","closed_at":null,"body":"To start with: thanks for this great app an all the work! Switching is instantaneous, never saw that on any other device!\r\nI have a bathroom scale device of type BWR102 which doesn't show an icon nor graphs. Could you please add it to Ticz? The value is updated through an api call. No idea why it shows as smartmeter.\r\nDevice details: \r\n```\r\n{\r\nActTime: 1460424826,\r\nServerTime: \"2016-04-12 03:33:46\",\r\nSunrise: \"06:49\",\r\nSunset: \"20:28\",\r\nresult: [\r\n{\r\nAddjMulti: 1,\r\nAddjMulti2: 1,\r\nAddjValue: 0,\r\nAddjValue2: 0,\r\nBatteryLevel: 255,\r\nCustomImage: 0,\r\nData: \"60.5 kg\",\r\nDescription: \"\",\r\nFavorite: 1,\r\nHardwareID: 2,\r\nHardwareName: \"Smartmeter\",\r\nHardwareType: \"P1 Smart Meter USB\",\r\nHardwareTypeVal: 4,\r\nHaveTimeout: false,\r\nID: \"60\",\r\nLastUpdate: \"2016-04-10 07:32:51\",\r\nName: \"Marina\",\r\nNotifications: \"false\",\r\nPlanID: \"0\",\r\nPlanIDs: [\r\n0\r\n],\r\nProtected: false,\r\nShowNotifications: true,\r\nSignalLevel: \"-\",\r\nSubType: \"BWR102\",\r\nTimers: \"false\",\r\nType: \"Weight\",\r\nTypeImg: \"scale\",\r\nUnit: 4,\r\nUsed: 1,\r\nXOffset: \"0\",\r\nYOffset: \"0\",\r\nidx: \"57\"\r\n}\r\n],\r\nstatus: \"OK\",\r\ntitle: \"Devices\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/hansworst24/Ticz/issues/comments/209056105","html_url":"https://github.com/hansworst24/Ticz/issues/13#issuecomment-209056105","issue_url":"https://api.github.com/repos/hansworst24/Ticz/issues/13","id":209056105,"user":{"login":"hansworst24","id":7300919,"avatar_url":"https://avatars.githubusercontent.com/u/7300919?v=3","gravatar_id":"","url":"https://api.github.com/users/hansworst24","html_url":"https://github.com/hansworst24","followers_url":"https://api.github.com/users/hansworst24/followers","following_url":"https://api.github.com/users/hansworst24/following{/other_user}","gists_url":"https://api.github.com/users/hansworst24/gists{/gist_id}","starred_url":"https://api.github.com/users/hansworst24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansworst24/subscriptions","organizations_url":"https://api.github.com/users/hansworst24/orgs","repos_url":"https://api.github.com/users/hansworst24/repos","events_url":"https://api.github.com/users/hansworst24/events{/privacy}","received_events_url":"https://api.github.com/users/hansworst24/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T19:04:40Z","updated_at":"2016-04-12T19:04:40Z","body":"It is typically used for any on/off device in Domoticz. The way I use to identify what is called, is by using Fiddler, and trace which calls are being made to Domoticz in the webUI. For example, these calls are made and return json data for a temperature device\r\n```\r\nhttp://<ip>:<port>/json.htm?type=graph&sensor=counter&idx=3&range=year\r\nhttp://<ip>:<port>/json.htm?type=graph&sensor=counter&idx=3&range=month\r\nhttp://<ip>:<port>/json.htm?type=graph&sensor=counter&idx=3&range=day\r\n```\r\nIn order to get your scale data, I'd recommend to install Fiddler (it's sort of a proxy server), and click on the \"Log\" button of your scale. At that point it should show the graph and you can stop Fiddler from capturing, and somewhere in those lines you'd see which URL is called.\r\n\r\nDepending on your version of Domoticz it might be something new that I haven't seen before :)\r\n\r\n![fiddler](https://cloud.githubusercontent.com/assets/7300919/14472141/06ba5db6-00f2-11e6-9218-514a33f3078e.jpg)\r\n"}}