Changes between Version 24 and Version 25 of WikiStart
- Timestamp:
- 2013-03-25 20:21:04 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v24 v25 16 16 || '''Parameter''' || '''Description''' || 17 17 || ip || Ip number for your Dune box || 18 || interval_online || Poll interval for fetching player state (in seconds) when dune player is online ||19 || interval_offline || Poll interval for trying to fetch player state (in seconds) when offline. This interval will be used when http connection does a timeout when trying to fetch state. ||18 || PollIntervalOnline || Poll interval for fetching player state (in seconds) when dune player is online || 19 || PollIntervalOffline || Poll interval for trying to fetch player state (in seconds) when offline. This interval will be used when http connection does a timeout when trying to fetch state. || 20 20 21 === Variables ===21 === Notifications === 22 22 || '''!PlayerState''' || '''Description''' || 23 23 ||off|| Dune player is offline or turned off. || … … 43 43 ||finished||Will immediately go to 'stopped' from this state || 44 44 45 === Example === 46 To fetch the playback state in luup code use the following: 47 48 {{{ 49 local playbackState = luup.variable_get( 'urn:hek:serviceId:Dune1', "PlaybackState", <deviceId>) 50 }}} 51 52 Or use normal triggers in your scenes 53 54 55 45 56 === API Description === 46 57 Here is the API reference used to develop plugin. A big thanks to Steven Liekens who has collected all information available on one place regarding IP-command interface for Dune Players.