{"action":"created","issue":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/387","labels_url":"https://api.github.com/repos/pimatic/pimatic/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic/issues/387/comments","events_url":"https://api.github.com/repos/pimatic/pimatic/issues/387/events","html_url":"https://github.com/pimatic/pimatic/issues/387","id":49051073,"number":387,"title":"Volkszaehler Plugin / Mobile Frontend : digits are rounded, units are wrong","user":{"login":"leader21","id":8620305,"avatar_url":"https://avatars.githubusercontent.com/u/8620305?v=3","gravatar_id":"","url":"https://api.github.com/users/leader21","html_url":"https://github.com/leader21","followers_url":"https://api.github.com/users/leader21/followers","following_url":"https://api.github.com/users/leader21/following{/other_user}","gists_url":"https://api.github.com/users/leader21/gists{/gist_id}","starred_url":"https://api.github.com/users/leader21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leader21/subscriptions","organizations_url":"https://api.github.com/users/leader21/orgs","repos_url":"https://api.github.com/users/leader21/repos","events_url":"https://api.github.com/users/leader21/events{/privacy}","received_events_url":"https://api.github.com/users/leader21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-11-17T07:09:01Z","updated_at":"2015-01-20T10:39:57Z","closed_at":null,"body":"i am using volkszaehler plugin to gather my energy consumption from my photovoltaics. \r\nin the mobile frontend the output from the volkszaehler database is rounded and the units are in kW instead of kWh.\r\nIs there any possibility to change that? \r\n\r\nHave a look here at this : \r\n![vz-plugin1](https://cloud.githubusercontent.com/assets/8620305/5066160/8420ae9c-6e2f-11e4-86bb-c78451e5408d.jpg)\r\n![vz-plugin2](https://cloud.githubusercontent.com/assets/8620305/5066243/b4064b98-6e30-11e4-8f56-823be6b8cfc7.jpg)\r\n\r\n\r\nUsually the consumptions should look something like that : \r\nStrom Bezug: 5794.9 kWh, Strom Einspeisung 9744.1 kWh, PV Ertrag gesamt: 13826.8 kWh, Strom Eigenverbrauch : 4082.7 kWh, Strom Gesamtverbrauch: 9877.6 kWh\r\n\r\nThe rounded digits are too vague to be of any use at all. Sure you can see a trend and a graph that's rising up, but thats all. Would be better to have precise data than rounded digits to have a detailed survey. "},"comment":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/comments/70634804","html_url":"https://github.com/pimatic/pimatic/issues/387#issuecomment-70634804","issue_url":"https://api.github.com/repos/pimatic/pimatic/issues/387","id":70634804,"user":{"login":"leader21","id":8620305,"avatar_url":"https://avatars.githubusercontent.com/u/8620305?v=3","gravatar_id":"","url":"https://api.github.com/users/leader21","html_url":"https://github.com/leader21","followers_url":"https://api.github.com/users/leader21/followers","following_url":"https://api.github.com/users/leader21/following{/other_user}","gists_url":"https://api.github.com/users/leader21/gists{/gist_id}","starred_url":"https://api.github.com/users/leader21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leader21/subscriptions","organizations_url":"https://api.github.com/users/leader21/orgs","repos_url":"https://api.github.com/users/leader21/repos","events_url":"https://api.github.com/users/leader21/events{/privacy}","received_events_url":"https://api.github.com/users/leader21/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T10:39:57Z","updated_at":"2015-01-20T10:39:57Z","body":"sorry for the late reply on this, i was checking this out with some figures.\r\n\r\nyou're right, now there are three numbers after the decimal. here are two screenshots i took.\r\nat the first one you can see that the fields Stromverbrauch 24h and Eigenverbrauch 24h are 0.4 and 5.4\r\n![energymeters1](https://cloud.githubusercontent.com/assets/8620305/5815446/f85274ba-a095-11e4-9652-dea66f80ef40.jpg)\r\n\r\nafter i was adding the unit \"kWh\" to the device it shows 0.500 and 5.400\r\n![energymeters2](https://cloud.githubusercontent.com/assets/8620305/5815440/ef077234-a095-11e4-85b1-0bdc0a6b4477.jpg)\r\n\r\ntherefore you're modification is working fine to show up three decimals.\r\nabove you can see the Photovoltaik Energiemonitor which displays the actual outputs from the pv-inverter. These readings are also correct regarding the point as decimal separator. \r\n\r\nyour above samples are fine! and the point as separator is fine too. (think this should be mentioned somewhere to avoid confusion maybe).\r\nbut short question on this example. \r\n> 8123.456 kW => 8123.456 kW\r\n\r\ndid you mean 8123,456 kW => 8123.456 kW\r\nthe comma will be replaced by the point as separator. \r\nor did you mean by this that it stays the same and doesn't change at all? \r\nimho both would be correct. what do you think?"}}