Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information = isRecording #12

Closed
joergzdarsky opened this issue Jan 4, 2019 · 2 comments
Closed

Add information = isRecording #12

joergzdarsky opened this issue Jan 4, 2019 · 2 comments

Comments

@joergzdarsky
Copy link

Enigma2 devices from VU+ (such as VU+ UNO 4K SE) provide additional endpoints on top to enigma2 to get information about the current device status. Please add an option in the ioBroker enigma2 adapter to fetch the information from the statusinfo endpoint (if provided by device / optional) and provide it's information in the iobroker enigma2 Adapter and the object tree.

Endpoint:
http:///api/statusinfo

Example Response:
{"inStandby": "false", "currservice_begin": "16:05", "currservice_begin_timestamp": 1546614300, "currservice_end_timestamp": 1546621200, "muted": false, "isRecording": "false", "currservice_station": "Das Erste HD", "currservice_serviceref": "1:0:19:283D:3FB:1:C00000:0:0:0:", "currservice_description": "Handball-L\u00e4nderspiel: Deutschland-Tschechien", "volume": 85, "currservice_fulldescription": "Sportschau\n16:05 - 18:00\n\n* Reporter: Florian Na\u00df\n* Moderation: Alexander Bommes\n\n\u00dcbertragung aus Hannover", "currservice_name": "Sportschau", "currservice_filename": "", "transcoding": true, "currservice_end": "18:00", "currservice_id": 46296}

Of specific interest if you do not want to add the whole response would be the "isRecording" since it can be used to trigger further events within ioBroker (e.g. an Alexa hint).

@joergzdarsky joergzdarsky changed the title Fetch "isRecording" field / Add information from endpoint http://<host>/api/statusinfo (VUplus only) Add information from endpoint "http://<host>/api/statusinfo" (if not all then please specifically fetch "isRecording" field) (VUplus devices only) Jan 4, 2019
@Matten-Matten Matten-Matten changed the title Add information from endpoint "http://<host>/api/statusinfo" (if not all then please specifically fetch "isRecording" field) (VUplus devices only) Add information from endpoint "http://<host>/api/statusinfo" (if not all then please specifically fetch isRecording (Open web if only) Jan 4, 2019
@Matten-Matten Matten-Matten changed the title Add information from endpoint "http://<host>/api/statusinfo" (if not all then please specifically fetch isRecording (Open web if only) Add information = isRecording (Open web if only) Jan 4, 2019
@Matten-Matten
Copy link
Collaborator

  • add: .enigma2.isRecording in enigma2 V1.2.1

Matten-Matten added a commit that referenced this issue Aug 5, 2019
@Matten-Matten Matten-Matten changed the title Add information = isRecording (Open web if only) Add information = isRecording Aug 7, 2019
@Matten-Matten
Copy link
Collaborator

Bild Text

Changelog

1.2.2 (2019-08-08)

  • (Matten-Matten) correction in .enigma2.isRecording check

Gruß
Matten Matten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants