Hi I-1
Make sure you check out this information:
http://www.domoticaworld.com (click 'Twitter' under Scripts))
One remark: have you tried device-VALUE change instead of device-STATUS change? You might get a list with open/close/stop.
- "vv[A1]" will be replaced by the device VALUE of device "A1"
In HomeSeer 2.4.0.2 or higher you can open device A1 and click on 'Additional information'. You can now see the device value/status/string of a device. Right now the script can only be the value or string of a device (or a date/time)
- If you want to want any status to be twittered you can select "Status=Set Any Status" and send the device-string through the script
- Alternatively you can find out what the device-values for OPEN/CLOSE/STOP are, and trigger based on a device value change
To generate "On <date/time> the <curtains A1> - status changed to <open/close/stop>"
Call script: DJ_Twitter_xx.vb with parameter
("Main","On dd[DD MM] the curtains - status changed to ss[A1]")
("Main","On dd[DD MM] the curtains - status changed to ss[A1]|no")
-- to not send it, only put it in the logfile
("Main","On dd[DD MM] the curtains - status changed to ss[A1]|
prowl")
-- send to iphone using
Prowl's APNS
Again, the status "open/close or stop" should be in the device-string (as it cannot be in the device-value)
If it doesn't work as expected, set the strDebug parameter in the script to 2 and post the HS log (double check if there's no passwords in the traces).
Cheers
DJ