It has been a while since I contacted you. I have been working on a number of different projects, but am circling back again to pick up my Cayenne projects and was hoping to extend them a bit… I see there has been a lot of new effort put in and it looks great :).
The reason I am contacting you today is that I wanted to see if there is a way to get time information on the dashboard. Specifically I am wanting to start a timer when a physical event happens and then have the dashboard display the elapsed time until a second physical event happens etc. What I am trying to get to is a monitoring system for my CNC mills and I want to show the run time of the machine. I would love to be able to track the run time for a given part as well as for the machine itself (how long has this part been running? how long since it stopped? how many hours has the machine been running total? etc., etc. etc.).
I also have a need to be able to look at two inputs and if there is a specific combination of those inputs then trigger an alert. What I am trying to do here is monitor both the spindle motor and the coolant pump and if the coolant pump is on but the spindle motor isn’t, then the machine has going into error and I want to get an alert. I can make it alert me when the machine turns off the spindle, but I don’t know if it went into error, or if it finished normally.
If I had the ability (on the Pi) to be able to run a script from within the Cayenne environment and pass a couple of variables back and forth, then I think I could handle all of this. I noticed that there is something like this on the Arduino side, but I didn’t see anything on the Pi side. Did I miss something :)???
Anyway, just wanted to ask a couple of questions and say hi! I saw an interview online with you and your companies CEO I think it was and it was good to see you still working on this.
Look forward to catching up.