[Documentation] Markdown improvements n to s (#13948)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
This commit is contained in:
committed by
GitHub
parent
d73218d882
commit
1ca9baf157
@@ -30,11 +30,11 @@ Settings -> System Settings -> Connect PS Vita System Using Network.
|
||||
| outboundIP | | No | Use this if your PS4 is not on the normal openHAB network. |
|
||||
| ipPort | 997 | No | The port to probe the PS4 on, no need to change normally. |
|
||||
|
||||
If you want to control your PS4 the first thing you need is your user-credentials, this is a 64 characters HEX string that is easiest obtained by using PS4-waker https://github.com/dhleong/ps4-waker.
|
||||
To run the PS4-waker you will need a Node.js command prompt (for example: https://nodejs.org/en/download/).
|
||||
Enter "npx ps4-waker --help" int the command prompt. Agree to install by entering "y".
|
||||
After that send "npx ps4-waker --check". You will get asked to connect the "PS4 Second screen" Android app to the running clone.
|
||||
Do this and then you will need to get the pairing key from your PS4 --> Settings ---> Mobile device pairing settings.
|
||||
If you want to control your PS4 the first thing you need is your user-credentials, this is a 64 characters HEX string that is easiest obtained by using PS4-waker <https://github.com/dhleong/ps4-waker>.
|
||||
To run the PS4-waker you will need a Node.js command prompt (for example: <https://nodejs.org/en/download/>).
|
||||
Enter "npx ps4-waker --help" int the command prompt. Agree to install by entering "y".
|
||||
After that send "npx ps4-waker --check". You will get asked to connect the "PS4 Second screen" Android app to the running clone.
|
||||
Do this and then you will need to get the pairing key from your PS4 --> Settings ---> Mobile device pairing settings.
|
||||
On the PS4 screen you will see your pairing code and in the command prompt you will find the user credentials.
|
||||
|
||||
Then you need to pair your openHAB device with the PS4.
|
||||
@@ -47,7 +47,6 @@ Then, if you have a pass code when you log in to your PS4 you have to specify th
|
||||
| Property | Default | Required | Description |
|
||||
|---------------------|---------|:--------:|--------------------------------------------------------------------------|
|
||||
| ipAddress | | Yes | The IP address of the PlayStation 3 |
|
||||
|
||||
|
||||
## Channels
|
||||
|
||||
@@ -68,7 +67,7 @@ Example of how to configure a thing.
|
||||
|
||||
demo.thing
|
||||
|
||||
```
|
||||
```java
|
||||
Thing playstation:PS4:123456789ABC "PlayStation4" @ "Living Room" [ ipAddress="192.168.0.2", userCredential="0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF", passCode="1234", pairingCode="12345678",
|
||||
connectionTimeout="60", autoConnect="false", artworkSize="320", outboundIP="192.168.0.3", ipPort="997" ]
|
||||
|
||||
@@ -79,7 +78,7 @@ Here are some examples on how to map the channels to items.
|
||||
|
||||
demo.items:
|
||||
|
||||
```
|
||||
```java
|
||||
Switch PS4_Power "Power" { channel="playstation:PS4:123456789ABC:power" }
|
||||
String PS4_Application "Application [%s]" { channel="playstation:PS4:123456789ABC:applicationName" }
|
||||
String PS4_ApplicationId "Application id [%s]" { channel="playstation:PS4:123456789ABC:applicationId" }
|
||||
@@ -94,7 +93,7 @@ Switch PS3_Power "Power" { channel="playstation:PS3:1234
|
||||
|
||||
demo.sitemap:
|
||||
|
||||
```
|
||||
```perl
|
||||
sitemap demo label="Main Menu"
|
||||
{
|
||||
Frame label="PlayStation 4" {
|
||||
|
||||
Reference in New Issue
Block a user