Met de volgende script heb ik de hoeveelheid events in HS terug kunnen brengen naar een per keyfob.
Ik had het graag met condities tot een event voor meerdere keys terug willen brengen maar dat is helaas niet gelukt.
[img]uploaded/Chak/200861152036_Key-name.gif[/img]
[img]uploaded/Chak/20086115214_Key-trigger.gif[/img]
[img]uploaded/Chak/200861152131_Key-action.gif[/img]
Sub Main(parms As String)
Dim i As Integer
i = hs.DeviceValue (parms)
Select Case i
Case 2
''ArmAwayMaxDelay
hs.TriggerEvent ("Alarm Arm")
Case 5
''Disarm
hs.TriggerEvent ("Alarm Disarm")
Case 9
''Lightson2
hs.TriggerEvent ("Alarm Lightson2")
End Select
'' Reset Keyfob
hs.SetDeviceValue (parms,0)
End Sub
Keyfob's in events
Forum over Homeseer scripts (DUTCH forum)
Return to “Homeseer Scripts Forum”
Jump to
- Forum matters
- ↳ News Forum
- ↳ Suggestions, Questions & Feedback
- Hardware Forum (English)
- ↳ Announcements & News Forum
- ↳ Questions & Discussions Forum
- ↳ Kickstarter, Indiegogo and other crowdfunding related smartthings
- ↳ Rfxcom Receivers & Transmitters Forum
- ↳ X10, A10 Xanura Marmitek Forum
- ↳ Z-Wave Forum
- ↳ Fibaro
- ↳ Plugwise Forum
- ↳ Gadgets Forum
- ↳ Visonic Alarm systems
- ↳ LEDS, DMX & Lights Forum
- ↳ Hvac, Heating Opentherm Forum
- ↳ Opentherm Gateway Forum
- ↳ Opentherm Gateway Forum (NL)
- ↳ Philips Pronto (TSU9600), IRtrans and other remotes
- ↳ Touchpanels, Displays & UMPC devices.
- ↳ 1-Wire Forum
- ↳ Click On Click Off & Home Easy
- ↳ Raspberry, Arduino, Cubietruck and other clones Forum
- ↳ Homematic, FS20, FHT, ESA and ELV
- ↳ PLCBUS Forum
- ↳ Smart Metering Forum
- ↳ ZigBee Forum
- ↳ Eneco Toon as Domotica controller
- Toon Thermostat Smart Home Automation controller (English)
- ↳ Toon news and information
- ↳ Manuals/tutorials
- ↳ Toon Apps
- ↳ Toon Rooting
- ↳ Toon Hardware
- ↳ Toon Firmware
- ↳ Toon external control
- ↳ Toon miscellaneous
- ↳ Toon software development
- ↳ Toon issues and support (Nederlands toegestaan)
- ↳ Toon wanted/for sale (Nederlands toegestaan)
- Software Forum (English)
- ↳ Announcements & News
- ↳ Questions & Discussions Forum
- ↳ Linux Forum
- ↳ Windows Forum
- ↳ DomotiGa Forum
- ↳ OpenHAB Forum
- ↳ MQTT & Node.js
- Projects Forum (English)
- ↳ Home Automation Projects
- ↳ Bwired Forum
- ↳ Who has a realtime website
- Homeseer Forum (Dutch Allowed)
- ↳ Homeseer algemeen Forum
- ↳ Homeseer Scripts Forum
- ↳ Homeseer HStouch Forum
- ↳ Homeseer Plugins Forum
- ↳ Homeseer Alphatronics Visonic receiver Plugin Forum
- ↳ Homeseer Buienradar monitor HS3 plugin
- ↳ Homeseer Fritz!box Plugin Forum
- ↳ Homeseer IPPower Plugin Forum
- ↳ Homeseer MQTT Plugin Forum
- ↳ Homeseer Nemef Radaris Evolution plugin Forum
- ↳ Homeseer P1 Smart Meter - Plugin HS3
- ↳ Homeseer Philips Hue - Plugin HS3
- ↳ Homeseer Plugwise Plugin Forum
- ↳ Homeseer PMIX35, CTX15, CTX35 - Plugin HS3
- ↳ Homeseer Rfxcom Plugin Forum
- ↳ Homeseer Thermostaat plug-in forum
- ↳ Homeseer Visonic Powermax plugin Forum
- ↳ Homeseer Xtreamer Plugin Forum
- Other (English)
- ↳ For Sale Forum (Dutch allowed)
- ↳ Miscellaneous Home Automation topics
- ↳ Security & Alarmpanels Forum
- ↳ Energycontrol & Home Automation Forum
- ↳ Webcams & Camera Stuff Forum
- ↳ Off Topic
- ↳ Downloads & Links Forum
- ↳ Domoticaboek Heino Peters
- ↳ Dealers Corner
- ↳ Domotica for Dummies Forum
- ↳ Groups purchases or -ideas
- ↳ Test