I apologize for the amount of new posts I've been putting in as a new user but this seems the best front to get answers!! :)
I'm getting through some pretty advanced configs (in my mind at least) for temperatures, sunsets for lighting, automated alarming, etc. I've gone through and for the most part chose to work mostly with sendCommand arguments, and for rulers checking if an item changed from x to y or changed in general. Now the question I have (that I think I've finally come to identify) but want to validate:
What is the difference between the 2 and why use one over the other?
I think the answer is as follows, but looking for some validation:
sendCommand or use of Item received command
Used for actually sending a command to a device. In case of a physical device connected to something like a switch, this will actually issue the command to the device for ON or OFF. In cases of rule triggering, this is looking to validate that a device has actually received a Command as well (i.e. through an OpenHAB item switch being toggled in an app or browser, or a device in real world receiving an actual toggle of the light switch).
postUpdate or use of Item received update
Used for avoiding the need to send a Command to a device and change a physical state, it will just tell OpenHAB to update the value it has currently stored? I can postUpdate for a (Item LightSwitch) to OFF for example, and this will not actually change the light switch physical device to an OFF state. So this could be used to alter states in OpenHAB, but not affect the actual state of a device?
On the second explanation, I'm not exactly certain I can understand the specific use cases that could arise for this, but that's what I've been able to come up with as the differences for these 2 options. Someone please clarify if I'm off base, or if I'm correct help solidify my understanding.