universam1 / iSpindel

electronic Hydrometer
http://www.ispindel.de
Other
827 stars 324 forks source link

Local blynk server feature request #450

Closed JoeThompsonGitHub closed 3 years ago

JoeThompsonGitHub commented 3 years ago

I'm submitting a ...

Could there be a way to include local server blynk? I run a local server and dont want to use the blynk cloud to receive my data. Could there be an addition to include a custom server and port please?

JoeThompsonGitHub commented 3 years ago

I have rectified the lack of feature by editing the blynk libraries which are imported into the .pio folder when the first compiling has happened. Editing .pio\libdeps\d1_mini\Blynk\src\Blynk\BlynkConfig.h and changing the domain and port to your local server and custom server port. Then editing \pio\lib\Sender\Sender.cpp with a new blynk server IP. Doing these two things allows for a custom blynk server to be used. Would be good as part of the API dropdown list though to simplify the user experience.

thegreatgunbantoad commented 3 years ago

I think this was attempted once before: https://github.com/universam1/iSpindel/pull/418

JoeThompsonGitHub commented 3 years ago

You are right, looks like its been done another way. My solution also works but involves a lot less work,

thegreatgunbantoad commented 3 years ago

https://github.com/universam1/iSpindel/pull/418 does seem to add the drop down option in. Never tried it out as I don't use blink.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.