Hi,
As a private project I'm working on connecting/integrating my SmartThings sensors to my DigitalStrom system. Target for first step is to integrate the SmartThings "Multipurpose Sensors" (https://www.smartthings.com/products/smartthings-multipurpose-sensor) as simple "open" / "close" sensors into DS. (next step maybe even the temperature and vibration sensor)
With a bit of help from Christoph Hofmann I managed to get the sensor already working via his DS IFTTT tool. (via user defined actions & user defined states). He suggested me to use plan44 to have a much better integration with DS.
Therefore I setup the plan44 open source vdcd on my RPI 3. Now I'm wondering which would be the best type of group or Sensor to setup in vdcd to represent the door sensor (as first step 2 states are fine / “open” & “close”, next step multi sensor with also temperature and vibration sensor).
Up to now I tried “green” / group 7 and “red” / group 6, yet I couldn’t use the sensors in DS to trigger any user defined action.
Another question which came up reading the user manual: how is the “tag name” derived / how can I tell which letter to use to communicate with the virtual sensor/device?
from “plan44 vdcd external device API.pdf”, page 21
[..]
telnet localhost 8999
Now copy and paste (single line!!) a simple init message defining a light button:
{'message':'init','protocol':'simple','uniqueid':'experiment42','buttons': [{'buttontype':1,'group':1,'element':0}]}
[..]
B0=250 For dimming, the button can be held down...
B0=1
[..]
Where is “B0” coming from/how to tell which “tag” to be used for communicating with the sensor
Thanks for your help
Hendrik
{"message":"init","protocol":"simple","uniqueid":"fbc12647-e692-4911-aaa4-578424d14036","name":"Door Sensor","group":8,"vendorname":"SmartThings","iconname":"SmartThings_icon","inputs":{"inputtype":14,"hardwarename":"Door Sensor"}}
--
Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe "plan44_vdcd" sind.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an plan44_vdcd...@googlegroups.com.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an plan4...@googlegroups.com.
Gruppe besuchen: https://groups.google.com/group/plan44_vdcd
Besuchen Sie https://groups.google.com/d/msgid/plan44_vdcd/EAF916A6-2B23-4D2D-9200-DD0B8B34913A%40plan44.ch, um diese Diskussion im Web anzuzeigen.
Weitere Optionen: https://groups.google.com/d/optout