Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The expample you’re sharing is for a platform plugin, it’s a more complex use case, in this case is more easier for you to go with this example https://github.com/homebridge/homebridge-examples/tree/master/accessory-example-typescript which is for an accessory. Let me know if you need some help and I can give you some tips there.
I want to (learn how to) create a simple homebridge plugin that makes url calls that trigger actions on a device and show the status of the device. Currently I am using "Homebridge Http Switch" to make start and stop my Vacuum cleaner. I found https://github.com/homebridge/homebridge-plugin-template but it is kind of overkill for what I am trying to do I think. Could someone point me in the right direction if a simple plugin already exists that has kind of the same features so I only have to change the url-calls?
This is a quick code I made, haven’t tested it myself, but it should be a good starting point for you, feel free to clone it and work with it https://github.com/juanelegomezc/homebridge-medion