I have connected a CCS811 sensor with Raspberry PI and I have written a python script to output/print the sensor values. It works fine in the linux terminal.
What are the methods to read the sensor data in Node-red and export it to a MQTT broker?
PS: I am a bit new to Node-red programming and Raspberry Pi