Forfatter Emne: Run PellMon on windows 10  (Læst 11731 gange)

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

Offline motoz

  • Top of the pop
  • *****
  • Indlæg: 255
  • Respekt optjent: +18/-0
Run PellMon on windows 10
« Dato: Jan 04, 2018, 08:21 »
I recently had the opportunity to try out the new 'windows subsystem for linux' (WSL) that is included in recent builds of windows 10. It seemed to work quite well so I tried to install pellmon which not only worked, it was actually almost as easy as on a real linux box.

Here's how to do it:
1) Install WSL: https://docs.microsoft.com/en-us/windows/wsl/install-win10 (use ubuntu)
2) Open a bash terminal and follow the normal pellmon install instructions: https://github.com/motoz/PellMon/wiki/How-to-install-PellMon
In short:
Kode: [Vælg]
sudo apt-get install gdebi-core
wget https://github.com/motoz/PellMon/releases/download/v0.7.0/pellmon_0.7.0-1_all.deb
sudo gdebi pellmon_0.7.0-1_all.deb
3) WSL has it's shortcomings, one is that services are not started automatically so we need to start them manually. Pellmon uses a service called DBUS, so that need to be started before the two pellmon services.
Kode: [Vælg]
sudo service dbus start
sudo service pellmonsrv start
sudo service pellmonweb start

Now open a browser and go to localhost:8081 and there it should be. I have not tried connecting to a burner but according to google serial ports should be available to WSL since windows 10 build 16176, and network connection to a V7/10/13 should in any case work.

This is not actually that useful since the services have to be started manually after every reboot, but it could possibly be a simpler way of trying out pellmon for windows-only folks than using a full virtual machine with linux installed.
Bio Comfort 30kW, compressor cleaning, lambda. Termax 25cr boiler. Matene vertical pellet conveyor. PellMon open source pellet logger: https://github.com/motoz/PellMon