2022-02-01, 06:32 PM
So, to recap. There is a bug in the node-red implementation. When selecting BOTH of the outputs "environment" and "motion" from the sense hat, only the motion data was available in node-red...
I found the solution here:
The solution was to change the default python from python3 to python2 (python) in this file
and change this line
to
Great result. Thank you PaddyB for your help
I found the solution here:
The solution was to change the default python from python3 to python2 (python) in this file
Code:
sudo nano ./.signalk/red/node_modules/node-red-node-pi-sense-hat/sensehat
and change this line
Code:
#!/bin/bash
python_cmd='python3'
Code:
#!/bin/bash
python_cmd='python'
Great result. Thank you PaddyB for your help