Wise Controls integration

Anyone get it to work? :frowning:

I was also looking around a bit. Didn’t get anywhere really, but I thought I’d share what I have so far:
I was sniffing the traffic from the App, and it gave me connections to these domains:

I tried logging in with my credentials on these sites but no success.

Would anybody happen to have a rooted Android? With that we would be able to extract the apk, decompile it, and try to find some interesting calls in there.

Cheers

Alright I was frustrated by just HOW shitty the APP was, so I did spend half the day: rooting a phone, downloading the APK, disassembling it, scanning it.

So far, I found the login credentials for the basic auth, and was able to authenticate successfully! I think I’m on a good path and I really want to build this into something so we can integrate into home assistant. Does anybody have experience with HA-extensions and wants to help?

so far so good.

i’m halfway done with the home assistant code as well.

I have loads of wise dimmer boxes. Never bothered with daisy, but I can if I can help

which app are you using with these?

GitHub - andreasnuesslein/hass_teleco_daisy: Home Assistant custom component for Teleco Automation Daisy here’s a custom_component. cheers

Wow great! How can I add it? I copied the folder teleco_daisy to my /config/custom_components but didn’t find it after HA restart
Thank you

Can someone help in installing this integration? Very interested in using it
Thank you

This is awesome- thanks for sharing!

I have managed to hack the python code a little to get it working with my blinds as well as my roof.

I will try and raise a pull request with some changes later in the week.

The main bit I had to change was:

        osc_map = {
            "open": ["OPEN", 94, "CH5"],
            "stop": ["STOP", 95, "CH7"],
            "close": ["CLOSE", 96, "CH8"],
        }
2 Likes

Hi,
Anyone can give me some guidance to install this integration?
Thank you

This is probably readily available but i’m just going to sahre some of the API details I took from the python source code to play around with.

You need to use basic auth with username teleco and password tmate20

POST https://tmate.telecoautomation.com/teleco/services/account-login
BODY {"email": "eee", "pwd": "ppp"}
RESPONSE

{
    "codEsito": "S",
    "valRisultato": {
        "idAccount": aaa,
        "idSession": "sss"
    },
    "msgEsito": "Login effettuato : sss"
}

POST https://tmate.telecoautomation.com/teleco/services/account-installation-list
BODY {"idSession": "sss", "idAccount": aaa}
RESPONSE

{
    "codEsito": "S",
    "valRisultato": {
        "idAccount": aaa,
        "installationList": [
            {
                "idInstallation": iii,
                "instDescription": "Daisy_MACADDRESS",
                "instCode": "MACADDRESS",
                "installationOrder": 1,
                "activetimer": "S",
                "weekend": "N;N;N;N;N;N;N",
                "workdays": "1.0.0",
                "firmwareVersion": "1.4.0.2",
                "latitude": lat,
                "longitude": lon,
                "idInstallationDevice": ddd
            }
        ]
    }
}

POST https://tmate.telecoautomation.com/teleco/services/room-list
BODY {"idSession": "sss", "idAccount": aaa, "idInstallation": iii}
RESPONSE

{
    "codEsito": "S",
    "valRisultato": {
        "idAccount": aaa,
        "idInstallation": iii,
        "roomList": [
            {
                "idInstallationRoom": rrr,
                "idRoomtype": 26,
                "roomDescription": "pergola",
                "roomOrder": 0,
                "deviceList": [
                    {
                        "idInstallationDevice": d1,
                        "idDevicetype": 22,
                        "idDevicemodel": 21,
                        "deviceCode": "0",
                        "remoteControlCode": "",
                        "label": "zip 1",
                        "deviceIndex": 2,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 0,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": d2,
                        "idDevicetype": 22,
                        "idDevicemodel": 21,
                        "deviceCode": "0",
                        "remoteControlCode": "",
                        "label": "zip 2",
                        "deviceIndex": 3,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 1,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": d3,
                        "idDevicetype": 22,
                        "idDevicemodel": 21,
                        "deviceCode": "0",
                        "remoteControlCode": "",
                        "label": "zip 3",
                        "deviceIndex": 4,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 2,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": d4,
                        "idDevicetype": 22,
                        "idDevicemodel": 21,
                        "deviceCode": "0",
                        "remoteControlCode": "",
                        "label": "zip 4",
                        "deviceIndex": 5,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 3,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": d5,
                        "idDevicetype": 24,
                        "idDevicemodel": 27,
                        "deviceCode": "0",
                        "remoteControlCode": "1",
                        "label": "whole",
                        "deviceIndex": 1,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 4,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": d6,
                        "idDevicetype": 24,
                        "idDevicemodel": 27,
                        "deviceCode": "0",
                        "remoteControlCode": "1",
                        "label": "lounge",
                        "deviceIndex": 7,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 5,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": d7,
                        "idDevicetype": 24,
                        "idDevicemodel": 27,
                        "deviceCode": "0",
                        "remoteControlCode": "1",
                        "label": "kitchen",
                        "deviceIndex": 8,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 6,
                        "directOnly": null
                    }
                ]
            }
        ]
    }
}
1 Like

After a long time I finally managed to get access to a Daisy box. We have a Pratic pergola in our garden which uses Teleco equipment.

We have the control via the original disaster app up and running. Everything runs through a 3x7 channel remote.

There is a hacs component installed in the HA but nothing in the device list. Does anyone know how to proceed and add in HA devices ( lamellas, screeens and lights)

idInstallationDevice values anonymized

POST https://tmate.telecoautomation.com/teleco/services/room-list
Response:

...
"deviceList": [
                    {
                        "idInstallationDevice": 11111,
                        "idDevicetype": 27,
                        "idDevicemodel": 41,
                        "deviceCode": "0",
                        "remoteControlCode": "1",
                        "label": "lamely§0 zavreno§25 pootevreno§50 pootevreno§75 pootevreno§otevrit krok§stop§zavrit krok",
                        "deviceIndex": 1,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 0,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": 11112,
                        "idDevicetype": 27,
                        "idDevicemodel": 41,
                        "deviceCode": "0",
                        "remoteControlCode": "1",
                        "label": "svetlo§zapnout§80§60§40§20§10§vypnout",
                        "deviceIndex": 2,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 1,
                        "directOnly": null
                    },
                    {
                        "idInstallationDevice": 11113,
                        "idDevicetype": 27,
                        "idDevicemodel": 41,
                        "deviceCode": "0",
                        "remoteControlCode": "1",
                        "label": "screen§bazen§prostredni§fontana§Button4§Button5§Button6§Button7",
                        "deviceIndex": 3,
                        "favorite": "N",
                        "feedback": "N",
                        "activetimer": "N",
                        "deviceOrder": 2,
                        "directOnly": null
                    }
                ]

I have several wise boxes connected to a couple of telco daisy’s which google home not home assistant has support for I don’t know if that helps in anyway, you do have to use the telco app on your phone not the wise daisy app though to link it up.