Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

How to dim a Hue lampe from KNX

SpaceLogic KNX Forum

Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • Light and Room Control
  • SpaceLogic KNX Forum
  • How to dim a Hue lampe from KNX
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Thomas_Rohde
Sisko Thomas_Rohde Sisko
121
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
54
Heribert_Dölger
Lt. Commander Heribert_Dölger Lt. Commander
30
FZetina
Lt. Commander FZetina Lt. Commander
27
View All
Related Products
product field
SpaceLogic KNX - 4ʺ Touch Unit
product field
KNX Push Button Dynamic Labeling, universal
product field
Wiser for KNX : logic controller

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SpaceLogic KNX Forum
Solved
Tommi_Jensen
Ensign Tommi_Jensen Ensign
Ensign

Posted: ‎2017-07-11 02:38 AM . Last Modified: ‎2024-07-14 11:52 PM

0 Likes
2
630
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-07-11 02:38 AM

How to dim a Hue lampe from KNX

Hi

I've have some Philip Hue lamp, connect to KNX via Homelynk.

I've want to dim them from a KNX push button (4 bit object)
Is there someone there has made a solution how to dim ?

Switch on/off and 0 - 100% is show in AN020 but not 4 bit object

BR

Tommi Jensen

  • Thumbnail of SpaceLogic KNX - 4ʺ Touch Unit
    SpaceLogic KNX - 4ʺ Touch Unit
  • Thumbnail of KNX Push Button Dynamic Labeling, universal
    KNX Push Button Dynamic Labeling, universal
  • Thumbnail of Wiser for KNX : logic controller
    Wiser for KNX : logic controller
View products (3)
Tags (2)
  • Tags:
  • homelynk
  • knx
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Tommi_Jensen
Ensign Tommi_Jensen Ensign
Ensign

Posted: ‎2017-08-09 12:42 AM

1 Like
0
577
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-08-09 12:42 AM

Hi Pawel

Thanks for the answer, there was a small bug in the script, but it working just fine now, see below

Br.

Tommi

--oprettes som permanent script med 0s

objekt_in_4b = grp.getvalue('1/0/4')
objekt_out_1B = '1/0/6'

skok = bit.band(objekt_in_4b, 0x07)
if skok ~= 0 then
 
  brighter = bit.band(objekt_in_4b, 0x08) ~= 0
  aktualna = grp.getvalue(objekt_out_1B)   ------ This was corrected from grp.getaktualna to grp.getvalue

 
  if brighter then  nastepna = aktualna + 5
  else nastepna = aktualna - 5
  end
 
  nastepna = math.min(nastepna, 100)
  nastepna = math.max(nastepna, 0)


  if aktualna ~= nastepna then
    grp.write(objekt_out_1B, nastepna)
  end
end


os.sleep(0.25)

See Answer In Context

Reply
Replies 2
Anonymous user
Not applicable

Posted: ‎2017-07-14 01:57 AM

1 Like
0
577
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-07-14 01:57 AM

I'm not sure how fast we can send information to hue lamps via homeLYnk, but below you'll find a simple script which converts dimming object to value object (Resident script with interval 0s):

obiekt_in_4b = grp.getvalue('6/0/1')

obiekt_out_1B = '6/0/2'

skok = bit.band(obiekt_in_4b, 0x07)

if skok ~= 0 then

  brighter = bit.band(obiekt_in_4b, 0x08) ~= 0

  aktualna = grp.getvalue(obiekt_out_1B)

  if brighter then   nastepna = aktualna + 5

  else nastepna = aktualna - 5

  end

  nastepna = math.min(nastepna, 100)

  nastepna = math.max(nastepna, 0)

  if aktualna ~= nastepna then

    grp.write(obiekt_out_1B, nastepna)

  end

end

os.sleep(0.25)

Reply
Tommi_Jensen
Ensign Tommi_Jensen Ensign
Ensign

Posted: ‎2017-08-09 12:42 AM

1 Like
0
578
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2017-08-09 12:42 AM

Hi Pawel

Thanks for the answer, there was a small bug in the script, but it working just fine now, see below

Br.

Tommi

--oprettes som permanent script med 0s

objekt_in_4b = grp.getvalue('1/0/4')
objekt_out_1B = '1/0/6'

skok = bit.band(objekt_in_4b, 0x07)
if skok ~= 0 then
 
  brighter = bit.band(objekt_in_4b, 0x08) ~= 0
  aktualna = grp.getvalue(objekt_out_1B)   ------ This was corrected from grp.getaktualna to grp.getvalue

 
  if brighter then  nastepna = aktualna + 5
  else nastepna = aktualna - 5
  end
 
  nastepna = math.min(nastepna, 100)
  nastepna = math.max(nastepna, 0)


  if aktualna ~= nastepna then
    grp.write(objekt_out_1B, nastepna)
  end
end


os.sleep(0.25)

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of