Arduindo Firmata Digital Pin Sensor Payload

I fairly new at this.

I am using an Arduino Uno, running 2 sensors: 1 analogue (soil moisture) and 1 digital (temperature).

When running the Arduino IDE with self written sketch, the console results are fine, i.e. I get accurate readings.

When I switch to Node Red using the Firmata sketch, I get accurate readings from the Adruino-In (analogue) node, but on the digital node, the payload only returns a 1.

What have I overlooked? Thanks in advance.

Fairly old thread, but I would be interested to know if/how you can pull sensor data (analog/digital) using Firmata.

Yes the arduino node will send data when it changes