I’m using smartmeter to read the values from electric meter.
I get the values in kWh. Is there a way to get the values in Wh? I tried Type 1-0_1-8-0 : 1-0_1-8-0_255 but it doesn’t work.
I would suggest, to use a small javascript and use it in a transformation either in things definition (changes item value) or in item/sitemap definition (keeps item value, but just changes the presentation)
Joerg
I’m not familiar with this binding. But the code seems to have an undocumented channel configuration parameter: conversionRatio. If the type is QuanityType this value will be used to divide the input value. So possible if you define the item as Number:Energy and the channel with conversionRatio=0.001. I don’t know if this works, but it might be worth a try.
Thanks all for your feedback.
I think there is a small misunderstanding.
I get the value in kWh without any decimal digits, e.g. I get 37kWh instead of 37.482kWh.
Therefore my question is to get the values in Wh or in kWh with decimal digits.
Do anybody knows if I can do that. I think it is somehow in the things file…
Are you sure you get kWh for 1-0:1.8.0 ?
According to an SML definition i found here this channel should have a scale of ‘Wh x 1’ with a resolution of 0.001 kWh
How long between those changes, does that seem a reasonable rate to you? I’m questioning how much faith to put in the assigned unit.
You haven’t shared your Item definition yet, which does have some influence.
Maybe it’s something what Sascha meant, maybe the accuracy is limited. Maybe it’s changed with entering the password of the meter…
Is that possible?
At the moment I have no password from the provider, but on Monday I will ask for.
I have an eHZ meter from EMH and in the manual of this meter there is mentioned a reduced data set with lower accuracy (kWh) and no actual power sent on the Interface (Page 15).
When enabling the pin protected mode, the full dataset will be sent on the interface.