Hi
My item:
Number solarview “Leistung [%.2f W]” {exec="<[/share/MD0_DATA/.qpkg/openHAB/configurations/scripts/pv.sh:10000:JS(pv.js)]"}
This is the result:
{00,17,01,2016,21,55,0003.4,00089,000089,00012053,00000,000,000.0,000,000.0,000,000.0,000,000.0,00},%
But I don’t understand how to get only the value that I have marked as bold. What I have tried is state.toString.split(",") but without success.
Any help?
Thanks
Michael