Homey Community Forum

Nefit Easy

app
#42

thx for the help, need to install/find git on my windows env, will get back later on this.

#43

Should work on your RPi just fine :slight_smile:

#44

yes, but completly screwed that one up, also for Atom i would like to have Git running. Bedankt!

#45

the checkout gives me error: pathspec ‘https://github.com/robertklep/nl.nefit.easy’ did not match any file(s) known to git. Both on windows and RPi (back on its feet again).

#46

Dammit, typo, instead of checkout use clone :stuck_out_tongue:

#47

Success!

#48

@robertklep thanks for app! I was wondering if the Nefit API also allows insight into the gas usage. The native app for android shows gas usage from the start of the year (under “historie”).
Is it possible to add this into the app? I would like to send a daily/weekly/monthly report on gas usage with homey and don’t have a digital meter with a P1 port :slight_smile:

#49

Yes, the API provides that information, but it will require quite a bit of work to get it working in the Homey app.

The standalone Nefit Easy CLI tool can be used to export this data, although I realize that it may be a challenge to get that up and running (because it only exports the data, in JSON format, which subsequently would have to be processed to generate daily/weekly/monthly stats).

#50

Thanks.
I see the default JSON output contains the last ~30 days of gas usage per day for heating and hot water.
Even though i would love for this “report” to be included in homey I will add it to grafana from your CLI script and handle it from there.
Picking up the data only once per day won’t get me blocked either :slight_smile:

{
“date”: “Tue Apr 09 2019”,
“hot water”: 2.5,
“central heating”: 0,
“average outdoor temperature”: 9.9
}

Perhaps it would be easy to extract just the last day and use that for a report in homey?
Then there is at least a daily report.
I understand it would be quite the hassle to create weekly/monthly/yearly stats.

#51

I’ll have to check how Insights works. I assume it only stores (registered) capability values, which means that if I were to implement this, you’d have to re-pair the device before the data will be shown in Insights (however, that might not be a big problem for most users).

I’ve created a Github issue to remind myself to take a look at this: https://github.com/robertklep/nl.nefit.easy/issues/11

However, given that I don’t really use my Homey anymore, I can’t promise that I will even implement this.

#52

No problem Robert. It’s not a make or break issue for me. The rest of nefit easy app works just fine.

#53

Eventually solved it by running the “easy” binary on a existing linux server that writes the results in a file that is hosted on apache every day at 0:05.
The output is already json so with the HTTP request APP i put the daily values in better logic vars and send them with telegram every day.

Will create 2 more flows to add the daily values to a monthly var and send that montly when i have the time.