<div dir="ltr">also asked on OEM forum, but did not get any wiser<div><br></div><div><a href="http://openenergymonitor.org/emon/node/5718">http://openenergymonitor.org/emon/node/5718</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-07 22:13 GMT+02:00 Kevin Wood <span dir="ltr"><<a href="mailto:kevin@the-wood-family.com" target="_blank">kevin@the-wood-family.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bo,<br>
<br>
I've just had a quick glance at it, but everything that goes to OEM is in the structure of type "Payload" called "emontx" that is declared at the top of the file. I'm guessing that you need to insert the return value from "kamDecode" into that structure somewhere.<br>
<br>
Not sure what that represents or whether it needs more conversion beforehand, but the contents of the "Payload" structure is what ends up in the RF message that is sent.<br>
<br>
Cheers,<br>
<br>
Kevin<br>
<br>
On 07/09/14 20:47, Bo Herrmannsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have looked at this sketch the hole day and have an idea on how it<br>
works...<br>
<br>
but i cant figure on how to get the meter data to OEM... for now it just<br>
prints to serial...<br>
<br>
anyone that have the time to tell me excatly how before i loose my mind<br>
more than i have?<br>
<br>
sketch attached<br>
<br>
--<br>
<br>
|||||<br>
@(~Ô^Ô~)@<br>
-------------oOo---U---oOo----<u></u>---------<br>
| |<br>
| Bo Herrmannsen |<br>
| |<br>
| |<br>
| "blessed are the "cracked", |<br>
| for its they who let in the light" |<br>
| Ooo |<br>
|_________________ooO____( )________|<br>
( ) ) /<br>
\ ( (_/<br>
\_)<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><pre><pre><span style="white-space:pre-wrap"> |||||
@(~Ô^Ô~)@
-------------oOo---U---oOo-------------
| |
| Bo Herrmannsen |
| |
| |
| "blessed are the "cracked", |
| for its they who let in the light" |
| Ooo |
|_________________ooO____( )________|
( ) ) /
\ ( (_/
\_)
</span></pre></pre><pre style="white-space:pre-wrap"><br></pre></div>
</div>