Hello
I managed to build a system with RaspberryPI, emonTx and emonGLCD.
I downloaded firmware into emonGLCD and emonTX (setting the right frequency first).
On the emonGLCD I used the "solarPV" example from the "EmonGLCD-master" file I got from GIT.
On the raspberry I used the "ready to go" image
Now I have data flowing this way:
emonbase ->RaspberryPI (I can see the node and the data values on the integrated web server)
emonGLCD->RaspberryPI (I can see the node and the data values on the integrated web server)
but I cannot see data RaspberryPI ->emonGLCD and the display shows "baseFail"
From the "solarPV" example I see no "payload" structure for receiving data from emonbase...
Am I right?
How to configure data raspberry->emonGLCD?
thanks
Re: Data RaspberryPI -> emonGLCD
Hi.
I guess you mean "emonTX ->RaspberryPI", not "emonbase ->RaspberryPI".
I don't have any emonGLCD myself. As far as I understand from the doc (http://openenergymonitor.org/emon/emonglcd), it is supposed to receive
- data from emonTX
- time from emonBase
I don't know about data from emonTX, but regarding time from emonBase, you might be interested in reading the comments on this page :
http://harizanov.com/2013/02/new-rfm2pi-board-in-the-works/
I implemented a new emonBase gateway that implements the "send time to emonGLCD" feature :
https://github.com/emoncms/raspberrypi/pull/10
I shall write a quick how to. Nothing really complicated. Stop raspberry_run.py (remonve cron line), launch rfm2pigateway.py. A little more work if you want automatic launch on startup, etc, but it may be worth trying.
Re: Data RaspberryPI -> emonGLCD
Thanks for the reply.
What I need is just feed the clock data from raspberry to emonGLCD.
I am a newbie when it comes to linux.
I found the entry on the crontab file pointing to the raspberrypi_run.php
I followed the procedures in Jit (Jerome-github / emoncms_raspberrypi)... but somehow it is not working. I guess that I have to make some parametrization somewhere...
I do not know where the updated raspberry_run is located, but it is not in the location pointed by the crontab, so I guess that I am still running with the old code.
Any suggestion?
Thanks for the impressive work!
Re: Data RaspberryPI -> emonGLCD
Hi.
The gateway I wrote that does send time to GLCD (this part was coded but not tested yet, I'm interested in user feedback) is a python script : rfm2pygateway.py. It comes as an alternative to raspberry_run.php.
I guess I need to clarify this. Let me write a how to, and come back here afterwards.
Re: Data RaspberryPI -> emonGLCD
Thanks for the reply!
I am looking forward to test the code when it will be ready (I should get connect my PV plant to the grid this week and so I am in the mood to "play" with emonTX, raspberry, and emonglcd).
Bye
Re: Data RaspberryPI -> emonGLCD
If you feel adventurous, there's a guick how to on my profile. It involves moving to emoncms dev branch.
It might be simpler for you to just modify raspberry_run.php as suggested in http://harizanov.com/2013/02/new-rfm2pi-board-in-the-works/. At least it is worth trying.