Hi all please find attached 2 text files containing the 2 flows i have been working on. I started some time ago and it soon became a vast mess as i slowly came to grips with node red, not that i have got it yet..
this project did span over 6 flows before i found a node already published doing a lot of what i was relying on a python daemon task to accomplish.
ive managed to reduce the main action flow down from 263 nodes to 13. granted that did contain a few test injection/function/publish node combos
Whats left undone is:
The reacting to events(mqtt publications) raised for warning or action levels
(trivial, that was the 1st thing i sussed, coms with my devices and setting up an email server.. )
The Gui, Yeah, never was something that rang my bells so please advise...
any advice on how to maintain a useful visual display of 4 x graphs and the controls to set user configurable variables. so far i have only implemented 1 set of 7x ui controls, it would be nice to accommodate another 4 sets of 7 tho if a 2nd tab is needed for that , yuk !
could i overlay all the ui controls over the current set and bring them to the foreground by selection for example?
maintaining the global variables set by the gui between system stops n starts,
fairly trivial, i think, i have stores for the collected data so i think i can get there ok..
the main action performed by this system will be to trigger sonoff devices flashed with tasmota to turn on when watering of a plant or area is determined to be below the MML Minimum Moisture Level, these will be configured with the Pulsetime command to shut off after delivering a required volume of water determined by duration and testing already done delivery rate (2l per minute)
all thats needed is to send the Power1 1 command via mqtt.
email warnings will be raised if any other measured value falls outside the optimum range.
in addition a good node java script language reference text recommendation would be great,
i bought a node.js book published by O'Rielly which included a few commands but was hardly a language reference more a sbc catalog ;(
Thanks in advance for any input
**EDIT in order to use my flows the uber sexy 'node-red-contrib-xiaomi-ble' will probably need installing via the palette manager
*** second edit file ver2 includes the features stricken out from the missing list above.
background flow2.txt (7.9 KB)