Skip to content

Commit 7ac6090

Browse files
committed
Update README.md
1 parent 80c6576 commit 7ac6090

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ This project is a set of PHP Classes working with [libcoap](https://github.com/o
2525
2. Place the scripts in a web server directory accessible to web browsers. Ensure executing processes on the command line is allowed in your PHP installation.
2626
3. Provide a configuration file with IP address of the gateway, identity and key ("username and password") to use when communicating with the gateway.
2727
## Configuration
28-
Configure Tradfri Gateway IP, User, Key in general.php
28+
While creating an object in your code, you must provide the parameters for user, secretkey and IP Address
29+
Example:
30+
```
31+
$groups = new tradfrigroups("<user>", "<secret>", "<ip>");
32+
```

0 commit comments

Comments
 (0)