Open jonesMeUp opened 2 years ago
I know the use of this is difficult due to the offline nature, but I have added your good work to our Contrib device list in case someone else discovers a similar device that does work (online) and wants to extend this. Thanks for your contribution, @jonesMeUp !
moin, i didn't make a pull request, because the doorbelldevice works only if the device is online and therefore its useless (at least for me). but i said i will make a doorbelldevice - so here it is: DoorbellDevice.zip its a gift for jasonacox, do with it whatever you want... i give all the rights to you.
if you want to test it put the DoorbellDevice.py into your tinytuya install folder and add
from .DoorbellDevice import DoorbellDevice
to your__init__.py
(on my pi the folder for this changes is in/home/pi/.local/lib/python3.9/site-packages/tinytuya/
) and replace the dummy values ind = tinytuya.DoorbellDevice()
by your device data in the testfile below