Stokerforum
Pillefyr => Boink, Scotte, Woody, Biocomfort, RTB => Emne startet af: lyrakken efter Dec 07, 2016, 21:20
-
Jeg har leget lidt med pellmon.
Men jeg kan ikke redigere i cenfig filerne.
I root melder den noget om at den ikke kan åbne filen til at gemme, og når jeg prøver webconfig vil den ikke åble web med port 8083.
Kan man egentligt få pellmon til at sende data til stokercloud?
-
Umiddelbart tror jeg ikke at pellmon og Stokercloud et kompatible. Jeg tvivler også at der er mange der roder med Pellmon, jeg tror du skal forsøge dig på et forum der speciallicerer sig i opgaven, en hurtig googling gav dette: https://github.com/motoz/PellMon
-
prøv at tage it kig her - http://www.stokerforum.dk/index.php?topic=6803.0
-
Hello lyrakken,
Hope you are ok with English. You need to use 'sudo' to edit the config files.
Like:
sudo nano /etc/pellmon/pellmon.conf
Or to use the web config tool:
sudo pellmonconf
If that does not work, please post any error messages then I can help you. (I can read Danish just fine..)
It would be quite simple to add stokercloud compatibility to pellmon (the protocol is very simple), but you need to have a stokercloud account anyway (need to buy stokerkontrol or a V7/10 box) and that would not be very nice of me to do either so I'm not going to do that.
Jeg tvivler også at der er mange der roder med Pellmon
Several hundred times more than I imagined when I started coding it ;)
-
Several hundred times more than I imagined when I started coding it ;)
Nu tænkte jeg specifikt på folk der havde NBE pillefyr, men jeg kan da godt se at vi overhovedet ikke aner hvilket fyr lyrakken har ::)
Han har blot postet i Scotte/Woody/... tråden og så var jeg så naiv at at tro at det var sådan et fyr han havde. ^-^
It would be quite simple to add stokercloud compatibility to pellmon (the protocol is very simple), but you need to have a stokercloud account anyway (need to buy stokerkontrol or a V7/10 box) and that would not be very nice of me to do either so I'm not going to do that.
Stokercloud virker også fint med alle de gamle V6 styringer og ældre, disse kræver blot en tændt computer til at kommunikere med fyret.
Nu ved jeg ikke meget om Pellmon, men hvis man har en V7 tilsluttet direkte til Stokercloud, hvad skulle gevinsten så være ved også at have Pellmon? Jeg har gået og troet at det var data opsamling til styringer der ikke kunne selv!
-
men hvis man har en V7 tilsluttet direkte til Stokercloud, hvad skulle gevinsten så være ved også at have Pellmon
As I myself nowadays have a V7 box and use Pellmon I can answer why I do that. I don't like being dependent on a third party server which may or may not be available to be able to control my essential equipment. I can add useful things myself, like for instance the quite accurate future silo level prediction and the cleaning counter that alerts me when I have burned over 3tons since the last cleaning (easy to forget). I could also switch from a V6 to a V7 box without losing any history at all (consumptions charts, events). I can add as many temperature or other sensors or digital inputs/outputs as I like. I can easily interface with open home automation systems like openHab/domoticz using the pellmon command line interface. I don't have an android phone so the official app does not work. And I also like to fiddle with things because it's fun...
It's my impression that most Pellmon users do infact have a scotte/woody burner, I think partly because it's so easy to set up and partly because scotte users are quite aware of the usefulness of being able monitor their burner remotely while many other pellet users don't even know what they are missing. Using Pellmon with any other burner without an open communication interface requires a lot more fiddling and does not give any way to control the burner, just monitor it, so it's not as attractive as a scotte/pellmon combo.
-
Pyha, det lyder som en tidsrøver :D
Jeg tror jeg slår mig til tåls med funktionerne i Stokerkontrol ;D men jeg syntes at NBE er rigtig gode til at opsnappe og implementere ideer der kommer her i forummet, man skal naturligvis være lidt tålmodig :)
Jeg tror bare jeg bruger den sparede "pellmon tid" på et par ekstra rens af fyret. ;D
-
Pyha, det lyder som en tidsrøver :D
That's kind of the whole point of having a hobby, isn't it? ^-^
-
Jeg har en scotte 6.xx. Og prøver at få det til at køre på en raspberry pi.
Jeg har prøvet med webconfic, men når jeg har skrevet kommandoen i konsollen og åbner browseren kan jeg ikke tilgå port 8083, men kan godt åbne programmet (port 8081).
Jeg uploader til stokercloud via pc og stokerkontrol
-
That's strange. Do you get any error messages from pellmonconf in the terminal? Any error messages in the browser?
This is what it should look like:
pi@raspberrypi ~ $ sudo pellmonconf
/etc/pellmon/pellmon.conf
Open http://<ip>:8083 with your webbrowser to view the configuration tool
Run as root to be able to save changes
Quit with CTRL-C
Then I open http://192.168.1.9:8083 on my pc and when I'm done I quit pellmonconf with ctrl-c in the terminal window.
If pellmonconf returns to the command prompt like this there is some kind of error:
pi@raspberrypi ~ $ sudo pellmonconf
/etc/pellmon/pellmon.conf
Open http://<ip>:8083 with your webbrowser to view the configuration tool
Run as root to be able to save changes
Quit with CTRL-C
pi@raspberrypi ~ $
Does pellmon work at all (on port 8081)? It should not need any configuration changes at all to work with a scotte 6.xx.
-
Pyha, det lyder som en tidsrøver :D
Jeg tror jeg slår mig til tåls med funktionerne i Stokerkontrol ;D men jeg syntes at NBE er rigtig gode til at opsnappe og implementere ideer der kommer her i forummet, man skal naturligvis være lidt tålmodig :)
Jeg tror bare jeg bruger den sparede "pellmon tid" på et par ekstra rens af fyret. ;D
Den sparede tid kommer jeg ikke langt med, det tog ca. 1/2 time at installere og sætte op og jeg er komplet ukyndig i Linux.
Det har kørt nu i to år uden et eneste udfald eller behov for genstart.
Og så bruger en Rasberry kun en promille strøm i forhold til en pc.
-
Pyha, det lyder som en tidsrøver :D
Jeg tror jeg slår mig til tåls med funktionerne i Stokerkontrol ;D men jeg syntes at NBE er rigtig gode til at opsnappe og implementere ideer der kommer her i forummet, man skal naturligvis være lidt tålmodig :)
Jeg tror bare jeg bruger den sparede "pellmon tid" på et par ekstra rens af fyret. ;D
Den sparede tid kommer jeg ikke langt med, det tog ca. 1/2 time at installere og sætte op og jeg er komplet ukyndig i Linux.
Det har kørt nu i to år uden et eneste udfald eller behov for genstart.
Og så bruger en Rasberry kun en promille strøm i forhold til en pc.
Min 7er tager ikke ekstra strøm fordi den er sat til routeren, og så sparer jeg investeringen i RasberryPi..
Da jeg havde 6.xx målte jeg på PC'en, den brugte mellem 10 og 13w, har du målt på RP?
-
Så har jeg fået det op at køre.
Jeg får dog en error log med silo level parameter line 1
Kan du forklare mig lidt mht. at få den på stokercloud, jeg har jo licens.
-
Så har jeg fået det op at køre.
Great!
Kan du forklare mig lidt mht. at få den på stokercloud, jeg har jo licens
I think you misunderstood me, it is not possible to use pellmon with a V6 controller and stokercloud at the same time.
I just tried to explain that it could be done (for an experienced programmer in maybe a weekend or so), but I'm not going to add stokercloud support to pellmon.
Jeg får dog en error log med silo level parameter line 1
I don't know exactly what you mean, can you post the exact error message you see?
______
og så sparer jeg investeringen i RasberryPi.
Xkfc, if you really think that investing in a raspberry is an obstacle then you'll be pleased to learn that pellmon runs on any kind of pc, but since a mostly idle raspberry draws about 1.5W the investment pays itself back in a couple of years at most. But PellMon is obviously not for you anyway.
-
Xkfc, if you really think that investing in a raspberry is an obstacle then you'll be pleased to learn that pellmon runs on any kind of pc, but since a mostly idle raspberry draws about 1.5W the investment pays itself back in a couple of years at most. But PellMon is obviously not for you anyway.
Tja, både og :D jeg er sikker på at jeg kunne få meget god tid til at gå med en RasberryPi ;)
Men ikke til fyret, Stokercloud dækker mit behov. Det virker rigtig godt og er klippe stabilt..
-
Ærgeligt med stokercloud, og endnu mere ærgeligt at man har fjernet muligheden for at installere stokerkontrol.
Den fejl jeg får er under events: INFO -silolevel prediction error: Expecting value: line 1 collum 1 (char 0)
-
og endnu mere ærgeligt at man har fjernet muligheden for at installere stokerkontrol.
Mig bekendt har man da ikke fjernet muligheden for at bruge og installere Stokerkontrol, NBE har tværtimod gjort det muligt for Stokerkontrol at kommunikere med Stokercloud. ;)
-
Den fejl jeg får er under events: INFO -silolevel prediction error: Expecting value: line 1 collum 1 (char 0)
I can not repeat that error, it means that the there was an error when trying to predict how long the silo contents will last according to your pellet consumption history.
Do you have a silo level graph looking something like this? (https://s24.postimg.org/6b0f51a35/screenshot.png) (https://s24.postimg.org/5lhmso9jp/screenshot.png)
If the future prediction works there is a light gray area of the graph staring from 'now' and going down to zero kg sometime in the future.
-
Well, sometimes I need something to remind myself of my own reminders... That's actually an old bug I filed myself over a year ago to not forget about it... https://github.com/motoz/PellMon/issues/67
It occurs for a while around the time a new months begins (not exactly since pellmon counts 'months' as exactly 1/12 year to simplify the calculations). I haven't gotten around to fixing it yet, it's anyway temporary and only affects the silo level future prediction and causes some extra noise in the log.
-
og endnu mere ærgeligt at man har fjernet muligheden for at installere stokerkontrol.
Mig bekendt har man da ikke fjernet muligheden for at bruge og installere Stokerkontrol, NBE har tværtimod gjort det muligt for Stokerkontrol at kommunikere med Stokercloud. ;)
Det er ikke muligt at installere på raspberry pi, fordi de nødvendige filer er fjernet fra stokercloud siden.
Btw. Er det muligt at hente udetemperaturen fra nettet som det er i stokerkontrol?
Jeg synes nemlog ikke om at der skulle være 199 grader.
-
Jeg ved ikke om pellmon kan hente temp. fra nettet, det må motoz svare på.
Men hvis ikke, kan du jo selv sætte en føler på, det har jeg gjort.
-
Og Kenneth, du trænger til at få opdateret din signatur ^-^
-
No, pellmon can't fetch outside temperature from the internet.I have a couple of onewire sensors to measure outdoors and indoor temps and a couple of others, they are cheap and very accurate. You can of course add a sensor directly to the controller, or you can remove the outside temp reading from the system image to avoid seeing the annoying 199 degrees.
-
Og Kenneth, du trænger til at få opdateret din signatur ^-^
Sørme osse da ^-^
No, pellmon can't fetch outside temperature from the internet.
Nå, jeg troede netop at Pellmon's styrke lå i at man kan lave hvad man vil :) men det kræver naturligvis at man kan hvad man vil. :D
-
kenneth, hvorfor har du set dig så sur på et gratis stykke software, der hjælper os v6 brugere med at komme nemt og billigt online.
Stokerkontrol er mig bekendt ikke blevet opdateret de seneste 4-5 år.
-
kenneth, hvorfor har du set dig så sur på et gratis stykke software, der hjælper os v6 brugere med at komme nemt og billigt online.
Stokerkontrol er mig bekendt ikke blevet opdateret de seneste 4-5 år.
Jeg har bestemt ikke set mig sur på noget som helst, jeg har bare misforstået nogle indlæg, ;)
Jeg troede at det var open source, og at man kunne lege med det som man lyster, og i så fald er det jo programmørens kvalifikationer der afgør om man kan implementere data fra andre hjemmesider. Som tidligere hjemmeside konstruktør kan jeg da berette at det slet ikke er umuligt, det virker jo også i Stokerkontrol.
Det var ikke noger der ærgrede mig at Stokerkontrol ikke opdateres længere, det virker jo perfekt, og hvis der er noget jeg ser mig sur på så er det altså alle de forbandede opdateringer.
Og er Pellmon nu også et billigt alternativ til at komme online! Efter at NBE gjorde det muligt at Stokerkontrol kommunikerer med Stokercloud skal man jo ikke længere have server plads ude i skyen, jeg ved godt at der findes gratis host løsninger, men de er ofte fyldt med reklamer.
Jeg har også forstået at Pellmon kun monitorerer systemet, og at man ikke kan styre fyret derfra. Hvis det er rigtig forstået så er det jo helt sikkert et "minus" (for mig)
Det vigtigste er jo at du har et system der matcher dit behov, og din investerings villighed :)
-
Hehe det lød bare sådan Kenneth.
Pellmon er da open source, jeg har bare ikke nok forstand på programmering til at ændre ret meget.
Du kan styre næsten alle parametre på fyret fra Pellmon og jeg kan gøre det fra min ipad.
Hvis alternativet er at købe ny styring, så er en Raspberry en billig løsning, der tilmed ikke bruger meget strøm.
Alt i alt er jeg meget tilfreds med det setup.
-
Hehe det lød bare sådan Kenneth.
Pellmon er da open source, jeg har bare ikke nok forstand på programmering til at ændre ret meget.
Du kan styre næsten alle parametre på fyret fra Pellmon og jeg kan gøre det fra min ipad.
Hvis alternativet er at købe ny styring, så er en Raspberry en billig løsning, der tilmed ikke bruger meget strøm.
Alt i alt er jeg meget tilfreds med det setup.
Det er bare super, kunne du ikke smide et link i din profil ,så man kunne følge lidt med i hvad det er for noget fint noget :D
-
There you go, PellMon versin 0.7.0-beta4 with a new plugin Openweathermap that reads outside temperature from openweathermap.com
I thought it would be really quick to add, but there went two hours again...
https://github.com/motoz/PellMon/releases
(https://s29.postimg.org/9lq7eotyr/Screenshot_from_2016_12_12_20_30_08.png) (https://s29.postimg.org/b0rs3ev1z/Screenshot_from_2016_12_12_20_30_08.png)
And since that was apparently not clear to everyone; PellMon is free and open source, meaning that you can see the source code, modify it to suit your needs and even sell it if you like.
The openwheathermap plugin code for instance looks like this: https://github.com/motoz/PellMon/blob/develop/src/Pellmonsrv/plugins/openweathermap/__init__.py
-
Har ikke prøvet det endnu, men damn det er god service...
Jeg går ud fra at det bare er at opdatere via deb package.
-
Motoz, Pellmon ser rigtig spændende ud og jeg deler din holdning om ikke at være afhængig af 3part. Spørgsmålet er så, om Pellmon kan spille sammen med et RTB fyr? :)
Mvh
Claus
-
Lyracken, yes you update by downloading the .deb file, for instance with wget or with your browser, then install it with gdebi.
wget https://github.com/motoz/PellMon/releases/download/v0.7.0-beta4/pellmon_0.7.0.beta4-1_all.deb
sudo gdebi v0.7.0-beta4/pellmon_0.7.0.beta4-1_all.deb
To be able to use the openweathermap service you need to enable the plugin in the "conf.d/enabled_plugins.conf" file, and you also need to create an account at openweathermap.com to get your own "apikey" which you copy to the "conf.d/plugins/openweathermap.conf" file. See https://github.com/motoz/PellMon/blob/develop/src/conf.d/plugins/openweathermap.conf
Keep in mind that this was quite quickly thrown together so there may be bugs, you can always install the old release again if there are any problems (which I will of course fix...)
Claus, as far as I know the RTB controller is exactly the same as a scotte/woody V7 controller so it should work. You need to use the 0.7.0-beta version of PellMon and make some changes in the configuration. The default config has the "ScotteCom" plugin activated, which expects to find a V6 controller on a serial port. You need to disable that in "conf.d/enabled_plugins.conf" and enable the "NBECom" plugin in the same file. Then the NBECom plugin need to have your controller's serial number and password to be able to talk to it, that's set in conf.d/plugins/nbecom.conf. https://github.com/motoz/PellMon/blob/develop/src/conf.d/plugins/nbecom.conf Now PellMon should find your controller on your local network automatically. Usage of stokercloud and the android app is not affected by using PellMon and the NBECom plugin.
Then the configuration for the graphs and the system image need to be adjusted for the new plugin. The default database config https://github.com/motoz/PellMon/blob/develop/src/conf.d/database.conf.in is made for the ScotteCom plugin, the data items in the NBECom plugin have different names so you need to change the [pollvalues] section to get something in the graph. For instance something like this:
d01 = operating_data-power_kw
d02 = operating_data-boiler_temp
d03 = operating_data-shaft_temp
d04 = operating_data-photo_level
d05 = operating_data-oxygen_ref
d06 = operating_data-oxygen
d07 = operating_data-power_pct
d08 = operating_data-smoke_temp
You can find out what the data items are called from the parameters view in the webinterface or in the terminal with
pellmoncli list
To read an item in the terminal use "pellmoncli get" and to write to an item use "pellmoncli set item value":
pellmoncli get advanced_data-boiler_power_kw
And the last thing that needs to be adjusted is the system image. The system image is a plain standard svg file that contains some text elements that are tagged with references to the data items. This too is by default made to fit the ScotteCom plugin so you need to modify the systemimage to get data from the NBECom plugin instead. The PellMon wiki has an article on how to do that here: https://github.com/motoz/PellMon/wiki/Custom-system-image.
-
(https://s29.postimg.org/5octmdugz/IMG_0251.png) (https://postimg.org/image/5octmdugz/)
Hvad er galt, har lavet pip install pyowm
Og hvor vælger man hvor målingerne skal tages fra.
-
You need to use sudo with pip install to install the module globally, otherwise it's available only to programs running as user "pi".
sudo pip install pyowm
Your location is set in the parameters view in the webinterface. For now you have to restart pellmon after changing the location, otherwise you'll have to wait half an hour for the next update. I'll fix that sometime...
-
(https://s28.postimg.org/6f87cpfqh/IMG_0252.png) (https://postimg.org/image/6f87cpfqh/)
Så er det fixet, det virker dog stadig ikke helt.
(https://s29.postimg.org/4q2io6l5f/IMG_0253.png) (https://postimg.org/image/4q2io6l5f/)
-
I think what's happening is that your raspberry starts up so quickly (model 2 or 3 maybe?) that pellmon is up and running before it has received an IP address. My somewhat hastily thrown together openweathermap plugin can't in it's present form handle that there is no internet when it starts. It should get a temperature value at the next update after 30 minutes though, but then it has been constantly spamming the event log with "invalid value" for half an hour. Quite inexcusably bad programming from me there, I'll have to fix that.
-
The openweathermap plugin should work a lot better in 0.7.0-beta5
https://github.com/motoz/PellMon/releases
-
Hi Motoz.
Great explanation there... I think it is what I need to get the PellMon going with my RTB at home.
Thanks for sharing :)
...The default config has the "ScotteCom" plugin activated, which expects to find a V6 controller on a serial port. You need to disable that in "conf.d/enabled_plugins.conf" and enable the "NBECom" plugin in the same file. Then the NBECom plugin need to have your controller's serial number and password to be able to talk to it, that's set in conf.d/plugins/nbecom.conf. https://github.com/motoz/PellMon/blob/develop/src/conf.d/plugins/nbecom.conf (https://github.com/motoz/PellMon/blob/develop/src/conf.d/plugins/nbecom.conf) Now PellMon should find your controller on your local network automatically. Usage of stokercloud and the android app is not affected by using PellMon and the NBECom plugin.
Then the configuration for the graphs and the system image need to be adjusted for the new plugin. The default database config https://github.com/motoz/PellMon/blob/develop/src/conf.d/database.conf.in (https://github.com/motoz/PellMon/blob/develop/src/conf.d/database.conf.in) is made for the ScotteCom plugin, the data items in the NBECom plugin have different names so you need to change the [pollvalues] section to get something in the graph. For instance something like this:
d01 = operating_data-power_kw
d02 = operating_data-boiler_temp
d03 = operating_data-shaft_temp
d04 = operating_data-photo_level
d05 = operating_data-oxygen_ref
d06 = operating_data-oxygen
d07 = operating_data-power_pct
d08 = operating_data-smoke_temp
You can find out what the data items are called from the parameters view in the webinterface or in the terminal with
pellmoncli list
To read an item in the terminal use "pellmoncli get" and to write to an item use "pellmoncli set item value":
pellmoncli get advanced_data-boiler_power_kw
And the last thing that needs to be adjusted is the system image. The system image is a plain standard svg file that contains some text elements that are tagged with references to the data items. This too is by default made to fit the ScotteCom plugin so you need to modify the systemimage to get data from the NBECom plugin instead. The PellMon wiki has an article on how to do that here: https://github.com/motoz/PellMon/wiki/Custom-system-image (https://github.com/motoz/PellMon/wiki/Custom-system-image).
:D