WebThingsIO / zwave-adapter

Z-Wave adapter add-on for WebThings Gateway
Mozilla Public License 2.0
15 stars 20 forks source link

Added a few more devices to the classifier tests #71

Closed dhylands closed 5 years ago

samgundel commented 4 years ago

How does one generate those json files? Is there a guide how to start adding a new one?

dhylands commented 4 years ago

I start the gateway using the -d flag. Then I connect to the gateway using this tool: https://github.com/mozilla-iot/cli

When you start it, you can use the command:

gateway http://lochost:8080

replacing the hostname as appropriate. The devices command will show the available devices. Use device name replacing name with the device in question. Then use the info command to show the JSON information. You can use info filename to store the JSON output into a file.