DrozmotiX/ioBroker.wled

Read ESP Pins

maxpd1 opened this issue · 9 comments

Describe wanted Enhancement !
I want to read out the other PINs on the ESP288 (Wemos D1 Mini). For example: connected with LED Stripe there is at the same time an HC-SR501 motion sensor. Via iobroker I can detect the motion when the pin shows "true" state and control single segments.

Why should we put effort in it ?
You don't need a separate ESP288 for motion sensor anymore.

I cannot do that please raised your enhancement at the WLED Projekt.

If they integrate it and expose by API this adapter can manage the values and states

i will close for now, please feel free to reopen if required

The point is that wled won't implement a pin readout as they offer mqtt interface for that. Unfortunately I don't get a successful Mqtt connection with any device. No matter if wled or not.

An option would be that this adapter adds mqtt attribute readout. Otherwise I am still trying to find the solution for my mqtt problem.

The point is that wled won't implement a pin readout as they offer mqtt interface for that. Unfortunately I don't get a successful Mqtt connection with any device. No matter if wled or not.

do you have a reference of that? It makes no sense to provide an api and mqtt but not implement data on both

That's how I understood this comment Aircoookie/WLED#3039 (comment)

That's how I understood this comment Aircoookie/WLED#3039 (comment)

I legt a comment there for airkookie

@maxpd1 response in WLED issue:

However, I don't think that it is a feature that is required in most installs and worth the JSON overhead by default. WLED can in principle offer the flexibility of ESPHome or the likes, but that is what usermods are for.
So I'd propose adding the functionality of reading and outputting GPIO values via /json/info as a usermod.

implementing it as a user mod should work in current version of this Adapter

Yes, read it. Thank you.
I think most of the WLED users aren't able to write a usermod.
But I'll check further here: https://wled.discourse.group/c/usermods/11

Yes, read it. Thank you.
I think most of the WLED users aren't able to write a usermod.
But I'll check further here: https://wled.discourse.group/c/usermods/11

If you succeed, I know for sure others would be very happy if you share how 😅