Page 1 of 1

P1 meterstand

Posted: Friday 06 August 2021 8:56
by kroonp
Can someone tell me how I can read the current P1 meter readings in dzventz. So not the current consumption, but just the current state.

['49','ForecastStr','cell2_3', 'Weersvoorspelling','0','0'],
['0','ForecastStr','cell2_3', 'Weersvoorspelling','0','0'],
['0','Desc', 'cell2_4', 'NAS CPU + HDD','0','0'],
['728','Data', 'cell2_4a', 'CPU','1','0'],
['732','Data', 'cell2_4b', 'HDD','0','0'],
['0','Desc', 'cell2_5', 'Temp + Lux F','1','0'],
['154','Data', 'cell2_5a', 'Temperatuur Fibaro','1','0'],

['147','????????????', 'cell2_5b', 'P1 meterstand,'1','0'], //
Thanks,
Peter

Re: P1 meterstand

Posted: Friday 06 August 2021 11:25
by kroonp
If is use Data I get:
5514588;4242621;90;7485;239;717
I only want the second part: 4242621

Re: P1 meterstand

Posted: Friday 06 August 2021 12:11
by erem
since dzvents is lua, look here

http://lua-users.org/wiki/SplitJoin

Re: P1 meterstand

Posted: Friday 06 August 2021 17:57
by waltervl