Re: [weewx-user] Re: sds011 install

2020-04-27 Thread steeple ian
Hello Stefan,

I set up a new skin with a tmpl like this: -

#errorCatcher Echo
##
## Specifying an encoding of UTF-8 is usually safe, but if your text is
## actually in Latin-1, then you should replace the string "UTF-8" with
"latin-1"
## If you do this, you should also change the 'Content-Type' metadata below.
#encoding UTF-8
##
pm2_5 = $current.pm2_5.format(add_label=False, $localize=False)
pm10_0 = $current.pm10_0.format(add_label=False, $localize=False)

it creates a txt file which I then rsync this file to my main WeeWX
installation. I then use filepile.py to insert the data into my main
database. The database is the extended version for the upcoming WeeWX 4
which contains new fields for particle concentration data. From there it
should be possible to use the data to create the chart.

I am using Highcharts on my site (https://claydonsweather.org.uk). You can
see the charts by clicking on the yearly and weekly chart links at the
bottom of the Air Quality module.

If you need a more detailed explanation I will create a repository on
Github for you or anybody else interested.

Ian

On Mon, 27 Apr 2020 at 10:31, Meteo Oberwallis 
wrote:

> Thanks. Ist Work! I have another Question. How i can create an Graph with
> data. I must this new create?
>
> Am Montag, 27. April 2020 10:38:45 UTC+2 schrieb steeple ian:
>>
>> Here is the logged issue: -
>>
>> https://github.com/matthewwall/weewx-sds011/issues/1
>>
>> On Mon, 27 Apr 2020 at 09:35, steeple ian  wrote:
>>
>>> Hi,
>>>
>>> From memory that's on line 179. Just comment it out.
>>> I have logged it as an issue.
>>>
>>> Ian
>>>
>>> On Mon, 27 Apr 2020 at 09:29, Meteo Oberwallis 
>>> wrote:
>>>
 Hello.

 I have the SDS011 install on weewx. Ist ok. But i have this false: Port
 is already open. Can i help me? See the attachment.

 Thanks
 Stefan



 Am Donnerstag, 27. Juni 2019 06:21:14 UTC+2 schrieb mwall:
>
>
>
> On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:
>>
>> Do I make the install.py executable and run it
>>
> no
>
>
>
>> How do I complete the install
>>
>
> in the weewx configuration file, add a 'driver' line to the SDS011
> stanza:
>
> [SDS011]
> model = NovaPM
> port = /dev/ttyUSB01
> poll_interval = 10
> driver = user.sds011
>
> you might have to modify the port, depending on how your device is
> connected.  optionally modify the model to match the branding of your
> sds011 hardware.
>
> the installer was not written correctly - it incorrectly cleared the
> SDS011 stanza after prompting for the information.  i have updated the
> sds011 package to 0.2 to fix this mistake.
>
> m
>
 --
 You received this message because you are subscribed to the Google
 Groups "weewx-user" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to weewx...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-user/fc8464c7-5ad6-469f-8508-acdbc74c8477%40googlegroups.com
 
 .

>>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/8237f5f1-e9a3-4101-97a2-1a15b725fb64%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaQvS5UFjmZf51krOSFCtYZ_%3DLh83k8kF4O%2B0L2DPdutsw%40mail.gmail.com.


Re: [weewx-user] Re: sds011 install

2020-04-27 Thread Meteo Oberwallis
Thanks. Ist Work! I have another Question. How i can create an Graph with 
data. I must this new create?

Am Montag, 27. April 2020 10:38:45 UTC+2 schrieb steeple ian:
>
> Here is the logged issue: -
>
> https://github.com/matthewwall/weewx-sds011/issues/1
>
> On Mon, 27 Apr 2020 at 09:35, steeple ian  > wrote:
>
>> Hi,
>>
>> From memory that's on line 179. Just comment it out.
>> I have logged it as an issue.
>>
>> Ian
>>
>> On Mon, 27 Apr 2020 at 09:29, Meteo Oberwallis > > wrote:
>>
>>> Hello.
>>>
>>> I have the SDS011 install on weewx. Ist ok. But i have this false: Port 
>>> is already open. Can i help me? See the attachment.
>>>
>>> Thanks
>>> Stefan
>>>
>>>
>>>
>>> Am Donnerstag, 27. Juni 2019 06:21:14 UTC+2 schrieb mwall:



 On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:
>
> Do I make the install.py executable and run it 
>
 no

  

> How do I complete the install
>

 in the weewx configuration file, add a 'driver' line to the SDS011 
 stanza:

 [SDS011]
 model = NovaPM
 port = /dev/ttyUSB01
 poll_interval = 10
 driver = user.sds011

 you might have to modify the port, depending on how your device is 
 connected.  optionally modify the model to match the branding of your 
 sds011 hardware.

 the installer was not written correctly - it incorrectly cleared the 
 SDS011 stanza after prompting for the information.  i have updated the 
 sds011 package to 0.2 to fix this mistake.

 m 

>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to weewx...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/fc8464c7-5ad6-469f-8508-acdbc74c8477%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8237f5f1-e9a3-4101-97a2-1a15b725fb64%40googlegroups.com.


Re: [weewx-user] Re: sds011 install

2020-04-27 Thread steeple ian
Here is the logged issue: -

https://github.com/matthewwall/weewx-sds011/issues/1

On Mon, 27 Apr 2020 at 09:35, steeple ian  wrote:

> Hi,
>
> From memory that's on line 179. Just comment it out.
> I have logged it as an issue.
>
> Ian
>
> On Mon, 27 Apr 2020 at 09:29, Meteo Oberwallis 
> wrote:
>
>> Hello.
>>
>> I have the SDS011 install on weewx. Ist ok. But i have this false: Port
>> is already open. Can i help me? See the attachment.
>>
>> Thanks
>> Stefan
>>
>>
>>
>> Am Donnerstag, 27. Juni 2019 06:21:14 UTC+2 schrieb mwall:
>>>
>>>
>>>
>>> On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:

 Do I make the install.py executable and run it

>>> no
>>>
>>>
>>>
 How do I complete the install

>>>
>>> in the weewx configuration file, add a 'driver' line to the SDS011
>>> stanza:
>>>
>>> [SDS011]
>>> model = NovaPM
>>> port = /dev/ttyUSB01
>>> poll_interval = 10
>>> driver = user.sds011
>>>
>>> you might have to modify the port, depending on how your device is
>>> connected.  optionally modify the model to match the branding of your
>>> sds011 hardware.
>>>
>>> the installer was not written correctly - it incorrectly cleared the
>>> SDS011 stanza after prompting for the information.  i have updated the
>>> sds011 package to 0.2 to fix this mistake.
>>>
>>> m
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/fc8464c7-5ad6-469f-8508-acdbc74c8477%40googlegroups.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaSkp-PwbnRY6faTTxsF3h4RRpGYEte639ZYcNLRatkMHw%40mail.gmail.com.


Re: [weewx-user] Re: sds011 install

2020-04-27 Thread steeple ian
Hi,

>From memory that's on line 179. Just comment it out.
I have logged it as an issue.

Ian

On Mon, 27 Apr 2020 at 09:29, Meteo Oberwallis 
wrote:

> Hello.
>
> I have the SDS011 install on weewx. Ist ok. But i have this false: Port is
> already open. Can i help me? See the attachment.
>
> Thanks
> Stefan
>
>
>
> Am Donnerstag, 27. Juni 2019 06:21:14 UTC+2 schrieb mwall:
>>
>>
>>
>> On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:
>>>
>>> Do I make the install.py executable and run it
>>>
>> no
>>
>>
>>
>>> How do I complete the install
>>>
>>
>> in the weewx configuration file, add a 'driver' line to the SDS011 stanza:
>>
>> [SDS011]
>> model = NovaPM
>> port = /dev/ttyUSB01
>> poll_interval = 10
>> driver = user.sds011
>>
>> you might have to modify the port, depending on how your device is
>> connected.  optionally modify the model to match the branding of your
>> sds011 hardware.
>>
>> the installer was not written correctly - it incorrectly cleared the
>> SDS011 stanza after prompting for the information.  i have updated the
>> sds011 package to 0.2 to fix this mistake.
>>
>> m
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fc8464c7-5ad6-469f-8508-acdbc74c8477%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaTsvD%2BHyD3Z3dXa0UbJNnZ1eL2LxVEqi57vjTgq%2BBatqA%40mail.gmail.com.


[weewx-user] Re: sds011 install

2020-04-27 Thread Meteo Oberwallis
Hello.

I have the SDS011 install on weewx. Ist ok. But i have this false: Port is 
already open. Can i help me? See the attachment.

Thanks
Stefan



Am Donnerstag, 27. Juni 2019 06:21:14 UTC+2 schrieb mwall:
>
>
>
> On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:
>>
>> Do I make the install.py executable and run it 
>>
> no
>
>  
>
>> How do I complete the install
>>
>
> in the weewx configuration file, add a 'driver' line to the SDS011 stanza:
>
> [SDS011]
> model = NovaPM
> port = /dev/ttyUSB01
> poll_interval = 10
> driver = user.sds011
>
> you might have to modify the port, depending on how your device is 
> connected.  optionally modify the model to match the branding of your 
> sds011 hardware.
>
> the installer was not written correctly - it incorrectly cleared the 
> SDS011 stanza after prompting for the information.  i have updated the 
> sds011 package to 0.2 to fix this mistake.
>
> m 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fc8464c7-5ad6-469f-8508-acdbc74c8477%40googlegroups.com.


[weewx-user] Re: sds011 install

2019-06-27 Thread vigilancewx
Hi

As far as I can tell I have followed all the instructions and no data is 
loaded no sdb file created?

not sure what I am doing wrong






On Wednesday, June 26, 2019 at 11:02:53 PM UTC+1, vigilancewx wrote:

> Hi 
>
> I am trying to install the sds011 service 
>
> Installation
>
>  
>
> 0) Install weeWX (see weewx.com for details)
>
>  
>
> 1) Download the SDS011 extension
>
>  
>
> wget -O weewx-sds011.zip 
> *https://github.com/matthewwall/weewx-sds011/archive/master.zip* 
> 
>
>  
>
> 2) Install the extension
>
>  
>
> wee_extension --install weewx-sds011.zip
>
>  
>
> 3) Configure the driver
>
>  
>
> wee_config --reconfigure
>
>  
>
> 4) start weewx
>
>  
>
> sudo /etc/init.d/weewx start
>
>  
>
> followed the above all it seems to do is install the install.py to
>
>  
>
> user/installer/sds011 directory
>
>  
>
>  
>
>  
>
> and sds011.py to the bin/user directory
>
>  
>
> adding this to the Weewx.conf
>
>  
>
>  
>
> #
>
>  
>
> # Options for extension 'sds011'
>
> [SDS011]
>
>  
>
> ##
>
>  
>
> Do I make the install.py executable and run it
>
>  
>
> How do I complete the install
>
>  
>
> Thanks for any information
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cff5db9f-c298-434c-9d80-4f92bb3b73bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: sds011 install

2019-06-27 Thread Andrew Milner
did you add the stanza to weewx.conf as Matthew said?
did you specify the correct port in the stanza - Matthew said you may need 
to change what he had written?
you should not need to modify sds011.py for the different port, but you do 
need to modify the port setting in the sds011 stanza in weewx.conf
there should not need to be any changes to the services
the .sdb file will be created at the first archive interval - not before



On Thursday, 27 June 2019 09:56:59 UTC+3, vigilancewx wrote:
>
> Hi
>
> When you run the wee_config --reconfigure
>
>
> it lists the normal question about weewx but no reference to the new 
> sds011 setup
>
> so a couple more questions please 
>
> I know my sds011 is connected tn port USB02 so do I need to modify 
> sds011.py ?
>
> will it now create the pm.sdb in the weewx archive folder ?
>
> also the service section under the weewx engine is not modified what do I 
> need to add here?
>
>
> thanks for the information
>
>
> On Wednesday, June 26, 2019 at 11:02:53 PM UTC+1, vigilancewx wrote:
>
>> Hi 
>>
>> I am trying to install the sds011 service 
>>
>> Installation
>>
>>  
>>
>> 0) Install weeWX (see weewx.com for details)
>>
>>  
>>
>> 1) Download the SDS011 extension
>>
>>  
>>
>> wget -O weewx-sds011.zip 
>> *https://github.com/matthewwall/weewx-sds011/archive/master.zip* 
>> 
>>
>>  
>>
>> 2) Install the extension
>>
>>  
>>
>> wee_extension --install weewx-sds011.zip
>>
>>  
>>
>> 3) Configure the driver
>>
>>  
>>
>> wee_config --reconfigure
>>
>>  
>>
>> 4) start weewx
>>
>>  
>>
>> sudo /etc/init.d/weewx start
>>
>>  
>>
>> followed the above all it seems to do is install the install.py to
>>
>>  
>>
>> user/installer/sds011 directory
>>
>>  
>>
>>  
>>
>>  
>>
>> and sds011.py to the bin/user directory
>>
>>  
>>
>> adding this to the Weewx.conf
>>
>>  
>>
>>  
>>
>> #
>>
>>  
>>
>> # Options for extension 'sds011'
>>
>> [SDS011]
>>
>>  
>>
>> ##
>>
>>  
>>
>> Do I make the install.py executable and run it
>>
>>  
>>
>> How do I complete the install
>>
>>  
>>
>> Thanks for any information
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/89c43ed8-ad5c-4955-b734-d6af205f5d0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: sds011 install

2019-06-26 Thread vigilancewx
Hi

When you run the wee_config --reconfigure


it lists the normal question about weewx but no reference to the new sds011 
setup

so a couple more questions please 

I know my sds011 is connected tn port USB02 so do I need to modify 
sds011.py ?

will it now create the pm.sdb in the weewx archive folder ?

also the service section under the weewx engine is not modified what do I 
need to add here?


thanks for the information


On Wednesday, June 26, 2019 at 11:02:53 PM UTC+1, vigilancewx wrote:

> Hi 
>
> I am trying to install the sds011 service 
>
> Installation
>
>  
>
> 0) Install weeWX (see weewx.com for details)
>
>  
>
> 1) Download the SDS011 extension
>
>  
>
> wget -O weewx-sds011.zip 
> *https://github.com/matthewwall/weewx-sds011/archive/master.zip* 
> 
>
>  
>
> 2) Install the extension
>
>  
>
> wee_extension --install weewx-sds011.zip
>
>  
>
> 3) Configure the driver
>
>  
>
> wee_config --reconfigure
>
>  
>
> 4) start weewx
>
>  
>
> sudo /etc/init.d/weewx start
>
>  
>
> followed the above all it seems to do is install the install.py to
>
>  
>
> user/installer/sds011 directory
>
>  
>
>  
>
>  
>
> and sds011.py to the bin/user directory
>
>  
>
> adding this to the Weewx.conf
>
>  
>
>  
>
> #
>
>  
>
> # Options for extension 'sds011'
>
> [SDS011]
>
>  
>
> ##
>
>  
>
> Do I make the install.py executable and run it
>
>  
>
> How do I complete the install
>
>  
>
> Thanks for any information
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/df897502-a2ff-4664-9996-a4937d66c75a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: sds011 install

2019-06-26 Thread mwall


On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:
>
> Do I make the install.py executable and run it 
>
no

 

> How do I complete the install
>

in the weewx configuration file, add a 'driver' line to the SDS011 stanza:

[SDS011]
model = NovaPM
port = /dev/ttyUSB01
poll_interval = 10
driver = user.sds011

you might have to modify the port, depending on how your device is 
connected.  optionally modify the model to match the branding of your 
sds011 hardware.

the installer was not written correctly - it incorrectly cleared the SDS011 
stanza after prompting for the information.  i have updated the sds011 
package to 0.2 to fix this mistake.

m 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d8a9f942-d8c3-4f82-b190-412cffd30d13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: sds011 install

2019-06-26 Thread mwall


On Wednesday, June 26, 2019 at 6:02:53 PM UTC-4, vigilancewx wrote:
>
>
> Do I make the install.py executable and run it
>
>
no
 

>  How do I complete the install
>

you already did complete the installation.  however, the [SDS011] section 
should have a 'driver = user.sds011'

what happens when you run weewx now?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c6d1b769-0859-4d65-89c4-28ebc9747856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.