node-red-contrib-image-tools icon indicating copy to clipboard operation
node-red-contrib-image-tools copied to clipboard

Issue with printing values and pulling images through payload

Open Smurfy37 opened this issue 11 months ago • 0 comments

Hi im a massive noob with this tool ive been working hard to make it work but im not getting anywhere soon ive got a few things ive tried but i feel the best way i can describe whats happeneing is if i explain how i want my node red flow to work

In my home i have some Sonoff Smart radiator valves and ive noticed my office temperature fluctuates quite a lot throughout the day therefor i needed a way to monitor it passively without having to access my app constantly to check ive got a sonoff iHost which has the node red container installed this allows me to access the data the valves send back when they check in with this data ive been able to compile a live RSS feed that allows me to pipe values into my browser this works perfect but i realised im still having the problem of not being able to passively monitor this is where this contrib came into the picture (Pardon the pun) ive been working on some Hanshow Nebula electronic price tags that are able to wirelessly update via an AP this system has a feature where you can pull images from a URL ive managed to pipe the value from the radiator valve into a picture to display on the image however to do this ive had to use an external URL to pull a blank white image in for a background to print the variable payload onto this limits my options since im unable to print any more variables later on in the flow onto the same image as im piping the image via payload and any attempt to pipe both an image and text data via payload input results in the following error

"Error: ENOENT: no such file or directory, open '18.4°C'" "TypeError: Cannot read properties of undefined (reading 'replace')"

i also have an issue where my resulting image which admittedly is small has some effect around letter characters like theres some compression going on even tho ive set quality to 100 ive tried to correct for this by applying a threshold filter to correct any colour that isnt 255 to 0 because these small epaper screens only accept black white or red its causing fuzzy text to display im hoping theres a way to resolve this as this will make my endevour completely pointless

i understand this is a massive paragraph and i apologize for any stupid questions but ive even consulted chatgpt and ive experimented with combining text and image data into a payload to send and it doesnt like that so im a little bit stumped as to how to proceed i offer a donation to yourself for any help as i understand providing a support service consumes your time and we all know time is money. Thanks for your time.

image image img1

Smurfy37 avatar Mar 22 '24 17:03 Smurfy37