someguy Posted August 26, 2020 Share Posted August 26, 2020 I am trying to set up WeatherFlow in Polisy. I put in my station ID and it doesn't accept it for some reason. How many digits are in the station ID. is there something else I need to do to get it to work? Link to comment Share on other sites More sharing options...
Bumbershoot Posted August 26, 2020 Share Posted August 26, 2020 59 minutes ago, someguy said: I am trying to set up WeatherFlow in Polisy. I put in my station ID and it doesn't accept it for some reason. How many digits are in the station ID. is there something else I need to do to get it to work? I don't have a Tempest, only the original Air and Sky. The values look something like this: AR-0000xxxx and SK-0000xxxx in the configuration. The Station is just a 4 digit ID. Link to comment Share on other sites More sharing options...
someguy Posted August 26, 2020 Author Share Posted August 26, 2020 Tempest uses “ST-0000xxxx”. Do I enter in polisy: “St-00001234” or just use 1234? Neither worked for me. Link to comment Share on other sites More sharing options...
bpwwer Posted August 27, 2020 Share Posted August 27, 2020 You need to enter the station ID and only the station ID if your Polisy is connected to the Internet. Everything else will be determined by looking up the station on the WeatherFlow server. The ST-00001234 is the Tempest serial number. You'd only need to enter that if you are not able to access the WeatherFlow server. The station ID is a 4 or 5 digit number and can found using the WeatherFlow app by going to settings -> stations -> your station -> status Link to comment Share on other sites More sharing options...
someguy Posted August 27, 2020 Author Share Posted August 27, 2020 okay, that worked to find my weather station ID. Now, I can see that my Polisy is connected to the weatherflow and I can see the data when I log into my Polisy. but I cannot get a node to show up in ISY. I've tried clicking on "Node Servers", "weatherFlowPoly", "add all nodes", "yes" and the ISY is busy for a while but then it doesn't add anything. any suggestions? Link to comment Share on other sites More sharing options...
bpwwer Posted August 27, 2020 Share Posted August 27, 2020 The node server creates the nodes it requires automatically, I don't believe the "Add All Nodes" will do anything. It's Polyglot that creates the nodes on the ISY, if the nodes are showing up on the Polyglot dashboard then the node server is working correctly and the problem lies between Polyglot and your ISY. The only way I know of to try and recover when Polyglot doesn't create the nodes, is to delete the node server and re-add it. (you should NOT need to uninstall/re-install). Link to comment Share on other sites More sharing options...
Illusion Posted September 16, 2020 Share Posted September 16, 2020 With the title of this topic being a bit broad I thought I would just add my questions in here rather than start a new topic. Seems like a good repository for more simple setup questions vs future piles of short threads.In Weatherflow poly, what info is pulled from short poll vs long poll?The default short poll was set to 5. Does that mean that it is polling the hub every 5s? Is this ok? Seems like a lot as other weather polys you have built seem to be more like 300. But those are hitting services with limits over the internet, and if we are getting data directly from the hub, maybe that is fine. I am not network savvy. Is it okay for my local network to have that request going every 5s? Is it okay for the ISY to be getting new data sent to it every 5s? No overload there?And thank you so much for building these. These polys of yours is what sold me a Polisy and a Tempest. This is the most fun I have had with automation in years! Link to comment Share on other sites More sharing options...
bpwwer Posted September 16, 2020 Share Posted September 16, 2020 3 hours ago, Illusion said: With the title of this topic being a bit broad I thought I would just add my questions in here rather than start a new topic. Seems like a good repository for more simple setup questions vs future piles of short threads. In Weatherflow poly, what info is pulled from short poll vs long poll? The default short poll was set to 5. Does that mean that it is polling the hub every 5s? Is this ok? Seems like a lot as other weather polys you have built seem to be more like 300. But those are hitting services with limits over the internet, and if we are getting data directly from the hub, maybe that is fine. I am not network savvy. Is it okay for my local network to have that request going every 5s? Is it okay for the ISY to be getting new data sent to it every 5s? No overload there? And thank you so much for building these. These polys of yours is what sold me a Polisy and a Tempest. This is the most fun I have had with automation in years! ShortPoll is not use by the node server at all. LongPoll is used for the heartbeat function. The hearbeat alternates between sending a DON/DOF to the ISY at the long poll interval. It can be used in a program to make sure the node server is still alive. The node server doesn't poll the WeatherFlow hub. The WeatherFlow hub pushes data over the network at about a 1 minute interval and the node server just sits and listens for that data. When the node server gets data from the hub, it passes it on to the ISY. Link to comment Share on other sites More sharing options...
Illusion Posted October 8, 2020 Share Posted October 8, 2020 Both my WeatherFlowPGC and WeatherFlowPoly polys seem to have to be restarted often. The WeatherFlowPoly seems like it will stop updating info about weekly, and the WeatherFlowPGC needs my attention every couple of days. They both always show as connected but do not seem to update values. Any advice on steps to troubleshoot would be appreciated. Full log from the node server on polisy not posted because it is huge and I do not know what part is relevant. Further, is appears that the log from when the node server stopped sending stuff this last time looks like it is lost and it seems my Polisy restarted again on its own. From the current values, it looks to me like the poly got good data after the Polisy self restart this morning, but again just stopped updating. So maybe the current log is helpful? Here is the last bit from the log: 2020-10-08 09:28:23,269 Controller polyinterface DEBUG weatherflow:query_data: {'station_id': 28136, 'station_name': 'President George Bush Turnpike (TX-190) & Train Tracks', 'public_name': 'President George Bush Turnpike (TX-190) & Train Tracks', 'latitude': 32.98566, 'longitude': -96.87601, 'timezone': 'America/Chicago', 'elevation': 170.8807220458984, 'is_public': True, 'status': {'status_code': 0, 'status_message': 'SUCCESS'}, 'station_units': {'units_temp': 'f', 'units_wind': 'mph', 'units_precip': 'in', 'units_pressure': 'inhg', 'units_distance': 'mi', 'units_direction': 'degrees', 'units_other': 'imperial'}, 'outdoor_keys': ['timestamp', 'air_temperature', 'barometric_pressure', 'station_pressure', 'pressure_trend', 'sea_level_pressure', 'relative_humidity', 'precip', 'precip_accum_last_1hr', 'precip_accum_local_day', 'precip_accum_local_yesterday', 'precip_minutes_local_day', 'precip_minutes_local_yesterday', 'wind_avg', 'wind_direction', 'wind_gust', 'wind_lull', 'solar_radiation', 'uv', 'brightness', 'lightning_strike_count', 'lightning_strike_count_last_1hr', 'lightning_strike_count_last_3hr', 'feels_like', 'heat_index', 'wind_chill', 'dew_point', 'wet_bulb_temperature', 'delta_t', 'air_density'], 'obs': [{'timestamp': 1602167277, 'air_temperature': 20.9, 'barometric_pressure': 997.4, 'station_pressure': 997.4, 'sea_level_pressure': 1018.5, 'relative_humidity': 69, 'precip': 0.0, 'precip_accum_last_1hr': 0.0, 'precip_accum_local_day': 0.0, 'precip_accum_local_yesterday': 0.0, 'precip_minutes_local_day': 0, 'precip_minutes_local_yesterday': 0, 'wind_avg': 0.6, 'wind_direction': 148, 'wind_gust': 0.9, 'wind_lull': 0.0, 'solar_radiation': 255, 'uv': 1.76, 'brightness': 30647, 'lightning_strike_count': 0, 'lightning_strike_count_last_1hr': 0, 'lightning_strike_count_last_3hr': 0, 'feels_like': 20.9, 'heat_index': 20.9, 'wind_chill': 20.9, 'dew_point': 15.0, 'wet_bulb_temperature': 17.1, 'delta_t': 3.8, 'air_density': 1.18162, 'pressure_trend': 'rising'}]} 2020-10-08 09:28:23,270 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - ST: 69.6, uom: 17 2020-10-08 09:28:23,273 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver pressure - ST: 29.453, uom: 23 2020-10-08 09:28:23,275 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver pressure - GV0: 30.076, uom: 23 2020-10-08 09:28:23,278 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - ST: 0.37, uom: 48 2020-10-08 09:28:23,280 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - GV0: 148, uom: 76 2020-10-08 09:28:23,283 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - GV1: 0.56, uom: 48 2020-10-08 09:28:23,286 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver light - ST: 1.76, uom: 71 2020-10-08 09:28:23,289 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver light - GV0: 255, uom: 74 2020-10-08 09:28:23,292 MQTT polyinterface ERROR polyinterface:_startMqtt: MQTT Connection error: An exception of type AttributeError occurred. Arguments: ("'NoneType' object has no attribute 'recv'",) Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 342, in _startMqtt self._mqttc.loop_forever() File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 1782, in loop_forever rc = self.loop(timeout, max_packets) File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 1177, in loop rc = self.loop_read(max_packets) File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 1568, in loop_read rc = self._packet_read() File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 2300, in _packet_read data = self._sock_recv(self._in_packet['to_process']) File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 660, in _sock_recv return self._sock.recv(bufsize) AttributeError: 'NoneType' object has no attribute 'recv' 2020-10-08 09:28:23,294 Controller polyinterface INFO polyinterface:_disconnect: MQTT Unexpected disconnection. Trying reconnect. 2020-10-08 09:28:23,314 MQTT polyinterface DEBUG polyinterface:_startMqtt: MQTT Done: 2020-10-08 09:28:23,365 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver light - GV1: 30647, uom: 36 2020-10-08 09:28:23,368 Controller polyinterface INFO weatherflow:mySetDriver: key, lightning_strike_last_3hr is missing from data 2020-10-08 09:28:23,368 Controller polyinterface INFO weatherflow:mySetDriver: key, lightning_strike_last_distance is missing from data 2020-10-08 09:28:23,369 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV0: 69.6, uom: 17 2020-10-08 09:28:23,371 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV1: 59.0, uom: 17 2020-10-08 09:28:23,373 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV2: 69.6, uom: 17 2020-10-08 09:28:23,375 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV3: 69.6, uom: 17 2020-10-08 09:28:23,377 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV4: 62.8, uom: 17 2020-10-08 09:28:23,379 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV5: 38.8, uom: 17 2020-10-08 09:28:23,381 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV6: 1.18162, uom: 56 2020-10-08 09:28:23,383 Controller polyinterface DEBUG weatherflow:heartbeat: heartbeat hb=0 2020-10-08 09:28:23,385 Controller polyinterface DEBUG weatherflow:set_hub_timestamp: set_hub_timestamp: 0 2020-10-08 09:28:23,385 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver hub - GV4: 0, uom: 57 Link to comment Share on other sites More sharing options...
Illusion Posted October 8, 2020 Share Posted October 8, 2020 Turns out my Polisy was running behind a failing UPS. Maybe that is the source of all my trouble. Will see going forward... Link to comment Share on other sites More sharing options...
bpwwer Posted October 9, 2020 Share Posted October 9, 2020 That error was a loss of communication between Polyglot and the node server. It's not clear why. Link to comment Share on other sites More sharing options...
Illusion Posted October 9, 2020 Share Posted October 9, 2020 Well, it does not seem to be related to the failing UPS. Polisy has a nice full day of uptime and the poly failed again this morning: 2020-10-09 09:31:29,303 Controller polyinterface DEBUG weatherflow:query_data: {'station_id': 28136, 'station_name': 'President George Bush Turnpike (TX-190) & Train Tracks', 'public_name': 'President George Bush Turnpike (TX-190) & Train Tracks', 'latitude': 32.98566, 'longitude': -96.87601, 'timezone': 'America/Chicago', 'elevation': 170.8807220458984, 'is_public': True, 'status': {'status_code': 0, 'status_message': 'SUCCESS'}, 'station_units': {'units_temp': 'f', 'units_wind': 'mph', 'units_precip': 'in', 'units_pressure': 'inhg', 'units_distance': 'mi', 'units_direction': 'degrees', 'units_other': 'imperial'}, 'outdoor_keys': ['timestamp', 'air_temperature', 'barometric_pressure', 'station_pressure', 'pressure_trend', 'sea_level_pressure', 'relative_humidity', 'precip', 'precip_accum_last_1hr', 'precip_accum_local_day', 'precip_accum_local_yesterday', 'precip_minutes_local_day', 'precip_minutes_local_yesterday', 'wind_avg', 'wind_direction', 'wind_gust', 'wind_lull', 'solar_radiation', 'uv', 'brightness', 'lightning_strike_count', 'lightning_strike_count_last_1hr', 'lightning_strike_count_last_3hr', 'feels_like', 'heat_index', 'wind_chill', 'dew_point', 'wet_bulb_temperature', 'delta_t', 'air_density'], 'obs': [{'timestamp': 1602253831, 'air_temperature': 23.0, 'barometric_pressure': 993.7, 'station_pressure': 993.7, 'sea_level_pressure': 1014.8, 'relative_humidity': 85, 'precip': 0.0, 'precip_accum_last_1hr': 0.0, 'precip_accum_local_day': 0.0, 'precip_accum_local_yesterday': 0.0, 'precip_minutes_local_day': 0, 'precip_minutes_local_yesterday': 0, 'wind_avg': 1.2, 'wind_direction': 133, 'wind_gust': 2.2, 'wind_lull': 0.5, 'solar_radiation': 204, 'uv': 1.37, 'brightness': 24508, 'lightning_strike_count': 0, 'lightning_strike_count_last_1hr': 0, 'lightning_strike_count_last_3hr': 0, 'feels_like': 23.0, 'heat_index': 23.0, 'wind_chill': 23.0, 'dew_point': 20.3, 'wet_bulb_temperature': 21.2, 'delta_t': 1.8, 'air_density': 1.16889, 'pressure_trend': 'steady'}]} 2020-10-09 09:31:29,305 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver pressure - ST: 29.344, uom: 23 2020-10-09 09:31:29,307 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver pressure - GV0: 29.967, uom: 23 2020-10-09 09:31:29,309 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - ST: 0.75, uom: 48 2020-10-09 09:31:29,312 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - GV0: 133, uom: 76 2020-10-09 09:31:29,314 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - GV1: 1.37, uom: 48 2020-10-09 09:31:29,318 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver wind - GV2: 0.5, uom: 48 2020-10-09 09:31:29,321 MQTT polyinterface ERROR polyinterface:_startMqtt: MQTT Connection error: An exception of type AttributeError occurred. Arguments: ("'NoneType' object has no attribute 'recv'",) Traceback (most recent call last): File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 342, in _startMqtt self._mqttc.loop_forever() File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 1782, in loop_forever rc = self.loop(timeout, max_packets) File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 1177, in loop rc = self.loop_read(max_packets) File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 1568, in loop_read rc = self._packet_read() File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 2300, in _packet_read data = self._sock_recv(self._in_packet['to_process']) File "/var/polyglot/.local/lib/python3.7/site-packages/paho/mqtt/client.py", line 660, in _sock_recv return self._sock.recv(bufsize) AttributeError: 'NoneType' object has no attribute 'recv' 2020-10-09 09:31:29,322 Controller polyinterface INFO polyinterface:_disconnect: MQTT Unexpected disconnection. Trying reconnect. 2020-10-09 09:31:29,342 MQTT polyinterface DEBUG polyinterface:_startMqtt: MQTT Done: 2020-10-09 09:31:29,397 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver light - ST: 1.37, uom: 71 2020-10-09 09:31:29,400 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver light - GV0: 204, uom: 74 2020-10-09 09:31:29,403 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver light - GV1: 24508, uom: 36 2020-10-09 09:31:29,405 Controller polyinterface INFO weatherflow:mySetDriver: key, lightning_strike_last_3hr is missing from data 2020-10-09 09:31:29,406 Controller polyinterface INFO weatherflow:mySetDriver: key, lightning_strike_last_distance is missing from data 2020-10-09 09:31:29,408 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver temperature - GV6: 1.16889, uom: 56 2020-10-09 09:31:29,411 Controller polyinterface DEBUG weatherflow:heartbeat: heartbeat hb=0 2020-10-09 09:31:29,413 Controller polyinterface DEBUG weatherflow:set_hub_timestamp: set_hub_timestamp: 0 2020-10-09 09:31:29,414 Controller polyinterface INFO polyinterface:reportDriver: Updating Driver hub - GV4: 0, uom: 57 Link to comment Share on other sites More sharing options...
bpwwer Posted October 12, 2020 Share Posted October 12, 2020 It's not the node server failing. It's the connection between Polyglot and the node server interface module that's failing for some reason, but as I said above, there's no information to help diagnose why it's failing. This is probably something you should submit a support ticket to UDI for. Link to comment Share on other sites More sharing options...
GQuack Posted September 6, 2021 Share Posted September 6, 2021 I know this is pretty old now but did you ever get a resolution on this? I am finding the same experience with my Weatherflow Tempest that I stop receiving new values from Polyglot roughly every 4 days. I need to stop and restart the node server to get everything going again. I do use these values for some of my programming so having a reliable process would be good. Link to comment Share on other sites More sharing options...
bpwwer Posted September 6, 2021 Share Posted September 6, 2021 Are you seeing the same error as above? If so, there's nothing I can do to fix it, it's not a problem in the node server. If it's something different, I'd have to see the errors to try and diagnose it. I run this node server on a Polisy and don't have any issues with it needing to be restarted. Link to comment Share on other sites More sharing options...
bgrubb1 Posted September 6, 2021 Share Posted September 6, 2021 Can you run weatherflow Poly on two different Polisy's on the same network with one Weatherflow ?? I have a 2nd Polisy for testing ISY, might be fun on second machine Link to comment Share on other sites More sharing options...
bpwwer Posted September 6, 2021 Share Posted September 6, 2021 21 minutes ago, bgrubb1 said: Can you run weatherflow Poly on two different Polisy's on the same network with one Weatherflow ?? I have a 2nd Polisy for testing ISY, might be fun on second machine Yes, you can Link to comment Share on other sites More sharing options...
bgrubb1 Posted September 7, 2021 Share Posted September 7, 2021 TU Bob works perfect ...Barry Link to comment Share on other sites More sharing options...
GQuack Posted September 9, 2021 Share Posted September 9, 2021 bpwwer, I don’t recall seeing actual errors, I just stop getting current values. I’ll wait until it happens again. What specifically would you want to see and I can pull,that? Link to comment Share on other sites More sharing options...
bpwwer Posted September 9, 2021 Share Posted September 9, 2021 14 hours ago, GQuack said: bpwwer, I don’t recall seeing actual errors, I just stop getting current values. I’ll wait until it happens again. What specifically would you want to see and I can pull,that? The log from the node server (from the dashboard, select the node server details and then log. It should allow you to download the log, or it may just be the last few lines that have an obvious error. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.