ok will head back there again .. was reading through it last night and was just getting to be information overload again
feeling quite bamboozled
@devyte thank you kindly for the advice
NP, and research more. That's the nature of developing in such systems: you need to investigate a whole lot, and figure out how to put all the pieces together. BTW, I strongly suggest keeping your SPIFFS files small: small html, small js files, small css, etc. where small means few KB. I do NOT recommend implementing one huge html with embedded html/js/css, and certainly not html/js/css embedded in your C/C++ app code
@devyte ... plan is to keep files tiny and minified
i think even using the json library might be excess bloat as i was previously on the arduino using in memory only as structs and arrays
would actually prefer to just keep it that way but need the spiffs/SD part to store the events data and state
after a power failure data must be read back into the relevant array(s)
@denman0000_gitlab Sorry but I fell asleep again! Big days at work are too much for this old dog apparently.
@denman0000_gitlab You can have a local json library stored on spiffs or embedded. It doesn't have to be remotely accessed.
@moose4621@ashthespy I found the problem that was confusing me .. turns out I was reading the wrong filename fromspiffs for my .js aaargh LOL go figure...So I have my string coming through in the payload and printf shows the line as I need and want it : value,value,value, etc. Now I just need to know how to save the payload data as a line in SPIFFS ... I currently can write or append to a file on spiffs but can't get the Variable type correct :-(
haha, hi @denman0000_gitlab
has anyone played around with small servos? why do they jitter so much when i try to drive them from the ESP?
@skorokithakis Hi .. sorry man I can't help there .. but maybe too much current drain ? maybe not sustained current ?
@skorokithakis Just a thought
I don't think so, it just jitters while sitting there
maybe its noise ? Perhaps feedback ? try pop a low drop diode into feed for servo ?
maybe a snubber circuit needed ?
I have in the past found that as an issue when driving mechanical relays ( they have a coli too) inductive load