rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
506 stars 34 forks source link

Add GPIO Pins for SomfyiO Remote controll #437

Open Andurilll opened 1 month ago

Andurilll commented 1 month ago

Describe you new feature you'd like

I did my first Setup with a SomfyiO Remote and it works. Yay I now also soldered the PROG and CH (Channel select) also to wires and would like to controll this from the ESP. Also it would be awesome to read the LED-Status. I also soldered some wires to the LED-input pin. Would love to get infos on the ESP about the selected channel (1, 2, 3, 4, 5=all LED)

Here another Project who does what i mean: https://github.com/robvdw2/somfy_situo5_io_esp32

my board 20240726_155114 20240726_155340 20240726_155903

rstrouse commented 1 month ago

I'll have to give this some thought. To do this the right way, there really would need to be a concept of setting up all the proper GPIO selections. This is more of a configuration riddle than anything else. The code to implement it would be very straightforward.

Andurilll commented 1 month ago

I don't understand what you mean with proper GPIO Selection concept. Is it not possible to use every Pin for everything? (Like now with the dropdown selector)

I guess you could add a "expert Mode" with a Warning and add These there.

If there is a concept even better

Can i help somehow?

(Amazing Work. Thanks. Also the HA-Integration💪🏻) (What i was wondering:How can these connect to the esp without authentication?)

rstrouse commented 1 month ago

No I am referring to the UI flow. Realistically there should be one definition in this case for the remote pins and each channel should be assigned to an individual motor. If you look at the current structure, the shade definitions all revolve around a unique address. In this instance there needs to be a page to define the IO-Remote then select the channels from it.

Andurilll commented 1 month ago

I understand what you mean and agree with you

Andurilll commented 1 month ago

No I am referring to the UI flow. Realistically there should be one definition in this case for the remote pins and each channel should be assigned to an individual motor. If you look at the current structure, the shade definitions all revolve around a unique address. In this instance there needs to be a page to define the IO-Remote then select the channels from it.

What have to admid: there are 1 channel (Situo 1 io) or 5 channel remotes (Situo 5 io) available. Maybe this can be selected somewhere to change available pin options