Hey guys,
I’ve built a piston to call the URL GET of my power wall and check the stats and status of the power wall. It will look at a variable to see whether it has disconnected from the grid or is established to the grid and then update a global variable with the status. This action gets run every minute
I then have another piston set with no timers and basic if statements which say, if power wall_status = grid_connected then push notify me that its connected to grid, if wall_status = grid_disconnected push notify me that its not connected to the grid.
I would expect that this would only happen on a state change, however the reality is I’m getting a message every minute stating that Im connected to the grid.
So my question, how do i get actions to only take place on change?
Many thanks
Barry