Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dimming a scene

Featured Replies

Posted

I know this has been asked before but I can not find the thread that discussed it.  I want to set a scene to a specific brightness using the rest command described in the developers SDK  to wit:

 

  /rest/nodes/<node-id>/cmd/<command_name>/<param1>/<param2>/.../<param5>

   eg:
   /rest/nodes/<node-id>/cmd/DOF - turn off a device or a scene
   Insteon - /rest/nodes/<node-id>/cmd/DON/128 - turn on a scene to 50%

 

I send the command to a scene using the managed scene address.

The response is succeeded=true status 200 However the scene intensity goes to 100%. it is as if the value after the DON is disregarded.

 

I sort of remember there being a BMAN BMAN/1 and an SMAN command that will dim and brighten scenes.  Is this described anywhere?

 

Any assistance appreciated
 

 

 

You can only turn on or off a scene. You cannot turn it on to some level other than 100%. For that, you'll need separate scenes.

 

When the address is a scene address, the number after DON is ignored. It's only useful for devices.

 

This is because a scene is a logical construct of a specific combination of devices, each with a specific brightness. Scenes have no status, and no 'current level'.

Edited by MWareman

  • Author

Okay so the documentation is wrong. I do remember a BMAN (begin brightness) that if sent would start raising the brightness level until a termination command (SMAN as I recall) was sent. I am sure this worked but I can not recall the format of the commands. can any one point me to info on these commands?

 

Perhaps  what I am remembering only applied to devices.  I hate when I can't remember stuff

Edited by barrygordon

  • Author

MWareman.  Thanks I just realized what you said about the operation of a scene. Since I am running on an iPad The only solution I see, if I want to be able to set the light level of a scene is to adjust all the scene members which are "Dimmers".

 

What confused me is that in the Admin console when you look at a scene there are buttons to brighten it and dim it, and the percentage of illumination of each member is also shown.  The scene I look at only had dimmable devices so it appeared that the illumination % was for the entire scene. 

 

I now have to decide if it is worth the effort to write the code or just leave it that scenes in my home cannot be easily dimmed from the ipads. 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.