Skip to content

Latest commit

 

History

History
208 lines (154 loc) · 8.86 KB

README.md

File metadata and controls

208 lines (154 loc) · 8.86 KB

EDIT LATER :)

NodeJS_Philips-SmartTV-API

(rebuilding readme) - A totally new rebuild compared to the previous versions.

Remote control Philips SmartTv

 
Open source License: Mit Contributors Forks Stars Issues

 

Info:


Tested on Philips Smart Tv (55PFS8209/12)

TODO:

- Add auto-set function
- Complete this readme
- Archive this repository

Dependency:

- needs to be installed before first launch

fastify, follow-redirects

Values local-SmartTV-Object

- access local-SmartTV-Object values. (set or get)

- ObjectSet(Position,objVal);  (Automatically Updates the SmartTV values, from the values set to the  )
- ObjectGet(Position);

Values SmartTV

- access the values from tv, and updates the local object

- SmartTV_Set(IP_ADDRESS, '/5/audio/volume', {"min":0,"current":10,"muted":false,"max":0});
- SmartTV_Fetch_Update_All();           (fetch and saves all values to the local-SmartTV-Object)
- SmartTV_Fetch_Update_One(Position);   (fetch and save one item to the local-SmartTV-Object)

Fastify HTTP-Routes:

- access values locally by use of a http-client of your own flavour

   http://127.0.0.1/5 <- SmartTV joinSPACE version, (1~6)

        - http://127.0.0.1/5/ (Retrieving the full local-SmartTV-Object)
        - http://127.0.0.1/5/activities/tv
        - http://127.0.0.1/5/ambilight/cached
        - http://127.0.0.1/5/ambilight/lounge
        - http://127.0.0.1/5/ambilight/measured
        - http://127.0.0.1/5/ambilight/mode
        - http://127.0.0.1/5/ambilight/processed
        - http://127.0.0.1/5/ambilight/topology
        - http://127.0.0.1/5/applications
        - http://127.0.0.1/5/audio/volume
        - http://127.0.0.1/5/channeldb/tv
        - http://127.0.0.1/5/context
        - http://127.0.0.1/5/input/key
        - http://127.0.0.1/5/input/pointer
        - http://127.0.0.1/5/network/devices
        - http://127.0.0.1/5/powerstate
        - http://127.0.0.1/5/system
        - http://127.0.0.1/5/system/country
        - http://127.0.0.1/5/system/deviceid_encrypted
        - http://127.0.0.1/5/system/epgsource
        - http://127.0.0.1/5/system/menulanguage
        - http://127.0.0.1/5/system/model_encrypted
        - http://127.0.0.1/5/system/name
        - http://127.0.0.1/5/system/serialnumber_encrypted
        - http://127.0.0.1/5/system/timestamp


jointSPACE info:

SPACE is a Software Architecture developed by Philips for its range of TV displays. It is based on Linux and DirectFB technologies. JointSPACE opens the TV APIs to let you develop new applications and run them on the TV.


REST API Methods:


Ambilight methods


Audio methods


Channel list methods


Channel methods


Input methods


Source methods


System methods


License:


For more details, see the LICENSES file.