Re: [weewx-user] Re: Weexw 5.1 and Red Hat packages
Hello Yes, now is solved, updated and running. Downloaded, failed signing check, and after imported the Key, upgraded and running Thanks! El 6/7/24 a las 19:52, matthew wall escribió: jose, could you refresh your dnf cache then try again? something like this: sudo yum clean all then upgrade weewx: sudo dnf update weewx On Saturday, July 6, 2024 at 12:54:19 PM UTC-4 Jose Maria T.J. wrote: Hello I'm having this problem (This is a Fedora 40 box, el9 repo forced in repo file) /root@host:~# dnf upgrade weewx 8.6 kB/s | 3.0 kB 00:00 Dependencies resolved. Package Architecture Version Repository Size Upgrading: weewx noarch 5.1.0b6-1.el9 weewx 1.2 M Transaction Summary Upgrade 1 Package Total download size: 1.2 M Is this ok [y/N]: y Downloading Packages: [MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142) [MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142) [MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142) [MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142) [FAILED] weewx-5.1.0b6-1.el9.noarch.rpm: No more mirrors to try - All mirrors were already tried without success The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Error downloading packages: weewx-5.1.0b6-1.el9.noarch: Cannot download, all mirrors were already tried without success root@host:~# / Is this related to this thread? How can fix it? I've done dnf clean all and dnf upgrade --refresh several times Thanks, -- You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/mE120DZo_wM/unsubscribe. To unsubscribe from this group and all its topics, 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/b1728332-ee01-466a-a749-e2c888cfca37n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/b1728332-ee01-466a-a749-e2c888cfca37n%40googlegroups.com?utm_medium=email_source=footer>. -- 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/32ef0ea8-fa34-4ebc-bc80-4e4741f28bc0%40gmail.com.
[weewx-user] Re: Weexw 5.1 and Red Hat packages
Hello I'm having this problem (This is a Fedora 40 box, el9 repo forced in repo file) *root@host:~# dnf upgrade weewx 8.6 kB/s | 3.0 kB 00:00Dependencies resolved. Package Architecture Version Repository SizeUpgrading: weewx noarch 5.1.0b6-1.el9 weewx 1.2 MTransaction SummaryUpgrade 1 PackageTotal download size: 1.2 MIs this ok [y/N]: yDownloading Packages:[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)[MIRROR] weewx-5.1.0b6-1.el9.noarch.rpm: Status code: 404 for http://weewx.com/yum/weewx/el9/RPMS/weewx-5.1.0b6-1.el9.noarch.rpm (IP: 34.218.218.142)[FAILED] weewx-5.1.0b6-1.el9.noarch.rpm: No more mirrors to try - All mirrors were already tried without successThe downloaded packages were saved in cache until the next successful transaction.You can remove cached packages by executing 'dnf clean packages'.Error: Error downloading packages: weewx-5.1.0b6-1.el9.noarch: Cannot download, all mirrors were already tried without successroot@host:~# * Is this related to this thread? How can fix it? I've done dnf clean all and dnf upgrade --refresh several times Thanks, El sábado, 6 de julio de 2024 a las 16:03:45 UTC+2, James Taylor escribió: > Hi Matthew > > Thanks for picking it up and solving it. We've all been there and copied > the wrong things around. > > I'll add the testing repo to my yum.repos.d for next time :-) > > James > > On Saturday, July 6, 2024 at 12:49:33 PM UTC+1 matthew wall wrote: > >> On Saturday, July 6, 2024 at 4:28:19 AM UTC-4 James Taylor wrote: >> >> Is somebody able to remove the beta packages from the yum repository, >> otherwise dnf thinks the latest package is 5.1.0b6-1.el9 and installing >> 5.1.0-2.el9 is a downgrade. >> >> >> fixed. sorry about that, i was sloppy when i did the repo updates. >> there *is* a testing repo at http://weewx.com/yum-test >> >> we always put the alpha and beta releases in the 'development_versions' >> directory of downloads so we/you can test, then we put some of those into >> the 'yum-test' repo for end-to-end testing. >> >> this time i mistakenly replicated the yum-test repo onto the production >> repo. >> >> 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/ba4da7c6-d132-4d0c-88b9-945e450ec7f6n%40googlegroups.com.
[weewx-user] Re: weewx doesn't start after upgrade to fedoar 39
This worked for me, thanks! I had weewx already installed in F38, so no needed to install the RPM. El sábado, 11 de noviembre de 2023 a las 19:54:35 UTC+1, vince escribió: That actually works on fedora39. Great find ! Simply remove the six.py that weewx v4 installs. # install weewx the hard way because # the rpm signing key is not accepted # by modern fedora 39 sudo yum install -y wget wget http://weewx.com/downloads/released_versions/weewx-4.10.2-1.el8.noarch.rpm sudo yum localinstall weewx-4.10.2-1.el8.noarch.rpm # get weewx's six.py out of the way cd /usr/share/weewx/ sudo mv six.py six.py.keepme # set debug=1 and save the file sudo vi /etc/weewx/weewx.conf # make sure it's running simulator sudo wee_config --reconfigure # start it up interactively sudo weewxd On Saturday, November 11, 2023 at 2:29:10 AM UTC-8 bell...@gmail.com wrote: Sorry I wasn't clear. I was wondering what would happen if the 1.15 version of six.py in the WeeWX bin directory was updated to 1.16. FWIW: MQTTSubscribe test on Ubuntu 22.04, Python 3.12 fails. If I delete six.py from WeeWX bin directory it passes. rich On Friday, 10 November 2023 at 22:27:44 UTC-5 vince wrote: Yeah - many such threads here and there. I did try reverting 'six' via pip to 1.15.0 on F39 but it didn't help. Somebody upstream has some serious breakage. (I didn't try python-3.12 but this might be one of those places where you can break the os potentially if you tried to install it in a system location. Yet another reason the new venv/pip stuff is great) On Friday, November 10, 2023 at 6:38:12 PM UTC-8 bell...@gmail.com wrote: When I added Python 3.12 to my automated tests of MQTTSubscribe I saw this. I did minimal digging and found this, https://bugzilla.mozilla.org/show_bug.cgi?id=1857492. Perhaps updating the six.py that WeeWX ships might fix it… With WeeWX v5 imminent (?)… I decided that MQTTSubscribe doesn’t support python 3.12. I’d try using Python 3.11. rich On Friday, 10 November 2023 at 15:12:16 UTC-5 Lee Holstege wrote: I have happily used weewx for many years. Earlier this week I upgraded my system from fedora 38 to fedora 39. The upgrade was uneventful. However weewx will no longer start. Everyting else seems to work normally. Setting debug=1 in the config file made no difference. The log output is Traceback (most recent call last): File "/usr/share/weewx/weewxd", line 22, in import weecfg "/usr/share/weewx/weecfg/__init__.py", line 21, in from six.moves import StringIO, input ModuleNotFoundError: No module named 'six.moves' weewx[53224]: [FAILED] weewx.service: Control process exited, code=exited, status=1/FAILURE weewx.service: Failed with result 'exit-code'. Failed to start weewx.service - SYSV: start and stop the weewx weather system. Looked pretty simple at first. Missing file six.moves. Just replace missing file and move on. Now I have learned "six" is actually a compatibility library designed to allow seamless detection between Python2 and Python3 and that the routine (dynamically?) creates the missing file six.moves. So it appears that the proper file either i not being created at all or is not being imported correctly. I am running Python3.12. I have worked on this for the past couple of days and have made no progress. I am not even sure whether the problem is in weewx or python. I would appreciate any help that anyone may be able to provide. Admin details: weewx installed and upgraded from rpms downloaded from the weewx website Current version is weewx-4.10.2-1.el8.noarch Fedora 39 upgrade (earlier this week) and then updated again this morning Weather station Davis Vantage Vue -- 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/c5c69914-892f-4dfc-b59d-4a6d711e40a9n%40googlegroups.com.
Re: [weewx-user] Re: Problemas para publicar mqtt
correct and accessible? The "failed to > connect/timeout" indicates there is an error. > > jose riaño schrieb am Donnerstag, 8. Juni 2023 um 18:41:13 UTC+2: > >> 11:34:22 raspberrypi systemd[1]: Stopping LSB: weewx weather system... >> Jun 8 11:34:22 raspberrypi weewx[9085]: engine: Received signal TERM >> (15). >> Jun 8 11:34:22 raspberrypi weewx[9085]: engine: Main loop exiting. >> Shutting engine down. >> Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to connect >> to MQTT server (mqtt://...): timed out >> Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to connect >> to MQTT server (mqtt://): timed out >> Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to publish >> record 2023-06-08 11:34:00 -05 (1686242040): MQTT client not available >> Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to publish >> record 2023-06-08 11:34:00 -05 (1686242040): MQTT client not available >> Jun 8 11:34:26 raspberrypi weewx[9085]: restx: Shut down MQTT thread. >> Jun 8 11:34:26 raspberrypi weewx[9085]: engine: Shutting down StdReport >> thread >> Jun 8 11:34:26 raspberrypi weewx[9085]: engine: StdReport thread has >> been terminated >> Jun 8 11:34:26 raspberrypi weewx[9085]: restx: Shut down MQTT thread. >> Jun 8 11:34:26 raspberrypi weewx[9085]: engine: Terminating weewx >> version 3.9.2 >> Jun 8 11:34:27 raspberrypi weewx[9085]: Traceback (most recent >> call last): >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/share/weewx/weewx/engine.py", line 894, in main >> Jun 8 11:34:27 raspberrypi weewx[9085]: engine.run() >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/share/weewx/weewx/engine.py", line 188, in run >> Jun 8 11:34:27 raspberrypi weewx[9085]: for packet in >> self.console.genLoopPackets(): >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/share/weewx/weewx/drivers/vantage.py", line 508, in genLoopPackets >> Jun 8 11:34:27 raspberrypi weewx[9085]: for _loop_packet >> in self.genDavisLoopPackets(200): >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/share/weewx/weewx/drivers/vantage.py", line 535, in >> genDavisLoopPackets >> Jun 8 11:34:27 raspberrypi weewx[9085]: _buffer = >> self.port.read(99) >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/share/weewx/weewx/drivers/vantage.py", line 256, in read >> Jun 8 11:34:27 raspberrypi weewx[9085]: _buffer = >> self.serial_port.read(chars) >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 483, in read >> Jun 8 11:34:27 raspberrypi weewx[9085]: ready, _, _ = >> select.select([self.fd, self.pipe_abort_read_r], [], [], >> timeout.time_left()) >> Jun 8 11:34:27 raspberrypi weewx[9085]: File >> "/usr/share/weewx/weewx/engine.py", line 812, in sigTERMhandler >> Jun 8 11:34:27 raspberrypi weewx[9085]: raise Terminate >> Jun 8 11:34:27 raspberrypi weewx[9085]: Terminate >> Jun 8 11:34:27 raspberrypi weewx[9685]: Stopping weewx weather system: >> weewx.. >> Jun 8 11:34:27 raspberrypi systemd[1]: weewx.service: Succeeded. >> Jun 8 11:34:27 raspberrypi systemd[1]: Stopped LSB: weewx weather system. >> >> >> >> Tengo esta salida pero no se me ayudan por favor ??? >> >> El vie, 26 may 2023 a las 13:30, jose riaño () >> escribió: >> >>> no nada ya lo hice y me sigue el error ??? que podrá ser >>> >>> El jueves, 25 de mayo de 2023 a las 19:59:14 UTC-5, vince escribió: >>> >>>> Pre-Requisites Install the MQTT python bindings For python3: sudo pip3 >>>> install paho-mqtt For python2: sudo pip install paho-mqtt >>>> >>>> >>>> On Thursday, May 25, 2023 at 3:59:44 PM UTC-4 jose riaño wrote: >>>> >>>>> me muestra este error: >>>>> >>>>> May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to >>>>> connect to MQTT server (URL): timed out >>>>> May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to >>>>> publish record 2023-05-25 14:55:00 -05 (1685044500): MQTT client not >>>>> available >>>>> >>>> -- >>> You received this m
Re: [weewx-user] Re: Problemas para publicar mqtt
11:34:22 raspberrypi systemd[1]: Stopping LSB: weewx weather system... Jun 8 11:34:22 raspberrypi weewx[9085]: engine: Received signal TERM (15). Jun 8 11:34:22 raspberrypi weewx[9085]: engine: Main loop exiting. Shutting engine down. Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to connect to MQTT server (mqtt://...): timed out Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to connect to MQTT server (mqtt://): timed out Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to publish record 2023-06-08 11:34:00 -05 (1686242040): MQTT client not available Jun 8 11:34:26 raspberrypi weewx[9085]: restx: MQTT: Failed to publish record 2023-06-08 11:34:00 -05 (1686242040): MQTT client not available Jun 8 11:34:26 raspberrypi weewx[9085]: restx: Shut down MQTT thread. Jun 8 11:34:26 raspberrypi weewx[9085]: engine: Shutting down StdReport thread Jun 8 11:34:26 raspberrypi weewx[9085]: engine: StdReport thread has been terminated Jun 8 11:34:26 raspberrypi weewx[9085]: restx: Shut down MQTT thread. Jun 8 11:34:26 raspberrypi weewx[9085]: engine: Terminating weewx version 3.9.2 Jun 8 11:34:27 raspberrypi weewx[9085]: Traceback (most recent call last): Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/share/weewx/weewx/engine.py", line 894, in main Jun 8 11:34:27 raspberrypi weewx[9085]: engine.run() Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/share/weewx/weewx/engine.py", line 188, in run Jun 8 11:34:27 raspberrypi weewx[9085]: for packet in self.console.genLoopPackets(): Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/share/weewx/weewx/drivers/vantage.py", line 508, in genLoopPackets Jun 8 11:34:27 raspberrypi weewx[9085]: for _loop_packet in self.genDavisLoopPackets(200): Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/share/weewx/weewx/drivers/vantage.py", line 535, in genDavisLoopPackets Jun 8 11:34:27 raspberrypi weewx[9085]: _buffer = self.port.read(99) Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/share/weewx/weewx/drivers/vantage.py", line 256, in read Jun 8 11:34:27 raspberrypi weewx[9085]: _buffer = self.serial_port.read(chars) Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 483, in read Jun 8 11:34:27 raspberrypi weewx[9085]: ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left()) Jun 8 11:34:27 raspberrypi weewx[9085]: File "/usr/share/weewx/weewx/engine.py", line 812, in sigTERMhandler Jun 8 11:34:27 raspberrypi weewx[9085]: raise Terminate Jun 8 11:34:27 raspberrypi weewx[9085]: Terminate Jun 8 11:34:27 raspberrypi weewx[9685]: Stopping weewx weather system: weewx.. Jun 8 11:34:27 raspberrypi systemd[1]: weewx.service: Succeeded. Jun 8 11:34:27 raspberrypi systemd[1]: Stopped LSB: weewx weather system. Tengo esta salida pero no se me ayudan por favor ??? El vie, 26 may 2023 a las 13:30, jose riaño () escribió: > no nada ya lo hice y me sigue el error ??? que podrá ser > > El jueves, 25 de mayo de 2023 a las 19:59:14 UTC-5, vince escribió: > >> Pre-Requisites Install the MQTT python bindings For python3: sudo pip3 >> install paho-mqtt For python2: sudo pip install paho-mqtt >> >> >> On Thursday, May 25, 2023 at 3:59:44 PM UTC-4 jose riaño wrote: >> >>> me muestra este error: >>> >>> May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to connect >>> to MQTT server (URL): timed out >>> May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to publish >>> record 2023-05-25 14:55:00 -05 (1685044500): MQTT client not available >>> >> -- > 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/ff84bfd7-fdbe-48b9-922d-7ea9a59730d4n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/ff84bfd7-fdbe-48b9-922d-7ea9a59730d4n%40googlegroups.com?utm_medium=email_source=footer> > . > -- *Ing. JOSE JUAQUIN RIAÑO BECERRA.* *10942678013153125203* -- 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/CAJ%2BHrV4kGuzqqP4uKL1jCBz%2Bt26K_CLDFJ6cy5unG1BGS4-tnA%40mail.gmail.com.
[weewx-user] Re: Problemas para publicar mqtt
no nada ya lo hice y me sigue el error ??? que podrá ser El jueves, 25 de mayo de 2023 a las 19:59:14 UTC-5, vince escribió: > Pre-Requisites Install the MQTT python bindings For python3: sudo pip3 > install paho-mqtt For python2: sudo pip install paho-mqtt > > > On Thursday, May 25, 2023 at 3:59:44 PM UTC-4 jose riaño wrote: > >> me muestra este error: >> >> May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to connect >> to MQTT server (URL): timed out >> May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to publish >> record 2023-05-25 14:55:00 -05 (1685044500): MQTT client not available >> > -- 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/ff84bfd7-fdbe-48b9-922d-7ea9a59730d4n%40googlegroups.com.
[weewx-user] Problemas para publicar mqtt
me muestra este error: May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to connect to MQTT server (URL): timed out May 25 14:55:37 raspberrypi weewx[1500]: restx: MQTT: Failed to publish record 2023-05-25 14:55:00 -05 (1685044500): MQTT client not available -- 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/58d69982-8993-4886-9a9b-69bca40a0627n%40googlegroups.com.
[weewx-user] Significado de cada variable
Muy buenas tardes Necesito conocer el significado de cada variable conozco algunas pero otras no las necesito para definir las todas y poder procesar las en un servidor web me pueden ayudar les agradecería mucho ... { "windSpeed10_kph":"1.609344", "monthET":"0.86", "outsideAlarm2":"0.0", "beaufort_count":"0.0", "dewpoint_C":"22.7741098563", "outHumidity":"77.0", "pressure_mbar":"974.037632877", "rain_cm":"0.0", "highRadiation":"14.0", "interval_minute":"1.0", "barometer_mbar":"1013.74915922", "yearRain_cm":"10.739345", "consBatteryVoltage_volt":"4.79", "wind_samples":"21.0", "insideAlarm":"0.0", "inHumidity":"53.0", "sunrise":"1644318864.0", "cloudbase_meter":"901.582461041", "windGust_kph":"0.0", "heatindex_C":"29.8081349624", "dayRain_cm":"0.21998658", "lowOutTemp":"80.8", "outsideAlarm1":"0.0", "forecastIcon":"6.0", "highUV":"0.0", "windSpeed_kph":"0.0", "forecastRule":"45.0", "windrun_km":"0.0", "rainAlarm":"0.0", "stormStart":"1644296400.0", "altimeter_mbar":"1016.01340631", "humidex_C":"37.219167239", "windchill_C":"27.17", "appTemp_C":"32.2861987756", "outTemp_C":"27.17", "extraAlarm1":"0.0", "extraAlarm2":"0.0", "extraAlarm3":"0.0", "extraAlarm4":"0.0", "extraAlarm5":"0.0", "extraAlarm6":"0.0", "extraAlarm7":"0.0", "extraAlarm8":"0.0", "dayET":"0.108", "rain24_cm":"0.21998658", "rxCheckPercent":"89.6875", "hourRain_cm":"0.0", "inTemp_C":"23.83", "soilLeafAlarm4":"0.0", "soilLeafAlarm2":"0.0", "soilLeafAlarm3":"0.0", "usUnits":"16.0", "soilLeafAlarm1":"0.0", "leafWet4":"0.0", "txBatteryStatus":"0.0", "yearET":"4.94", "monthRain_cm":"0.25998414", "UV":"0.0", "rainRate_cm_per_hour":"0.0", "dateTime":"1644360180.0", "stormRain_cm":"0.21998658", "ET_cm":"0.0", "sunset":"1644363264.0", "inDewpoint_C":"13.6661020104", "highOutTemp":"80.9", "radiation_Wpm2":"14.0" } -- 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/69fd8b18-b6c0-4287-87d6-0f19c0ab4491n%40googlegroups.com.
Re: [weewx-user] Modification of the code for station id.
Comrades Good afternoon I understand that the content is not very clear but if what I want is that each Station with its weewx software is programmed to insert the data in the same table of the Mysql database, that is, the query I am not very clear about data union I do not know if you can help me but what I want is in each station to program the same table of the database of the other stations and to be able to identify them, It is a single database, all the stations are programmed to insert the data in the same database. Only that each station has a table, what I want is for all of them to insert the data in a table with a different identifier so that when they are consulted, it is easier I don't know if there is a way to Modify the weewx code to insert the identifier of each station and thus give the same table to all of them. Where do I do it? El martes, 21 de septiembre de 2021 a las 12:06:54 UTC-5, peterq...@gmail.com escribió: > I don't understand the requirement completely either, but I have some > thoughts. Rather than modifying weewx, perhaps you could use a union query > across all the mysql tables to aggregate your data. You would probably want > some station ID in the table to keep the records straight. I would also > consider using a tool like Grafana to visualize the aggregated data outside > of Weewx. > > On Tue, Sep 21, 2021 at 9:24 AM Tom Keffer wrote: > >> Hello, Jose. >> >> It is not very clear what you are trying to do. Will the data be >> collected by WeeWX? Or, something else? >> >> WeeWX is not designed to handle many different stations. First, there is >> no way to identify each station (although that would not be hard to add). >> The bigger problem is that weewxd blocks, waiting for data from a station. >> It does not have a "select" statement that allows it to wait for data from >> any one of 20 different stations. It can wait for only one station. >> >> Finally, the reporting engine does not have a way of saying that you want >> to display data from only a particular station. >> >> Hope that helps. >> >> -tk >> >> On Tue, Sep 21, 2021 at 8:41 AM jose riaño wrote: >> >>> Good morning friends and colleagues I want to ask you What happens is >>> that I have more than 20 stations online in a department of Colombia I >>> would like to know how I could use the same Mysql table to store the data >>> of all the stations by modifying the central code I want to find a >>> identifier for each station and that all the data is inserted in the same >>> table of all the stations, how I have it now, it is a My sql table per >>> station, it makes me more complex for the queries and the web software that >>> I have. >>> >>> In summary, what I want is to insert the data of those 20 stations in >>> the same mysql table. Thank you very much >>> >>> -- >>> 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+...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/27051542-3e2c-44a9-9274-577fa88870b5n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/27051542-3e2c-44a9-9274-577fa88870b5n%40googlegroups.com?utm_medium=email_source=footer> >>> . >>> >> -- >> 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+...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/CAPq0zEDuZiCTyEkLiz-yHEDrh_aC2fO1pDU0wr5YBJ6XGZwwRg%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDuZiCTyEkLiz-yHEDrh_aC2fO1pDU0wr5YBJ6XGZwwRg%40mail.gmail.com?utm_medium=email_source=footer> >> . >> > > > -- > Peter Quinn > (415)794-2264 <(415)%20794-2264> > -- 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/fe5b8d79-95e8-4c1b-a0f2-34e8973d7a89n%40googlegroups.com.
[weewx-user] Modification of the code for station id.
Good morning friends and colleagues I want to ask you What happens is that I have more than 20 stations online in a department of Colombia I would like to know how I could use the same Mysql table to store the data of all the stations by modifying the central code I want to find a identifier for each station and that all the data is inserted in the same table of all the stations, how I have it now, it is a My sql table per station, it makes me more complex for the queries and the web software that I have. In summary, what I want is to insert the data of those 20 stations in the same mysql table. Thank you very much -- 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/27051542-3e2c-44a9-9274-577fa88870b5n%40googlegroups.com.
Re: [weewx-user] Cambio de versión de weewx [2]
e].addHiLo(val, record['dateTime']) Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: File "/usr/share/weewx/weewx/accum.py", line 168, in addHiLo Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: val = to_float(val) Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: File "/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: return float(x) if x is not None else None Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: ValueError: could not convert string to float: Chitaga Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: Exiting. El miércoles, 25 de agosto de 2021 a las 12:11:38 UTC-5, jose riaño escribió: > los comandos *wee_database --check-strings y * *wee_database > --fix-strings* > *me dan este relusltado * > > * File "/usr/share/weewx/wee_database", line 1138, in * > *main()* > * File "/usr/share/weewx/wee_database", line 230, in main* > *check_strings(config_dict, db_binding, options, fix=True)* > * File "/usr/share/weewx/wee_database", line 913, in check_strings* > *with weewx.manager.open_manager_with_config(config_dict, db_binding) > as dbmanager:* > * File "/usr/share/weewx/weewx/manager.py", line 746, in > open_manager_with_config* > *return open_manager(manager_dict, initialize)* > * File "/usr/share/weewx/weewx/manager.py", line 737, in open_manager* > *manager_dict['table_name'])* > * File "/usr/share/weewx/weewx/manager.py", line 132, in open* > *dbmanager = cls(connection, table_name)* > * File "/usr/share/weewx/weewx/manager.py", line 881, in __init__* > *self.patch_sums()* > * File "/usr/share/weewx/weewx/manager.py", line 1344, in patch_sums* > *self.recalculate_weights(start_d=datetime.date(2020, 6, 1))* > * File "/usr/share/weewx/weewx/manager.py", line 1262, in > recalculate_weights* > *self._do_tranche(mark_d, end_of_tranche_d, weight_fn, progress_fn)* > * File "/usr/share/weewx/weewx/manager.py", line 1301, in _do_tranche* > *day_accum.addRecord(rec, weight=weight)* > * File "/usr/share/weewx/weewx/accum.py", line 436, in addRecord* > *func(self, record, obs_type, add_hilo, weight)* > * File "/usr/share/weewx/weewx/accum.py", line 495, in add_value* > *self[obs_type].addHiLo(val, record['dateTime'])* > * File "/usr/share/weewx/weewx/accum.py", line 168, in addHiLo* > *val = to_float(val)* > * File "/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float* > *return float(x) if x is not None else None* > *ValueError: could not convert string to float: Chitaga* > > > El viernes, 20 de agosto de 2021 a las 13:22:59 UTC-5, tke...@gmail.com > escribió: > >> Or, use the tool wee_database. It has a specific option "--check-strings >> <http://www.weewx.com/docs/utilities.htm#wee_database_utility_check_strings>" >> >> for doing this: >> >> *wee_database --check-strings* >> >> >> if you find any, you can use the option --fix-strings to fix them: >> >> *wee_database --fix-strings* >> >> >> -tk >> >> On Fri, Aug 20, 2021 at 10:50 AM 'Rainer Lang' via weewx-user < >> weewx...@googlegroups.com> wrote: >> >>> we had a similar case here in the forum earlier this year: >>> "After further investigation, it turned out to be due to an errant >>> record in the DB. The record’s “ET” field was blank; neither NULL nor a >>> valid float. Not sure how it got there, but using an sqlite editor and >>> setting it back to NULL did the trick. " >>> >>> It would be worth checking the database for such a record using a SQlite >>> Database browser. A field in the database that is usually filled by weewx >>> with either a value or NULL but is "empty". >>> tuvimos un caso similar aquí en el foro a principios de este año: >>> "Tras una investigación más profunda, resultó ser debido a un registro >>> erróneo en la base de datos. El campo "ET" del registro estaba en blanco; >>> ni NULL ni un flotador válido. No estoy seguro de cómo llegó allí, pero >>> usando un editor de sqlite y poniéndolo de nuevo en NULL hizo el truco. " >>> >>> Valdría la pena revisar la base de datos en busca de ese registro >>> utilizando un navegador de bases de datos SQlite. Un campo en la base de >>> datos que normalmente es llenado por weewx con un valor o NULL pero
Re: [weewx-user] Cambio de versión de weewx [2]
18:28:43 raspberrypi weewx[25009] INFO __main__: Initializing >> weewx version 4.5.1 >> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: Using Python >> 3.7.3 (default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0] >> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: Platform >> Linux-5.10.52-v7l+-armv7l-with-debian-10.10 >> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: Locale is >> 'en_US.UTF-8' >> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: PID file is >> /var/run/weewx.pid >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO __main__: Using >> configuration file /etc/weewx/weewx.conf >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO __main__: Debug is 0 >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Loading >> station type Interceptor (user.interceptor) >> Aug 20 18:28:44 raspberrypi weewx[24997]: Starting weewx weather system: >> weewx. >> Aug 20 18:28:44 raspberrypi systemd[1]: Started LSB: weewx weather system. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: driver >> version is 0.60 >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: device >> type: ecowitt-client >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: hardware >> name: Froggit WH4000SE/Ecowitt WH2320E >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: mode is >> listen >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: listen on >> :8000 >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: sensor >> map: {'pressure': 'pressure', 'barometer': 'barometer', 'outHumidity': >> 'humidity_out', 'inHumidity': 'humidity_in', 'outTemp': 'temperature_out', >> 'inTemp': 'temperature_in', 'windSpeed': 'wind_speed', 'windGust': >> 'wind_gust', 'windDir': 'wind_dir', 'windGustDir': 'wind_gust_dir', >> 'radiation': 'solar_radiation', 'dewpoint': 'dewpoint', 'windchill': >> 'windchill', 'rain': 'rain', 'rainRate': 'rain_rate', 'UV': 'uv', >> 'txBatteryStatus': 'battery', 'extraTemp1': 'temperature_1', 'extraTemp2': >> 'temperature_2', 'extraTemp3': 'temperature_3', 'extraHumid1': >> 'humidity_1', 'extraHumid2': 'humidity_2', 'soilTemp1': >> 'soil_temperature_1', 'soilTemp2': 'soil_temperature_2', 'soilMoist1': >> 'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', 'soilMoist3': >> 'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', 'leafWet1': >> 'leafwetness_1', 'leafWet2': 'leafwetness_2', 'pm2_5': 'pm2_5', >> 'extraTemp4': 'temperature_4', 'extraTemp5': 'temperature_5', 'extraTemp6': >> 'temperature_6', 'extraTemp7': 'temperature_7', 'extraTemp8': >> 'temperature_8', 'extraHumid3': 'humidity_3', 'extraHumid4': 'humidity_4', >> 'extraHumid5': 'humidity_5', 'extraHumid6': 'humidity_6', 'extraHumid7': >> 'humidity_7', 'extraHumid8': 'humidity_8', 'soilTemp3': >> 'soil_temperature_3', 'soilTemp4': 'soil_temperature_4'} >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: StdConvert >> target unit is 0x1 >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Archive will >> use data binding wx_binding >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Record >> generation will be attempted in 'hardware' >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Using archive >> interval of 60 seconds (specified in weewx configuration) >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: >> StationRegistry: Station will be registered. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: Wunderground: >> Posting not enabled. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: PWSweather: >> Posting not enabled. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: CWOP: Posting >> not enabled. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: WOW: Posting >> not enabled. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: AWEKAS: >> Posting not enabled. >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO __main__: Starting up weewx >> version 4.5.1 >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Using binding >> 'wx_binding' to database 'weewx-IC.sdb' >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.manager: Starting >> backfill of daily summaries >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.manager: Daily >> summaries up to date >> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Starting main >> packet loop. >> On 20.08.2021 17:56, jose riaño wrote: >> >> >> no seño
Re: [weewx-user] Cambio de versión de weewx
no señor nada solo que me averió la Rpi y al cargar todo de nuevo y arrancar me sale eso El viernes, 20 de agosto de 2021 a las 10:26:00 UTC-5, tke...@gmail.com escribió: > You did not show very much of the log, so it is difficult to determine > what happened. > > My best guess is that somewhere in your database you have a string where > you should have a number. > > Did you edit the database? > > On Fri, Aug 20, 2021 at 8:19 AM jose riaño wrote: > >> al cambiar mi versión o reinstalar se me puso la versión 4.5.1 pero >> cuando quiero arrancar el sistema me sale esto: >> >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> File "/usr/share/weewx/weewx/accum.py", line 495, in add_value >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> self[obs_type].addHiLo(val, record['dateTime']) >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> File "/usr/share/weewx/weewx/accum.py", line 168, in addHiLo >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> val = to_float(val) >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> File "/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> return float(x) if x is not None else None >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> ValueError: could not convert string to float: >> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: >> Exiting. >> >> >> no encuentro el error o que debo hacer por favor me ayudan >> >> -- >> 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+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/79fe0a4e-6c0c-43b4-9244-77ed14330e8cn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/79fe0a4e-6c0c-43b4-9244-77ed14330e8cn%40googlegroups.com?utm_medium=email_source=footer> >> . >> > -- 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/a7abd923-2708-427f-9295-a1df9fc7fb4bn%40googlegroups.com.
[weewx-user] Cambio de versión de weewx
al cambiar mi versión o reinstalar se me puso la versión 4.5.1 pero cuando quiero arrancar el sistema me sale esto: Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: File "/usr/share/weewx/weewx/accum.py", line 495, in add_value Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: self[obs_type].addHiLo(val, record['dateTime']) Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: File "/usr/share/weewx/weewx/accum.py", line 168, in addHiLo Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: val = to_float(val) Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: File "/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: return float(x) if x is not None else None Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: ValueError: could not convert string to float: Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__: Exiting. no encuentro el error o que debo hacer por favor me ayudan -- 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/79fe0a4e-6c0c-43b4-9244-77ed14330e8cn%40googlegroups.com.
[weewx-user] Re: To graph a specific time span
works perfectly, thanks Pat El sábado, 13 de junio de 2020, 15:54:09 (UTC+2), Pat escribió: > > Replace your bin/user/belchertown.py with this one and restart weewx > > > On Saturday, June 13, 2020 at 9:43:59 AM UTC-4, Jose wrote: >> >> Belchertown v1.1 >> WeeWX v4.1.1 >> >> El sábado, 13 de junio de 2020, 14:30:35 (UTC+2), Pat escribió: >>> >>> I was able to replicate this on the latest development version of the >>> skin. I recently made changes to timespan_specific - Which version of >>> the skin are you using? >>> >>> On Saturday, June 13, 2020 at 7:20:15 AM UTC-4, Jose wrote: >>>> >>>> hi >>>> >>>> I am trying to graph a specific time spam. My graphs.conf looks like >>>> this: >>>> >>>> >>>> [seguimientoespecial] >>>> button_text = "SEGUIMIENTO ESPECIAL" >>>> show_button = true >>>> time_length = timespan_specific >>>> timespan_start = 1591998600 >>>> timespan_stop = 1591998900 >>>> aggregate_type = max >>>> aggregate_interval = 86400 # 1 day >>>> gapsize = 8640 # 1 day in milliseconds >>>> title = "Seguimiento especial" >>>> >>>> >>>>[[chart1]] >>>>title = Temperatura >>>>[[[outTemp_min]]] >>>> name = Min Temperatura >>>> observation_type = outTemp >>>> aggregate_type = min >>>> color = "#268bd2" >>>> [[[outTemp_avg]]] >>>> name = Media de las Temp medias >>>>observation_type = outTemp >>>> aggregate_type = avg >>>> color = orange >>>> [[[outTemp]]] >>>> zIndex = 1 >>>> observation_type = outTemp >>>> aggregate_type = max >>>> color = red >>>> >>>> >>>> >>>> and this is the log. I must say that I have no problem with the rest >>>> of the charts only when I try to get the time interval chart. >>>> >>>> >>>> >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> Caught unrecoverable exception in generator >>>> 'user.belchertown.HighchartsJsonGenerator' >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> Error trying to use database binding wx_binding to graph >>>> observation outTemp. Error was: an integer is required (got type str). >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> Traceback (most recent call last): >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> File "/usr/share/weewx/user/belchertown.py", line 1825, in >>>> get_observation_data >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> (time_start_vt, time_stop_vt, obs_vt) = archive. >>>> getSqlVectors(TimeSpan(start_ts, end_ts), obs_lookup, aggregate_type, >>>> aggregate_interval) >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> File "/usr/share/weewx/weewx/manager.py", line 452, in >>>> getSqlVectors >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> aggregate_type, aggregate_interval) >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> File "/usr/share/weewx/weewx/xtypes.py", line 86, in >>>> get_series >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> aggregate_interval) >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> File "/usr/share/weewx/weewx/xtypes.py", line 138, in >>>> get_series >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> for stamp in weeutil.weeutil.intervalgen(startstamp, >>>> stopstamp, aggregate_interval): >>>> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >>>> File "/usr/share/weewx/weeutil/weeutil.py", li
[weewx-user] Re: To graph a specific time span
Belchertown v1.1 WeeWX v4.1.1 El sábado, 13 de junio de 2020, 14:30:35 (UTC+2), Pat escribió: > > I was able to replicate this on the latest development version of the > skin. I recently made changes to timespan_specific - Which version of the > skin are you using? > > On Saturday, June 13, 2020 at 7:20:15 AM UTC-4, Jose wrote: >> >> hi >> >> I am trying to graph a specific time spam. My graphs.conf looks like this: >> >> >> [seguimientoespecial] >> button_text = "SEGUIMIENTO ESPECIAL" >> show_button = true >> time_length = timespan_specific >> timespan_start = 1591998600 >> timespan_stop = 1591998900 >> aggregate_type = max >> aggregate_interval = 86400 # 1 day >> gapsize = 8640 # 1 day in milliseconds >> title = "Seguimiento especial" >> >> >>[[chart1]] >>title = Temperatura >>[[[outTemp_min]]] >> name = Min Temperatura >> observation_type = outTemp >> aggregate_type = min >> color = "#268bd2" >> [[[outTemp_avg]]] >> name = Media de las Temp medias >>observation_type = outTemp >> aggregate_type = avg >> color = orange >> [[[outTemp]]] >> zIndex = 1 >> observation_type = outTemp >> aggregate_type = max >> color = red >> >> >> >> and this is the log. I must say that I have no problem with the rest of >> the charts only when I try to get the time interval chart. >> >> >> >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Caught >> unrecoverable exception in generator >> 'user.belchertown.HighchartsJsonGenerator' >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> Error trying to use database binding wx_binding to graph >> observation outTemp. Error was: an integer is required (got type str). >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> Traceback (most recent call last): >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> File "/usr/share/weewx/user/belchertown.py", line 1825, in >> get_observation_data >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> (time_start_vt, time_stop_vt, obs_vt) = archive.getSqlVectors >> (TimeSpan(start_ts, end_ts), obs_lookup, aggregate_type, >> aggregate_interval) >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> File "/usr/share/weewx/weewx/manager.py", line 452, in >> getSqlVectors >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> aggregate_type, aggregate_interval) >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> File "/usr/share/weewx/weewx/xtypes.py", line 86, in get_series >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> aggregate_interval) >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> File "/usr/share/weewx/weewx/xtypes.py", line 138, in >> get_series >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> for stamp in weeutil.weeutil.intervalgen(startstamp, >> stopstamp, aggregate_interval): >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> File "/usr/share/weewx/weeutil/weeutil.py", line 311, in >> intervalgen >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> dt1 = datetime.datetime.fromtimestamp(start_ts) >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> TypeError: an integer is required (got type str) >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> During handling of the above exception, another exception >> occurred: >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> Traceback (most recent call last): >> Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: >> File "/usr/share/weewx/weewx/repo
[weewx-user] To graph a specific time span
hi I am trying to graph a specific time spam. My graphs.conf looks like this: [seguimientoespecial] button_text = "SEGUIMIENTO ESPECIAL" show_button = true time_length = timespan_specific timespan_start = 1591998600 timespan_stop = 1591998900 aggregate_type = max aggregate_interval = 86400 # 1 day gapsize = 8640 # 1 day in milliseconds title = "Seguimiento especial" [[chart1]] title = Temperatura [[[outTemp_min]]] name = Min Temperatura observation_type = outTemp aggregate_type = min color = "#268bd2" [[[outTemp_avg]]] name = Media de las Temp medias observation_type = outTemp aggregate_type = avg color = orange [[[outTemp]]] zIndex = 1 observation_type = outTemp aggregate_type = max color = red and this is the log. I must say that I have no problem with the rest of the charts only when I try to get the time interval chart. Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'user.belchertown.HighchartsJsonGenerator' Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Error trying to use database binding wx_binding to graph observation outTemp. Error was: an integer is required (got type str). Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Traceback (most recent call last): Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/user/belchertown.py", line 1825, in get_observation_data Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: (time_start_vt, time_stop_vt, obs_vt) = archive.getSqlVectors( TimeSpan(start_ts, end_ts), obs_lookup, aggregate_type, aggregate_interval) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/manager.py", line 452, in getSqlVectors Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: aggregate_type, aggregate_interval) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/xtypes.py", line 86, in get_series Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: aggregate_interval) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/xtypes.py", line 138, in get_series Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: for stamp in weeutil.weeutil.intervalgen(startstamp, stopstamp, aggregate_interval): Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/weeutil/weeutil.py", line 311, in intervalgen Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: dt1 = datetime.datetime.fromtimestamp(start_ts) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: TypeError: an integer is required (got type str) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: During handling of the above exception, another exception occurred: Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: Traceback (most recent call last): Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/reportengine.py", line 197, in run Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: obj.start() Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/reportengine.py", line 280, in start Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: self.run() Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/user/belchertown.py", line 1374, in run Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: series_data = self.get_observation_data(binding, archive, observation_type, minstamp, maxstamp, aggregate_type, aggregate_interval, time_length, xAxis_groupby, xAxis_categories, mirrored_value, weatherRange_obs_lookup) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: File "/usr/share/weewx/user/belchertown.py", line 1827, in get_observation_data Jun 13 13:00:35 raspberrypi weewx[2716] ERROR weewx.reportengine: raise Warning( "Error trying to use database binding %s to graph observation %s. Error was: %s." % (binding, obs_lookup, e) ) Jun 13 13:00:35 raspberrypi weewx[2716] ERROR
[weewx-user] Re: cannot find 'theme' Belchertown
you are right. a quick reinstall fixed it. thanks Pat . El jueves, 11 de junio de 2020, 14:29:16 (UTC+2), Pat escribió: > > I would say re-install Belchertown in place. Your Belchertown skin.conf > is missing at least this option > <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/skin.conf#L13>, > > there could be others. A quick reinstall (wee_extension --install) and > restart of weewx should fix it. > > On Thursday, June 11, 2020 at 6:50:55 AM UTC-4 Jose wrote: > >> Hi >> >> I have just installed WeeWX v4.1 with skin Belchertown v1.1 >> >> This is the second time I have to reinstall due to failure while updating >> the system which caused general failure and raspberry will not reboot >> anymore >> >> The previous time everything worked fine without problems from scratch. >> WeeWx 4.1 and Belchertown 1.1 no problem. >> >> This time I had to face many error messages (I don't know why), for >> example, the system remembering that the 'smartphone' folder (and its >> contents) is not included in the Belchertown skin Once I faced this >> problem, the following error is shown as below ... >> >> >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> Generate failed with exception '' >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> Ignoring template /etc/weewx/skins/Belchertown/index.html.tmpl >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> Reason: cannot find 'theme' while searching for 'Extras.theme' >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> Traceback (most recent call last): >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in >> generate >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> unicode_string = compiled_template.respond() >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> File "_etc_weewx_skins_Belchertown_index_html_tmpl.py", line 665, >> in respond >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line >> 1707, in _handleCheetahInclude >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> self._CHEETAH__cheetahIncludes[_includeID].respond(trans) >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> File "_etc_weewx_skins_Belchertown_header_html_tmpl.py", line 91, >> in respond >> Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: >> NameMapper.NotFound: cannot find 'theme' while searching for >> 'Extras.theme' >> >> >> As a result skin Standard is working instead of Belchertown. >> >> Belchertown skin is installed correctly following >> https://github.com/poblabs/weewx-belchertown#install-weewx-belchertown as >> I did last time. >> >> Any ideas? >> > -- 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/b6a4aee4-4c5a-49a1-8ac9-94720477b9f2o%40googlegroups.com.
[weewx-user] cannot find 'theme' Belchertown
Hi I have just installed WeeWX v4.1 with skin Belchertown v1.1 This is the second time I have to reinstall due to failure while updating the system which caused general failure and raspberry will not reboot anymore The previous time everything worked fine without problems from scratch. WeeWx 4.1 and Belchertown 1.1 no problem. This time I had to face many error messages (I don't know why), for example, the system remembering that the 'smartphone' folder (and its contents) is not included in the Belchertown skin Once I faced this problem, the following error is shown as below ... Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: Generate failed with exception '' Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: Ignoring template /etc/weewx/skins/Belchertown/index.html.tmpl Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: Reason: cannot find 'theme' while searching for 'Extras.theme' Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: Traceback (most recent call last): Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: unicode_string = compiled_template.respond() Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_Belchertown_index_html_tmpl.py", line 665, in respond Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: self._CHEETAH__cheetahIncludes[_includeID].respond(trans) Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_Belchertown_header_html_tmpl.py", line 91, in respond Jun 11 12:25:20 raspberrypi weewx[1163] ERROR weewx.cheetahgenerator: NameMapper.NotFound: cannot find 'theme' while searching for 'Extras.theme' As a result skin Standard is working instead of Belchertown. Belchertown skin is installed correctly following https://github.com/poblabs/weewx-belchertown#install-weewx-belchertown as I did last time. Any ideas? -- 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/5065b318-2acf-411f-a4a5-b7997857f2d1o%40googlegroups.com.
Re: [weewx-user] Re: RSYNC
hi Glenn you are right. rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ backup/ it is working fine now. thanks. El jueves, 11 de junio de 2020, 3:37:43 (UTC+2), Glenn McKechnie escribió: > > On 11/06/2020, Jose > wrote: > [...] > > > > rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ > > backup/ &> /dev/null > > > > this command worked fine in the past but not now. When I run this > command > > nothing happens, no updating remote hosting and even no error messages. > so > > RSYNC with WeeWX is working fine but RSYNC in command line don't. > > Just focusing on your statement that you see no errors with the above > command. > It's doing exactly what you've told it to, that you want no feedback > from it, ever. It's dead to you. > Send whatever it has to say (&>) to the bit bucket (/dev/null) > > Remove that redirect that you have on the end and it will probably > offer up a few clues. > > rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ > backup/ > > -- > > > Cheers > Glenn > > rorpi - read only raspberry pi & various weewx addons > https://github.com/glennmckechnie > -- 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/36663c33-5540-4cf8-a06c-1c006b27a50ao%40googlegroups.com.
[weewx-user] Re: RSYNC
Hi, remote hosting is updated with new files using RSYNC from WeeWX, thank you, but if I am having some problems when I try to do it with rsync -a --delete -e ssh /home/pi/backup.tar.gz user@ssh.hosting:/www/ backup/ &> /dev/null this command worked fine in the past but not now. When I run this command nothing happens, no updating remote hosting and even no error messages. so RSYNC with WeeWX is working fine but RSYNC in command line don't. El miércoles, 10 de junio de 2020, 14:00:13 (UTC+2), gjr80 escribió: > > Hi, > > By default the WeeWX daemon runs as root, so unless you have changed this > root needs passwordless ssh access to the server to which you wish to sync > your files. Did you give root passwordless ssh access or was it some other > account? If this is the problem you have two choices; either change WeeWX > to run as the user you have given passwordless ssh access or keep WeeWX > running as root and give root passwordless ssh access. > > The wiki article ‘Run WeeWX as a non-root user’ ( > https://github.com/weewx/weewx/wiki/Run-as-a-non-root-user) provides > instructions on how to run WeeWX as a user other than root. > > Gary -- 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/1a028115-e0e0-4e14-93ff-b118fb59679fo%40googlegroups.com.
[weewx-user] RSYNC
Hi I want to send copy from raspberrypi to a remote server with rsync to update my website with last changes. I have verified that I can connect via ssh passwordless using public and private keys with no problem to server (ssh user@server) The problem comes when I try to do the same with rsync; an error message says that the remote host cannot be authenticated and connection fails. I have modified the / etc / ssh / ssh_config file adding the Host, User and Identityfile (path to .ssh keys) but nothing changes. What can I do? -- 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/8813726f-e7d3-47db-8395-5ea673278485o%40googlegroups.com.
[weewx-user] Dato nuevo en la estructura de la tabla mysql
Buenos días Quiero agregar un dato nuevo a la estructura de la tabla weewx: por ejemplo mi tabla CREATE TABLE Tabla (`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, `usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL, `barometer` REAL, `pressure` REAL, `altimeter` REAL, `inTemp` REAL, `outTemp` REAL, `inHumidity` REAL, `outHumidity` REAL, `windSpeed` REAL, `windDir` REAL, `windGust` REAL, `windGustDir` REAL, `rainRate` REAL, `rain` REAL, `dewpoint` REAL, `windchill` REAL, `heatindex` REAL, `ET` REAL, `radiation` REAL, `UV` REAL, `extraTemp1` REAL, `extraTemp2` REAL, `extraTemp3` REAL, `soilTemp1` REAL, `soilTemp2` REAL, `soilTemp3` REAL, `soilTemp4` REAL, `leafTemp1` REAL, `leafTemp2` REAL, `extraHumid1` REAL, `extraHumid2` REAL, `soilMoist1` REAL, `soilMoist2` REAL, `soilMoist3` REAL, `soilMoist4` REAL, `leafWet1` REAL, `leafWet2` REAL, `rxCheckPercent` REAL, `txBatteryStatus` REAL, `consBatteryVoltage` REAL, `hail` REAL, `hailRate` REAL, `heatingTemp` REAL, `heatingVoltage` REAL, `supplyVoltage` REAL, `referenceVoltage` REAL, `windBatteryStatus` REAL, `rainBatteryStatus` REAL, `outTempBatteryStatus` REAL, `inTempBatteryStatus` REAL); en que archivo de código fuente encuentro esta estructura ?? lo que quiero es que tenga un identificador la tabla para si identificar mi estación.. gracias -- 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/f2867ab5-6787-43a8-a251-77efc6977923%40googlegroups.com.
Re: [weewx-user] solución de bases de datos
Amigo tomas entiendo tengo varias en una sola plataforma y se me dificulta consultar datos en general de todas por ejemplo cual esta en linea y cual esta caida es por eso mi pregunta. No se si tengas alguna idea yo las tego asi una base de datos y diferentes tablas pero son mas de 30 estaciones El mar., 18 de febrero de 2020 7:40 p. m., Thomas Keffer escribió: > Es mejor usar una base de datos separada para cada estación. > > Ver el artículo wiki *How to run multiple instances of WeeWX > <https://github.com/weewx/weewx/wiki/weewx-multi>*. > > On Tue, Feb 18, 2020 at 11:54 AM jose riaño wrote: > >> Tengo mi base de datos en mariadb y tengo varias estaciones, me sucede >> tengo la siguiente tabla creada para que las estaciones guarden los datos >> pero como hago para saber cual datos es de cual estación?? >> >> >> CREATE TABLE datos(`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, >> `usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL, `barometer` REAL, >> `pressure` REAL, `altimeter` REAL, `inTemp` REAL, `outTemp` REAL, >> `inHumidity` REAL, `outHumidity` REAL, `windSpeed` REAL, `windDir` REAL, >> `windGust` REAL, `windGustDir` REAL, `rainRate` REAL, `rain` REAL, >> `dewpoint` REAL, `windchill` REAL, `heatindex` REAL, `ET` REAL, >> `radiation` REAL, `UV` REAL, `extraTemp1` REAL, `extraTemp2` REAL, >> `extraTemp3` REAL, `soilTemp1` REAL, `soilTemp2` REAL, `soilTemp3` REAL, >> `soilTemp4` REAL, `leafTemp1` REAL, `leafTemp2` REAL, `extraHumid1` REAL, >> `extraHumid2` REAL, `soilMoist1` REAL, `soilMoist2` REAL, `soilMoist3` >> REAL, `soilMoist4` REAL, `leafWet1` REAL, `leafWet2` REAL, >> `rxCheckPercent` REAL, `txBatteryStatus` REAL, `consBatteryVoltage` REAL, >> `hail` REAL, `hailRate` REAL, `heatingTemp` REAL, `heatingVoltage` REAL, >> `supplyVoltage` REAL, `referenceVoltage` REAL, `windBatteryStatus` REAL, >> `rainBatteryStatus` REAL, `outTempBatteryStatus` REAL, >> `inTempBatteryStatus` REAL); >> >> en esta tabla se guardan los datos per de todas las estaciones como hago >> para saber cual es de cual?? >> >> Agradesco su ayuda. >> >> -- >> 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/d2110451-831b-47b0-9e17-c3d16c022dab%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/d2110451-831b-47b0-9e17-c3d16c022dab%40googlegroups.com?utm_medium=email_source=footer> >> . >> > -- > 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/CAPq0zEAwjqpeQhErapSUtCcdm-6vZax%3DizPKBpySwyw1qhhO0w%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAwjqpeQhErapSUtCcdm-6vZax%3DizPKBpySwyw1qhhO0w%40mail.gmail.com?utm_medium=email_source=footer> > . > -- 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/CAJ%2BHrV4WZL9Ao9KSgCCVEHZ7F7nwJJSz_dziKVjAosuQBEwatQ%40mail.gmail.com.
[weewx-user] solución de bases de datos
Tengo mi base de datos en mariadb y tengo varias estaciones, me sucede tengo la siguiente tabla creada para que las estaciones guarden los datos pero como hago para saber cual datos es de cual estación?? CREATE TABLE datos(`dateTime` INTEGER NOT NULL UNIQUE PRIMARY KEY, `usUnits` INTEGER NOT NULL, `interval` INTEGER NOT NULL, `barometer` REAL, `pressure` REAL, `altimeter` REAL, `inTemp` REAL, `outTemp` REAL, `inHumidity` REAL, `outHumidity` REAL, `windSpeed` REAL, `windDir` REAL, `windGust` REAL, `windGustDir` REAL, `rainRate` REAL, `rain` REAL, `dewpoint` REAL, `windchill` REAL, `heatindex` REAL, `ET` REAL, `radiation` REAL, `UV` REAL, `extraTemp1` REAL, `extraTemp2` REAL, `extraTemp3` REAL, `soilTemp1` REAL, `soilTemp2` REAL, `soilTemp3` REAL, `soilTemp4` REAL, `leafTemp1` REAL, `leafTemp2` REAL, `extraHumid1` REAL, `extraHumid2` REAL, `soilMoist1` REAL, `soilMoist2` REAL, `soilMoist3` REAL, `soilMoist4` REAL, `leafWet1` REAL, `leafWet2` REAL, `rxCheckPercent` REAL, `txBatteryStatus` REAL, `consBatteryVoltage` REAL, `hail` REAL, `hailRate` REAL, `heatingTemp` REAL, `heatingVoltage` REAL, `supplyVoltage` REAL, `referenceVoltage` REAL, `windBatteryStatus` REAL, `rainBatteryStatus` REAL, `outTempBatteryStatus` REAL, `inTempBatteryStatus` REAL); en esta tabla se guardan los datos per de todas las estaciones como hago para saber cual es de cual?? Agradesco su ayuda. -- 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/d2110451-831b-47b0-9e17-c3d16c022dab%40googlegroups.com.
Re: [weewx-user] Error en consola
Amigo pero una pregunta por que no continua transmitiendo los datos. me toca parar el servicio y volver a iniciar. te agradesco.. El jueves, 11 de julio de 2019, 10:15:13 (UTC-5), Thomas Keffer escribió: > > Completamente normal. Eso es solo su sistema operativo ejecutando sus > trabajos diarios. Nada que ver con weewx. > > El jueves 11 de julio de 2019 a las 8:11 am, jose riaño < juak ... @ > gmail.com > escribió: > >> amigos de un momento a otro se para la transmisión de datos y me sale >> esto: >> >> >> 11 de julio 06:25:01 raspberrypi CRON [2690]: (raíz) CMD (prueba -x / usr >> / sbin / anacron || (cd / && run-parts --informe /etc/cron.daily)) >> >> >> que puede ser por favor agradesco de antemano su ayuda. >> >> - >> Recibió este mensaje porque está suscrito al grupo "weewx-user" de Grupos >> de Google. >> Para cancelar la suscripción a este grupo y dejar de recibir correos >> electrónicos de este, envíe un correo electrónico a weewx ... @ >> googlegroups.com . >> Para ver esta discusión en la web, visite https://groups.google.com/d/ msgid >> / weewx-user / e7913e78- 7eb4-4266-ab5d-422d4a2cf84c% 40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/e7913e78-7eb4-4266-ab5d-422d4a2cf84c%40googlegroups.com?utm_medium=email_source=footer> >> >> . >> Para obtener más opciones, visite https://groups.google.com/d/ optout >> <https://groups.google.com/d/optout> . >> > -- 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/d9d53cdb-19ab-4d9f-a00a-e626dbb14de8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Error en consola
amigos de un momento a otro se para la transmisión de datos y me sale esto: Jul 11 06:25:01 raspberrypi CRON[2690]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )) que puede ser por favor agradesco de antemano su ayuda. -- 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/e7913e78-7eb4-4266-ab5d-422d4a2cf84c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] Fecha de los datos tomados en mysql
Muchas gracias amigo El miércoles, 10 de julio de 2019, 11:27:59 (UTC-5), Thomas Keffer escribió: > > Try: > > SELECT FROM_UNIXTIME(dateTime) FROM weewx.archive; > > > -tk > > On Wed, Jul 10, 2019 at 8:51 AM jose riaño > wrote: > >> estoy tomando datos en mysql y me pasa que obtengo esto: >> >> | dateTime| usUnits | interval | barometer | pressure | altimeter | >> inTemp | outTemp | inHumidity | outHumidity | windSpeed | windDir | >> windGust | windGustDir | rainRate | rain | dewpoint | windchill >> | heatindex | ET | radiation | UV | extraTemp1 | extraTemp2 | >> extraTemp3 | soilTemp1 | soilTemp2 | soilTemp3 | soilTemp4 | leafTemp1 | >> leafTemp2 | extraHumid1 | extraHumid2 | soilMoist1 | soilMoist2 | >> soilMoist3 | soilMoist4 | leafWet1 | leafWet2 | rxCheckPercent | >> txBatteryStatus | consBatteryVoltage | hail | hailRate | heatingTemp | >> heatingVoltage | supplyVoltage | referenceVoltage | windBatteryStatus | >> rainBatteryStatus | outTempBatteryStatus | inTempBatteryStatus | >> >> >> ++-+-+--+---+--+---++-++-+---+-+--+-+--+--+--+---+---+--+---+--++++---+---+---+---+---+---+-+-+++++--+--+--+-++--+--+-++---+--+---+---+--+-+ >> >> | 1562763600 | 1 |1 |24.585 | 24.585 | 24.576141 | >> 68.8 >> |65.2 | 60 | 76 | 1 | 270 |2 | >> 247.5 |0 |0 | 57.4377187574385 | 65.2 | 65.2 | >> 0 | NULL | NULL | NULL | NULL | NULL | NULL >> | NULL | NULL | NULL | NULL | NULL |NULL >> |NULL | NULL | NULL | NULL | NULL | NULL >> | NULL | 85.41667 | 0 | 1.83 | >> NULL | NULL |NULL | NULL | NULL | >> NULL | NULL | NULL | NULL | >> NULL | >> >> >> ++-+-+--+---+--+---++-++-+---+-+--+-+--+--+--+---+---+--+---+--++++---+---+---+---+---+---+-+-+++++--+--+--+-++--+--+-++---+--+---+---+--+-+ >> >> >> >> cual es la hora y la fecha del dato y como la convierto tengo entendido >> que toma la hora de la consola pero como lo hace y como la hago >> entendible... >> >> >> >> muchas gracias >> >> >> >> -- >> 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/3493ed5e-ba79-495d-9dfc-979c5f76f064%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/3493ed5e-ba79-495d-9dfc-979c5f76f064%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/1f8a116b-d081-4929-80fb-7bf02ff4ce86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Fecha de los datos tomados en mysql
estoy tomando datos en mysql y me pasa que obtengo esto: | dateTime| usUnits | interval | barometer | pressure | altimeter | inTemp | outTemp | inHumidity | outHumidity | windSpeed | windDir | windGust | windGustDir | rainRate | rain | dewpoint | windchill | heatindex | ET | radiation | UV | extraTemp1 | extraTemp2 | extraTemp3 | soilTemp1 | soilTemp2 | soilTemp3 | soilTemp4 | leafTemp1 | leafTemp2 | extraHumid1 | extraHumid2 | soilMoist1 | soilMoist2 | soilMoist3 | soilMoist4 | leafWet1 | leafWet2 | rxCheckPercent | txBatteryStatus | consBatteryVoltage | hail | hailRate | heatingTemp | heatingVoltage | supplyVoltage | referenceVoltage | windBatteryStatus | rainBatteryStatus | outTempBatteryStatus | inTempBatteryStatus | ++-+-+--+---+--+---++-++-+---+-+--+-+--+--+--+---+---+--+---+--++++---+---+---+---+---+---+-+-+++++--+--+--+-++--+--+-++---+--+---+---+--+-+ | 1562763600 | 1 |1 |24.585 | 24.585 | 24.576141 | 68.8 |65.2 | 60 | 76 | 1 | 270 |2 | 247.5 |0 |0 | 57.4377187574385 | 65.2 | 65.2 |0 | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 85.41667 | 0 | 1.83 | NULL | NULL |NULL | NULL | NULL | NULL | NULL | NULL | NULL |NULL | ++-+-+--+---+--+---++-++-+---+-+--+-+--+--+--+---+---+--+---+--++++---+---+---+---+---+---+-+-+++++--+--+--+-++--+--+-++---+--+---+---+--+-+ cual es la hora y la fecha del dato y como la convierto tengo entendido que toma la hora de la consola pero como lo hace y como la hago entendible... muchas gracias -- 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/3493ed5e-ba79-495d-9dfc-979c5f76f064%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: ayuda...........
Es un vantage pro y esta conectada a una raspberry. -- 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/abfbafc2-4a9f-4327-a386-354820753713%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] problema con la conexión a internet
Amigos buenos dias lo que sucede es que tengo un pequeño problema, mi estación WH3081 la coloco en linea y funciona muy bien pero cuando se va la red por ejemplo por 2 o 3 horas y vuelve el internet ella no se vuelve a colocar en linea me sale esto y hay se queda. para solucionar paro el servicio borro memoria y vuelvo a ponerla en linea pero quisiera que no pasara eso por que la red es inestable pero debería funcionar y subir los datos en memoria y quedar de nuevo en linea sola. porfa ayuda esto es lo que me muestra cada vez que sucede lo que anteriormente comente: Jun 21 09:50:59 raspberrypi weewx[8535]: restx: Wunderground-PWS: Data for station IPAMPL6 will be posted Jun 21 09:50:59 raspberrypi weewx[8535]: restx: PWSweather: Posting not enabled. Jun 21 09:50:59 raspberrypi weewx[8535]: restx: CWOP: Posting not enabled. Jun 21 09:50:59 raspberrypi weewx[8535]: restx: WOW: Posting not enabled. Jun 21 09:50:59 raspberrypi weewx[8535]: restx: AWEKAS: Posting not enabled. Jun 21 09:50:59 raspberrypi weewx[8535]: engine: Starting up weewx version 3.9.1 Jun 21 09:50:59 raspberrypi weewx[8535]: fousb: synchronising to the weather station (quality=0) Jun 21 09:51:53 raspberrypi weewx[8535]: fousb: unstable read: blocks differ for ptr 0x008ac0 Jun 21 09:52:41 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x8aac, 2019-06-21T14:38:26 Jun 21 09:52:41 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x8a7c, 2019-06-21T13:36:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x8a5c, 2019-06-21T12:36:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x8a2c, 2019-06-21T11:36:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x8a0c, 2019-06-21T10:36:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x89dc, 2019-06-21T09:35:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x89bc, 2019-06-21T08:35:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x898c, 2019-06-21T07:35:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x896c, 2019-06-21T06:35:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x893c, 2019-06-21T05:35:26 Jun 21 09:52:42 raspberrypi weewx[8535]: fousb: invalid data in get_records at 0x891c, 2019-06-21T04:35:26 Jun 21 09:55:09 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories... Jun 21 09:55:09 raspberrypi systemd[1]: Started Cleanup of Temporary Directories. Jun 21 10:03:02 raspberrypi weewx[8535]: manager: Added record 2019-06-21 00:05:26 -05 (1561093526) to database 'Estaciones' Jun 21 10:03:02 raspberrypi weewx[8535]: manager: Added record 2019-06-21 00:05:26 -05 (1561093526) to daily summary in 'Estaciones' Jun 21 10:03:02 raspberrypi weewx[8535]: fousb: ignoring spurious rain counter decrement (None): new: 4.59 old: 11.7 Jun 21 10:03:02 raspberrypi weewx[8535]: wxformulas: rain counter reset detected: new=4.59 old=11.7 Jun 21 10:03:02 raspberrypi weewx[8535]: engine: 2019-06-21 00:35:26 -05 (1561095326) Archive value 'outHumidity' 179.0 outside limits (0.0, 100.0) Jun 21 10:03:02 raspberrypi weewx[8535]: engine: 2019-06-21 00:35:26 -05 (1561095326) Archive value 'inHumidity' 134.0 outside limits (0.0, 100.0) Jun 21 10:03:02 raspberrypi weewx[8535]: manager: Added record 2019-06-21 00:35:26 -05 (1561095326) to database 'Estaciones' Jun 21 10:03:02 raspberrypi weewx[8535]: engine: Main loop exiting. Shutting engine down. Jun 21 10:03:03 raspberrypi weewx[8535]: restx: Wunderground-PWS: Published record 2019-06-21 00:05:26 -05 (1561093526) Jun 21 10:03:03 raspberrypi weewx[8535]: engine: Caught unrecoverable exception in engine: Jun 21 10:03:03 raspberrypi weewx[8535]: Non-positive value for record field 'interval': 0 Jun 21 10:03:03 raspberrypi weewx[8535]: Traceback (most recent call last): Jun 21 10:03:03 raspberrypi weewx[8535]: File "/usr/share/weewx/weewx/engine.py", line 890, in main Jun 21 10:03:03 raspberrypi weewx[8535]: engine.run() Jun 21 10:03:03 raspberrypi weewx[8535]: File "/usr/share/weewx/weewx/engine.py", line 160, in run Jun 21 10:03:03 raspberrypi weewx[8535]: self.dispatchEvent(weewx.Event(weewx.STARTUP)) Jun 21 10:03:03 raspberrypi weewx[8535]: File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent Jun 21 10:03:03 raspberrypi weewx[8535]: callback(event) Jun 21 10:03:03 raspberrypi weewx[8535]: File "/usr/share/weewx/weewx/engine.py", line 520, in startup Jun 21 10:03:03 raspberrypi weewx[8535]: self._catchup(self.engine.console.genStartupRecords) Jun 21 10:03:03 raspberrypi weewx[8535]: File "/usr/share/weewx/weewx/engine.py", line 635, in _catchup Jun 21 10:03:03 raspberrypi
[weewx-user] Re: intervalo de la davis no se puede cambiar??
Amigo muchas gracias me sirvió mucho estación en linea . -- 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/2b6dd744-010f-4e2d-80af-d796e60d7e0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] intervalo de la davis no se puede cambiar??
compre una davis pero quiero que tome datos cada minuto pero no me deja cambiar el intervalo lo cambie en el archivo weewx.conf y no lo toma tambien así y me sale error [image: Captura de pantalla 2019-06-18 a la(s) 1.20.43 p.m..png] -- 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/1b8d6443-b80d-4eb4-91bb-5dc5ee7454ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: datos incompletos en la base de datos mysql
Amigos como están les agradesco todos por su ayuda , les comento que si era una mala lectura y como no estaba en el rango de configuración lo registraba como ninguno le acomode el rango y listo. muchas gracias Antes de cerrar el tema quisiera preguntar algo mas si la base de datos de mysql no esta local esta remota como configuro eso seque que entonces le tengo que dar la ip publica o como es ?? -- 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/f9809160-f420-4a0e-b7ee-9caba55a9554%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: On this date
amigo creería que eso es ya tratamientos de los registros en que los estas mostrando en un servidor web o en que ?? -- 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/d88aafb1-18e2-4b49-84ed-4bb89a4ae5f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] Re: datos incompletos en la base de datos mysql
amigo mira encontre esto: 2019-05-10 16:10:35 -05 (1557522635) LOOP value 'pressure' 23.0392962475 outside limits (24.0, 34.5) el dato seleccionado es el que esta marcando la consola como le abro eso limite o donde configuro eso en el weewx.conf?? -- 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/4cce77f3-57fa-4c3b-a420-d595b26fd03c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] Re: datos incompletos en la base de datos mysql
> > Amigo pase el comando en el weewx.conf no puedo configurar eso ? adjunto parte del resultado en un txt -- 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/8d4a0dc2-59a0-4b13-9905-3d60ff19e85b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. May 10 14:32:31 raspberrypi weewx[7068]: engine: 2019-05-10 14:32:32 -05 (1557516752) LOOP value 'pressure' 780.4 outside limits (812.733158116, 1168.30391479) May 10 14:32:32 raspberrypi weewx[7068]: engine: 2019-05-10 14:32:32 -05 (1557516752) LOOP value 'pressure' 780.4 outside limits (812.733158116, 1168.30391479) May 10 14:32:59 raspberrypi weewx[7068]: engine: 2019-05-10 14:32:59 -05 (1557516779) LOOP value 'pressure' 780.1 outside limits (812.733158116, 1168.30391479) May 10 14:33:19 raspberrypi weewx[7068]: engine: 2019-05-10 14:33:20 -05 (1557516800) LOOP value 'pressure' 780.1 outside limits (812.733158116, 1168.30391479) May 10 14:33:20 raspberrypi weewx[7068]: engine: 2019-05-10 14:33:20 -05 (1557516800) LOOP value 'pressure' 780.1 outside limits (812.733158116, 1168.30391479) May 10 14:33:47 raspberrypi weewx[7068]: engine: 2019-05-10 14:33:47 -05 (1557516827) LOOP value 'pressure' 780.3 outside limits (812.733158116, 1168.30391479) May 10 14:34:07 raspberrypi weewx[7068]: engine: 2019-05-10 14:34:08 -05 (1557516848) LOOP value 'pressure' 780.3 outside limits (812.733158116, 1168.30391479) May 10 14:34:28 raspberrypi weewx[7068]: engine: 2019-05-10 14:34:28 -05 (1557516868) LOOP value 'pressure' 780.3 outside limits (812.733158116, 1168.30391479) May 10 14:34:34 raspberrypi weewx[7068]: engine: 2019-05-10 14:34:35 -05 (1557516875) LOOP value 'pressure' 780.3 outside limits (812.733158116, 1168.30391479) May 10 14:34:55 raspberrypi weewx[7068]: engine: 2019-05-10 14:34:55 -05 (1557516895) LOOP value 'pressure' 780.3 outside limits (812.733158116, 1168.30391479) May 10 14:35:16 raspberrypi weewx[7068]: engine: 2019-05-10 14:35:16 -05 (1557516916) LOOP value 'pressure' 780.3 outside limits (812.733158116, 1168.30391479) May 10 14:35:22 raspberrypi weewx[7068]: engine: 2019-05-10 14:35:23 -05 (1557516923) LOOP value 'pressure' 780.4 outside limits (812.733158116, 1168.30391479) May 10 14:35:43 raspberrypi weewx[7068]: engine: 2019-05-10 14:35:44 -05 (1557516944) LOOP value 'pressure' 780.4 outside limits (812.733158116, 1168.30391479)
[weewx-user] Re: datos incompletos en la base de datos mysql
# WEEWX CONFIGURATION FILE # # Copyright (c) 2009-2019 Tom Keffer # See the file LICENSE.txt for your rights. ## # This section is for general configuration information. # Set to 1 for extra debug info, otherwise comment it out or set to zero debug = 0 # Root directory of the weewx data file hierarchy for this station WEEWX_ROOT = / # Whether to log successful operations log_success = True # Whether to log unsuccessful operations log_failure = True # How long to wait before timing out a socket (FTP, HTTP) connection socket_timeout = 20 # Do not modify this. It is used when installing and updating weewx. version = 3.9.1 ## # This section is for information about the station. [Station] # Description of the station location location = "Pamplona, Norte de Santander Colombia " # Latitude and longitude in decimal degrees latitude = 7.378504 longitude = -72.646838 # Altitude of the station, with unit it is in. This is downloaded from # from the station if the hardware supports it. altitude = 2398, meter # Set to type of station hardware. There must be a corresponding stanza # in this file with a 'driver' parameter indicating the driver to be used. station_type = FineOffsetUSB # If you have a website, you may specify an URL #station_url = http://www.example.com # The start of the rain year (1=January; 10=October, etc.). This is # downloaded from the station if the hardware supports it. rain_year_start = 1 # Start of week (0=Monday, 6=Sunday) week_start = 6 ## [FineOffsetUSB] # This section is for the Fine Offset series of weather stations. # The station model, e.g., WH1080, WS1090, WS2080, WH3081 model = WH3081 # How often to poll the station for data, in seconds polling_interval = 20 data_format = 3080 # The driver to use: driver = weewx.drivers.fousb ## # This section is for uploading data to Internet sites [StdRESTful] [[StationRegistry]] # To register this weather station with weewx, set this to true register_this_station = false [[AWEKAS]] # This section is for configuring posts to AWEKAS. # If you wish to do this, set the option 'enable' to true, # and specify a username and password. # To guard against parsing errors, put the password in quotes. enable = false username = replace_me password = replace_me [[CWOP]] # This section is for configuring posts to CWOP. # If you wish to do this, set the option 'enable' to true, # and specify the station ID (e.g., CW1234). enable = false station = replace_me # If this is an APRS (radio amateur) station, uncomment # the following and replace with a passcode (e.g., 12345). #passcode = replace_me (APRS stations only) [[PWSweather]] # This section is for configuring posts to PWSweather.com. # If you wish to do this, set the option 'enable' to true, # and specify a station and password. # To guard against parsing errors, put the password in quotes. enable = false station = replace_me password = replace_me [[WOW]] # This section is for configuring posts to WOW. # If you wish to do this, set the option 'enable' to true, # and specify a station and password. # To guard against parsing errors, put the password in quotes. enable = false station = replace_me password = replace_me [[Wunderground]] # This section is for configuring posts to the Weather Underground. # If you wish to do this, set the option 'enable' to true, # and specify a station (e.g., 'KORHOODR3') and password. # To guard against parsing errors, put the password in quotes. enable = true station = IPAMPL4 password = i3atxpEi # Set the following to True to have weewx use the WU "Rapidfire" # protocol. Not all hardware can support it. See the User's Guide. rapidfire = True ## # This section specifies what reports, using which skins, to generate. [StdReport] # Where the skins reside, relative to WEEWX_ROOT SKIN_ROOT = /etc/weewx/skins # Where the generated reports should go, relative to
[weewx-user] Re: datos incompletos en la base de datos mysql
resultados del comando LOOP: 2019-05-10 12:16:11 -05 (1557508571) altimeter: None, appTemp: 22.1235751859, barometer: None, cloudbase: 3542.05164487, dateTime: 1557508571, delay: 18, dewpoint: 12.6248765147, heatindex: 21.8, humidex: 24.3911872098, inDewpoint: 13.2750893325, inHumidity: 54.0, inTemp: 23.1, maxSolarRad: None, outHumidity: 56.0, outTemp: 21.8, outTempBatteryStatus: 0, *pressure: None,* ptr: 916, radiation: 802.9734, rain: None, rainRate: 0.0, rainTotal: 0.15, rxCheckPercent: 100, status: 0, usUnits: 16, UV: 5.0, windchill: 21.8, windDir: 180.0, windGust: 5.04001252687, windSpeed: 2.52000626344 -- 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/19940e7c-ea37-4c12-8c08-a06bb003e2ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: My weewx is stoped
Another one ! root@raspi-new:~# wee_device --current Using configuration file /etc/weewx/weewx.conf Using FineOffsetUSB driver version 1.9 (weewx.drivers.fousb) Traceback (most recent call last): File "/usr/bin/wee_device", line 54, in main() File "/usr/bin/wee_device", line 51, in main device.configure(config_dict) File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure self.do_options(options, parser, config_dict, prompt) File "/usr/share/weewx/weewx/drivers/fousb.py", line 377, in do_options self.show_current() File "/usr/share/weewx/weewx/drivers/fousb.py", line 499, in show_current for packet in self.station.genLoopPackets(): File "/usr/share/weewx/weewx/drivers/fousb.py", line 1083, in genLoopPackets for p in self.get_observations(): File "/usr/share/weewx/weewx/drivers/fousb.py", line 1139, in get_observations interval = self._archive_interval_minutes() File "/usr/share/weewx/weewx/drivers/fousb.py", line 1008, in _archive_interval_minutes self._arcint = self._get_arcint() File "/usr/share/weewx/weewx/drivers/fousb.py", line 1021, in _get_arcint raise weewx.WeeWxIOError("Unable to read archive interval after %d tries" % self.max_tries) weewx.WeeWxIOError: Unable to read archive interval after 3 tries root@raspi-new:~# > Can someone help, please? 73 from PU5TOK (BRAZIL) > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: My weewx is stoped
Em domingo, 11 de novembro de 2018 12:32:13 UTC-2, Jose Luiz Kotch escreveu: > > Hi All! > > I stopped using the other software because I had daily problem of > restarting and sending data to cwop and wunderground > and I thought that now with weewx everything is solved, > but after a few days of use everything stopped, below the log! > > > Nov 11 12:25:36 raspi-new weewx[6506]: wxcalculate: The following > algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > Nov 11 12:25:36 raspi-new weewx[6506]: engine: Archive will use data > binding wx_binding > Nov 11 12:25:36 raspi-new weewx[6506]: engine: Record generation will be > attempted in 'software' > wxcalculate: The following values will be calculated: > barometer=prefer_hardware, windchill=prefer_hardware, > dewpoint=prefer_hardware, appTemp=prefer_hardware, > rainRate=prefer_hardware, windrun=prefer_hardware, > heatindex=prefer_hardware, maxSolarRad=prefer_hardware, > humidex=prefer_hardware, pressure=prefer_hardware, > inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, > cloudbase=prefer_hardware > Nov 11 12:27:21 raspi-new weewx[6506]: engine: retrying... > Nov 11 12:27:21 raspi-new rsyslogd-2007: action 'action 18' suspended, > next retry is Sun Nov 11 12:27:51 2018 [try http://www.rsyslog.com/e/2007 > ] > Nov 11 12:27:21 raspi-new weewx[6506]: engine: Using configuration file > /etc/weewx/weewx.conf > Nov 11 12:27:21 raspi-new weewx[6506]: engine: Loading station type > FineOffsetUSB (weewx.drivers.fousb) > Nov 11 12:27:21 raspi-new weewx[6506]: fousb: driver version is 1.9 > Nov 11 12:27:21 raspi-new weewx[6506]: fousb: polling mode is PERIODIC > Nov 11 12:27:21 raspi-new weewx[6506]: fousb: polling interval is 10 > Nov 11 12:27:21 raspi-new weewx[6506]: fousb: found station on USB bus=001 > device=004 > Nov 11 12:27:21 raspi-new weewx[6506]: engine: StdConvert target unit is > 0x1 > Nov 11 12:27:21 raspi-new weewx[6506]: wxcalculate: The following values > will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, > dewpoint=prefer_hardware, appTemp=prefer_hardware, > rainRate=prefer_hardware, windrun=prefer_hardware, > heatindex=prefer_hardware, maxSolarRad=prefer_hardware, > humidex=prefer_hardware, pressure=prefer_hardware, > inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, > cloudbase=prefer_hardware > Nov 11 12:27:21 raspi-new weewx[6506]: wxcalculate: The following > algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > > Can someone help, please? 73 from PU5TOK (BRAZIL) > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: My weewx is stoped
ov 11 06:48:21 raspi-new weewx[7760]: manager: Added record 2018-11-11 06:48:00 -02 (1541926080) to database 'weewx.sdb' Nov 11 06:48:21 raspi-new weewx[7760]: manager: Added record 2018-11-11 06:48:00 -02 (1541926080) to daily summary in 'weewx.sdb' Nov 11 06:48:22 raspi-new weewx[7760]: restx: CWOP: Published record 2018-11-11 06:48:00 -02 (1541926080) Nov 11 06:48:24 raspi-new weewx[7760]: cheetahgenerator: Generated 14 files for report StandardReport in 2.15 seconds Nov 11 06:48:26 raspi-new weewx[7760]: imagegenerator: Generated 12 images for StandardReport in 2.70 seconds Nov 11 06:48:26 raspi-new weewx[7760]: copygenerator: copied 0 files to /var/www/html/weewx Nov 11 06:48:32 raspi-new weewx[7760]: fousb: unstable read: blocks differ for ptr 0x00daa0 Nov 11 06:51:02 raspi-new weewx[7760]: engine: Shutting down StdReport thread Nov 11 06:52:02 raspi-new weewx[7760]: engine: retrying... Nov 11 06:52:02 raspi-new weewx[7760]: engine: Using configuration file /etc/weewx/weewx.conf Nov 11 06:52:02 raspi-new weewx[7760]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb) Nov 11 06:52:02 raspi-new weewx[7760]: fousb: driver version is 1.9 Nov 11 06:52:02 raspi-new weewx[7760]: fousb: polling mode is PERIODIC Nov 11 06:52:02 raspi-new weewx[7760]: fousb: polling interval is 10 Nov 11 06:52:02 raspi-new weewx[7760]: fousb: found station on USB bus=001 device=004 Nov 11 06:52:02 raspi-new weewx[7760]: engine: StdConvert target unit is 0x1 stop time: Nov 11 06:52:02 raspi-new weewx[7760]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Nov 11 06:52:02 raspi-new weewx[7760]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Nov 11 06:52:02 raspi-new weewx[7760]: engine: Archive will use data binding wx_binding Nov 11 06:52:02 raspi-new weewx[7760]: engine: Record generation will be attempted in 'software' Nov 11 06:53:47 raspi-new weewx[7760]: engine: retrying... Nov 11 06:53:47 raspi-new weewx[7760]: engine: Using configuration file /etc/weewx/weewx.conf Nov 11 06:53:47 raspi-new weewx[7760]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb) Nov 11 06:53:47 raspi-new weewx[7760]: fousb: driver version is 1.9 Nov 11 06:53:47 raspi-new weewx[7760]: fousb: polling mode is PERIODIC Nov 11 06:53:47 raspi-new weewx[7760]: fousb: polling interval is 10 Nov 11 06:53:47 raspi-new weewx[7760]: fousb: found station on USB bus=001 device=004 Nov 11 06:53:47 raspi-new weewx[7760]: engine: StdConvert target unit is 0x1 > > Can someone help, please? 73 from PU5TOK (BRAZIL) > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] My weewx is stoped
Hi All! I stopped using the other software because I had daily problem of restarting and sending data to cwop and wunderground and I thought that now with weewx everything is solved, but after a few days of use everything stopped, below the log! Nov 11 12:25:36 raspi-new weewx[6506]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Nov 11 12:25:36 raspi-new weewx[6506]: engine: Archive will use data binding wx_binding Nov 11 12:25:36 raspi-new weewx[6506]: engine: Record generation will be attempted in 'software' wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Nov 11 12:27:21 raspi-new weewx[6506]: engine: retrying... Nov 11 12:27:21 raspi-new rsyslogd-2007: action 'action 18' suspended, next retry is Sun Nov 11 12:27:51 2018 [try http://www.rsyslog.com/e/2007 ] Nov 11 12:27:21 raspi-new weewx[6506]: engine: Using configuration file /etc/weewx/weewx.conf Nov 11 12:27:21 raspi-new weewx[6506]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb) Nov 11 12:27:21 raspi-new weewx[6506]: fousb: driver version is 1.9 Nov 11 12:27:21 raspi-new weewx[6506]: fousb: polling mode is PERIODIC Nov 11 12:27:21 raspi-new weewx[6506]: fousb: polling interval is 10 Nov 11 12:27:21 raspi-new weewx[6506]: fousb: found station on USB bus=001 device=004 Nov 11 12:27:21 raspi-new weewx[6506]: engine: StdConvert target unit is 0x1 Nov 11 12:27:21 raspi-new weewx[6506]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware Nov 11 12:27:21 raspi-new weewx[6506]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS Can someone help, please? 73 from PU5TOK (BRAZIL) -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: how to send more data to cwop
Sorry, is not possible, I'm wrong! Em sexta-feira, 9 de novembro de 2018 21:39:34 UTC-2, Jose Luiz Kotch escreveu: > > > > Em sexta-feira, 9 de novembro de 2018 00:06:30 UTC-2, gjr80 escreveu: >> >> Oi, >> >> Tenha em mente que eu estou do outro lado do mundo e não uso o CWOP, mas >> tanto quanto eu posso dizer, o CWOP aceita dados de radiação solar (também >> conhecidos como radiação em termos de weeWX), mas não dados UV. Claro >> que eu posso estar errado :) >> >> O uploader WeeWX CWOP não permite que o usuário inclua dados UV sem >> modificar o código weeWX. É um trabalho fácil incluir UV e se você puder >> fornecer um link que indique que o CWOP aceita dados UV e o formato usado, >> eu ficaria feliz em examiná-lo ainda mais. >> >> Gary >> >> Na quarta-feira, 7 de novembro de 2018 21:56:32 UTC + 10, Jose Luiz Kotch >> escreveu: >>> >>> Olá a todos, gostaria de enviar mais dados pro cwop como UV, onde faço >>> esta modificação >>> >>> obrigado! >>> >> -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: how to send more data to cwop
Em sexta-feira, 9 de novembro de 2018 00:06:30 UTC-2, gjr80 escreveu: > > Oi, > > Tenha em mente que eu estou do outro lado do mundo e não uso o CWOP, mas > tanto quanto eu posso dizer, o CWOP aceita dados de radiação solar (também > conhecidos como radiação em termos de weeWX), mas não dados UV. Claro que > eu posso estar errado :) > > O uploader WeeWX CWOP não permite que o usuário inclua dados UV sem > modificar o código weeWX. É um trabalho fácil incluir UV e se você puder > fornecer um link que indique que o CWOP aceita dados UV e o formato usado, > eu ficaria feliz em examiná-lo ainda mais. > > Gary > > Na quarta-feira, 7 de novembro de 2018 21:56:32 UTC + 10, Jose Luiz Kotch > escreveu: >> >> Olá a todos, gostaria de enviar mais dados pro cwop como UV, onde faço >> esta modificação >> >> obrigado! >> > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] how to send more data to cwop
Hi everyone, I would like to send more pro cwop data as UV, where I make this modification thanks! -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: Weewx doesn't update the files
I refresh the webpage but the data is not updated. I started the Weewx at 6:33 FTP upload 6:35 The webpage shows 17/09/18 6:33 Do not update more. -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: Weewx doesn't update the files
I can't find the problem -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: Weewx doesn't update the files
This? > [CopyGenerator] > > # This section is used by the generator CopyGenerator > > # List of files to be copied only the first time the generator runs > copy_once = backgrounds/*, weewx.css, mobile.css, favicon.ico, > smartphone/icons/*, smartphone/custom.js > > # List of files to be copied each time the generator runs > # copy_always = > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: Weewx doesn't update the files
-- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Weewx doesn't update the files
Hello. I installed the Weewx on my Raspberry Pi, but only update the files when start. For example, I started the Weewx at 23:46 and the Weewx update the files to ../weewx/ and FTP at 23:50. The update in the html says "16/09/18 23:50:00". The station is Oregon WMR300 and I think that is working fine without problems. Log: Sep 16 21:46:38 raspberrypi weewx[1506]: wmr300: get history complete: > count=13 last_index=79 history_end_index=80 > Sep 16 21:46:39 raspberrypi weewx[1506]: engine: Starting main packet loop. > Sep 16 21:47:12 raspberrypi weewx[1506]: wmr300: history buffer at 0.15% > (81) > Sep 16 21:50:14 raspberrypi weewx[1506]: manager: Added record 2018-09-16 > 21:50:00 UTC (1537134600) to database 'weewx.sdb' > Sep 16 21:50:14 raspberrypi weewx[1506]: manager: Added record 2018-09-16 > 21:50:00 UTC (1537134600) to daily summary in 'weewx.sdb' > Sep 16 21:50:19 raspberrypi weewx[1506]: cheetahgenerator: Generated 14 > files for report StandardReport in 4.32 seconds > Sep 16 21:50:23 raspberrypi weewx[1506]: imagegenerator: Generated 24 > images for StandardReport in 3.58 seconds > Sep 16 21:50:23 raspberrypi weewx[1506]: *copygenerator: copied 9 files > to /var/www/html/weewx* > Sep 16 21:50:50 raspberrypi weewx[1506]: ftpgenerator: ftp'd 47 files in > 27.14 seconds > Sep 16 21:55:14 raspberrypi weewx[1506]: manager: Added record 2018-09-16 > 21:55:00 UTC (1537134900) to database 'weewx.sdb' > Sep 16 21:55:14 raspberrypi weewx[1506]: manager: Added record 2018-09-16 > 21:55:00 UTC (1537134900) to daily summary in 'weewx.sdb' > Sep 16 21:55:16 raspberrypi weewx[1506]: wmr300: No data in heartbeat > interval, restarting > Sep 16 21:55:17 raspberrypi weewx[1506]: cheetahgenerator: Generated 14 > files for report StandardReport in 1.21 seconds > Sep 16 21:55:19 raspberrypi weewx[1506]: imagegenerator: Generated 24 > images for StandardReport in 2.39 seconds > Sep 16 21:55:19 raspberrypi weewx[1506]: *copygenerator: copied 0 files > to /var/www/html/weewx* > Sep 16 21:55:40 raspberrypi weewx[1506]: ftpgenerator: ftp'd 38 files in > 21.08 seconds > > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Steel gauges not updating
Hi I've installed Steel gauges for weewx and json gauge-data.txt for feeding the gauges is generated only the first minute that weewx is started. In the next minute (all this seen with option debug 2) rtgd.py data_service is reading the data from the Davis (via Ethernet through VVP in the other machine) but not writing the data to gauge-data.txt. Here is the log: Nov 25 15:26:56 localhost weewx[19966]: rtgd: queued loop packet (1511620016) Nov 25 15:26:56 localhost weewx[19966]: rtgdthread: received loop packet (1511620016) Nov 25 15:26:56 localhost weewx[19966]: rtgdthread: created cached loop packet (1511620016) Nov 25 15:26:56 localhost weewx[19966]: rtgdthread: gauge-data.txt (1511620016) generated in 0.01015 seconds Nov 25 15:26:56 localhost weewx[19966]: rtgd: queued loop packet (1511620016) Nov 25 15:26:56 localhost weewx[19966]: rtgdthread: received loop packet (1511620016) Nov 25 15:26:56 localhost weewx[19966]: rtgdthread: packet (1511620016) skipped Nov 25 15:26:58 localhost weewx[19966]: rtgd: queued loop packet (1511620018) Nov 25 15:26:58 localhost weewx[19966]: rtgdthread: received loop packet (1511620018) Nov 25 15:26:58 localhost weewx[19966]: rtgdthread: packet (1511620018) skipped Nov 25 15:26:58 localhost weewx[19966]: rtgd: queued loop packet (1511620019) Nov 25 15:26:58 localhost weewx[19966]: rtgdthread: received loop packet (1511620019) Nov 25 15:26:58 localhost weewx[19966]: rtgdthread: packet (1511620019) skipped Nov 25 15:27:00 localhost weewx[19966]: rtgd: queued loop packet (1511620021) Nov 25 15:27:00 localhost weewx[19966]: rtgdthread: received loop packet (1511620021) Nov 25 15:27:00 localhost weewx[19966]: rtgd: queued weewx.END_ARCHIVE_PERIOD event Nov 25 15:27:00 localhost weewx[19966]: rtgdthread: created cached loop packet (1511620021) Nov 25 15:27:00 localhost weewx[19966]: pond: found value of 16.6 Nov 25 15:27:00 localhost weewx[19966]: pond: found value of 41.6 Nov 25 15:27:00 localhost weewx[19966]: rtgdthread: gauge-data.txt (1511620021) generated in 0.02603 seconds Nov 25 15:27:00 localhost weewx[19966]: rtgdthread: received event - END_ARCHIVE_PERIOD Nov 25 15:27:01 localhost CRON[19976]: (root) CMD (python /home/jmviper/sht35log.py) Nov 25 15:27:01 localhost weewx[19966]: manager: Added record 2017-11-25 15:27:00 CET (1511620020) to database 'weewx.sdb' Nov 25 15:27:02 localhost weewx[19966]: manager: Added record 2017-11-25 15:27:00 CET (1511620020) to daily summary in 'weewx.sdb' Nov 25 15:27:02 localhost weewx[19966]: rtgd: queued archive record (1511620020.0) Nov 25 15:27:02 localhost weewx[19966]: rtgdthread: received archive record (1511620020.0) Nov 25 15:27:02 localhost weewx[19966]: rtgd: queued min/max barometer values Nov 25 15:27:02 localhost weewx[19966]: reportengine: Running reports for latest time in the database. Nov 25 15:27:02 localhost weewx[19966]: vantage: Requesting 200 LOOP packets. Nov 25 15:27:02 localhost weewx[19966]: reportengine: Running report StandardReport Nov 25 15:27:02 localhost weewx[19966]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport Nov 25 15:27:02 localhost weewx[19966]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] Nov 25 15:27:03 localhost weewx[19966]: manager: Daily summary version is 1.0 Nov 25 15:27:08 localhost weewx[19966]: cheetahgenerator: Generated 14 files for report StandardReport in 5.11 seconds Nov 25 15:27:08 localhost weewx[19966]: manager: Daily summary version is 1.0 Nov 25 15:27:08 localhost weewx[19966]: vantage: ip-read error: timed out Nov 25 15:27:08 localhost weewx[19966]: vantage: Retry #0 failed Nov 25 15:27:09 localhost weewx[19966]: imagegenerator: Generated 12 images for StandardReport in 1.30 seconds Nov 25 15:27:09 localhost weewx[19966]: copygenerator: copied 9 files to /var/www/weewx Nov 25 15:27:09 localhost weewx[19966]: reportengine: Running report FTP Nov 25 15:27:09 localhost weewx[19966]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP Nov 25 15:27:09 localhost weewx[19966]: ftpgenerator: FTP upload not requested. Skipped. Nov 25 15:27:09 localhost weewx[19966]: reportengine: Running report RSYNC Nov 25 15:27:09 localhost weewx[19966]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC Nov 25 15:27:09 localhost weewx[19966]: rsyncgenerator: rsync upload not requested. Skipped. Nov 25 15:27:09 localhost weewx[19966]: vantage: Gentle wake up of console successful Nov 25 15:27:10 localhost weewx[19966]: rtgd: queued loop packet (1511620031) Nov 25 15:27:10 localhost weewx[19966]: rtgd: queued loop packet (1511620031) Nov 25 15:27:10 localhost weewx[19966]: rtgd: queued loop packet (1511620031) Nov 25 15:27:13
[weewx-user] Re: SS does not create gauge-data.txt
Hi Gary, I have deleted lines 65, 66 and 67 (duplicate) and now all is OK. Many thanks for your help. Best regards, > > -- 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. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: SS does not create gauge-data.txt
> > Hi Gary, > Many thanks for your help. I have made the changes you say but I have another error: = Jan 16 20:04:24 raspberrypi weewx[16415]: genimages: Generated 8 images for StandardReport in 1.41 seconds Jan 16 20:04:24 raspberrypi weewx[16415]: reportengine: Caught unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator Jan 16 20:04:24 raspberrypi weewx[16415]: #012#012#end found, but nothing to end#012Line 68, column 1 in file /etc/weewx/skins/ss/gauge-data.txt.tmpl#012#012Line|Cheetah Code#012|-#01265 |#else#01266 |#set $humidex = 'N/A'#01267 |#end if#01268 |#012 ^#01269 |## calculate apparent temperature#01270 |###01271 |## http://www.bom.gov.au/info/thermal_stress/#atapproximation Jan 16 20:04:24 raspberrypi weewx[16415]: Traceback (most recent call last): Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/share/weewx/weewx/reportengine.py", line 139, in run Jan 16 20:04:24 raspberrypi weewx[16415]: obj.start() Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/share/weewx/weewx/reportengine.py", line 170, in start Jan 16 20:04:24 raspberrypi weewx[16415]: self.run() Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 141, in run Jan 16 20:04:24 raspberrypi weewx[16415]: ngen = self.generate(gen_dict[option_section_name], self.gen_ts) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 203, in generate Jan 16 20:04:24 raspberrypi weewx[16415]: ngen += self.generate(section[subsection], gen_ts) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 203, in generate Jan 16 20:04:24 raspberrypi weewx[16415]: ngen += self.generate(section[subsection], gen_ts) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 292, in generate Jan 16 20:04:24 raspberrypi weewx[16415]: filtersLib=weewx.cheetahgenerator) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__ Jan 16 20:04:24 raspberrypi weewx[16415]: self._compile(source, file, compilerSettings=compilerSettings) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in _compile Jan 16 20:04:24 raspberrypi weewx[16415]: keepRefToGeneratedCode=True) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 743, in compile Jan 16 20:04:24 raspberrypi weewx[16415]: compiler.compile() Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Compiler.py", line 1664, in compile Jan 16 20:04:24 raspberrypi weewx[16415]: self._parser.parse() Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Parser.py", line 1489, in parse Jan 16 20:04:24 raspberrypi weewx[16415]: self.eatDirective() Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Parser.py", line 1613, in eatDirective Jan 16 20:04:24 raspberrypi weewx[16415]: directiveParser() Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Parser.py", line 1764, in eatEndDirective Jan 16 20:04:24 raspberrypi weewx[16415]: self.popFromOpenDirectivesStack(directiveName) Jan 16 20:04:24 raspberrypi weewx[16415]: File "/usr/lib/python2.7/dist-packages/Cheetah/Parser.py", line 2644, in popFromOpenDirectivesStack Jan 16 20:04:24 raspberrypi weewx[16415]: raise ParseError(self, msg="#end found, but nothing to end") Jan 16 20:04:24 raspberrypi weewx[16415]: ParseError: Jan 16 20:04:24 raspberrypi weewx[16415]: Jan 16 20:04:24 raspberrypi weewx[16415]: #end found, but nothing to end Jan 16 20:04:24 raspberrypi weewx[16415]: Line 68, column 1 in file /etc/weewx/skins/ss/gauge-data.txt.tmpl Jan 16 20:04:24 raspberrypi weewx[16415]: Jan 16 20:04:24 raspberrypi weewx[16415]: Line|Cheetah Code Jan 16 20:04:24 raspberrypi weewx[16415]: |- Jan 16 20:04:24 raspberrypi weewx[16415]: 65 |#else Jan 16 20:04:24 raspberrypi weewx[16415]: 66 |#set $humidex = 'N/A' Jan 16 20:04:24 raspberrypi weewx[16415]:
[weewx-user] Re: SS does not create gauge-data.txt
Hello Gary, Many thank for your response and sorry for the wrong link. The correct link is: http://meteovelez.ddns.net/weewx/ss/ This the log extract: > > Jan 16 09:28:09 raspberrypi weewx[15919]: fousb: get 4079 records since 2017-01-16 08:24:32 Jan 16 09:28:09 raspberrypi weewx[15919]: fousb: synchronising to the weather station (quality=1) Jan 16 09:28:13 raspberrypi weewx[15919]: fousb: status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0) Jan 16 09:28:14 raspberrypi weewx[15919]: fousb: avoid 5.64183497429 Jan 16 09:28:19 raspberrypi weewx[15919]: fousb: new data Jan 16 09:28:19 raspberrypi weewx[15919]: fousb: packet timestamp is 08:28:16 Jan 16 09:28:19 raspberrypi weewx[15919]: fousb: log timestamp is 08:28:03 Jan 16 09:28:19 raspberrypi weewx[15919]: fousb: synchronised to 2017-01-16 08:28:03 for ptr 0x3fe0 Jan 16 09:28:19 raspberrypi weewx[15919]: fousb: found 1 archive records Jan 16 09:28:19 raspberrypi weewx[15919]: fousb: returning archive record 1484555283 Jan 16 09:28:19 raspberrypi weewx[15919]: manager: added record 2017-01-16 09:28:03 CET (1484555283) to database '/var/lib/weewx/weewx.sdb' Jan 16 09:28:19 raspberrypi weewx[15919]: manager: added record 2017-01-16 09:28:03 CET (1484555283) to daily summary in '/var/lib/weewx/weewx.sdb' Jan 16 09:28:20 raspberrypi weewx[15919]: reportengine: Running reports for latest time in the database. Jan 16 09:28:20 raspberrypi weewx[15919]: reportengine: Running report StandardReport Jan 16 09:28:20 raspberrypi weewx[15919]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport Jan 16 09:28:22 raspberrypi weewx[15919]: cheetahgenerator: Generated 15 files for report StandardReport in 2.45 seconds Jan 16 09:28:24 raspberrypi weewx[15919]: genimages: Generated 8 images for StandardReport in 1.40 seconds Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: copied 0 files to /var/www/weewx Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: Running report FTP Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: FTP upload not requested. Skipped. Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: Running report RSYNC Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: rsync upload not requested. Skipped. Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: Running report SteelSeries Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: Found configuration file /etc/weewx/skins/ss/skin.conf for report SteelSeries Jan 16 09:28:24 raspberrypi weewx[15919]: reportengine: copied 0 files to /var/www/weewx/ss Jan 16 09:28:24 raspberrypi weewx[15919]: cheetahgenerator: Generate failed with exception '' Jan 16 09:28:24 raspberrypi weewx[15919]: cheetahgenerator: Ignoring template /etc/weewx/skins/ss/gauge-data.txt.tmpl Jan 16 09:28:24 raspberrypi weewx[15919]: cheetahgenerator: Reason: 'raw' Jan 16 09:28:24 raspberrypi weewx[15919]: Traceback (most recent call last): Jan 16 09:28:24 raspberrypi weewx[15919]: File "/usr/share/weewx/weewx/cheetahgenerator.py", line 296, in generate Jan 16 09:28:24 raspberrypi weewx[15919]: print >> _file, text Jan 16 09:28:24 raspberrypi weewx[15919]: File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__ Jan 16 09:28:24 raspberrypi weewx[15919]: rc = getattr(self, mainMethName)() Jan 16 09:28:24 raspberrypi weewx[15919]: File "_etc_weewx_skins_ss_gauge_data_txt_tmpl.py", line 247, in respond Jan 16 09:28:24 raspberrypi weewx[15919]: File "/usr/share/weewx/weewx/tags.py", line 310, in __getattr__ Jan 16 09:28:24 raspberrypi weewx[15919]: return self._do_query(aggregate_type) Jan 16 09:28:24 raspberrypi weewx[15919]: File "/usr/share/weewx/weewx/tags.py", line 324, in _do_query Jan 16 09:28:24 raspberrypi weewx[15919]: val=val, **self.option_dict) Jan 16 09:28:24 raspberrypi weewx[15919]: File "/usr/share/weewx/weewx/wxmanager.py", line 62, in getAggregate Jan 16 09:28:24 raspberrypi weewx[15919]: return weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, aggregateType, **option_dict) Jan 16 09:28:24 raspberrypi weewx[15919]: File "/usr/share/weewx/weewx/manager.py", line 1185, in getAggregate Jan 16 09:28:24 raspberrypi weewx[15919]: _row = self.getSql(DaySummaryManager.sqlDict[aggregate_type] % interDict) Jan 16 09:28:24 raspberrypi weewx[15919]: KeyError: 'raw' Jan 16 09:28:24 raspberrypi weewx[15919]: cheetahgenerator: Generated 1 files for report SteelSeries in 0.11 seconds Jan 16 09:28:25 raspberrypi weewx[15919]: genimages: Generated 11 images for SteelSeries in
[weewx-user] SS does not create gauge-data.txt
Hello, My SS has been working fine for quite some time but yesterday it stopped to update the file gauge-data.txt. All the pop-up graphs are generated correctly. Yesterday the dewpoint was below 0 C. I changed the file gauge-data.txt.tmpl by the last version. The file gauge-data.txt continues with the problem (not update). After reading messages, I thought it would be a problem due to the value of dewpoint. But today, the dewpoint is above 0 C (2,2 C) and the file gauge-data.txt is not updated. Can someone help me? Enclosed you can find my gauge-data.txt.tmpl. Thank you and bestb regards. == Using Weewx 3.1 in Fine Offset on Raspi. http://meteovelez.ddns.net/ss -- 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. For more options, visit https://groups.google.com/d/optout. noerrorgauge-data.txt.tmpl Description: Binary data