JKlinefelter Posted June 15, 2023 Posted June 15, 2023 I'm working on automating my garden watering schedule using a WS-5000 and a soil moisture sensor and the Soil Moisture key (SoilHum1) is not recognized by the node server. Here is the log output: Node 1 is the weather station main that has an online / offline key. Node 2 is the main sensor array (WS-5000), the nodeserver recognizes 18 keys. I believe the unrecognized "lastRain" key and the "eventrainin' keys belong here. Node 3 is the indoor temp and humidity sensor (WH32B). It appears to be recognizing all the keys. Node 4 is titled "one" and is the Soil Moisture sensor (WH31SM). The only key recognized is the battery. SoilHum1 is unrecognized and belongs here. This is the one I really need. Node 5 is titled "two" and is a temperature probe sensor (WH31P). It appears to be recognizing all the keys. Node 6 is titled "three" and is an outdoor temp and humidity sensor (WH31E). It appears to be recognizing all the keys. I'm not sure what the remaining unrecognized keys are but they probably belong in the main sensor array node. It would be really great if the SoilHum1 key could be recognized. I've loaded profiles, restarted the admin console, and restarted the node server multiple times without success. Thanks.
EWhite Posted July 18, 2023 Posted July 18, 2023 2023-07-18 12:08:06,552 MQTT udi_interface.interface INFO interface:_message: Successfully set key = customparamsdoc 2023-07-18 12:08:06,787 Thread-1 udi_interface DEBUG ambient-poly:discover: Found Whitehouse / 80:7D:3A:6F:31:02 2023-07-18 12:08:06,788 Thread-1 udi_interface DEBUG station:CreateNodes: {'macAddress': '80:7D:3A:6F:31:02', 'lastData': {'dateutc': 1689700020000, 'tempinf': 73.8, 'battin': 1, 'humidityin': 49, 'baromrelin': 28.869, 'baromabsin': 28.869, 'tempf': 68.9, 'battout': 1, 'humidity': 95, 'winddir': 109, 'winddir_avg10m': 89, 'windspeedmph': 4, 'windspdmph_avg10m': 5.8, 'windgustmph': 10.3, 'maxdailygust': 18.3, 'hourlyrainin': 0, 'eventrainin': 0.157, 'dailyrainin': 0.157, 'weeklyrainin': 0.508, 'monthlyrainin': 2.114, 'yearlyrainin': 15.087, 'lightning_day': 147, 'lightning_time': 1689698411000, 'lightning_distance': 22.99, 'batt_lightning': 0, 'solarradiation': 164.29, 'uv': 1, 'soilhum2': 54, 'battsm2': 1, 'temp3f': 74.5, 'humidity3': 46, 'temp4f': 75.7, 'temp7f': 73.8, 'humidity7': 48, 'batt3': 1, 'batt4': 1, 'batt7': 1, 'batt_co2': 1, 'feelsLike': 69.96, 'dewPoint': 67.41, 'feelsLike3': 73.8, 'dewPoint3': 52.3, 'feelsLike7': 73.1, 'dewPoint7': 52.9, 'feelsLikein': 73.2, 'dewPointin': 53.4, 'lastRain': '2023-07-18T16:04:00.000Z', 'lightning_hour': 9, 'tz': 'America/Chicago', 'date': '2023-07-18T17:07:00.000Z'}, 'info': {'name': 'Whitehouse', 'coords': {'coords': {'lon': -95.6237174709961, 'lat': 39.170410456326444}, 'address': '1331 NE 70th St, Topeka, KS 66617, USA', 'location': 'Topeka', 'elevation': 307.6956481933594, 'geo': {'type': 'Point', 'coordinates': [-95.6237174709961, 39.170410456326444]}}}} 2023-07-18 12:08:06,790 Thread-1 udi_interface INFO station:CreateNodes: Whitehouse 2023-07-18 12:08:06,791 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: dateutc 2023-07-18 12:08:06,792 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: eventrainin 2023-07-18 12:08:06,793 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: lightning_day 2023-07-18 12:08:06,794 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: lightning_time 2023-07-18 12:08:06,795 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: soilhum2 2023-07-18 12:08:06,796 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: lastRain 2023-07-18 12:08:06,797 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: lightning_hour 2023-07-18 12:08:06,798 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: tz 2023-07-18 12:08:06,799 Thread-1 udi_interface WARNING station:CreateNodes: Unknown key: date 2023-07-18 12:08:06,800 Thread-1 udi_interface.node DEBUG node:_updateDrivers: Update 87d3a6f312 default ST to 0 / 2 2023-07-18 12:08:06,801 Thread-1 udi_interface.interface INFO interface:addNode: Adding node Whitehouse(87d3a6f312) [None] 2023-07-18 12:08:06,802 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': '87d3a6f312', 'name': 'Whitehouse', 'nodeDefId': 'station', 'primaryNode': '87d3a6f312', 'drivers': [{'driver': 'ST', 'value': '0', 'uom': 2}], 'hint': [0, 0, 0, 0], 'private': None, 'rename': False}]} 2023-07-18 12:08:06,804 Thread-1 udi_interface DEBUG events:wait_node_event: Wait for: len = 0 2023-07-18 12:08:07,032 MQTT udi_interface.interface INFO interface:_message: Profile installation finished 2023-07-18 12:08:07,090 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode unknown keys that matter.... lightning_day - how many lightning strikes this day soilhum# - soil moisture sensors 1- 8 i believe lightning_hour - stikes in last hour eventrainin - rain amount this event lastrain - time of last rain event . not that important....but useful I would gladly pay again (or a bonus, Paypal!! )to have the items added to node server.. hehe not too worried about batteries situation, I am just doing those programmatically to send messages...just telling it to do opposite of what it shows per node for the ones showing wrong. no biggie there. Thanks!!
Recommended Posts