I found those sources: Jterrettaz / sunduration <https://github.com/Jterrettaz/sunduration> - that version with the complicated formula brewster76 / util-archer <https://github.com/brewster76/util-archer/blob/master/user/radiationhours.py> - a quite too simple solution
@Manfred Maier: Would you mind me including your formula into weewx-GTS <https://github.com/roe-dl/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.