Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
SDeath 68
Hi all,
I am trying to get the last value in the following JSON response:
Please login or register to see this code.
So I am looking to get the 962 value.
This is a collection of timestamps and power metering values from my Flukso, 962 is 962 Watts being used in my home measured using a s0 kWh meter.
I have two, one for my total house consumption and one for my solar panels. The Flukso counts these and can make graphs and keeps historic values.
Ideally I'd like the power panel to use this value as it's input, but it doesn't look that will happen anytime soon.
I tried the following in a VD to get the value, the xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx is the number the sensor is known in the Flukso, I removed it for privacy purposes:
Please login or register to see this code.
But I am stuck and doing something wrong but I can't see what, the error I get is in the json.decode line and this is the error:
Please login or register to see this code.
Thanks in advance for your help.
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.