-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonoff-SC missing friendly name on Information page #2
Comments
this is also wanted, cuz the friendyname is ONLY for alexa devices. if their is no relais to switch, their will be no friendlyname to setup. and in the line before the maxfn is defined by teh count of devices/relaises. |
I see but that is the original tasmota code not mine! Because the original code: if (SONOFF_IFAN02 == Settings.module) { maxfn = 1; } And possible you can help me out to understand what you mean. So in my eyes i see no issues with that because that changing |
Final fixes, cleanup, and optimizations
Pull request to catch up to arendst/Tasmota development branch.
Used tools:
Used Hardware:
Have you look for this feature in other issues and in the wiki?
-> Yes.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
-> When you have the SOnOff-SV in use, a envoirement sensor, you will miss
the friendly name on the information web page which can be a little
irritating because when you have set the hostname different you miss it.
Describe the solution you'd like
A clear and concise description of what you want to happen.
-> I have changed a very little part in the xdrv_02_webserver.ino file
to add this information and it works perfect.
Original Code:
if (SONOFF_IFAN02 == Settings.module) { maxfn = 1; }
Changed Code:
if ((SONOFF_IFAN02 == Settings.module) || (SONOFF_SC == Settings.module)) { maxfn = 1; }
Additional context
Add any other context or screenshots about the feature request here.
... i'm willing to help with much more ...
The text was updated successfully, but these errors were encountered: