The sense hat appeared to install ok, however in the property sheets there is no opportunity to edit the topic or the payload. Is this a common config issue or not? please
pi@raspberrypi:~/.node-red/node_modules
pi@raspberrypi:~/.node-red/node_modules
pi@raspberrypi:~/.node-red/node_modules $ npm install node-red-node-pi-sense-hat
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
node-red-node-pi-sense-hat@0.0.18
updated 1 package and audited 242 packages in 5.062s
3 packages are looking for funding
run npm fund for details
Thanks for the response, I understand what your saying. Clearly I am not understanding how this node works. I want to take the outputs and send them out via an MQTT message.
You can connect the SenseHat node straight to an MQTT node and it will publish the messages using the topic set by the SenseHat node, unless you hardcode a topic in the MQTT node.
Or you can add a Change node to customise the topic before passing it to the MQTT node.
2nd attempt now I've found my glasses
If you connect a debug node - you can see that its sending the motion and the environment info out as two separate messages (with a joystick message when you do something with it)
Thanks for all the responses, I have connected it to debug and MQTT nodes etc, however I am going to rebuild the machine I have NR running on as it has been bashed around a good deal and I would not be surprised if there a few issues. This morning the palette no longer recognises the hat nodes at all. time for a lobotomy and restart....
From a UI design point of view, I'd suggest putting each topic input below the corresponding checkbox and enable/disable the input according to the selection.
And I wouldn't separate out the prefix as its just another thing a user has to then mentally parse and understand, rather than just seeing the explicit topics being used.