Issue with Math dat...
 
Notifications
Clear all

[Solved] Issue with Math data  

  RSS

adkodak
(@adkodak)
Active Member
Joined: 1 month ago
Posts: 11
April 25, 2020 2:40 pm  

I'm trying to get an average temperatures between 2 DH22 sensors. In bother average and statistics I only receive a NO DATA readout in any measurements. 

2020-04-25 10:01:04,906 - INFO - mycodo.daemon - All activated Conditional controllers started
2020-04-25 10:01:05,169 - INFO - mycodo.controllers.controller_trigger_f5521859 - Activated in 69.7 ms
2020-04-25 10:01:05,358 - INFO - mycodo.controllers.controller_trigger_a8838ce5 - Activated in 53.8 ms
2020-04-25 10:01:05,550 - INFO - mycodo.controllers.controller_trigger_fd415e88 - Activated in 54.0 ms
2020-04-25 10:01:05,739 - INFO - mycodo.controllers.controller_trigger_073acdac - Activated in 53.9 ms
2020-04-25 10:01:05,924 - INFO - mycodo.controllers.controller_trigger_3e75b3ae - Activated in 53.8 ms
2020-04-25 10:01:06,111 - INFO - mycodo.controllers.controller_trigger_58ecf2f0 - Activated in 59.5 ms
2020-04-25 10:01:06,112 - INFO - mycodo.daemon - All activated Trigger controllers started
2020-04-25 10:01:06,429 - INFO - mycodo.controllers.controller_input_ed2e4cc6 - Activated in 188.1 ms
2020-04-25 10:01:06,728 - INFO - mycodo.controllers.controller_input_1bf0ab12 - Activated in 143.4 ms
2020-04-25 10:01:07,046 - INFO - mycodo.controllers.controller_input_f72601e1 - Activated in 136.2 ms
2020-04-25 10:01:07,412 - INFO - mycodo.controllers.controller_input_35cfacd8 - Activated in 147.5 ms
2020-04-25 10:01:07,732 - INFO - mycodo.controllers.controller_input_b1f6be52 - Activated in 162.4 ms
2020-04-25 10:01:07,732 - INFO - mycodo.daemon - All activated Input controllers started
2020-04-25 10:01:07,898 - INFO - mycodo.controllers.controller_math_9ae82682 - Activated in 45.4 ms
2020-04-25 10:01:07,898 - INFO - mycodo.daemon - All activated Math controllers started
2020-04-25 10:01:08,291 - INFO - mycodo.controllers.controller_pid_70ac5e3e - PID Settings: Device ID: ed2e4cc6-83df-4c6b-9239-6b06662534f0, Measurement ID: 8b63a363-72cf-42ca-bb65-ef7439f35e66, Direction: both, Period: 30.0, Setpoint: 73.0, Band: 3.0, Kp: 4.2441318157840495, Ki: 1.1317204330614936, Kd: 10.610780038095427, Integrator Min: -100.0, Integrator Max 100.0, Output Raise: 8fa28440-eb8e-410a-aa63-3cf264df83d6, Output Raise Min On: 0.0, Output Raise Max On: 0.0, Output Raise Min Off: 0.0, Output Raise Always Min: False, Output Lower: 07a1d767-d4bf-4019-870f-a939e69cb094, Output Lower Min On: 0.0, Output Lower Max On: 0.0, Output Lower Min Off: 0.0, Output Lower Always Min: False, Setpoint Tracking Type: , Setpoint Tracking ID: 
2020-04-25 10:01:08,291 - INFO - mycodo.controllers.controller_pid_70ac5e3e - Activated in 116.9 ms
2020-04-25 10:01:08,292 - INFO - mycodo.daemon - All activated PID controllers started
2020-04-25 10:01:08,292 - INFO - mycodo.daemon - All activated LCD controllers started
2020-04-25 10:01:08,292 - INFO - mycodo.daemon - All activated Custom controllers started
2020-04-25 10:01:08,793 - INFO - mycodo.daemon - Mycodo daemon started in 4.657 seconds
2020-04-25 10:01:08,797 - INFO - mycodo.daemon - 48.86 MB RAM in use
2020-04-25 10:28:15,978 - INFO - mycodo.controllers.controller_math_9ae82682 - Deactivated in 105.2 ms
2020-04-25 10:30:34,467 - INFO - mycodo.controllers.controller_math_01461a7d - Activated in 45.3 ms
2020-04-25 12:43:35,193 - INFO - mycodo.controllers.controller_math_b68740df - Activated in 58.8 ms

Not getting any errors in logs.

Any ideas?

Quote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 193
April 25, 2020 2:46 pm  

Make sure Log Level: Debug is enabled for both your Input and Math controllers to see more verbose logging information from those controllers.

Also, verify that both Inputs are storing measurements (i.e. do measurements appear on the Live page?).

If your Inputs are working properly, can you take a screenshot of your Math controller configuration options and add it as an attachment here?

Mycodo Developer


ReplyQuote
adkodak
(@adkodak)
Active Member
Joined: 1 month ago
Posts: 11
April 25, 2020 3:09 pm  

updated logs:

2020-04-25 10:01:08,797 - INFO - mycodo.daemon - 48.86 MB RAM in use
2020-04-25 10:28:15,978 - INFO - mycodo.controllers.controller_math_9ae82682 - Deactivated in 105.2 ms
2020-04-25 10:30:34,467 - INFO - mycodo.controllers.controller_math_01461a7d - Activated in 45.3 ms
2020-04-25 12:43:35,193 - INFO - mycodo.controllers.controller_math_b68740df - Activated in 58.8 ms
2020-04-25 14:03:59,855 - INFO - mycodo.controllers.controller_pid_70ac5e3e - Deactivated in 84.2 ms
2020-04-25 14:04:00,091 - INFO - mycodo.controllers.controller_input_ed2e4cc6 - Deactivated in 96.7 ms
2020-04-25 14:04:04,149 - INFO - mycodo.controllers.controller_input_b1f6be52 - Deactivated in 27.9 ms
2020-04-25 14:04:14,917 - INFO - mycodo.controllers.controller_input_ed2e4cc6 - Activated in 169.0 ms
2020-04-25 14:04:15,603 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.62, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.5, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.60986, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1987.818831803854, 'timestamp_utc': None}}
2020-04-25 14:04:20,583 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.62, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.5, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.60986, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1987.818831803854, 'timestamp_utc': None}}
2020-04-25 14:04:25,594 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.62, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.5, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.60986, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1987.818831803854, 'timestamp_utc': None}}
2020-04-25 14:04:25,926 - INFO - mycodo.controllers.controller_input_b1f6be52 - Activated in 205.6 ms
2020-04-25 14:04:26,620 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.1, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.72949, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1885.8072685041584, 'timestamp_utc': None}}
2020-04-25 14:04:30,573 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 39.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.15947, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 2029.8546205022312, 'timestamp_utc': None}}
2020-04-25 14:04:31,507 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.300000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.86389, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1879.510750078435, 'timestamp_utc': None}}
2020-04-25 14:04:35,544 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.62, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.67702, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1984.4779598176292, 'timestamp_utc': None}}
2020-04-25 14:04:36,583 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.5, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.99771, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1873.2142316527115, 'timestamp_utc': None}}
2020-04-25 14:04:39,925 - INFO - mycodo.controllers.controller_math_b68740df - Deactivated in 29.8 ms
2020-04-25 14:04:40,530 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.83825, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1996.2477559243796, 'timestamp_utc': None}}
2020-04-25 14:04:41,559 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.400000000000006, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.93088, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1876.3624908655734, 'timestamp_utc': None}}
2020-04-25 14:04:45,616 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.62, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.67702, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1984.4779598176292, 'timestamp_utc': None}}
2020-04-25 14:04:46,552 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.300000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.86389, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1879.510750078435, 'timestamp_utc': None}}
2020-04-25 14:04:50,119 - INFO - mycodo.controllers.controller_math_b68740df - Activated in 51.3 ms
2020-04-25 14:04:50,527 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.83825, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1996.2477559243796, 'timestamp_utc': None}}
2020-04-25 14:04:51,553 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.300000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.86389, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1879.510750078435, 'timestamp_utc': None}}
2020-04-25 14:04:55,502 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.7, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.90532, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1992.8870694665945, 'timestamp_utc': None}}
2020-04-25 14:04:56,563 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 77.0, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.400000000000006, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.09207, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1887.5763472425524, 'timestamp_utc': None}}
2020-04-25 14:05:00,167 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:00,167 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:00,595 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.800000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.97224, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1989.5263830088093, 'timestamp_utc': None}}
2020-04-25 14:05:01,547 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.300000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 50.86389, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1879.510750078435, 'timestamp_utc': None}}
2020-04-25 14:05:05,207 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:05,208 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:05,572 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.900000000000006, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 53.03901, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1986.1656965510242, 'timestamp_utc': None}}
2020-04-25 14:05:06,519 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 76.82, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 41.1, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.39571, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1854.3246763755412, 'timestamp_utc': None}}
2020-04-25 14:05:10,243 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:10,244 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:10,564 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.800000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.97224, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1989.5263830088093, 'timestamp_utc': None}}
2020-04-25 14:05:11,594 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 77.0, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 41.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.88523, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1849.5714543450515, 'timestamp_utc': None}}
2020-04-25 14:05:15,275 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:15,275 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:15,541 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.900000000000006, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 53.03901, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1986.1656965510242, 'timestamp_utc': None}}
2020-04-25 14:05:16,594 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 77.0, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 41.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.88523, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1849.5714543450515, 'timestamp_utc': None}}
2020-04-25 14:05:20,301 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:20,302 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:20,516 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.900000000000006, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 53.03901, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1986.1656965510242, 'timestamp_utc': None}}
2020-04-25 14:05:21,605 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 77.0, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 41.6, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.88523, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1849.5714543450515, 'timestamp_utc': None}}
2020-04-25 14:05:25,340 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:25,340 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:25,608 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.900000000000006, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 53.03901, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1986.1656965510242, 'timestamp_utc': None}}
2020-04-25 14:05:26,595 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 77.0, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 41.5, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.81991, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1852.7385287531765, 'timestamp_utc': None}}
2020-04-25 14:05:30,368 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:30,368 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea
2020-04-25 14:05:30,595 - DEBUG - mycodo.controllers.controller_input_ed2e4cc6 - Adding measurements to InfluxDB with ID ed2e4cc6-83df-4c6b-9239-6b06662534f0: {0: {'measurement': None, 'unit': 'F', 'value': 78.8, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 40.300000000000004, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 52.63618, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 2006.3298152977352, 'timestamp_utc': None}}
2020-04-25 14:05:31,565 - DEBUG - mycodo.controllers.controller_input_b1f6be52 - Adding measurements to InfluxDB with ID b1f6be52-fdbe-4b02-a437-14d6ad5e2ab5: {0: {'measurement': None, 'unit': 'F', 'value': 77.0, 'timestamp_utc': None}, 1: {'measurement': 'humidity', 'unit': 'percent', 'value': 41.5, 'timestamp_utc': None}, 2: {'measurement': None, 'unit': 'F', 'value': 51.81991, 'timestamp_utc': None}, 3: {'measurement': 'vapor_pressure_deficit', 'unit': 'Pa', 'value': 1852.7385287531765, 'timestamp_utc': None}}
2020-04-25 14:05:35,150 - DEBUG - mycodo.controllers.controller_math_b68740df - One or more inputs were not within the Max Age that has been set. Ensure all Inputs are operating properly.
2020-04-25 14:05:35,151 - DEBUG - mycodo.controllers.controller_math_b68740df - No measurements to add to InfluxDB with ID b68740df-85fb-4f99-b13d-a7b0c59e0fea

Tried logging in on laptop to post a screenshot and got a "2252 please contact admin" when trying to log in to forum


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 193
April 25, 2020 3:24 pm  

controller_math_b68740df - One or more inputs were not within the Max Age that has been set

This indicates the Max Age of the Math controller Inputs selected is less than the Period of the Input Controllers. I won't be able to provide any other help unless I can see your configuration options.

Mycodo Developer


ReplyQuote
adkodak
(@adkodak)
Active Member
Joined: 1 month ago
Posts: 11
April 25, 2020 6:28 pm  

On Statististics:

Period: 5 sec

Start: 10 sec

Max Age: 60 Seconds

 

The DH22 sensors are also updating at 5 sec

 

Still getting the error trying to login to the forum with my laptop to post a screenshot


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 193
April 25, 2020 6:38 pm  

I need all the options from the Math controller. Please post a screenshot. Can you not email a screenshot to a computer you are able to post with? 

Mycodo Developer


ReplyQuote
adkodak
(@adkodak)
Active Member
Joined: 1 month ago
Posts: 11
April 25, 2020 7:53 pm  

https://ibb.co/C1RMmXX


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 193
April 25, 2020 9:30 pm  

Thanks. I was able to replicate the behavior and fix the issue. I'll push a fix soon to Github and let you know how you can grab the latest code to test the fix. I've been working on a new feature, which is currently incomplete and it will break Mycodo if I push my progress right now.

Mycodo Developer


ReplyQuote
adkodak
(@adkodak)
Active Member
Joined: 1 month ago
Posts: 11
April 25, 2020 10:37 pm  

Awesome! Thank you so much Kyle, appreciate all the work you have put into this amazing program.


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 193
April 26, 2020 12:54 am  

I just committed a fix for this issue. If you want to test the latest code, you'll need to upgrade to master. Keep in mind that this is not at a release state and there's a small risk (5%) that your Mycodo may not work properly after the upgrade.

Mycodo Developer


adkodak liked
ReplyQuote
adkodak
(@adkodak)
Active Member
Joined: 1 month ago
Posts: 11
May 2, 2020 9:05 am  

Finally got a chance to upgrade. Works perfectly thank you Kyle!


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 193
May 2, 2020 9:31 am  

Great, thanks for testing. I'll mark this topic as solved. 

Mycodo Developer


ReplyQuote