Newbie here, I'm using a dragino LPS8-V2 and was hoping to get started with a "simple" climate gauge.
I set the LHT52 sensor up with the codec here: https://github.com/dragino/dragino-end-node-decoder/blob/main/LHT52/LHT52%20Decoder%20Chirpstack%20V4%20.txt
After I got the sub-channels worked out, I got an error
"JS error: Error: str_pad is not defined at Decode (eval_script:95:3) at decodeUplink (eval_script:4:26) at (eval_script:104:22) "
The vendor has not been responsive. Maybe this was the wrong thing to do, but, I took out the str_pad key words and now the error is gone. Pretty sure the code is subtly wrong, because there's no other data. Is there a way to debug the codec?
This is all very new to me, so I am not sure what my options are.
I can hope the vendor comes back with a patch?
Is there a way for me to get the message out of a mosquitto topic? And then I assume I need to decode the message body. Am I missing something?
Finally, if someone can recommend another indoor temperature sensor available in the U.S., that would be great.
"JS error: Error: str_pad is not defined at Decode (eval_script:95:3) at decodeUplink (eval_script:4:26) at <eval> (eval_script:104:22) "