First time query gpio status not working
Moderators: grovkillen, Stuntteam, TD-er
First time query gpio status not working
Hello all
When I send an HTTP request to get a GPIO pin status for the 1st time after boot the answer is empty
It is only after setting status at least once that GPIO status request gets a valid response
Is there a reason for this?
Regards
Martin
When I send an HTTP request to get a GPIO pin status for the 1st time after boot the answer is empty
It is only after setting status at least once that GPIO status request gets a valid response
Is there a reason for this?
Regards
Martin
Re: First time query gpio status not working
Hello,
From what I remember this is specific to one GPIO (0?)
Have you tried the same on a different GPIO ?
-D
From what I remember this is specific to one GPIO (0?)
Have you tried the same on a different GPIO ?
-D
-D
Re: First time query gpio status not working
Have you set 'Send Boot State' in the switch-device ?
Otherwise the state is sent first, when it has changed.
Otherwise the state is sent first, when it has changed.
Re: First time query gpio status not working
hi all
yes, i did set the boot state to output low... but i forgot to reboot
after rebooting it worked fine
thanks for your help
regards,
martin
yes, i did set the boot state to output low... but i forgot to reboot
after rebooting it worked fine
thanks for your help
regards,
martin
Re: First time query gpio status not working
by the way... why is D0 not in the GPIO boot states ?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: First time query gpio status not working
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: First time query gpio status not working
i see
but it does not seem to be a problem when used as output, right ?
but it does not seem to be a problem when used as output, right ?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: First time query gpio status not working
No it's no problem, as long as you don't mind it being high during a reboot.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 6 guests