Commit cc16f53
committed
I’ve pushed a new update to MMM-SenseHat with the following changes:
Made the module multi-instance safe: the node helper now tracks instances by identifier, keeps one polling loop per instance, and routes data/LED commands back to the correct frontend.
Improved error handling: Python spawn failures, non-zero exits, invalid JSON, and helper-reported errors are now forwarded as { error: ... } to the UI so the module can render a clear error state.
Added support for pythonName as an alias for pythonPath, to align with MMM-PythonPrint and make configuration more familiar.
Updated the README with details on multi-instance usage, Python path options (pythonPath / pythonName), and styling via .MMM-SenseHat .mmm-sensehat.1 parent 5236363 commit cc16f53
2 files changed
+0
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 107 | | |
134 | 108 | | |
135 | 109 | | |
| |||
0 commit comments