[weewx-user] Re: Belchertown - MQTT with webhosting

2021-05-18 Thread Karen K
I found those sources:
Jterrettaz / sunduration  - that 
version with the complicated formula
brewster76 / util-archer 
 
- 
a quite too simple solution

@Manfred Maier: Would you mind me including your formula into weewx-GTS 
, where sun energy is already included?

Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:

> I'm using the attached file, which I found somewhere here in this user 
> forum. 
> I've slightly adapted it to bette fit my needs. 
>
> Don't get confused by the filed name 'EmptyReal'. That was just a spare 
> field I had in my database.
>
> The calculation of the theoretical radiation level is not 100% perfect, 
> but it does the job.
>
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:
>
>> ok, i will try it locally before, but vserver is also a good (cheap) 
>> option :-)
>>
>> another question to you: how do you calculate sun hours on your site, is 
>> it from here? https://github.com/gjr80/weewx-weewx-wd
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>
>>> No, I didn't.
>>>
>>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>>> So I anyway had to rent a vServer for running my own tunneling solution 
>>> for my local webcam.
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:
>>>
 hi manfred,

 did you try to run the broker locally before? 

 i have a static ip with symmetric bandwidth. or are there other reasons 
 why it doesnt work?

 regards,
 chris

 Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:

> Hi Chris,
> I've been in a similar situation to you.
> My web hosting service didn't allow me to run a MQTT broker and the 
> (free) public brokers didn't perform very well. The majority of MQTT 
> packages got lost and were not delivered to the web client.
> So in the end I've decided to rent an additional vServer and run my 
> own MQTT broker. The setup was really easy, but there's a server cost of 
> approx. 2€ per month.
>
> Manfred  
>
> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
> UTC+1:
>
>> You need a publicly available MQTT broker. Either you install one on 
>> your webhoster's webspace (if possible), or you use a public broker like 
>> test.mosquitto.org.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
>> UTC+1:
>>
>>> hello,
>>>
>>> i am uploading the reports via FTP to my webhoster. can i use mqtt 
>>> then for live data oder do i need a locally webserver?
>>>
>>> regards,
>>> chris
>>>
>>

-- 
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/45abfa01-3541-412a-bd62-2973df863289n%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-05-17 Thread Silvio Schömann

I found the error, db-sql not specified extended in the weewx.conf :)   

Silvio Schömann schrieb am Freitag, 14. Mai 2021 um 19:14:22 UTC+2:

> Hello everyone, 
>
> can someone help me and explain why the SunshinTime code does not run in 
> Weewx version 4.5.1? The calculation of the ratio_value is not carried out. 
> The 0 values ​​are entered in the DB. An error message in the log is also 
> not output. I'm using Manfred's simplified code. extensions.py and 
> weewx.conf are also correct. 
>
>  Thank you greetings Silvio
>
>
>
> Manfred Maier schrieb am Samstag, 13. März 2021 um 20:25:11 UTC+1:
>
>> I've just looked at my installation.
>> I think the only missing step is to include the extension in the 
>> weewx.conf:
>>
>>
>> ##
>>
>> #   This section configures the internal weewx engine.
>>
>> [Engine]
>> 
>> [[Services]]
>> # This section specifies the services that should be run. They are
>> # grouped by type, and the order of services within each group
>> # determines the order in which the services will be run.
>> prep_services = weewx.engine.StdTimeSynch
>> data_services = ,
>> process_services = user.radiationhours.RadiationHours, 
>> weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, 
>> weewx.wxservices.StdWXCalculate
>> #process_services = weewx.engine.StdConvert, 
>> weewx.engine.StdCalibrate, weewx.engine.StdQC, 
>> weewx.wxservices.StdWXCalculate
>> archive_services = weewx.engine.StdArchive
>> restful_services = weewx.restx.StdStationRegistry, 
>> weewx.restx.StdWunderground, weewx.restx.StdPWSweather, 
>> weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS, 
>> user.mqtt.MQTT, user.windy.Windy, user.wcloud.WeatherCloud, 
>> user.twitter.Twitter, user.wetter.Wetter, user.owm.OpenWeatherMap
>> report_services = weewx.engine.StdPrint, weewx.engine.StdReport
>>
>> grua...@gmail.com schrieb am Freitag, 12. März 2021 um 10:49:16 UTC+1:
>>
>>> ok i think i didn't do the first extension with extension.py because 
>>> mine is empty :-)
>>>
>>> i changed schema in weewx.config and recreated the database, then i got 
>>> the new fields
>>>
>>> i am a bit confused now what to do :-)
>>>
>>> [DataBindings]
>>>
>>> [[wx_binding]]
>>> # The database must match one of the sections in [Databases].
>>> # This is likely to be the only option you would want to change.
>>> database = archive_sqlite
>>> # The name of the table within the database
>>> table_name = archive
>>> # The manager handles aggregation of data for historical 
>>> summaries
>>> manager = weewx.manager.DaySummaryManager
>>> # The schema defines the structure of the database.
>>> # It is *only* used when the database is created.
>>> schema = user.weatherlink_live.schema
>>>
>>> Manfred Maier schrieb am Freitag, 12. März 2021 um 09:53:59 UTC+1:
>>>
 I've also extended my database scheme a second time - without any 
 issues.

 Here's my extensions.py
 I've just added the additional three fields to the already extended 
 scheme.

 grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:

> got it, thank you manfred!
>
> now a question about radiationhours: i have extended the schema 
> already one time for the weatherlink-driver: 
> https://github.com/michael-slx/weewx-weatherlink-live
>
> whats the correct way to extend the schema a second time? i tried it 
> one time, but then i lost the additional fields from the 
> weatherlink-driver
>
> Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:
>
>> Yes, you are correct. If the page is using https, all components need 
>> to have a ssl certificate.
>>
>> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 
>> UTC+1:
>>
>>> hi,
>>>
>>> thanks for this file, i will try it after mqtt-setup :-)
>>>
>>> i always get failed connecting on my website and i think it's 
>>> because my site is using https
>>>
>>> the test here is working fine, i get the live data 
>>> http://www.hivemq.com/demos/websocket-client/
>>>
>>> do i have to run my local mosquitto installation also with ssl/tls 
>>> or is there another way to get it working?
>>>
>>> regards,
>>> chris
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>>>
 I'm using the attached file, which I found somewhere here in this 
 user forum. 
 I've slightly adapted it to bette fit my needs. 

 Don't get confused by the filed name 'EmptyReal'. That was just a 
 spare field I had in my database.

 The calculation of the theoretical radiation level is not 100% 
>

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-05-14 Thread Silvio Schömann
Hello everyone, 

can someone help me and explain why the SunshinTime code does not run in 
Weewx version 4.5.1? The calculation of the ratio_value is not carried out. 
The 0 values ​​are entered in the DB. An error message in the log is also 
not output. I'm using Manfred's simplified code. extensions.py and 
weewx.conf are also correct. 

 Thank you greetings Silvio



Manfred Maier schrieb am Samstag, 13. März 2021 um 20:25:11 UTC+1:

> I've just looked at my installation.
> I think the only missing step is to include the extension in the 
> weewx.conf:
>
>
> ##
>
> #   This section configures the internal weewx engine.
>
> [Engine]
> 
> [[Services]]
> # This section specifies the services that should be run. They are
> # grouped by type, and the order of services within each group
> # determines the order in which the services will be run.
> prep_services = weewx.engine.StdTimeSynch
> data_services = ,
> process_services = user.radiationhours.RadiationHours, 
> weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, 
> weewx.wxservices.StdWXCalculate
> #process_services = weewx.engine.StdConvert, 
> weewx.engine.StdCalibrate, weewx.engine.StdQC, 
> weewx.wxservices.StdWXCalculate
> archive_services = weewx.engine.StdArchive
> restful_services = weewx.restx.StdStationRegistry, 
> weewx.restx.StdWunderground, weewx.restx.StdPWSweather, 
> weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS, 
> user.mqtt.MQTT, user.windy.Windy, user.wcloud.WeatherCloud, 
> user.twitter.Twitter, user.wetter.Wetter, user.owm.OpenWeatherMap
> report_services = weewx.engine.StdPrint, weewx.engine.StdReport
>
> grua...@gmail.com schrieb am Freitag, 12. März 2021 um 10:49:16 UTC+1:
>
>> ok i think i didn't do the first extension with extension.py because mine 
>> is empty :-)
>>
>> i changed schema in weewx.config and recreated the database, then i got 
>> the new fields
>>
>> i am a bit confused now what to do :-)
>>
>> [DataBindings]
>>
>> [[wx_binding]]
>> # The database must match one of the sections in [Databases].
>> # This is likely to be the only option you would want to change.
>> database = archive_sqlite
>> # The name of the table within the database
>> table_name = archive
>> # The manager handles aggregation of data for historical summaries
>> manager = weewx.manager.DaySummaryManager
>> # The schema defines the structure of the database.
>> # It is *only* used when the database is created.
>> schema = user.weatherlink_live.schema
>>
>> Manfred Maier schrieb am Freitag, 12. März 2021 um 09:53:59 UTC+1:
>>
>>> I've also extended my database scheme a second time - without any issues.
>>>
>>> Here's my extensions.py
>>> I've just added the additional three fields to the already extended 
>>> scheme.
>>>
>>> grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:
>>>
 got it, thank you manfred!

 now a question about radiationhours: i have extended the schema already 
 one time for the weatherlink-driver: 
 https://github.com/michael-slx/weewx-weatherlink-live

 whats the correct way to extend the schema a second time? i tried it 
 one time, but then i lost the additional fields from the weatherlink-driver

 Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:

> Yes, you are correct. If the page is using https, all components need 
> to have a ssl certificate.
>
> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 
> UTC+1:
>
>> hi,
>>
>> thanks for this file, i will try it after mqtt-setup :-)
>>
>> i always get failed connecting on my website and i think it's because 
>> my site is using https
>>
>> the test here is working fine, i get the live data 
>> http://www.hivemq.com/demos/websocket-client/
>>
>> do i have to run my local mosquitto installation also with ssl/tls or 
>> is there another way to get it working?
>>
>> regards,
>> chris
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>>
>>> I'm using the attached file, which I found somewhere here in this 
>>> user forum. 
>>> I've slightly adapted it to bette fit my needs. 
>>>
>>> Don't get confused by the filed name 'EmptyReal'. That was just a 
>>> spare field I had in my database.
>>>
>>> The calculation of the theoretical radiation level is not 100% 
>>> perfect, but it does the job.
>>>
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 
>>> UTC+1:
>>>
 ok, i will try it locally before, but vserver is also a good 
 (cheap) option :-)

 another question to you: 

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-13 Thread Manfred Maier
I've just looked at my installation.
I think the only missing step is to include the extension in the weewx.conf:

##

#   This section configures the internal weewx engine.

[Engine]

[[Services]]
# This section specifies the services that should be run. They are
# grouped by type, and the order of services within each group
# determines the order in which the services will be run.
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = user.radiationhours.RadiationHours, 
weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, 
weewx.wxservices.StdWXCalculate
#process_services = weewx.engine.StdConvert, 
weewx.engine.StdCalibrate, weewx.engine.StdQC, 
weewx.wxservices.StdWXCalculate
archive_services = weewx.engine.StdArchive
restful_services = weewx.restx.StdStationRegistry, 
weewx.restx.StdWunderground, weewx.restx.StdPWSweather, 
weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS, 
user.mqtt.MQTT, user.windy.Windy, user.wcloud.WeatherCloud, 
user.twitter.Twitter, user.wetter.Wetter, user.owm.OpenWeatherMap
report_services = weewx.engine.StdPrint, weewx.engine.StdReport

grua...@gmail.com schrieb am Freitag, 12. März 2021 um 10:49:16 UTC+1:

> ok i think i didn't do the first extension with extension.py because mine 
> is empty :-)
>
> i changed schema in weewx.config and recreated the database, then i got 
> the new fields
>
> i am a bit confused now what to do :-)
>
> [DataBindings]
>
> [[wx_binding]]
> # The database must match one of the sections in [Databases].
> # This is likely to be the only option you would want to change.
> database = archive_sqlite
> # The name of the table within the database
> table_name = archive
> # The manager handles aggregation of data for historical summaries
> manager = weewx.manager.DaySummaryManager
> # The schema defines the structure of the database.
> # It is *only* used when the database is created.
> schema = user.weatherlink_live.schema
>
> Manfred Maier schrieb am Freitag, 12. März 2021 um 09:53:59 UTC+1:
>
>> I've also extended my database scheme a second time - without any issues.
>>
>> Here's my extensions.py
>> I've just added the additional three fields to the already extended 
>> scheme.
>>
>> grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:
>>
>>> got it, thank you manfred!
>>>
>>> now a question about radiationhours: i have extended the schema already 
>>> one time for the weatherlink-driver: 
>>> https://github.com/michael-slx/weewx-weatherlink-live
>>>
>>> whats the correct way to extend the schema a second time? i tried it one 
>>> time, but then i lost the additional fields from the weatherlink-driver
>>>
>>> Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:
>>>
 Yes, you are correct. If the page is using https, all components need 
 to have a ssl certificate.

 grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 
 UTC+1:

> hi,
>
> thanks for this file, i will try it after mqtt-setup :-)
>
> i always get failed connecting on my website and i think it's because 
> my site is using https
>
> the test here is working fine, i get the live data 
> http://www.hivemq.com/demos/websocket-client/
>
> do i have to run my local mosquitto installation also with ssl/tls or 
> is there another way to get it working?
>
> regards,
> chris
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>
>> I'm using the attached file, which I found somewhere here in this 
>> user forum. 
>> I've slightly adapted it to bette fit my needs. 
>>
>> Don't get confused by the filed name 'EmptyReal'. That was just a 
>> spare field I had in my database.
>>
>> The calculation of the theoretical radiation level is not 100% 
>> perfect, but it does the job.
>>
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 
>> UTC+1:
>>
>>> ok, i will try it locally before, but vserver is also a good (cheap) 
>>> option :-)
>>>
>>> another question to you: how do you calculate sun hours on your 
>>> site, is it from here? https://github.com/gjr80/weewx-weewx-wd
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>>
 No, I didn't.

 I'm (unfortunately) sitting behind fiberglass without a static 
 IPv4. 
 So I anyway had to rent a vServer for running my own tunneling 
 solution for my local webcam.

 grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 
 UTC+1:

> hi manfred,
>
> di

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-12 Thread Christian Gruber
ok i think i didn't do the first extension with extension.py because mine 
is empty :-)

i changed schema in weewx.config and recreated the database, then i got the 
new fields

i am a bit confused now what to do :-)

[DataBindings]

[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.manager.DaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = user.weatherlink_live.schema

Manfred Maier schrieb am Freitag, 12. März 2021 um 09:53:59 UTC+1:

> I've also extended my database scheme a second time - without any issues.
>
> Here's my extensions.py
> I've just added the additional three fields to the already extended scheme.
>
> grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:
>
>> got it, thank you manfred!
>>
>> now a question about radiationhours: i have extended the schema already 
>> one time for the weatherlink-driver: 
>> https://github.com/michael-slx/weewx-weatherlink-live
>>
>> whats the correct way to extend the schema a second time? i tried it one 
>> time, but then i lost the additional fields from the weatherlink-driver
>>
>> Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:
>>
>>> Yes, you are correct. If the page is using https, all components need to 
>>> have a ssl certificate.
>>>
>>> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 
>>> UTC+1:
>>>
 hi,

 thanks for this file, i will try it after mqtt-setup :-)

 i always get failed connecting on my website and i think it's because 
 my site is using https

 the test here is working fine, i get the live data 
 http://www.hivemq.com/demos/websocket-client/

 do i have to run my local mosquitto installation also with ssl/tls or 
 is there another way to get it working?

 regards,
 chris

 Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:

> I'm using the attached file, which I found somewhere here in this user 
> forum. 
> I've slightly adapted it to bette fit my needs. 
>
> Don't get confused by the filed name 'EmptyReal'. That was just a 
> spare field I had in my database.
>
> The calculation of the theoretical radiation level is not 100% 
> perfect, but it does the job.
>
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 
> UTC+1:
>
>> ok, i will try it locally before, but vserver is also a good (cheap) 
>> option :-)
>>
>> another question to you: how do you calculate sun hours on your site, 
>> is it from here? https://github.com/gjr80/weewx-weewx-wd
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>
>>> No, I didn't.
>>>
>>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>>> So I anyway had to rent a vServer for running my own tunneling 
>>> solution for my local webcam.
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 
>>> UTC+1:
>>>
 hi manfred,

 did you try to run the broker locally before? 

 i have a static ip with symmetric bandwidth. or are there other 
 reasons why it doesnt work?

 regards,
 chris

 Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:

> Hi Chris,
> I've been in a similar situation to you.
> My web hosting service didn't allow me to run a MQTT broker and 
> the (free) public brokers didn't perform very well. The majority of 
> MQTT 
> packages got lost and were not delivered to the web client.
> So in the end I've decided to rent an additional vServer and run 
> my own MQTT broker. The setup was really easy, but there's a server 
> cost of 
> approx. 2€ per month.
>
> Manfred  
>
> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
> UTC+1:
>
>> You need a publicly available MQTT broker. Either you install one 
>> on your webhoster's webspace (if possible), or you use a public 
>> broker like 
>> test.mosquitto.org.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
>> UTC+1:
>>
>>> hello,
>>>
>>> i am uploading the reports via FTP to my webhoster. can i use 
>>> mqtt then for live data oder do i need a locally webserver?
>>>
>>> regards,
>>> chris
>

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-12 Thread Manfred Maier
I've also extended my database scheme a second time - without any issues.

Here's my extensions.py
I've just added the additional three fields to the already extended scheme.

grua...@gmail.com schrieb am Freitag, 12. März 2021 um 08:42:17 UTC+1:

> got it, thank you manfred!
>
> now a question about radiationhours: i have extended the schema already 
> one time for the weatherlink-driver: 
> https://github.com/michael-slx/weewx-weatherlink-live
>
> whats the correct way to extend the schema a second time? i tried it one 
> time, but then i lost the additional fields from the weatherlink-driver
>
> Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:
>
>> Yes, you are correct. If the page is using https, all components need to 
>> have a ssl certificate.
>>
>> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 UTC+1:
>>
>>> hi,
>>>
>>> thanks for this file, i will try it after mqtt-setup :-)
>>>
>>> i always get failed connecting on my website and i think it's because my 
>>> site is using https
>>>
>>> the test here is working fine, i get the live data 
>>> http://www.hivemq.com/demos/websocket-client/
>>>
>>> do i have to run my local mosquitto installation also with ssl/tls or is 
>>> there another way to get it working?
>>>
>>> regards,
>>> chris
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>>>
 I'm using the attached file, which I found somewhere here in this user 
 forum. 
 I've slightly adapted it to bette fit my needs. 

 Don't get confused by the filed name 'EmptyReal'. That was just a spare 
 field I had in my database.

 The calculation of the theoretical radiation level is not 100% perfect, 
 but it does the job.


 grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:

> ok, i will try it locally before, but vserver is also a good (cheap) 
> option :-)
>
> another question to you: how do you calculate sun hours on your site, 
> is it from here? https://github.com/gjr80/weewx-weewx-wd
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>
>> No, I didn't.
>>
>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>> So I anyway had to rent a vServer for running my own tunneling 
>> solution for my local webcam.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 
>> UTC+1:
>>
>>> hi manfred,
>>>
>>> did you try to run the broker locally before? 
>>>
>>> i have a static ip with symmetric bandwidth. or are there other 
>>> reasons why it doesnt work?
>>>
>>> regards,
>>> chris
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>>
 Hi Chris,
 I've been in a similar situation to you.
 My web hosting service didn't allow me to run a MQTT broker and the 
 (free) public brokers didn't perform very well. The majority of MQTT 
 packages got lost and were not delivered to the web client.
 So in the end I've decided to rent an additional vServer and run my 
 own MQTT broker. The setup was really easy, but there's a server cost 
 of 
 approx. 2€ per month.

 Manfred  

 kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
 UTC+1:

> You need a publicly available MQTT broker. Either you install one 
> on your webhoster's webspace (if possible), or you use a public 
> broker like 
> test.mosquitto.org.
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
> UTC+1:
>
>> hello,
>>
>> i am uploading the reports via FTP to my webhoster. can i use 
>> mqtt then for live data oder do i need a locally webserver?
>>
>> regards,
>> chris
>>
>

-- 
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/d40856a9-6a35-4a27-8430-5a6e53654ce5n%40googlegroups.com.

#
#Copyright (c) 2009-2015 Tom Keffer 
#
#See the file LICENSE.txt for your full rights.
#

"""User extensions module

This module is imported from the main executable, so anything put here will be
executed before anything else happens. This makes it a good place to put user
extensions.
"""

import locale
import schemas.wview
# This will use the locale specified by the environment variable 'LANG'
# Other options are possible. See:
# http://docs.python.org/2/library/locale.html#locale.setlocale
locale.setlocale(locale.LC_ALL, '')

schema_extended = schemas.wview.schema + [('appTemp', 'REAL'), ('windrun',

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-11 Thread Christian Gruber
got it, thank you manfred!

now a question about radiationhours: i have extended the schema already one 
time for the 
weatherlink-driver: https://github.com/michael-slx/weewx-weatherlink-live

whats the correct way to extend the schema a second time? i tried it one 
time, but then i lost the additional fields from the weatherlink-driver

Manfred Maier schrieb am Donnerstag, 11. März 2021 um 19:28:55 UTC+1:

> Yes, you are correct. If the page is using https, all components need to 
> have a ssl certificate.
>
> grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 UTC+1:
>
>> hi,
>>
>> thanks for this file, i will try it after mqtt-setup :-)
>>
>> i always get failed connecting on my website and i think it's because my 
>> site is using https
>>
>> the test here is working fine, i get the live data 
>> http://www.hivemq.com/demos/websocket-client/
>>
>> do i have to run my local mosquitto installation also with ssl/tls or is 
>> there another way to get it working?
>>
>> regards,
>> chris
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>>
>>> I'm using the attached file, which I found somewhere here in this user 
>>> forum. 
>>> I've slightly adapted it to bette fit my needs. 
>>>
>>> Don't get confused by the filed name 'EmptyReal'. That was just a spare 
>>> field I had in my database.
>>>
>>> The calculation of the theoretical radiation level is not 100% perfect, 
>>> but it does the job.
>>>
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:
>>>
 ok, i will try it locally before, but vserver is also a good (cheap) 
 option :-)

 another question to you: how do you calculate sun hours on your site, 
 is it from here? https://github.com/gjr80/weewx-weewx-wd

 Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:

> No, I didn't.
>
> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
> So I anyway had to rent a vServer for running my own tunneling 
> solution for my local webcam.
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 
> UTC+1:
>
>> hi manfred,
>>
>> did you try to run the broker locally before? 
>>
>> i have a static ip with symmetric bandwidth. or are there other 
>> reasons why it doesnt work?
>>
>> regards,
>> chris
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>
>>> Hi Chris,
>>> I've been in a similar situation to you.
>>> My web hosting service didn't allow me to run a MQTT broker and the 
>>> (free) public brokers didn't perform very well. The majority of MQTT 
>>> packages got lost and were not delivered to the web client.
>>> So in the end I've decided to rent an additional vServer and run my 
>>> own MQTT broker. The setup was really easy, but there's a server cost 
>>> of 
>>> approx. 2€ per month.
>>>
>>> Manfred  
>>>
>>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
>>> UTC+1:
>>>
 You need a publicly available MQTT broker. Either you install one 
 on your webhoster's webspace (if possible), or you use a public broker 
 like 
 test.mosquitto.org.

 grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
 UTC+1:

> hello,
>
> i am uploading the reports via FTP to my webhoster. can i use mqtt 
> then for live data oder do i need a locally webserver?
>
> regards,
> chris
>


-- 
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/5e740158-31f0-436b-99b5-73059e208a38n%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-11 Thread Manfred Maier
Yes, you are correct. If the page is using https, all components need to 
have a ssl certificate.

grua...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:00:07 UTC+1:

> hi,
>
> thanks for this file, i will try it after mqtt-setup :-)
>
> i always get failed connecting on my website and i think it's because my 
> site is using https
>
> the test here is working fine, i get the live data 
> http://www.hivemq.com/demos/websocket-client/
>
> do i have to run my local mosquitto installation also with ssl/tls or is 
> there another way to get it working?
>
> regards,
> chris
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:
>
>> I'm using the attached file, which I found somewhere here in this user 
>> forum. 
>> I've slightly adapted it to bette fit my needs. 
>>
>> Don't get confused by the filed name 'EmptyReal'. That was just a spare 
>> field I had in my database.
>>
>> The calculation of the theoretical radiation level is not 100% perfect, 
>> but it does the job.
>>
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:
>>
>>> ok, i will try it locally before, but vserver is also a good (cheap) 
>>> option :-)
>>>
>>> another question to you: how do you calculate sun hours on your site, is 
>>> it from here? https://github.com/gjr80/weewx-weewx-wd
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>>
 No, I didn't.

 I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
 So I anyway had to rent a vServer for running my own tunneling solution 
 for my local webcam.

 grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:

> hi manfred,
>
> did you try to run the broker locally before? 
>
> i have a static ip with symmetric bandwidth. or are there other 
> reasons why it doesnt work?
>
> regards,
> chris
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>
>> Hi Chris,
>> I've been in a similar situation to you.
>> My web hosting service didn't allow me to run a MQTT broker and the 
>> (free) public brokers didn't perform very well. The majority of MQTT 
>> packages got lost and were not delivered to the web client.
>> So in the end I've decided to rent an additional vServer and run my 
>> own MQTT broker. The setup was really easy, but there's a server cost of 
>> approx. 2€ per month.
>>
>> Manfred  
>>
>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
>> UTC+1:
>>
>>> You need a publicly available MQTT broker. Either you install one on 
>>> your webhoster's webspace (if possible), or you use a public broker 
>>> like 
>>> test.mosquitto.org.
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
>>> UTC+1:
>>>
 hello,

 i am uploading the reports via FTP to my webhoster. can i use mqtt 
 then for live data oder do i need a locally webserver?

 regards,
 chris

>>>

-- 
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/ddee24fe-1b35-42d1-9c02-1e0a86cdc31cn%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-11 Thread Christian Gruber
hi,

thanks for this file, i will try it after mqtt-setup :-)

i always get failed connecting on my website and i think it's because my 
site is using https

the test here is working fine, i get the live 
data http://www.hivemq.com/demos/websocket-client/

do i have to run my local mosquitto installation also with ssl/tls or is 
there another way to get it working?

regards,
chris

Manfred Maier schrieb am Mittwoch, 10. März 2021 um 20:44:02 UTC+1:

> I'm using the attached file, which I found somewhere here in this user 
> forum. 
> I've slightly adapted it to bette fit my needs. 
>
> Don't get confused by the filed name 'EmptyReal'. That was just a spare 
> field I had in my database.
>
> The calculation of the theoretical radiation level is not 100% perfect, 
> but it does the job.
>
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:
>
>> ok, i will try it locally before, but vserver is also a good (cheap) 
>> option :-)
>>
>> another question to you: how do you calculate sun hours on your site, is 
>> it from here? https://github.com/gjr80/weewx-weewx-wd
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>>
>>> No, I didn't.
>>>
>>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>>> So I anyway had to rent a vServer for running my own tunneling solution 
>>> for my local webcam.
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:
>>>
 hi manfred,

 did you try to run the broker locally before? 

 i have a static ip with symmetric bandwidth. or are there other reasons 
 why it doesnt work?

 regards,
 chris

 Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:

> Hi Chris,
> I've been in a similar situation to you.
> My web hosting service didn't allow me to run a MQTT broker and the 
> (free) public brokers didn't perform very well. The majority of MQTT 
> packages got lost and were not delivered to the web client.
> So in the end I've decided to rent an additional vServer and run my 
> own MQTT broker. The setup was really easy, but there's a server cost of 
> approx. 2€ per month.
>
> Manfred  
>
> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 
> UTC+1:
>
>> You need a publicly available MQTT broker. Either you install one on 
>> your webhoster's webspace (if possible), or you use a public broker like 
>> test.mosquitto.org.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
>> UTC+1:
>>
>>> hello,
>>>
>>> i am uploading the reports via FTP to my webhoster. can i use mqtt 
>>> then for live data oder do i need a locally webserver?
>>>
>>> regards,
>>> chris
>>>
>>

-- 
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/a08e60af-c62f-4785-a0ab-001c70abfc0an%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Manfred Maier
I'm using the attached file, which I found somewhere here in this user 
forum. 
I've slightly adapted it to bette fit my needs. 

Don't get confused by the filed name 'EmptyReal'. That was just a spare 
field I had in my database.

The calculation of the theoretical radiation level is not 100% perfect, but 
it does the job.


grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:05:55 UTC+1:

> ok, i will try it locally before, but vserver is also a good (cheap) 
> option :-)
>
> another question to you: how do you calculate sun hours on your site, is 
> it from here? https://github.com/gjr80/weewx-weewx-wd
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:
>
>> No, I didn't.
>>
>> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
>> So I anyway had to rent a vServer for running my own tunneling solution 
>> for my local webcam.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:
>>
>>> hi manfred,
>>>
>>> did you try to run the broker locally before? 
>>>
>>> i have a static ip with symmetric bandwidth. or are there other reasons 
>>> why it doesnt work?
>>>
>>> regards,
>>> chris
>>>
>>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>>
 Hi Chris,
 I've been in a similar situation to you.
 My web hosting service didn't allow me to run a MQTT broker and the 
 (free) public brokers didn't perform very well. The majority of MQTT 
 packages got lost and were not delivered to the web client.
 So in the end I've decided to rent an additional vServer and run my own 
 MQTT broker. The setup was really easy, but there's a server cost of 
 approx. 2€ per month.

 Manfred  

 kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:

> You need a publicly available MQTT broker. Either you install one on 
> your webhoster's webspace (if possible), or you use a public broker like 
> test.mosquitto.org.
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 
> UTC+1:
>
>> hello,
>>
>> i am uploading the reports via FTP to my webhoster. can i use mqtt 
>> then for live data oder do i need a locally webserver?
>>
>> regards,
>> chris
>>
>

-- 
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/f3f7ac18-e49e-4b3c-9406-00538bfd0cf3n%40googlegroups.com.
"""
Adds three new observation fields to weewx: [sunshineTime], [sunshineTheoretical], [emptyReal]
Installation:
1. Save this file to your user customisations directory (which is often /usr/share/weewx/user)
2. Follow these instructions for adding the three new data columns to your database:
   https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database
   CAUTION: Have a backup of your database before trying to add the new data fields!
3. Use [sunshineTime], [sunshineTheoretical], [emptyReal] in your graphs and html template tags.

Prerequisite: 
a. sun radiation field in database (radiation)
b. theoretical maximum radiation in database (maxSolarRad) 

[sunshineTime] = Time of sunshine (in minutes)
[sunshineTheoretical] = Time, when sunshine theoretically could have been (in Minutes)
[emptyReal] = Ratio of radiation / theoretical maximum radiation (only calculated during daytime)

Settings:
a. Sunshine can only occur when radiation is greater than 50 W/m2  (thresholdRadiation)
b. If radiation is 80-90% of maximum radiation, the radiation time counts half
c. If radiation is >90% of maximum radiation, the radiation time fully counts

Radiation time = archive interval

"""

import syslog
from math import sin,cos,pi,asin
from datetime import datetime
import time

import weewx
from weewx.wxengine import StdService
import schemas.wview

class RadiationHours(StdService):

def __init__(self, engine, config_dict):
# Pass the initialization information on to my superclass:
super(RadiationHours, self).__init__(engine, config_dict)

# Start intercepting events:
self.bind(weewx.NEW_ARCHIVE_RECORD, self.newArchiveRecord)


''' New, simplified calculation '''

def newArchiveRecord(self, event):
thresholdRadiation = 50
thresholdRatioLow = 75
thresholdRatioHigh = 85
radiation = event.record.get('radiation')
maximum = event.record.get('maxSolarRad')
event.record['sunshineTime'] = 0.0
event.record['sunshineTheoretical'] = 0.0
if radiation is not None:
if maximum is not None:
if maximum > thresholdRadiation:
ratio = (radiation / maximum) * 100
if ratio > 100:
   

[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Christian Gruber
ok, i will try it locally before, but vserver is also a good (cheap) option 
:-)

another question to you: how do you calculate sun hours on your site, is it 
from here? https://github.com/gjr80/weewx-weewx-wd

Manfred Maier schrieb am Mittwoch, 10. März 2021 um 19:23:40 UTC+1:

> No, I didn't.
>
> I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
> So I anyway had to rent a vServer for running my own tunneling solution 
> for my local webcam.
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:
>
>> hi manfred,
>>
>> did you try to run the broker locally before? 
>>
>> i have a static ip with symmetric bandwidth. or are there other reasons 
>> why it doesnt work?
>>
>> regards,
>> chris
>>
>> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>>
>>> Hi Chris,
>>> I've been in a similar situation to you.
>>> My web hosting service didn't allow me to run a MQTT broker and the 
>>> (free) public brokers didn't perform very well. The majority of MQTT 
>>> packages got lost and were not delivered to the web client.
>>> So in the end I've decided to rent an additional vServer and run my own 
>>> MQTT broker. The setup was really easy, but there's a server cost of 
>>> approx. 2€ per month.
>>>
>>> Manfred  
>>>
>>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:
>>>
 You need a publicly available MQTT broker. Either you install one on 
 your webhoster's webspace (if possible), or you use a public broker like 
 test.mosquitto.org.

 grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:

> hello,
>
> i am uploading the reports via FTP to my webhoster. can i use mqtt 
> then for live data oder do i need a locally webserver?
>
> regards,
> chris
>


-- 
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/c37787f3-bd64-41e6-a744-c8778b263549n%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Manfred Maier
No, I didn't.

I'm (unfortunately) sitting behind fiberglass without a static IPv4. 
So I anyway had to rent a vServer for running my own tunneling solution for 
my local webcam.

grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 19:12:12 UTC+1:

> hi manfred,
>
> did you try to run the broker locally before? 
>
> i have a static ip with symmetric bandwidth. or are there other reasons 
> why it doesnt work?
>
> regards,
> chris
>
> Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:
>
>> Hi Chris,
>> I've been in a similar situation to you.
>> My web hosting service didn't allow me to run a MQTT broker and the 
>> (free) public brokers didn't perform very well. The majority of MQTT 
>> packages got lost and were not delivered to the web client.
>> So in the end I've decided to rent an additional vServer and run my own 
>> MQTT broker. The setup was really easy, but there's a server cost of 
>> approx. 2€ per month.
>>
>> Manfred  
>>
>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:
>>
>>> You need a publicly available MQTT broker. Either you install one on 
>>> your webhoster's webspace (if possible), or you use a public broker like 
>>> test.mosquitto.org.
>>>
>>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:
>>>
 hello,

 i am uploading the reports via FTP to my webhoster. can i use mqtt then 
 for live data oder do i need a locally webserver?

 regards,
 chris

>>>

-- 
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/012d21fe-6355-4c27-ad61-ded6df29231dn%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Christian Gruber
hi manfred,

did you try to run the broker locally before? 

i have a static ip with symmetric bandwidth. or are there other reasons why 
it doesnt work?

regards,
chris

Manfred Maier schrieb am Mittwoch, 10. März 2021 um 15:16:35 UTC+1:

> Hi Chris,
> I've been in a similar situation to you.
> My web hosting service didn't allow me to run a MQTT broker and the (free) 
> public brokers didn't perform very well. The majority of MQTT packages got 
> lost and were not delivered to the web client.
> So in the end I've decided to rent an additional vServer and run my own 
> MQTT broker. The setup was really easy, but there's a server cost of 
> approx. 2€ per month.
>
> Manfred  
>
> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:
>
>> You need a publicly available MQTT broker. Either you install one on your 
>> webhoster's webspace (if possible), or you use a public broker like 
>> test.mosquitto.org.
>>
>> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:
>>
>>> hello,
>>>
>>> i am uploading the reports via FTP to my webhoster. can i use mqtt then 
>>> for live data oder do i need a locally webserver?
>>>
>>> regards,
>>> chris
>>>
>>

-- 
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/e8dfe94c-c8ba-4c3c-a390-b6536982c97bn%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Manfred Maier
Hi Chris,
I've been in a similar situation to you.
My web hosting service didn't allow me to run a MQTT broker and the (free) 
public brokers didn't perform very well. The majority of MQTT packages got 
lost and were not delivered to the web client.
So in the end I've decided to rent an additional vServer and run my own 
MQTT broker. The setup was really easy, but there's a server cost of 
approx. 2€ per month.

Manfred  

kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 11:59:33 UTC+1:

> You need a publicly available MQTT broker. Either you install one on your 
> webhoster's webspace (if possible), or you use a public broker like 
> test.mosquitto.org.
>
> grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:
>
>> hello,
>>
>> i am uploading the reports via FTP to my webhoster. can i use mqtt then 
>> for live data oder do i need a locally webserver?
>>
>> regards,
>> chris
>>
>

-- 
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/e0944228-64db-4f6a-b7d0-20ec6decb809n%40googlegroups.com.


[weewx-user] Re: Belchertown - MQTT with webhosting

2021-03-10 Thread Karen K
You need a publicly available MQTT broker. Either you install one on your 
webhoster's webspace (if possible), or you use a public broker like 
test.mosquitto.org.

grua...@gmail.com schrieb am Mittwoch, 10. März 2021 um 07:46:52 UTC+1:

> hello,
>
> i am uploading the reports via FTP to my webhoster. can i use mqtt then 
> for live data oder do i need a locally webserver?
>
> regards,
> chris
>

-- 
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/79073459-582a-4e38-9565-85a66cbde7fbn%40googlegroups.com.