Forfatter Emne: PellMon logger/setup program för biocomfort/scotte/woody  (Læst 15916 gange)

0 Medlemmer og 1 Gæst læser dette emne.

Offline Farmand

  • Øvet
  • **
  • Indlæg: 15
  • Respekt optjent: +0/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #15 Dato: Okt 07, 2015, 18:14 »
Hej

Jeg har forgæves forsøgt at få stokerkontrol til at køre på raspberry pi 1 og 2 uden held. Så stødte jeg tilfældigvis på pellmon ved en google søgning.
Jeg har anskaffet mig en ny raspberri pi 2 og installeret raspbian og fulgt guiden på github, dog uden at få det til at virke tror jeg.

Virker Pellmon på raspberry pi 2?

Mvh

Lars

Offline kivi

  • Top of the pop
  • *****
  • Indlæg: 361
  • Respekt optjent: +7/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #16 Dato: Okt 07, 2015, 18:32 »
Jeg har haft det til at køre upåklageligt på en B + i over et år, så det burde vel også virke på en 2'er.

Men installationen kan godt være lidt langhåret :)

Du har husket at installere de såkaldte dependencies?
« Senest Redigeret: Okt 07, 2015, 18:33 af kivi »
Mvh
Ole
BlackStar 1016, 16 kW, V6.76, 160+54 m2,  kompressorrens, 300L VVB med solfanger, Pellmon på Raspberry pi

Offline Farmand

  • Øvet
  • **
  • Indlæg: 15
  • Respekt optjent: +0/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #17 Dato: Okt 07, 2015, 18:41 »
Ja. Har fulgt guiden. Men hvordan starter man egentlig programmet?

Offline kivi

  • Top of the pop
  • *****
  • Indlæg: 361
  • Respekt optjent: +7/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #18 Dato: Okt 07, 2015, 19:13 »
sudo service pellmonsrv start
sudo service pellmonweb start

Men du skal bruge en webbrowser for at se "programmet"

Indtast din Raspberry ip adresse/portnummer(8081), jeg bruger altid min iPad da jeg ikke har en skærm på min Raspberry.
Mvh
Ole
BlackStar 1016, 16 kW, V6.76, 160+54 m2,  kompressorrens, 300L VVB med solfanger, Pellmon på Raspberry pi

Offline Farmand

  • Øvet
  • **
  • Indlæg: 15
  • Respekt optjent: +0/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #19 Dato: Okt 07, 2015, 19:31 »
Se billede. Noget er galt


Offline kivi

  • Top of the pop
  • *****
  • Indlæg: 361
  • Respekt optjent: +7/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #20 Dato: Okt 07, 2015, 19:37 »
Puh, nu er det godt nok længe siden jeg sidst har rodet med Linux :P

Jeg tror måske du står i et forkert directory når du prøver at starte Pellmon.

Prøv at reboote Raspberry, så skulle Pellmon starte af sig selv.
Mvh
Ole
BlackStar 1016, 16 kW, V6.76, 160+54 m2,  kompressorrens, 300L VVB med solfanger, Pellmon på Raspberry pi

Offline Farmand

  • Øvet
  • **
  • Indlæg: 15
  • Respekt optjent: +0/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #21 Dato: Okt 07, 2015, 19:42 »
Var lige bootet da jeg prøvede.

Offline kivi

  • Top of the pop
  • *****
  • Indlæg: 361
  • Respekt optjent: +7/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #22 Dato: Okt 07, 2015, 19:47 »
Som sagt er Linux ikke mit speciale, så jeg tror vi må vente på svar fra Motoz som har lavet programmet.

Han plejer at være flink til at svare.

Men ellers prøv at slette det og geninstallere præcis efter instrukserne på github.
Mvh
Ole
BlackStar 1016, 16 kW, V6.76, 160+54 m2,  kompressorrens, 300L VVB med solfanger, Pellmon på Raspberry pi

Offline motoz

  • Top of the pop
  • *****
  • Indlæg: 255
  • Respekt optjent: +18/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #23 Dato: Okt 08, 2015, 06:34 »
Hello Farmand, nice that you are trying PellMon and hope you are ok with English. You can answer in Danish if you like.

PellMon works on raspberry 2 (just faster...)

Technical explanation follows:

The error you see is because the official raspbian image has recently been updated to a new version (jessie), where the init system that is resposible for starting background services (like PellMon) has been totally reworked. As you see here https://www.raspberrypi.org/downloads/raspbian/ the old wheezy based version is still available.

Everything is completely different (and hopefully better). But the new system (called systemd by the way) is supposed to be completely compatible with the old system (called sysV init), so in theory PellMon which is made to work with the sysV init system would just work. In practice there are always details... I have tested with the new raspbian jessie image and PellMon does work fine, but I had to make a change in the installation instructions:

This part:
Kode: [Vælg]
# Start the daemons manually, or reboot
sudo service pellmonsrv start
sudo service pellmonweb start
# Add them to init so they are started at boot
sudo update-rc.d pellmonsrv defaults
sudo update-rc.d pellmonweb defaults

Causes the error you see, because now with the new systemd init system we have to run it the other way, like this:
Kode: [Vælg]
# Add them to init so they are started at boot
sudo update-rc.d pellmonsrv defaults
sudo update-rc.d pellmonweb defaults
# Start the daemons manually, or reboot
sudo service pellmonsrv start
sudo service pellmonweb start
I have updated the system installation instructions with this change.

But as long as you have run these two lines (without errors from them):
Kode: [Vælg]
sudo update-rc.d pellmonsrv defaults
sudo update-rc.d pellmonweb defaults
PellMon should start when you reboot your raspberry. The "Start the daemons manually" part is not necessary, you can also reboot to start them.

You should be able to browse to http://ip_of_your_raspberry:8081 with any webbrowser in your network to see the webinterface or http://localhost:8081 on the raspberry since you seem to have a monitor connected to it.

If not, can you re-run these two lines:
Kode: [Vælg]
sudo update-rc.d pellmonsrv defaults
sudo update-rc.d pellmonweb defaults
and post the output?

Hope this helps, worst case you could start from scratch with the raspbian wheezy image, but I have not managed to find any other problems with the jessie image.
« Senest Redigeret: Okt 08, 2015, 11:27 af motoz »
Bio Comfort 30kW, compressor cleaning, lambda. Termax 25cr boiler. Matene vertical pellet conveyor. PellMon open source pellet logger: https://github.com/motoz/PellMon

Offline Farmand

  • Øvet
  • **
  • Indlæg: 15
  • Respekt optjent: +0/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #24 Dato: Okt 08, 2015, 17:02 »
Very nice Motoz! Thank you very much!! Love when people do what you do and share it with us.. Im right now doing efi system on my motorcycle based on arduino and speeduino board developed and done buy two people. One makes the pcb and one the software.
Is different pictures to use as background?

Thanks again!

Offline motoz

  • Top of the pop
  • *****
  • Indlæg: 255
  • Respekt optjent: +18/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #25 Dato: Okt 08, 2015, 18:26 »
I suppose you have it up and running then, thats great!
There are a number of different system images included, you can select which one to use by editing the configuration file at /etc/pellmon/pellmon.conf

This section almost at the end:
Kode: [Vælg]
# Select system image. Set an absolute path to use your own.
# Choices: system.svg|system_nbe.svg|system_nbe_2w.svg|system_nbe_3w.svg|system_matene.svg|/path/to/your_own_image.svg
system_image = system.svg

The default is a kind of generic burner and boiler, since PellMon can be used with any kind of burner, but you could change it to eg:
Kode: [Vælg]
system_image = system_nbe_3w.svgif  you have a typical scotte system with three-way hot water valve.

If you rather make your own picture there are some tips at https://github.com/motoz/PellMon/wiki/Custom-system-image
Bio Comfort 30kW, compressor cleaning, lambda. Termax 25cr boiler. Matene vertical pellet conveyor. PellMon open source pellet logger: https://github.com/motoz/PellMon

Offline Farmand

  • Øvet
  • **
  • Indlæg: 15
  • Respekt optjent: +0/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #26 Dato: Okt 08, 2015, 20:39 »
Hi. yes its working great at my local network. I have tryed to change the picture to one of the nbe ones.And restart the raspberry but it is not changing.?


Offline motoz

  • Top of the pop
  • *****
  • Indlæg: 255
  • Respekt optjent: +18/-0
Sv: PellMon logger/setup program för biocomfort/scotte/woody
« Svar #27 Dato: Okt 09, 2015, 06:34 »
I think your browser is using it's own copy of the image as it's already downloaded once, and does not realize  there is a  new one. Mostly these things work but every browser seem to handle cached content somewhat differently. You probably need to reload the page (reload button) or possibly force a complete refresh of the page with CTRL-F5 to get the new image.

Or if that doesn't help, then verify that the config file has really changed. You need 'root' rights to be able to save the changes, ie start the editor with 'sudo' like eg 'sudo nano /etc/pellmon/pellmon.conf' to edit with the 'nano' editor in the terminal.
Bio Comfort 30kW, compressor cleaning, lambda. Termax 25cr boiler. Matene vertical pellet conveyor. PellMon open source pellet logger: https://github.com/motoz/PellMon