Momentary button - HD+ Android Dashboard

just noticed a link to this thread (I'm not used to looking at other threads for HD+ but with the number of posts it's probably not a bad idea)

I think I understand what you're asking but might need some more information.

i have set the device (switch) with AUTO-OFF after 5 sec

You've got a Hubitat switch device which turns off after 5 seconds.

there is no one that just acts like a momentary button, iow button graphics should return to off state when released

  • When you click the switch tile in HD+ it sends the 'on' command to this device which will temporarily change the icon to the 'on' state -- in this case that unlock icon.
  • The app should receive a push update (or polling if you're in cloud mode) saying that this switch device is indeed 'on'
  • A few seconds later, the switch automatically changes it's state to 'off'
  • HD+ should receive another push update saying the switch is now 'off' and it'll display the off icon (assuming that's a locked image)

Does that sound about right? So the question I have is -- is HD+ getting an update that the switch changed back to 'off'? Maybe the auto-off switches don't send out updates via the /eventsocket (push events)

The app will eventually poll for the current state of the switch but it's not very frequently when you're connected locally to the Hub (no need to poll when we get push updates). Maybe this is a special case where HD+ should poll but I'd only want to do it for these auto-off switches - and I'm not sure the app can tell.

3 Likes