Closed AdamGoodApp closed 1 year ago
Thank you for your feedback, we will solve this issue soon
Hi @AdamGoodApp , I have a fork version and completely rewritten the main logics, it will be much simpler to develop a new accessory. See this: https://github.com/0x5e/homebridge-tuya-platform/blob/develop/src/accessory/SwitchAccessory.ts
Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.
I am trying to develop a new driver to add a Pet Feeder accessory.
I copied the
switch_accessory.js
file as a starter template and only changed thegetSendParam()
to include the correctcode
andvalue
to be sent.I am getting the following error from the logs:
Added new device to the
addAccessory()
:My
feeder_accessory.js
file