Using configuration file /etc/weewx/weewx.confDriver version 1.6Querying the station...Fine Offset station settings: local time: 2014.12.16 17:00:33 MST polling mode: ADAPTIVE
abs_pressure: 14.0 current_pos: 0 data_changed: 8 data_count: 2348 date_time: 2021-00-00 00:00 hum_in_offset: 0 hum_out_offset: 0 id: 49152 lux_wm2_coeff: 68.0 magic_1: 0x87 magic_2: 0x 0 model: 48384 rain_coef: 21772 ***** read_period: None ***** rel_pressure: 86.0 temp_in_offset: 8559 temp_out_offset: 10167 timezone: 1 unknown_01: 71 unknown_18: 33 version: 0 wind_coef: 65450 wind_mult: 320
Using configuration file /etc/weewx/weewx.confDriver version 1.6Querying the station...Fine Offset station settings: local time: 2014.12.16 22:20:36 MST polling mode: ADAPTIVE
abs_pressure: 856.1 current_pos: 8384 data_changed: 0 data_count: 509 date_time: 2014-12-16 22:20 hum_in_offset: 8226 hum_out_offset: 5650 id: None lux_wm2_coeff: 0 magic_1: 0x55 magic_2: 0xaa model: None rain_coef: None read_period: 1 rel_pressure: 1016.9 temp_in_offset: 5120 temp_out_offset: 0 timezone: -7 unknown_01: 0 unknown_18: 0 version: 255 wind_coef: None wind_mult: 0
#!/bin/bashsleep 30readPeriod=$(/usr/bin/wee_config_fousb /etc/weewx/weewx.conf --info | tee /root/last_wx_info | grep read_period | tr -d ' ' | cut -d ':' -f 2)pid=$(cat /var/run/weewx.pid)
resetWX() { /etc/init.d/weewx stop sleep 10 if ps -p $pid > /dev/null then echo "weewx didn't terminate. Killing PID $pid." kill -9 $pid fi /usr/bin/wee_config_fousb /etc/weewx/weewx.conf --clear-memory -y /etc/init.d/weewx start
}if [ "$readPeriod" = "None" ]then cp /root/last_wx_info /root/last_wx_error echo "Resetting WX on $(date)" >> /root/resetWX.log resetWX >> /root/resetWX.logfi
What do you give up switching to record_generation=software? Is the data going to be identical in both cases?
I see the corruption regardless of what polling method I use and the cron I set up seems to remedy the problem. Is a memory reset something that weewx can just do automatically when it encounters corruption instead of having to run a script?
I see the corruption regardless of what polling method I use and the cron I set up seems to remedy the problem. Is a memory reset something that weewx can just do automatically when it encounters corruption instead of having to run a script?
Hello everybody. I've been googling for a while but I'm not able to find an answer to this, or someone that has this setup and can confirm what I suppose.If the Raspberry model B+ supports power-cycling the USBs (although some people it turns down ON/OFF all USBs at the same time, some say that it can be done on a port per port basis -last post here-), then It could be used for connecting a Fine Offset station directly to it (without a powered USB HUB) and powercycle the station (using hub-ctrl.c) to 'solve' the lockups?
Thank you very much!
sudo ./hub-ctrl -h 0 -P 3 -p 0 ; sleep 3; sudo ./hub-ctrl -h 0 -P 3 -p 1
On Tuesday, September 29, 2015 at 10:34:02 AM UTC-4, Matías Laporte wrote:Hello everybody. I've been googling for a while but I'm not able to find an answer to this, or someone that has this setup and can confirm what I suppose.If the Raspberry model B+ supports power-cycling the USBs (although some people it turns down ON/OFF all USBs at the same time, some say that it can be done on a port per port basis -last post here-), then It could be used for connecting a Fine Offset station directly to it (without a powered USB HUB) and powercycle the station (using hub-ctrl.c) to 'solve' the lockups?
hopefully talking to the rpi built-in hub is not much different than talking to an external, powered hub.
--
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/TCEYaNEqLOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,I have tried to setup weewx on a raspberry Pi2 B+ which supports per-port USB power on/off to reset the port of a locked Fine Offset, but it didn't work as expected. From the logs I could see that the port was actually being controlled but after puting the power back on it wouldn't initialize properly. So the station would still not send data, in fact it didn't "beep" as it does when you power it on.
--
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/TCEYaNEqLOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, the station had no batteries. I was also hoping it would work without having to reboot te pi.
I don't know if this makes any difference, but I have a WH-3080.
It was a little confusing because the first time it did seem to work (I was there when it happened), but every other time it didn't manage to reset the station, although I could see in the logs that it was constantly trying.
--
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/TCEYaNEqLOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.