SlideShare a Scribd company logo
1 of 18
XXTER Training
  ADVANCED
   Harm Elzinga
  Freddy van Geel
Advanced training
• IP camera’s
   – instellen en weergeven van ip camera's.
• IP intercomsystemen
   – instellen en weergeven van ip intercom systemen.
• Triggers
   – het starten van een actie na een gebeurtenis is knx.
• Waarschuwingsservice
   – instellen van sms, push notification en email waarschuwingen.
• Logische functies en scripts
   –   het gebruiken van de zeer uitgebreide logische mogelijkheden.
   –   Basis logica; EN - OF - XOF.
   –   Rekenen; waarden optellen, aftrekken, vermenigvuldigen, delen enz.
   –   Geavanceerde logica; IF, THEN, ELSE - Variabelen gebruiken enz.
IP camera instellen
IP intercomsysteem instellen
Oefening
• Stel een ip camera in:
• Stel daarna een ip intercom systeem in:
Element visualisatie
Oefening
• Stel een element in met 1 camera
• Wat zijn de mogelijkheden?
Waarschuwingsservice
Oefening
• Stel je eigen intercom waarschuwing in
Triggers
Oefening
• Stel een trigger in:
  – Bij een druk op de deurbel geef een pop-up
  – Spring naar de pagina waarop de camera staat
Logische functies en scripts
•   Basic logica; EN - OF - XOF.
•   Rekenen; waarden optellen, aftrekken, vermenigvuldigen, delen enz.
•   Geavanceerde logica; IF, THEN, ELSE - Variabelen gebruiken enz.
Beschikbare operatoren
&      |       <         >        <>       +       -      /       ^
EN     OF    Kleiner   Groter    On-     Plus    Min    Deel    Macht
               dan      dan     gelijk                  door


IF    THEN    ELSE     WHILE    BEGIN    END    START   STOP   RESTART
Als   Dan    Anders    Zolang   Begin    Stop   Start   Stop     Start
                                                               opnieuw


SET   FADE    TO        IN      STEP     CALL   WAIT
Zet    Ga    Naar        In     Stap     Roep   Wacht
OEFENING:
                                 EN poort
Zet een bit met op een “1”, als 2 andere bits allebei “1” zijn.

IF [BIT 1] = 1 & [BIT 2] = 1
 SET [BIT 3] TO 1
Alle waarden zijn mogelijk:
IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2]
 SET [BIT 3] TO [WAARDE 3]
Ook met byte waarden (= of > of <)
IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] & [BYTE 1] > [WAARDE 1]
 SET [BIT 4] TO [WAARDE 4]
Byte waarde sturen:
IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] & [BYTE 1] = [WAARDE 1]
 SET [BYTE 4] TO [WAARDE 4]
OEFENING:
                                 OF poort
Zet een bit met op een “1”, als één van 2 andere bits “1” zijn.

IF [BIT 1] = 1 | [BIT 2] = 1
 SET [BIT 3] TO 1
Alle waarden zijn mogelijk:
IF [BIT 1] = [WAARDE 1] | [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3]
 SET [BIT 4] TO [WAARDE 4]
Ook met byte waarden (= of > of <)
IF [BIT 1] = [WAARDE 1] | [BIT 2] = [WAARDE 2] | [BYTE 1] < [WAARDE 1]
 SET [BIT 4] TO [WAARDE 4]
Byte waarde sturen in tijd:
IF [BIT 1] = [WAARDE 1] | [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3]
 FADE [BYTE 4] TO [WAARDE 4] IN [TIJD]
OEFENING:
                      combi EN/OF poort
Zet een bit met op een “1”, als één van 2 andere bits “1” zijn.

IF [BIT 1] = 1 & [BIT 2] = 1 | [BIT 3] = 1
 SET [BIT 4] TO 1
Alle waarden zijn mogelijk:
IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3]
 SET [BIT 4] TO [WAARDE 4]
Indien nodig haken gebruiken!
IF [BIT 1] = [WAARDE 1] & ( [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] )
 SET [BIT 4] TO [WAARDE 4]
Byte waarde sturen in tijd met stappen van:
IF [BIT 1] = [WAARDE 1] & ( [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] )
 FADE [BYTE 4] TO [WAARDE 4] IN [TIJD] STEP [WAARDE]
Voorbeeld rekenen
                        (parkeerdek)
Als er 50 auto’s op het parkeerdek zijn, moet een rode lamp aan gaan.
Haal “1” van een waarde af als een auto eruit gaat:
IF [SENSOR BIT] = 0
 $TELLER = [BYTE TELLER] – 1

Tel “1” bij een waarde op als een auto binnen gaat:
IF [SENSOR BIT] = 1
 $TELLER = [BYTE TELLER] + 1

De huidige teller waarde naar bus schrijven (indien nodig):
SET [BYTE TELLER] TO $TELLER

Zet stoplicht aan/uit (meer dan 50 autos = lamp aan)
IF $TELLER > 50
 SET [STOPLICHT BIT] TO 1
ELSE
 SET [STOPLICHT BIT] TO 0
Voorbeeld rekenen/regelen
                   (daglicht regeling)
De verlichting moet branden in functie van de zonnesterkte:
Waarde van de zonnesensor:
$ZON = [2BYTE ZONNESTERKTE]
Instellen regeling (^ ½ = worteltrekken dit gedeeld door 2 geeft een mooie waarde: 10k lux => 50):
$REGELING = ($ZON ^ (1/2) ) / 2
Als de waarde boven 100 is, zet verlichting op 100%:
IF ($REGELING > 100)
 $REGELING = 100
Berekenen lichtniveau: waarde = 100 (%) – waarde:
$REGELING = 100 - $REGELING
Als het niveau onder 20% is mag het licht uit:
IF $REGELING < 20
 $REGELING = 0
Stuur de waarde van de verlichting naar de berekende waarde:
FADE [VERLICHTING] TO $REGELING IN 1 MIN

More Related Content

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Xxter training advanced v1 sept 2012

  • 1. XXTER Training ADVANCED Harm Elzinga Freddy van Geel
  • 2. Advanced training • IP camera’s – instellen en weergeven van ip camera's. • IP intercomsystemen – instellen en weergeven van ip intercom systemen. • Triggers – het starten van een actie na een gebeurtenis is knx. • Waarschuwingsservice – instellen van sms, push notification en email waarschuwingen. • Logische functies en scripts – het gebruiken van de zeer uitgebreide logische mogelijkheden. – Basis logica; EN - OF - XOF. – Rekenen; waarden optellen, aftrekken, vermenigvuldigen, delen enz. – Geavanceerde logica; IF, THEN, ELSE - Variabelen gebruiken enz.
  • 5. Oefening • Stel een ip camera in: • Stel daarna een ip intercom systeem in:
  • 7. Oefening • Stel een element in met 1 camera • Wat zijn de mogelijkheden?
  • 9. Oefening • Stel je eigen intercom waarschuwing in
  • 11. Oefening • Stel een trigger in: – Bij een druk op de deurbel geef een pop-up – Spring naar de pagina waarop de camera staat
  • 12. Logische functies en scripts • Basic logica; EN - OF - XOF. • Rekenen; waarden optellen, aftrekken, vermenigvuldigen, delen enz. • Geavanceerde logica; IF, THEN, ELSE - Variabelen gebruiken enz.
  • 13. Beschikbare operatoren & | < > <> + - / ^ EN OF Kleiner Groter On- Plus Min Deel Macht dan dan gelijk door IF THEN ELSE WHILE BEGIN END START STOP RESTART Als Dan Anders Zolang Begin Stop Start Stop Start opnieuw SET FADE TO IN STEP CALL WAIT Zet Ga Naar In Stap Roep Wacht
  • 14. OEFENING: EN poort Zet een bit met op een “1”, als 2 andere bits allebei “1” zijn. IF [BIT 1] = 1 & [BIT 2] = 1 SET [BIT 3] TO 1 Alle waarden zijn mogelijk: IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] SET [BIT 3] TO [WAARDE 3] Ook met byte waarden (= of > of <) IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] & [BYTE 1] > [WAARDE 1] SET [BIT 4] TO [WAARDE 4] Byte waarde sturen: IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] & [BYTE 1] = [WAARDE 1] SET [BYTE 4] TO [WAARDE 4]
  • 15. OEFENING: OF poort Zet een bit met op een “1”, als één van 2 andere bits “1” zijn. IF [BIT 1] = 1 | [BIT 2] = 1 SET [BIT 3] TO 1 Alle waarden zijn mogelijk: IF [BIT 1] = [WAARDE 1] | [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] SET [BIT 4] TO [WAARDE 4] Ook met byte waarden (= of > of <) IF [BIT 1] = [WAARDE 1] | [BIT 2] = [WAARDE 2] | [BYTE 1] < [WAARDE 1] SET [BIT 4] TO [WAARDE 4] Byte waarde sturen in tijd: IF [BIT 1] = [WAARDE 1] | [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] FADE [BYTE 4] TO [WAARDE 4] IN [TIJD]
  • 16. OEFENING: combi EN/OF poort Zet een bit met op een “1”, als één van 2 andere bits “1” zijn. IF [BIT 1] = 1 & [BIT 2] = 1 | [BIT 3] = 1 SET [BIT 4] TO 1 Alle waarden zijn mogelijk: IF [BIT 1] = [WAARDE 1] & [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] SET [BIT 4] TO [WAARDE 4] Indien nodig haken gebruiken! IF [BIT 1] = [WAARDE 1] & ( [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] ) SET [BIT 4] TO [WAARDE 4] Byte waarde sturen in tijd met stappen van: IF [BIT 1] = [WAARDE 1] & ( [BIT 2] = [WAARDE 2] | [BIT 3] = [WAARDE 3] ) FADE [BYTE 4] TO [WAARDE 4] IN [TIJD] STEP [WAARDE]
  • 17. Voorbeeld rekenen (parkeerdek) Als er 50 auto’s op het parkeerdek zijn, moet een rode lamp aan gaan. Haal “1” van een waarde af als een auto eruit gaat: IF [SENSOR BIT] = 0 $TELLER = [BYTE TELLER] – 1 Tel “1” bij een waarde op als een auto binnen gaat: IF [SENSOR BIT] = 1 $TELLER = [BYTE TELLER] + 1 De huidige teller waarde naar bus schrijven (indien nodig): SET [BYTE TELLER] TO $TELLER Zet stoplicht aan/uit (meer dan 50 autos = lamp aan) IF $TELLER > 50 SET [STOPLICHT BIT] TO 1 ELSE SET [STOPLICHT BIT] TO 0
  • 18. Voorbeeld rekenen/regelen (daglicht regeling) De verlichting moet branden in functie van de zonnesterkte: Waarde van de zonnesensor: $ZON = [2BYTE ZONNESTERKTE] Instellen regeling (^ ½ = worteltrekken dit gedeeld door 2 geeft een mooie waarde: 10k lux => 50): $REGELING = ($ZON ^ (1/2) ) / 2 Als de waarde boven 100 is, zet verlichting op 100%: IF ($REGELING > 100) $REGELING = 100 Berekenen lichtniveau: waarde = 100 (%) – waarde: $REGELING = 100 - $REGELING Als het niveau onder 20% is mag het licht uit: IF $REGELING < 20 $REGELING = 0 Stuur de waarde van de verlichting naar de berekende waarde: FADE [VERLICHTING] TO $REGELING IN 1 MIN