This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node red -> signalK. Data not showing
#10
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


Code:
sudo nano ./.signalk/red/node_modules/node-red-node-pi-sense-hat/sensehat

and change this line  

Code:
#!/bin/bash

python_cmd='python3'
to
Code:
#!/bin/bash

python_cmd='python'

Great result. Thank you PaddyB for your help

   


Attached Files Image(s)
   
Reply


Messages In This Thread
Node red -> signalK. Data not showing - by kniven - 2022-01-30, 09:03 PM
RE: Node red -> signalK. Data not showing - by kniven - 2022-02-01, 06:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)