Home Assistant Community

Adding support for sinope light switch and dimmer

#21

Ok I’ve uploaded my code on git

0 Likes

#22

Hi @claudegel,

I’m using your component. Some of my Sinope light switches are triggering other light or outlet. However, I notice some delay…about 10 second for home assistant to notice when I open and close the light.

Do you see the same behaviour on your side ? Also, the component does not seem to work properly if I use the “SCAN INTERVAL” property. I wanted to set it to 2 seconds. (See : https://www.home-assistant.io/docs/configuration/platform_options/)

Any thought ?

0 Likes

#23

If home assistant scan the device every 30 sec. then it is normal to have a delay if you open a light and before HA notice the action. In theory, if you open a light just after HA finish the scan it will take 30sec before the change is reported.
A scan interval of 2 second is pretty small especially if you have many switch, dimmer and thermostats. The default scan interval is 30 sec. I’ve set mine to 20 sec but if I go lower then that I start getting message about update getting over xxx sec. I’m working on a way to bypass neviweb and speak directly to the web interface in that case it could be pretty fast to update the different switch and dimmer.

0 Likes

#24

Wow. Byepassing Neviweb to be faster would be so nice. Is there any way we can support you ? Maybe buy you a few beer ?

I really like the design of the Sinope switch compare to wimo and tp-link swich. I have the 3 at home.

0 Likes

#25

Hi, I’ve added some more feature to sinope switch if you want to try. Set_mode and alarm state. To be used with automation

0 Likes

#26

Since it also concerns Sinopé light switch and dimmer, see my post on this other thread:

0 Likes

#27

I’ve updated my git to reflect new files structure for Neviweb custom_component according to HA 0.88
Please test and let me know

0 Likes

#28

Great news. I’ve uploaded to my git my work on direct connection to the GT125. I’ve started a new branch just for direct connection to the GT125.
I’ve implemented all command to the GT125. Data read request to get information from devices. Data write request to send data to devices and data report request to broadcast info to all devices like date, time, away mode etc.
It work for all device type. I already implemented all command for the thermostat and I can add what we need for switch, dimmer and power control.
It is exploratory work to find out how it work but the worst is done so we can start to code to link it to HA. Wright now it work in terminal mode (manualy) and I can get data from any devices, write data to any devices and broadcast information to any devices.
I hope you will like it. It’s just the beginning. Have fun

0 Likes

#29

I’m happy to announce that my Sinope custom component is working for direct connection to GT125 for all devices type. Have fun

0 Likes