Jimbo.Automates Posted February 4, 2022 Posted February 4, 2022 Hey @bpwwer Realized my weatherflow wasn't working, and found just this in the log: 2022-02-03 18:15:00,052 Thread-1563 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-02-03 18:15:00,057 Thread-1563 udi_interface ERROR udi_interface:write: self.run() 2022-02-03 18:15:00,058 Thread-1563 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-02-03 18:15:00,062 Thread-1563 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-02-03 18:15:00,063 Thread-1563 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_9/nodes/weatherflow.py", line 420, in poll 2022-02-03 18:15:00,066 Thread-1563 udi_interface ERROR udi_interface:write: eto = self.eto.doETo() 2022-02-03 18:15:00,067 Thread-1563 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_9/nodes/et3.py", line 361, in doETo 2022-02-03 18:15:00,069 Thread-1563 udi_interface ERROR udi_interface:write: return evapotranspriation(self.temp_max, self.temp_min, None, self.WindSpeed(), self.elevation, self.rh_max, self.rh_min, self.latitude, self.canopy, self.day) 2022-02-03 18:15:00,070 Thread-1563 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_9/nodes/et3.py", line 180, in evapotranspriation 2022-02-03 18:15:00,073 Thread-1563 udi_interface ERROR udi_interface:write: Rs = calc_solar_radiation(min_t, max_t, latitude_r, declination, julian_day) 2022-02-03 18:15:00,074 Thread-1563 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_9/nodes/et3.py", line 122, in calc_solar_radiation 2022-02-03 18:15:00,076 Thread-1563 udi_interface ERROR udi_interface:write: Rs = 0.17 * math.sqrt(t_max - t_min) * Ra 2022-02-03 18:15:00,077 Thread-1563 udi_interface ERROR udi_interface:write: ValueError 2022-02-03 18:15:00,077 Thread-1563 udi_interface ERROR udi_interface:write: : 2022-02-03 18:15:00,078 Thread-1563 udi_interface ERROR udi_interface:write: math domain error 2022-02-03 18:15:06,749 Thread-5 udi_interface ERROR weatherflow:udp_data: Failed to send data to ISY: update() takes 2 positional arguments but 3 were given 2022-02-03 18:15:33,376 Thread-5 udi_interface ERROR weatherflow:udp_data: Failed to send data to ISY: update() takes 2 positional arguments but 3 were given I restarted and still seeing the issue. This is with the original Sky, I haven't swapped out for the new Tempest yet.
bpwwer Posted February 4, 2022 Posted February 4, 2022 Verson 3.0.9 was just released that adds some error handling so it shouldn't crash anymore. I'm guessing from the log that the temperature value isn't getting set (or set correctly) which comes from an AIR, not the SKY. 1
Jimbo.Automates Posted February 5, 2022 Author Posted February 5, 2022 (edited) Thanks, different error this time: 2022-02-04 17:22:31,889 Thread-30 udi_interface ERROR udi_interface:write: Exception in thread 2022-02-04 17:22:31,890 Thread-30 udi_interface ERROR udi_interface:write: Thread-30 2022-02-04 17:22:31,890 Thread-30 udi_interface ERROR udi_interface:write: : 2022-02-04 17:22:31,891 Thread-30 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-02-04 17:22:31,891 Thread-30 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-02-04 17:22:31,895 Thread-30 udi_interface ERROR udi_interface:write: self.run() 2022-02-04 17:22:31,896 Thread-30 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-02-04 17:22:31,899 Thread-30 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-02-04 17:22:31,899 Thread-30 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/00:0d:b9:52:bf:fc_9/nodes/weatherflow.py", line 432, in poll 2022-02-04 17:22:31,901 Thread-30 udi_interface ERROR udi_interface:write: set_hub_timestamp() 2022-02-04 17:22:31,902 Thread-30 udi_interface ERROR udi_interface:write: NameError 2022-02-04 17:22:31,902 Thread-30 udi_interface ERROR udi_interface:write: : 2022-02-04 17:22:31,903 Thread-30 udi_interface ERROR udi_interface:write: name 'set_hub_timestamp' is not defined 2022-02-04 17:22:42,299 Thread-5 udi_interface ERROR weatherflow:udp_data: Failed to send data to ISY: update() takes 2 positional arguments but 3 were given and still seeing these in the log? 2022-02-04 17:25:42,221 Thread-5 udi_interface ERROR weatherflow:udp_data: Failed to send data to ISY: update() takes 2 positional arguments but 3 were given 2022-02-04 17:25:42,221 Thread-5 udi_interface ERROR weatherflow:udp_data: Failed to send data to ISY: update() takes 2 positional arguments but 3 were given Edited February 5, 2022 by Jimbo
Jimbo.Automates Posted February 5, 2022 Author Posted February 5, 2022 15 hours ago, bpwwer said: Both fixed in 3.0.10 Thanks, all good now.
Recommended Posts