Web Interface is like a website with information about your CCcam !! This is build in the CCcam itself.
Enigma2-plugin-extensions-*******player xmltv importer plugin enigma2. 800 HD The new Cccam info V 1.3c for Dreambox at autotimeshift_0.15. DreamBox 7025/800/8000 New Webinterface enigma2-plugin-extensions-.
How do i access it and is it enabled by default?By default it is enabled on port 16001 and without a user name and a password. This can be accessed by entering the Dreambox/server Ip and access it with port 16001!! So lets assume your dreambox ip is 192.168.1.1 Just open your favorite web browser and enter this:
Can i protect it with a user and a password ?
Yes you can use a username and password of your choice !! Just add this to you CCcam.cfg replace the username and pass of your choice.
WEBINFO USERNAME : username WEBINFO PASSWORD : password |
Can i use another port instead the default 16001 ?
Yes you can use any port of your choice!! Just add this line in CCcam.cfg with the port of your choice.
Can i switch off the Web Interface completely?
It is possible to switch off completely the Web Interface by adding this line to your CCcam.cfg
ALLOW WEBINFO: no
- 2Technical
- 2.4Client API
With the Webinterface you can Control your Box using a Browser.The Dreambox Webinterface (short WebIf) is included in all newer Images. The latest version of the WebIf can be obtained via CVS. You can also use the Webinterface API in your 3rd Party Applications to control the box or display information.
You can reach the WebIf by pointing your Browser to the IP if your Box (e.g. 192.168.0.21), or if name resolution works by calling http://dreambox.
The Webinterface is fully embedded into enigma2.It is able to use ANY functionality and obtain ANY Information enigma2 can deliver.
Concept
The Webinterface works with a Client-/Server based Concept.The Webinterface Plugin provides you with 2 Major things.
- A Client API which you can access with any client (html/javascript, c++, java) you want to
- Control your Box and obtain Information for Channels (EPG, Timers, Recorded Movies, etc)
- Results are returned as xml
- A http client you can use with your browser
Generated API Documentation
You can find a generated API Documentation here: http://dream.reichholf.net/e2web/
This list will be updated automatically.
This list will be updated automatically.
Live Updates
One of the major Improvements compared to the Webinterface of enigma1 is the Live-Update functionality.Changes can be automatically delivered to the webinterface without polling the server or reloading the whole page.This is realized by using a never ending Connection which is used to execute the DOM-Manipulation cmds.
Client API
The API can be used by making http requests to your Box.As described above every request will usually result in a valid xml response.
Box General Info
Request:
http://IP_of_your_box/web/about
Or via Telnet use at the Telnet prompt:
- wget -q -O - http://127.0.0.1/web/about
Result is (here a DM800 / no HDD):
DM8000:
Request:
http://IP_of_your_box/web/deviceinfo
Result:
Movie location
Show a movie locations.
Request:
http://IP_of_your_box/web/getlocations
Result:
Show a movie current location (What does 'current' mean?).
Request:
http://IP_of_your_box/web/getcurrlocation
Result:
Volume
Requests:
- Get current Volume:
http://dreambox/web/vol
oderhttp://dreambox/web/vol?set=state
- Set Volume to 23:
http://dreambox/web/vol?set=set23
- Increase Volume:
http://dreambox/web/vol?set=up
- Decrease Volume:
http://dreambox/web/vol?set=down
- Switch Mute:
http://dreambox/web/vol?set=mute
Result:
Parameter:
Audio Tracks
Displays the available audio tracks of the current service
Request:
http://IP_of_your_box/web/getaudiotracks
or via Telnet:
- wget -q -O - http://127.0.0.1/web/getaudiotracks
Result:
To select a specific audio track you first have to find out its id via the 'getaudiotracks' command. Then use the id as a parameter on this command:
Request:
http://IP_of_your_box/web/selectaudiotrack?id=2
or via Telnet:
- wget -q -O - http://127.0.0.1/web/selectaudiotrack?id=2
Result:
In case you issued an invalid (non-existing) id you get this result:
EPG
Request:
http://IP_of_your_box/web/epgservice?sRef=1:0:1:19A:136:70:1680000:0:0:0:
Result:
Requests:
- http://dreambox/web/epgnow?bRef=1:0:1:335:9dd0:7e:820000:0:0:0:
Timer
Request:
http://IP_of_your_box/web/timeraddbyeventid?sRef=1:0:1:7926:A:70:1680000:0:0:0:&eventid=53779&dirname=/hdd/movie/
Result:
Request:
http://dreambox/web/timerlist
Result:
Request:
http://IP_of_your_box/web/timerdelete?sRef=1:0:1:7926:A:70:1680000:0:0:0:&begin=1330283100&end=1330285320
Result:
Requests:
Message
Requests:
http://dreambox/web/message?text={messagetext}&type={messagetype}&timeout={messagetimeout}
Parameter:
Result:
Requests:
http://dreambox/web/messageanswer?getanswer=now
Result:
RemoteControl
Requests:
http://dreambox/web/remotecontrol?command={command}
result:
{Command} is (slight differences to the Enigma1 WebIF):
Settings
Requests:
http://dreambox/web/settings
Result:
Bouquets
Requests:
http://dreambox/web/getservices?ServiceListBrowse= ' plus encoded serviceref
...anybody knows what the result looks like...?
http://IP_of_your_box/web/getservices
or via Telnet:
- wget -q -O - http://127.0.0.1/web/getservices
Result (more than one bouquet assumed):
The services within a bouquet are requested by specifying the service reference. The service reference of the last bouquet from above is:
so the request is:
http://IP_of_your_box/web/getservices?sRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET 'userbouquet.favourites.tv' ORDER BY bouquet
or via Telnet (replace all spaces with %20 and the ' with %22):
- wget -q -O - http://127.0.0.1/web/getservices?sRef=1:7:1:0:0:0:0:0:0:0:FROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet
Result is:
If there are headers within the bouquet an <e2service> entry looks like this:
Request:
http://IP_of_your_box/web/getallservices
Result:
reload lamedb or Userbouquets
Requests:
http://dreambox/web/servicelistreload?mode={mode}
Mode can be:
- 0, reloading lamedb and Userbouquets
- 1, reloading lamedb only
- 2, reloading Userbouquets only
Result of mode=1:
- e2result, true or false
- e2resulttext: contains strings with errortext if failed, in the other case the successfull command
Zap
Request:
http://dreambox/web/zap?sRef={servicereference}
or via Telnet (this one switches to Anixe HD):
- wget -q -O - http://127.0.0.1/web/zap?sRef=1:0:19:84:6:85:C00000:0:0:0:
Result:
Issuing an invalid servicereference will get you the same result...
Streaming
Request:
Current Channel
Requests:
http://dreambox/web/subservices
' subservices for current service
Result:
Miscellaneous
Requests:
- http://dreambox/web/powerstate? to check Powerstate
- http://dreambox/web/powerstate?newstate={powerstate_number}
- 0 = Toogle Standby
- 1 = Deepstandby
- 2 = Reboot
- 3 = Restart Enigma2
- 4 = Wakeup form Standby
- 5 = Standby
- Enigma2-Plugins CVS: http://schwerkraft.elitedvb.net/scm/?group_id=11
Grundlagen - Installation - Hardware - Entwicklung - Portal
Enigma - Enigma2 - Plugins - Spiele - Software - Tools - Howto - FAQ - Images
Hauptseite - News - Alle Artikel - Bewertungen - Gewünschte Seiten - Index - Neue Artikel - Impressum - Meilensteine - Team
Hilfeportal - Seite bearbeiten - Bilder - Links - Tabellen - Textgestaltung Abgerufen von „https://dream.reichholf.net/w/index.php?title=Enigma2:WebInterface&oldid=15497“