andreasnuesslein / hass_teleco_daisy

Home Assistant custom component for Teleco Automation Daisy
MIT License
4 stars 3 forks source link

Hi #1

Open inelukipg opened 8 months ago

inelukipg commented 8 months ago

I’m really interested in this. Tried to add this via HACS but it didn’t work.

andreasnuesslein commented 8 months ago

oh hi @inelukipg thanks. hm, yeah it needs some love. when i find the time i'll debug

andreasnuesslein commented 7 months ago

@inelukipg would be interesting to know what modules you have. i only have RGB light and pergola slats so far in this project.

do you have any python experience? if yes, you could pip install this: https://github.com/andreasnuesslein/py-teleco-daisy and then something like this:

from teleco_daisy import TelecoDaisy, DaisyLight, DaisyCover

tdai = TelecoDaisy("username", "password")
tdai.login()
for inst1 in tdai.get_account_installation_list():
    print(inst1)
    for r1 in tdai.get_room_list(inst1):
        for d1 in r1.deviceList:
            print(d1)

and see what you get

JulianDHall commented 7 months ago

I have 10 Scene Boxes which is marketed in the UK as Wise Scene Box (the instructions are all written by Teleco). I will pick up a Daisy and see what I can extract. Thank you

Rute68 commented 7 months ago

@andreasnuesslein Hi Andreas I have two pergolas under a TelecoDaisy box, happy to test but I am not good at programming and am not able to install without HACS. My HA runs on pi - is your code working on pi? if so I will spend some time and try to install and get back to you. Thanks!

andreasnuesslein commented 7 months ago

hi @JulianDHall sounds good, let me know when you got something

hey @Rute68 it's gonna be tricky to explain if you have no experience with python.

i'm assuming you're on windows? if you're on linux, it'd be easy. you can also do it on your raspberry, generally speaking.

you'd have to ssh to the rpi, and put the aforementioned content in a python file, e.g. "test.py". then:

pip install teleco_daisy
python test.py

the output might have sensitive content, so you'd have to make sure there's nothing in there you don't want me to see before you paste it here

andreasnuesslein commented 7 months ago

after reading your message again @Rute68 , do you only have those two pergolas? can you tell me which type? or send link or something?

Rute68 commented 3 months ago

@andreasnuesslein hi! Back in action. Thanks for your instructions above but too hard for me... I will wait for a HACS installable version. on your question regarding my install: I have two pergolas, one of which have dimmable LED lighting. they are sold by Gibus in Italy. through the Teleco app I can open/close the pergolas and set to two different intermediate positions (33% open, 66% open) then I can open / close manually to whatever inclination. LEDs have 0-25-50-75-100% dim settings. Pergolas have a rain sensor so they close automatically when rain is detected. Is this helpful?

AdamFiser commented 3 months ago

Hi @Rute68 the device code must be identified to program the correct control. This is nowadays done by querying the api, which returns the necessary identifiers. If you can send how to work with the api e.g. via postman. Without these identifiers we will not move quickly. I am currently working on a pergola Pratic integration that uses Teleco motors and lights. Maybe with my integration support for your device will be added. But who knows for sure :-)