P1 meterstand

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
kroonp
Posts: 43
Joined: Friday 17 July 2020 11:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

P1 meterstand

Post 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
kroonp
Posts: 43
Joined: Friday 17 July 2020 11:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: P1 meterstand

Post by kroonp »

If is use Data I get:
5514588;4242621;90;7485;239;717
I only want the second part: 4242621
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: P1 meterstand

Post by erem »

since dzvents is lua, look here

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

Rob
User avatar
waltervl
Posts: 5858
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: P1 meterstand

Post by waltervl »

Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest