Solar data to Toon without the meteradapter

Forum about the tweaking of the Eneco Toon.

Moderator: marcelr

Solar data to Toon without the meteradapter

Postby BertusBeensteen » Sun Mar 25, 2018 7:52 am

Hello everyone,

I'm trying to get my solar data into my toon.
The thing is, i don't have the right meteradapter to use zon op toon. (i have the old one with only one flame)
As of now i log the solar output in PVoutput using the inverters data, and also using an arduino running Solarmeter

So as of now i have two options:
1 Get a new meteradapter somehow (any ideas without spending 200 euros for a new toon?)
2 Getting the data from the Solarmeter (PVoutput is probbably too slow) into the toon database somehow

The solarmeter outouts its data almost instantly, getting basically all needed data for the calculation direcly from the P1 port of the meter, solar data from a S0 kwh-meter, and even water data from an optical sensor.
So everything to calculate current power usage, solar output and gas usage.

Is there a way to write this data to Toons database from the outside?
Or maby I am overlooking some very obvious solution to this "problem"?
BertusBeensteen
Starting Member
Starting Member
 
Posts: 5
Joined: November 2016

Re: Solar data to Toon without the meteradapter

Postby marcelr » Sun Mar 25, 2018 5:19 pm

You could ask TerrorSource, he might have some for sale.
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Solar data to Toon without the meteradapter

Postby BertusBeensteen » Sun Mar 25, 2018 6:15 pm

marcelr wrote:You could ask TerrorSource, he might have some for sale.


I would, but unfortunately I can't send private messages yet.
BertusBeensteen
Starting Member
Starting Member
 
Posts: 5
Joined: November 2016

Re: Solar data to Toon without the meteradapter

Postby marcelr » Sun Mar 25, 2018 6:19 pm

OK, I will contact him, then.
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Solar data to Toon without the meteradapter

Postby TheHogNL » Sun Mar 25, 2018 6:25 pm

This question is asked before. But for now there is no clue how to get the solar data into the Toon. The options are:
- faking a powermeter - requires zwave skills and some reverse engineering
- modifying all qmf solar/energy apps which read the solar power from another source instead of the internal one (which is rrd using bxt)

A lot of time and effort for just a screen showing your produced, used and delvered energy. Which can easily be graphed using grafana or other graphing tools as you already have that data.
TheHogNL
Member
Member
 
Posts: 298
Joined: August 2017

Re: Solar data to Toon without the meteradapter

Postby marcelr » Sun Mar 25, 2018 7:41 pm

It's quite possible to write the databases with another application than toons own code. It's not so clear how this interferes with the native software, though. For now, the easiest way is to go through the native firmware, with the right metering hardware. Toonz has been playing with database copying and transcription onto another toon. In a similar way, the solar power databases might be filled, but that requires quite some effort. Haven't heard of any volunteers, yet.
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Solar data to Toon without the meteradapter

Postby BertusBeensteen » Mon Mar 26, 2018 10:39 am

There may be a way around the toon database using custom apps, but unfortunately I'm a noob when it comes to coding.

I think most of us also have some sort of smarthome device like domoticz. Maybe we can display graphs from domoticz on the toon. This may make other things easier as well. (Like adding water usage for example)
Just some food for thought I guess.

TerrorSource and I will exchange our meteradapters btw, so the issue should be resolved.
BertusBeensteen
Starting Member
Starting Member
 
Posts: 5
Joined: November 2016

Re: Solar data to Toon without the meteradapter

Postby erik73 » Mon Jun 25, 2018 8:22 pm

Would it be (quite) easy to connect 1 or 2 optimale readers om the adaptor and translate thuis with a toon-app ?
I just started with rp en rooted Toon, so maybe a strange question.
erik73
Starting Member
Starting Member
 
Posts: 1
Joined: June 2018

Re: Solar data to Toon without the meteradapter

Postby timkoers » Thu Jun 28, 2018 6:52 pm

I've been working on some code to convert P0 data into DSMR v5.0.2

https://gist.github.com/timkoers/667563 ... 9b4bc9ddcf

Updates are needed though, since I can't confirm if it's working or not. The ESP-32, on which the code runs has got 3.3V outputs and the DSMR v5.0.2 states that a minimum of 4V is required.
I've ordered these level shifters: https://www.pololu.com/product/2595, since they are absolutely tiny and work perfectly!
timkoers
Starting Member
Starting Member
 
Posts: 3
Joined: June 2018


Return to Eneco Toon as Domotica controller

Who is online

Users browsing this forum: No registered users and 1 guest