Initial commit, 90% there

This commit is contained in:
mdares
2025-12-02 16:27:21 +00:00
commit 755028af7e
7353 changed files with 1759505 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python3
import json
with open('/home/mdares/.node-red/flows.json', 'r') as f:
flows = json.load(f)
# Find Fetch Graph Data node and change its wiring
for node in flows:
if node.get('id') == 'fetch_graph_data_node_id':
# Change wiring from db_guard_db_guard_graphs to format_graph_data_node_id
# This bypasses the database entirely
node['wires'] = [['format_graph_data_node_id']]
print("✓ Updated Fetch Graph Data to send directly to Format Graph Data (bypass DB)")
break
with open('/home/mdares/.node-red/flows.json', 'w') as f:
json.dump(flows, f, indent=4)
print("✓ flows.json updated - graphs should now receive data")