Definitely not - that's the whole reason I do this!No need to apologise - you must get bored with twits like me trying to get a software controlled fermentation system running
Definitely not - that's the whole reason I do this!No need to apologise - you must get bored with twits like me trying to get a software controlled fermentation system running
[2023-08-04 04:01:14.621410] SUCCESS - Logged data to Brewfather
[2023-08-04 04:01:14.666221] FAILED - Unable to log data to Brewfather
[2023-08-04 04:17:13.864080] DISPATCH - Dispatching Brewfather push target
[2023-08-04 04:17:13.876332] DISPATCH - Dispatching Brewfather push target
[2023-08-04 04:17:14.629370] SUCCESS - Logged data to Brewfather
[2023-08-04 04:17:14.654934] FAILED - Unable to log data to Brewfather
[2023-08-04 04:33:13.879412] DISPATCH - Dispatching Brewfather push target
[2023-08-04 04:33:13.914225] DISPATCH - Dispatching Brewfather push target
[2023-08-04 04:33:14.913642] SUCCESS - Logged data to Brewfather
[2023-08-04 04:33:14.958332] FAILED - Unable to log data to Brewfather
[2023-08-04 04:49:13.860087] DISPATCH - Dispatching Brewfather push target
[2023-08-04 04:49:13.871081] DISPATCH - Dispatching Brewfather push target
[2023-08-04 04:49:14.547975] SUCCESS - Logged data to Brewfather
[2023-08-04 04:49:14.574595] FAILED - Unable to log data to Brewfather
[2023-08-04 05:05:13.834002] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:05:13.862259] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:05:14.837998] SUCCESS - Logged data to Brewfather
[2023-08-04 05:05:14.916296] FAILED - Unable to log data to Brewfather
[2023-08-04 05:21:13.850586] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:21:13.866730] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:21:14.725883] SUCCESS - Logged data to Brewfather
[2023-08-04 05:21:14.778715] FAILED - Unable to log data to Brewfather
[2023-08-04 05:37:13.851327] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:37:13.865177] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:37:14.866948] SUCCESS - Logged data to Brewfather
[2023-08-04 05:37:14.918390] FAILED - Unable to log data to Brewfather
[2023-08-04 05:53:13.855855] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:53:13.870278] DISPATCH - Dispatching Brewfather push target
[2023-08-04 05:53:14.761047] SUCCESS - Logged data to Brewfather
[2023-08-04 05:53:14.820138] FAILED - Unable to log data to Brewfather
[2023-08-04 06:09:13.864727] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:09:13.879000] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:09:14.762916] SUCCESS - Logged data to Brewfather
[2023-08-04 06:09:14.811115] FAILED - Unable to log data to Brewfather
[2023-08-04 06:25:13.847368] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:25:13.861801] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:25:19.624307] SUCCESS - Logged data to Brewfather
[2023-08-04 06:25:19.671958] FAILED - Unable to log data to Brewfather
[2023-08-04 06:41:13.857083] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:41:13.873369] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:41:14.547573] SUCCESS - Logged data to Brewfather
[2023-08-04 06:41:14.575047] FAILED - Unable to log data to Brewfather
[2023-08-04 06:57:13.850956] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:57:13.863404] DISPATCH - Dispatching Brewfather push target
[2023-08-04 06:57:14.615032] SUCCESS - Logged data to Brewfather
[2023-08-04 06:57:14.641570] FAILED - Unable to log data to Brewfather
[2023-08-04 07:13:13.852371] DISPATCH - Dispatching Brewfather push target
[2023-08-04 07:13:13.867854] DISPATCH - Dispatching Brewfather push target
[2023-08-04 07:13:14.584265] SUCCESS - Logged data to Brewfather
[2023-08-04 07:13:14.623579] FAILED - Unable to log data to Brewfather
[2023-08-04 07:29:13.849791] DISPATCH - Dispatching Brewfather push target
[2023-08-04 07:29:13.864724] DISPATCH - Dispatching Brewfather push target
[2023-08-04 07:29:14.596546] SUCCESS - Logged data to Brewfather
[2023-08-04 07:29:14.624635] FAILED - Unable to log data to Brewfather
[2023-08-04 07:45:13.860825] DISPATCH - Dispatching Brewfather push target
[2023-08-04 07:45:13.871227] DISPATCH - Dispatching Brewfather push target
[2023-08-04 07:45:14.588560] SUCCESS - Logged data to Brewfather
[2023-08-04 07:45:14.634580] FAILED - Unable to log data to Brewfather
[2023-08-04 08:01:13.862218] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:01:13.873507] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:01:14.595741] SUCCESS - Logged data to Brewfather
[2023-08-04 08:01:14.651984] FAILED - Unable to log data to Brewfather
[2023-08-04 08:17:13.865203] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:17:13.883408] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:17:14.741974] SUCCESS - Logged data to Brewfather
[2023-08-04 08:17:14.795412] FAILED - Unable to log data to Brewfather
[2023-08-04 08:32:41.324614] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:32:41.340332] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:48:41.281426] DISPATCH - Dispatching Brewfather push target
[2023-08-04 08:48:41.298107] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:04:41.280184] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:04:41.292273] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:20:41.257638] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:20:41.274497] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:36:41.281090] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:36:41.296838] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:52:41.290684] DISPATCH - Dispatching Brewfather push target
[2023-08-04 09:52:41.301216] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:08:41.287099] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:08:41.302787] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:24:41.272495] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:24:41.285504] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:40:41.289020] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:40:41.299881] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:56:41.287575] DISPATCH - Dispatching Brewfather push target
[2023-08-04 10:56:41.301440] DISPATCH - Dispatching Brewfather push target
[2023-08-04 11:12:41.281816] DISPATCH - Dispatching Brewfather push target
[2023-08-04 11:12:41.300647] DISPATCH - Dispatching Brewfather push target
[2023-08-04 11:28:41.279296] DISPATCH - Dispatching Brewfather push target
[2023-08-04 11:28:41.293087] DISPATCH - Dispatching Brewfather push target
[2023-08-04 11:44:41.244939] DISPATCH - Dispatching Brewfather push target
[2023-08-04 11:44:41.255426] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:00:41.257786] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:00:41.275792] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:16:41.246596] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:16:41.262242] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:32:41.283194] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:32:41.297306] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:48:41.257656] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:48:41.269846] DISPATCH - Dispatching Brewfather push target
[2023-08-04 12:36:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 74efd6ae-4405-4ee5-9aac-617251eeddb2
[2023-08-04 12:36:41,253] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 74efd6ae-4405-4ee5-9aac-617251eeddb2 executed in 0.043s
[2023-08-04 12:37:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: a0f45ece-cfc3-4b72-9b61-f3687477cf1e.
[2023-08-04 12:37:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: a0f45ece-cfc3-4b72-9b61-f3687477cf1e
[2023-08-04 12:37:41,276] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: a0f45ece-cfc3-4b72-9b61-f3687477cf1e executed in 0.067s
[2023-08-04 12:38:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: e26a014f-291a-4aff-b5c5-4e87683280d6.
[2023-08-04 12:38:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: e26a014f-291a-4aff-b5c5-4e87683280d6
[2023-08-04 12:38:41,256] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: e26a014f-291a-4aff-b5c5-4e87683280d6 executed in 0.045s
[2023-08-04 12:39:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 517fbbc8-2226-4a41-8503-5f9a6f43a74a.
[2023-08-04 12:39:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 517fbbc8-2226-4a41-8503-5f9a6f43a74a
[2023-08-04 12:39:41,281] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 517fbbc8-2226-4a41-8503-5f9a6f43a74a executed in 0.070s
[2023-08-04 12:40:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: cd54725f-7cad-477d-b2d7-d9184d7c2129.
[2023-08-04 12:40:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: cd54725f-7cad-477d-b2d7-d9184d7c2129
[2023-08-04 12:40:41,249] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: cd54725f-7cad-477d-b2d7-d9184d7c2129 executed in 0.039s
[2023-08-04 12:41:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 713d4f2e-ed76-4223-9a10-3e633728b7fd.
[2023-08-04 12:41:41,206] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 713d4f2e-ed76-4223-9a10-3e633728b7fd
[2023-08-04 12:41:41,285] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 713d4f2e-ed76-4223-9a10-3e633728b7fd executed in 0.077s
[2023-08-04 12:42:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 2b413345-6d05-4a59-b574-9e8d80377a2f.
[2023-08-04 12:42:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 2b413345-6d05-4a59-b574-9e8d80377a2f
[2023-08-04 12:42:41,253] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 2b413345-6d05-4a59-b574-9e8d80377a2f executed in 0.043s
[2023-08-04 12:43:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 1bd0f52a-ab50-43f0-8272-3e4dbf3e37a5.
[2023-08-04 12:43:41,209] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 1bd0f52a-ab50-43f0-8272-3e4dbf3e37a5
[2023-08-04 12:43:41,292] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 1bd0f52a-ab50-43f0-8272-3e4dbf3e37a5 executed in 0.080s
[2023-08-04 12:44:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 80f0c8d3-1375-4c1f-bfb2-3577f8e6ec0d.
[2023-08-04 12:44:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 80f0c8d3-1375-4c1f-bfb2-3577f8e6ec0d
[2023-08-04 12:44:41,256] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 80f0c8d3-1375-4c1f-bfb2-3577f8e6ec0d executed in 0.045s
[2023-08-04 12:45:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: aa26fc69-6ea0-4dc4-ac06-2b4de43c2b6e.
[2023-08-04 12:45:41,209] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: aa26fc69-6ea0-4dc4-ac06-2b4de43c2b6e
[2023-08-04 12:45:41,282] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: aa26fc69-6ea0-4dc4-ac06-2b4de43c2b6e executed in 0.070s
[2023-08-04 12:46:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: ae3f6ba6-a67b-4621-b3bf-dfad3332f545.
[2023-08-04 12:46:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: ae3f6ba6-a67b-4621-b3bf-dfad3332f545
[2023-08-04 12:46:41,247] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: ae3f6ba6-a67b-4621-b3bf-dfad3332f545 executed in 0.037s
[2023-08-04 12:47:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: c79bb356-5938-4f5d-92f3-b862fb685829.
[2023-08-04 12:47:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: c79bb356-5938-4f5d-92f3-b862fb685829
[2023-08-04 12:47:41,292] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: c79bb356-5938-4f5d-92f3-b862fb685829 executed in 0.081s
[2023-08-04 12:48:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 407ff922-e2a1-4828-b1b4-7a2e67de4fcc.
[2023-08-04 12:48:41,209] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 407ff922-e2a1-4828-b1b4-7a2e67de4fcc
[2023-08-04 12:48:41,280] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 407ff922-e2a1-4828-b1b4-7a2e67de4fcc executed in 0.068s
[2023-08-04 12:48:41,287] INFO:huey:Worker-1:Executing external_push.tasks.brewfather_push_target_push: e45e5388-da84-4efb-9306-8358383595e3
[2023-08-04 12:48:41,345] ERROR:huey:Worker-1:Unhandled exception in task e45e5388-da84-4efb-9306-8358383595e3.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/huey/api.py", line 380, in _execute
task_value = task.execute()
File "/usr/local/lib/python3.9/site-packages/huey/api.py", line 792, in execute
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/huey/contrib/djhuey/__init__.py", line 135, in inner
return fn(*args, **kwargs)
File "/app/external_push/tasks.py", line 72, in brewfather_push_target_push
if push_target.send_data():
File "/app/external_push/models.py", line 599, in send_data
json_data = self.data_to_push()
File "/app/external_push/models.py", line 544, in data_to_push
to_send['ext_temp'] = temp_convert(float(device_info['RoomTemp']),
ValueError: could not convert string to float: ''
[2023-08-04 12:48:41,442] INFO:huey:Worker-1:Executing external_push.tasks.brewfather_push_target_push: b7452d7f-d826-41bc-9651-fa0c623bc13b
[2023-08-04 12:48:41,472] ERROR:huey:Worker-1:Unhandled exception in task b7452d7f-d826-41bc-9651-fa0c623bc13b.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/huey/api.py", line 380, in _execute
task_value = task.execute()
File "/usr/local/lib/python3.9/site-packages/huey/api.py", line 792, in execute
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/huey/contrib/djhuey/__init__.py", line 135, in inner
return fn(*args, **kwargs)
File "/app/external_push/tasks.py", line 72, in brewfather_push_target_push
if push_target.send_data():
File "/app/external_push/models.py", line 599, in send_data
json_data = self.data_to_push()
File "/app/external_push/models.py", line 585, in data_to_push
to_send['ext_temp'] = float(device_info['RoomTemp'])
ValueError: could not convert string to float: ''
[2023-08-04 12:49:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: bffb0dcc-44eb-4923-8a58-8b2926a08d3a.
[2023-08-04 12:49:41,208] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: bffb0dcc-44eb-4923-8a58-8b2926a08d3a
[2023-08-04 12:49:41,257] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: bffb0dcc-44eb-4923-8a58-8b2926a08d3a executed in 0.048s
[2023-08-04 12:50:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 678757b6-e5e0-4921-ba25-835a653f0988.
[2023-08-04 12:50:41,206] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 678757b6-e5e0-4921-ba25-835a653f0988
[2023-08-04 12:50:41,287] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 678757b6-e5e0-4921-ba25-835a653f0988 executed in 0.079s
[2023-08-04 12:51:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: eebea3ec-67f8-4afe-b4dd-4d8f27a0aec4.
[2023-08-04 12:51:41,209] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: eebea3ec-67f8-4afe-b4dd-4d8f27a0aec4
[2023-08-04 12:51:41,255] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: eebea3ec-67f8-4afe-b4dd-4d8f27a0aec4 executed in 0.045s
[2023-08-04 12:52:41,195] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: ffbaee55-0138-41c5-9fbe-2a4da855ec11.
[2023-08-04 12:52:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: ffbaee55-0138-41c5-9fbe-2a4da855ec11
[2023-08-04 12:52:41,289] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: ffbaee55-0138-41c5-9fbe-2a4da855ec11 executed in 0.081s
[2023-08-04 12:53:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: d970b63b-c258-4e9b-9009-b9fc6ea7b62e.
[2023-08-04 12:53:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: d970b63b-c258-4e9b-9009-b9fc6ea7b62e
[2023-08-04 12:53:41,256] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: d970b63b-c258-4e9b-9009-b9fc6ea7b62e executed in 0.048s
[2023-08-04 12:54:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 54042abc-4f30-423b-88e2-16f5f0046065.
[2023-08-04 12:54:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 54042abc-4f30-423b-88e2-16f5f0046065
[2023-08-04 12:54:41,280] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 54042abc-4f30-423b-88e2-16f5f0046065 executed in 0.071s
[2023-08-04 12:55:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: f29b58d6-d6fc-4506-af89-c563728af3fb.
[2023-08-04 12:55:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: f29b58d6-d6fc-4506-af89-c563728af3fb
[2023-08-04 12:55:41,256] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: f29b58d6-d6fc-4506-af89-c563728af3fb executed in 0.048s
[2023-08-04 12:56:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: 2338608e-4b91-47f5-a334-54cada00ce3f.
[2023-08-04 12:56:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: 2338608e-4b91-47f5-a334-54cada00ce3f
[2023-08-04 12:56:41,272] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 2338608e-4b91-47f5-a334-54cada00ce3f executed in 0.063s
[2023-08-04 12:57:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: a69fd06d-7e73-4e98-8052-bfe447670b35.
[2023-08-04 12:57:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: a69fd06d-7e73-4e98-8052-bfe447670b35
[2023-08-04 12:57:41,247] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: a69fd06d-7e73-4e98-8052-bfe447670b35 executed in 0.039s
[2023-08-04 12:58:41,196] INFO:huey.consumer.Scheduler:Scheduler:Enqueueing periodic task external_push.tasks.dispatch_push_tasks: c69a387d-32e2-4a10-aa97-55dd2f6c1c1f.
[2023-08-04 12:58:41,207] INFO:huey:Worker-1:Executing external_push.tasks.dispatch_push_tasks: c69a387d-32e2-4a10-aa97-55dd2f6c1c1f
[2023-08-04 12:58:41,279] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: c69a387d-32e2-4a10-aa97-55dd2f6c1c1f executed in 0.071s
Hi,
What's the best way to monitor the 'push' process?
I am getting very sporadic updates on brewfather but when I look at the 'huey' logs I can see it's trying but struggling. I have pasted the outputs below, the last update on brewfather was 2023-08-04 09:17 and I have nothing since. (I am in the UK and is currently summertime so this correlates with the 08:17 in the logs from fermentrack)
...
[2023-08-04 12:48:41,280] INFO:huey:Worker-1:external_push.tasks.dispatch_push_tasks: 407ff922-e2a1-4828-b1b4-7a2e67de4fcc executed in 0.068s
[2023-08-04 12:48:41,287] INFO:huey:Worker-1:Executing external_push.tasks.brewfather_push_target_push: e45e5388-da84-4efb-9306-8358383595e3
[2023-08-04 12:48:41,345] ERROR:huey:Worker-1:Unhandled exception in task e45e5388-da84-4efb-9306-8358383595e3.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/huey/api.py", line 380, in _execute
task_value = task.execute()
File "/usr/local/lib/python3.9/site-packages/huey/api.py", line 792, in execute
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/huey/contrib/djhuey/__init__.py", line 135, in inner
return fn(*args, **kwargs)
File "/app/external_push/tasks.py", line 72, in brewfather_push_target_push
if push_target.send_data():
File "/app/external_push/models.py", line 599, in send_data
json_data = self.data_to_push()
File "/app/external_push/models.py", line 544, in data_to_push
to_send['ext_temp'] = temp_convert(float(device_info['RoomTemp']),
ValueError: could not convert string to float: ''
[
Are you specifically interested in migrating to an LXC and running into issues? Are you just wondering about migrating data?I'm looking to migrate from a desktop to a mini PC using proxmox. Any suggestions on effective migration? Worst case, I figured I'd spin up a Ubuntu/Debian VM and get it going from there.
amazing, I will plug a sensor in for the room for now as a quick fix!This is the problem here. I've got half a fix written -- I need to fix two more places in the code, apparently. I'll take a look at that here later today.
amazing, I will plug a sensor in for the room for now as a quick fix!
EDIT: great success! Plugging sensor in works!
Amazing thank you!
I just pushed out the bugfix for the code, so feel free to either leave the room sensor plugged in or remove it (after updating!) - your choice!
Both. I'm new to proxmox/LXC so not sure where to start.Are you specifically interested in migrating to an LXC and running into issues? Are you just wondering about migrating data?
That update actually broke things. I’ll fix it as soon as I can get WiFi. Give it an hour or two.
I just pushed out the bugfix for the code, so feel free to either leave the room sensor plugged in or remove it (after updating!) - your choice!
Both. I'm new to proxmox/LXC so not sure where to start.
Here you go - Installation instructions. I posted it to Ghost as I figured with the pictures it might be a bit much for HBT. Let me know if you have any issues/questions!Both. I'm new to proxmox/LXC so not sure where to start.
Thanks! I actually did it a different way and got it installed. I'm writing up directions right now. But basically, I used the Proxmox VE Helper Scripts to create a docker LXC and then used the console to install normally. Working perfectly.Here you go - Installation instructions. I posted it to Ghost as I figured with the pictures it might be a bit much for HBT. Let me know if you have any issues/questions!
Create debian/ubuntu based docker using Proxmox VE Helper Scripts:
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"
Select advance settings and increase the volume size to 10 GB
Create a root password
Leave all of the other options to their defaults
When asked install Portainer and Docker Compose say yes
Once the install is complete, select the Console option under the Docker LXC.
Install Fermentrack (sudo is not needed since we're root):
curl -L install.fermentrack.com | bash
Enjoy your install of Fermentrack.
I had no idea helper scripts like that existed. I wonder if one could do a full Fermentrack install?Alright install instructions for running Fermentrack in a LXC for Proxmox.
I backed up from my old install and uploaded and it looks to be working great.
Edit: The only thing that looks like it wasn't backed up were my Brewfather Push Targets, but everything else looks good.
Nope. Apparently I completely forgot to back them up. An issue has been opened on GitHub here.On the Brewfather push targets - I’ll take a look at that here shortly. They should have been backed up, but I may have missed something!
Those helper scripts got everything up and running very quickly. I started looking at the helper scripts and decided I didn't have enough time to figure it out.I had no idea helper scripts like that existed. I wonder if one could do a full Fermentrack install?![]()
Hi Thorrak,
I am trying to blank a raspberry pi screen with a PIR, and I have written this script - it runs OK buy only displays "display_blank 1 on the serial monitor and doesn't change - i replaced the pir with no change and have successfully run a test script to show that the PIR is working - the pir is on GPIO 23 (pin16) - what's wrong with the code.
import os
import time
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(23, GPIO.IN)
while True:
if GPIO.input(23):
os.system("vcgencmd display_power 1")
else:
os.system("vcgencmd display_power 0")
time.sleep(1)
Sounds good - I was more wondering if you were looking to display a screen with just a dashboard showing fermentation status (that you wouldn’t then be interacting with) or were looking to toggle a display that you would then be clicking around in. If the former, then it’s potentially a use case for a (future) KSTV integration. If it’s the latter, then this is definitely the way to go!I have three RPi's, one is running Magic Mirror, one is running Raspberry Pints and the last runs Fermentrack - what I would like to achieve is that when no-one is in the room the display goes black and turns back on when movement is detected. I will give this script a run and maybe modify it to work with the PIR. Thanks you are always helpful.
#!/usr/bin/env python
import os
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
cmd = 'xscreensaver-command -deactivate'
playsound = 'mpg321 /home/pi/tada.mp3'
PIR_PIN = 7
STATUS_PIN = 8
GPIO.setup(PIR_PIN, GPIO.IN)
GPIO.setup(STATUS_PIN, GPIO.OUT)
def MOTION(PIR_PIN):
os.system(cmd)
GPIO.output(8,True)
os.system(playsound)
GPIO.output(8,False)
try:
GPIO.add_event_detect(PIR_PIN, GPIO.RISING, callback=MOTION)
while 1:
time.sleep(100)
except KeyboardInterrupt:
GPIO.cleanup()
GPIO.cleanup()
playsound = 'mpg321 /home/pi/tada.mp3'
Aug 09 2023 01:26:07 Connection type WiFi selected. Trying TCP serial (WiFi)
Aug 09 2023 01:26:07 Connecting to BrewPi ***.153 (via ***.153) on port 23
Aug 09 2023 01:26:12 Successfully connected to controller.
Aug 09 2023 01:26:12 Notification: Script started, with no active beer being logged
Aug 09 2023 01:26:22 Checking software version on controller...
Aug 09 2023 01:26:23 Found BrewPi v0.2.4, running commit 2efdbfb build 2efdbfb, running on a ESP32 ESP32 with a DIY shield on port ***.153:23
Aug 09 2023 01:26:23 BrewPi version received was 0.2.4 which this script supports in 'legacy' branch mode.
Aug 09 2023 01:26:23 Bound to TCP socket on port 2120, interface localhost
Aug 09 2023 01:26:25 Installed devices received: [{"c": 1, "b": 0, "f": 2, "h": 1, "p": 25, "x": true, "d": false, "r": "Heat", "i": 0}, {"c": 1, "b": 0, "f": 5, "h": 2, "p": 13, "x": false, "d": false, "a": "288636C20700001A", "j": "0.000", "i": 1}, {"c": 1, "b": 1, "f": 9, "h": 2, "p": 13, "x": false, "d": false, "a": "280F2A07D6013CE8", "j": "0.000", "i": 2}, {"c": 1, "b": 0, "f": 3, "h": 1, "p": 26, "x": true, "d": false, "r": "Cool", "i": 3}, {"c": 1, "b": 0, "f": 7, "h": 1, "p": 34, "x": true, "d": false, "r": "Door", "i": 4}, {"c": 1, "b": 0, "f": 6, "h": 2, "p": 13, "x": false, "d": false, "a": "28358EC007000032", "j": "0.000", "i": 5}]
Aug 09 2023 01:26:26 Available devices received: []
Aug 09 2023 01:33:20 Controller debug message: WARNING 2: Temperature sensor disconnected pin 13, address 280F2A07D6013CE8
Aug 09 2023 01:33:20 Controller debug message: INFO MESSAGE 0: Temp sensor connected on pin 13, address 280F2A07D6013CE8
Aug 09 2023 01:40:31 Error: controller is not responding to new data requests. Exiting.
Aug 09 2023 01:40:10 Connection type set to 'auto' - Attempting serial first
Aug 09 2023 01:40:20 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 09 2023 01:40:20 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 09 2023 01:40:20 Exiting.
Aug 09 2023 01:40:20 Connection type set to 'auto' - Attempting serial first
Aug 09 2023 01:40:30 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 09 2023 01:40:30 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 09 2023 01:40:30 Exiting.
FIRMWARE VERSION BrewPi-ESP v0.15 (2efdbfb)
UPTIME Days: 1, Hours: 21, Minutes: 22, Seconds: 21
RESET INFORMATION Reason: ESP_RST_SW, Description: Software reset via esp_restart
HEAP INFORMATION Free Heap: 109572, Max: 86004, Frags: 22
There is a cut off error but that was on the 4th before we fixed the other problem, this is the full log.Do you see any errors in the process manager log?
num = len(clone)
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 262, in __len__
self._fetch_all()
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 1324, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 51, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1208, in execute_sql
return list(result)
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1646, in cursor_iter
for rows in iter((lambda: cursor.fetchmany(itersize)), sentinel):
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1646, in <lambda>
for rows in iter((lambda: cursor.fetchmany(itersize)), sentinel):
File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 97, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 97, in inner
return func(*args, **kwargs)
django.db.utils.ProgrammingError: no results to fetch
Sentry is attempting to send 2 pending events
Waiting up to 2 seconds
Press Ctrl-C to quit
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/weakref.py", line 657, in _exitfunc
pending = cls._select_for_exit()
File "/usr/local/lib/python3.9/weakref.py", line 638, in _select_for_exit
L = [(f,i) for (f,i) in cls._registry.items() if i.atexit]
File "/usr/local/lib/python3.9/weakref.py", line 638, in <listcomp>
L = [(f,i) for (f,i) in cls._registry.items() if i.atexit]
RuntimeError: dictionary changed size during iteration
Aug 05 2023 12:06:26 Connection type set to 'auto' - Attempting serial first
Aug 05 2023 12:06:36 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 05 2023 12:06:36 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 05 2023 12:06:36 Exiting.
Aug 05 2023 16:00:35 Connection type set to 'auto' - Attempting serial first
Aug 05 2023 16:01:01 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 05 2023 16:01:01 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 05 2023 16:01:01 Exiting.
Aug 05 2023 17:16:04 Connection type set to 'auto' - Attempting serial first
Aug 05 2023 17:16:14 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 05 2023 17:16:14 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 05 2023 17:16:14 Exiting.
Aug 06 2023 05:10:00 Connection type set to 'auto' - Attempting serial first
Aug 06 2023 05:10:15 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 06 2023 05:10:18 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 06 2023 05:10:22 Exiting.
Aug 06 2023 15:01:12 Connection type set to 'auto' - Attempting serial first
Aug 06 2023 15:01:22 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 06 2023 15:01:22 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 06 2023 15:01:22 Exiting.
Aug 07 2023 01:01:02 Connection type set to 'auto' - Attempting serial first
Aug 07 2023 01:01:12 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 07 2023 01:01:12 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 07 2023 01:01:12 Exiting.
Aug 07 2023 01:50:09 Connection type set to 'auto' - Attempting serial first
Aug 07 2023 01:50:19 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 07 2023 01:50:19 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 07 2023 01:50:19 Exiting.
Aug 07 2023 01:56:02 Connection type set to 'auto' - Attempting serial first
Aug 07 2023 01:56:12 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 07 2023 01:56:12 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 07 2023 01:56:12 Exiting.
Aug 07 2023 20:10:12 Connection type set to 'auto' - Attempting serial first
Aug 07 2023 20:10:22 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 07 2023 20:10:22 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 07 2023 20:10:22 Exiting.
Aug 07 2023 22:22:51 Connection type set to 'auto' - Attempting serial first
Aug 07 2023 22:23:01 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 07 2023 22:23:01 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 07 2023 22:23:01 Exiting.
Aug 08 2023 00:18:08 Connection type set to 'auto' - Attempting serial first
Aug 08 2023 00:18:18 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 08 2023 00:18:18 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 08 2023 00:18:18 Exiting.
Aug 08 2023 04:18:04 Connection type set to 'auto' - Attempting serial first
Aug 08 2023 04:18:14 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 08 2023 04:18:14 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 08 2023 04:18:14 Exiting.
Aug 08 2023 05:36:17 Connection type set to 'auto' - Attempting serial first
Aug 08 2023 05:36:27 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 08 2023 05:36:27 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 08 2023 05:36:27 Exiting.
Aug 08 2023 12:56:07 Connection type set to 'auto' - Attempting serial first
Aug 08 2023 12:56:17 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 08 2023 12:56:17 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 08 2023 12:56:17 Exiting.
Aug 08 2023 15:06:47 Connection type set to 'auto' - Attempting serial first
Aug 08 2023 15:06:57 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 08 2023 15:06:57 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 08 2023 15:06:57 Exiting.
Aug 09 2023 01:40:10 Connection type set to 'auto' - Attempting serial first
Aug 09 2023 01:40:20 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 09 2023 01:40:20 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 09 2023 01:40:20 Exiting.
Aug 09 2023 01:40:20 Connection type set to 'auto' - Attempting serial first
Aug 09 2023 01:40:30 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 09 2023 01:40:30 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 09 2023 01:40:30 Exiting.
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
INFO:processmgr:Settings: Start delay: 2s, Sleep Interval: 15s,
INFO:processmgr:New BrewPi device found: dev-3
INFO:processmgr:New BrewPi device found: dev-5
Aug 08 2023 22:32:50 Connection type set to 'auto' - Attempting serial first
Aug 08 2023 22:33:00 No serial attached BrewPi found. Trying TCP serial (WiFi)
Aug 08 2023 22:33:00 Invalid WiFi configuration for device - Cannot resolve wifi_host '' and no wifi_host_ip set
Aug 08 2023 22:33:00 Exiting.