ThispluginenableshomebridgetocommunicatewithToon.
npminstall-ghomebridge-toon
ConfigurationTomakethepluginworkyouneedtoobtainaconsumer_keyfromdeveloper.toon.euThefollowingshouldbeaddedtothehomebridgeconfig.json:
AnAPItokenwhichisvalidfor10yearscanbeobtainedviahttps://api.toon.eu/toonapi-accesstoken?tenant_id=eneco&client_id=<consumer_key>
{"platforms":[{"platform":"Toon","name":"<NAME>","apiToken":"<APITOKENFROM>",}]}AgreementSelectionThepluginautomaticallyselectsthefirstagreementinthelist,howeverifagreementselectionisnecessary,addthefollowingconfigparameter."agreementIndex":<NUMBER>
ThepluginautomaticallyliststheavailableoptionsintheHomebridgelog.
评论