You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,4 +25,8 @@ This project is a set of PHP Classes working with [libcoap](https://github.com/o
25
25
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.
26
26
3. Provide a configuration file with IP address of the gateway, identity and key ("username and password") to use when communicating with the gateway.
27
27
## 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>");
0 commit comments