Har du lyst til at støtte Stoker Pro? Læs mere her: Støt Stoker Pro Forum

Raspberry Pi

Spørgsmål vedr. Woody samt det tilbehør der laves til Woody pillefyret
Besvar
Brugeravatar
motoz
Stoker IV
Stoker IV
Indlæg: 124
Tilmeldt: 14 feb 2013 08:06
Mit fyr: BioComfort 30kW + termax 25cr
Geografisk sted: Ostrobothnia
Modtaget likes: 11 gange
Kontakt:

Raspberry Pi

Indlæg af motoz » 01 dec 2014 11:17

Until now PellMon has been drawing all graphs on the server which are then downloaded as bitmap image files. This was a quick way to get started as the database used (RRD) has build in support for drawing graphs from the saved data. It was however a bit straining for the poor raspberry and I have always wanted to move the drawing to the browser, but other things have always felt more "important".

Now it finally seemed like most other things are working well enough so I started looking into it. The 'develop' branch at https://github.com/motoz/PellMon/tree/develop now has all graphs drawn client side by the excellent flot javascript library, with tooltips, zooming and panning in the main graph. The silo level and bar charts data is also cached server side so the consumption overview page loads in a fraction of the time it used to take. Still some work to do, like eg. multiple y-axis support, before I merge it to 'master' but if anybody like to beta-test the development version please go ahead!
PellMon open source pellet logger at https://github.com/motoz/PellMon


rydos
Stoker I
Stoker I
Indlæg: 2
Tilmeldt: 30 okt 2014 10:15

Raspberry Pi

Indlæg af rydos » 01 dec 2014 20:08

hey, is there any demo running what we could see without trying it ourself:)

Brugeravatar
motoz
Stoker IV
Stoker IV
Indlæg: 124
Tilmeldt: 14 feb 2013 08:06
Mit fyr: BioComfort 30kW + termax 25cr
Geografisk sted: Ostrobothnia
Modtaget likes: 11 gange
Kontakt:

Raspberry Pi

Indlæg af motoz » 01 dec 2014 20:31

No I don't have a demo site (or the demo at motoz.pyhonanywhere.com is getting really old and probably wont ever get updated since they don't support running a websocket server anyway)
PellMon open source pellet logger at https://github.com/motoz/PellMon

KeldP
Stoker I
Stoker I
Indlæg: 4
Tilmeldt: 06 feb 2013 20:51
Mit fyr: Scotte Plus
Areal: 130
Brændsel: 8mm Træpiller
Geografisk sted: Gramrode 7130 Juelsminde

Raspberry Pi

Indlæg af KeldP » 25 feb 2015 16:05

Hej
Jeg er ny både til linux / raspberry pi og Pellmon men har da fået det installeret og der kommer også grafer og jeg kan se tal inde i Parameters men på forsiden pellmon er der kun streger hvor der skulle være tal er der nogen der kan forklare en nybegynder hvad jeg skal gøre

har et scotte plus 10kw med 6.85 chip

Hilsen Keld P.

p.s. syntes det er et fantastisk program i har fået lavet

Brugeravatar
motoz
Stoker IV
Stoker IV
Indlæg: 124
Tilmeldt: 14 feb 2013 08:06
Mit fyr: BioComfort 30kW + termax 25cr
Geografisk sted: Ostrobothnia
Modtaget likes: 11 gange
Kontakt:

Raspberry Pi

Indlæg af motoz » 25 feb 2015 16:59

Hello, I hope you are ok with English.
Did you install the 'optional dependency' ws4py as described in https://github.com/motoz/PellMon/wiki/H ... ll-PellMon:

Kode: Vælg alt

sudo apt-get install python-pip
sudo pip install ws4py
I says 'optional' because getting the values for the system image should work without it, just in a less elegant and effecient way, but I just checked and it doesn't... :oops:

So if you didn't install ws4py that's your answer, install it and everything should work... If you already have it installed there is something else going on.

I'll fix the bug right away, but having the websocket module installed is very much recommended.
PellMon open source pellet logger at https://github.com/motoz/PellMon


KeldP
Stoker I
Stoker I
Indlæg: 4
Tilmeldt: 06 feb 2013 20:51
Mit fyr: Scotte Plus
Areal: 130
Brændsel: 8mm Træpiller
Geografisk sted: Gramrode 7130 Juelsminde

Raspberry Pi

Indlæg af KeldP » 25 feb 2015 17:43

mange tak det virkede

Brugeravatar
motoz
Stoker IV
Stoker IV
Indlæg: 124
Tilmeldt: 14 feb 2013 08:06
Mit fyr: BioComfort 30kW + termax 25cr
Geografisk sted: Ostrobothnia
Modtaget likes: 11 gange
Kontakt:

Raspberry Pi

Indlæg af motoz » 25 feb 2015 19:51

Great, and now the bug is also fixed.
PellMon open source pellet logger at https://github.com/motoz/PellMon

KeldP
Stoker I
Stoker I
Indlæg: 4
Tilmeldt: 06 feb 2013 20:51
Mit fyr: Scotte Plus
Areal: 130
Brændsel: 8mm Træpiller
Geografisk sted: Gramrode 7130 Juelsminde

Raspberry Pi

Indlæg af KeldP » 27 feb 2015 10:57

har lige et par spørgsmål mere :)
tiden i overview -> settings -> current time skal den ikke bare vise hvad klokken er eller er det hvor meget sneglen har kørt ?

og så har jeg ikke lige fundet ud af hvordan jeg få den på nettet

Brugeravatar
motoz
Stoker IV
Stoker IV
Indlæg: 124
Tilmeldt: 14 feb 2013 08:06
Mit fyr: BioComfort 30kW + termax 25cr
Geografisk sted: Ostrobothnia
Modtaget likes: 11 gange
Kontakt:

Raspberry Pi

Indlæg af motoz » 27 feb 2015 13:43

The 'current time' parameter shows the 'minutes elapsed since midnight' value read from your scotte, converted to hours;minutes. Doesn't it work?

How to access your network from the outside internet is beyond the scope of PellMon, but basically like this:

To access your pellmon logger from outside your own network you need to open access to it in your router. PellMon runs on port 8081 by default, so that port needs to be forwarded in your router to the IP of your raspberry. For that to make any sense the raspberry needs to have a static IP so it doesn't get a new IP every time it boots. A fixed IP for the raspberry can be accomplished by changing the network configuration in the raspberry to static, or by configuring the DHCP server in your router to always hand out the same IP to the raspberry's mac address. When you have that set up you can access your PellMon logger from the outside internet at your external IP:8081. To avoid having to remember your external IP, which also changes every now and then, you can use an external service like http://www.noip.com/remote-access or other similar. Many routers have build in support for one or several services of the kind, alternative an update client can be run on the raspberry. Hope this helps.

And remember to change the default username/password in pellmon when you open access from the outside world.
PellMon open source pellet logger at https://github.com/motoz/PellMon

KeldP
Stoker I
Stoker I
Indlæg: 4
Tilmeldt: 06 feb 2013 20:51
Mit fyr: Scotte Plus
Areal: 130
Brændsel: 8mm Træpiller
Geografisk sted: Gramrode 7130 Juelsminde

Raspberry Pi

Indlæg af KeldP » 28 feb 2015 13:33

super så er jeg også på nettet og tiden er vist også i orden når nu der er ikke er klokken den skal vise
du skal have mange tak for et godt program og god support


Besvar