I can set GPIO state by command to other values than 0 or 1.
Even this state is not shown in the list of devices (it stays 1) the status is stored.
Does this have any negative side effects?
Would like to use this for state controlling and request state by URL.
thx
set GPIO state other than 0 or 1
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 123
- Joined: 03 Apr 2018, 21:46
set GPIO state other than 0 or 1
- Attachments
-
- gpio.jpg (35.19 KiB) Viewed 1889 times
Re: set GPIO state other than 0 or 1
Normally a GPIO has two states, 0 and 1. Anything else don't make any sense and will not work. Only in PWM-Mode you have a value from 0 to 1023, that is why only 0 and 1 is shown within GPIO-State.
I don't really understand "Would like to use this for state controlling and request state by URL."
What exactly do you want to control? Why Dummy Device with GPIO? Do you use IOBroker,MQTT...?
Peter
I don't really understand "Would like to use this for state controlling and request state by URL."
What exactly do you want to control? Why Dummy Device with GPIO? Do you use IOBroker,MQTT...?
Peter
Who is online
Users browsing this forum: No registered users and 77 guests