rsmeral / scd4x-node

Node.js library for Sensirion SCD40 and SCD41, the CO2, temperature, and humidity sensors.
MIT License
1 stars 1 forks source link

Tried in node-red but failed #1

Open systemicWorld opened 10 months ago

systemicWorld commented 10 months ago

Hey Ron, were you able to test this with a SCD4x? I've got a SCD40 that I'm unable to get working with node red.

I know the sensor and wiring are good because the supplied test program from Sensirion prints good data to the console. Unfortunately, Sensirion's test code is written in C.

I'm going to try and get this working, I'm not familiar with typeScript is there any reason why this has to be typescript?

rsmeral commented 9 months ago

Hi @systemicWorld, there was a bug (https://github.com/rsmeral/scd4x-node/commit/306b88861de161d9737813e4973474ec331d9687) which is now fixed.

Also – I've published a node to the Node-RED library – node-red-contrib-scd4x.

In case it's still relevant – give it a go and let me know if it still doesn't work. And sorry for the delay – competing priorities.

rsmeral commented 9 months ago

is there any reason why this has to be typescript?

Doesn't have to be, it's just the language I prefer.